Quickstart
You want RootCoz running fast so you can move from failing CI output to a report you can review and act on. The quickest path is to start the bundled Docker stack, create an operator account, and submit one Jenkins, Prow, or JUnit XML analysis from the web UI.
Prerequisites
- Docker with Docker Compose
- One AI credential for
claude,gemini, orcursor - For Jenkins: a job name, build number, and Jenkins access
- For Prow: a job name, build ID, and access to the relevant Prow/GCS location
- For JUnit XML: a
.xmlfile or raw JUnit XML text
Quick Example
cp .env.example .env
AI_PROVIDER=claude
AI_MODEL=your-model-name
ANTHROPIC_API_KEY=your-anthropic-api-key
DEFAULT_USER_ROLE=operator
REQUIRE_APPROVAL=false
docker compose up -d
curl http://localhost:800/health
- Open
http://localhost:800. - Click
Register, enter a username, save the API key RootCoz shows once, then clickI've saved my key — Continue. - Open
New Analysis. - Choose
Upload FileorPaste XMLfor the fastest first run, or switch toJenkins JoborProw Job. - Click
Submit Analysis.
XML submissions open the result directly. Jenkins and Prow submissions open a live status page first, then redirect to the report when analysis completes.
Note: The Docker image already includes the supported AI CLIs. For a first run, you only need one working provider credential plus
AI_PROVIDERandAI_MODEL.Warning:
DEFAULT_USER_ROLE=operatorandREQUIRE_APPROVAL=falseare convenient for a local trial. For a shared deployment, keep approval enabled and manage roles deliberately. See Managing Users and Server Settings for details.
Step-by-Step
- Prepare
.env.
Start from .env.example, then add one AI provider, model, and the two quickstart lines shown above.
| If your first analysis is... | Add before startup | You can also enter it in New Analysis |
|---|---|---|
| JUnit XML | nothing else | n/a |
| Jenkins | JENKINS_URL, JENKINS_USER, JENKINS_PASSWORD |
yes |
| Prow | PROW_URL, GCS_BUCKET |
yes |
| AI provider | Credential variable |
|---|---|
| Claude | ANTHROPIC_API_KEY |
| Gemini | GEMINI_API_KEY |
| Cursor | CURSOR_API_KEY |
Warning: The bundled Compose file uses example Jenkins values when you do not override them. Replace those placeholders before you submit a Jenkins run, or type the correct values into the form for that specific submission.
- Start RootCoz.
bash
docker compose up -d
curl http://localhost:800/health
The web UI and API are both served from http://localhost:800. If the health check succeeds, the service is up and ready.
- Sign in with a user that can submit analyses.
With the quickstart config above, click Register, choose a username, save the API key, and continue into the app. RootCoz creates an active operator session immediately after registration.
Tip: If you already have an operator or admin API key, use
Log ininstead ofRegister.Tip: Leave
GitHub Token,Jira Email, andJira Tokenblank for your first run. Add them later when you are ready to create issues or link external trackers. See Managing Your Account and Notifications for details.
- Open
New Analysisand choose the input mode that matches what you already have.
| Choose in the UI | Required fields | Optional first-run fields | What opens after submit |
|---|---|---|---|
Upload File |
a .xml file |
AI Provider, AI Model, tags |
Result page |
Paste XML |
JUnit XML content | AI Provider, AI Model, tags |
Result page |
Jenkins Job |
Job Name, Build Number |
Jenkins URL, Jenkins User, Jenkins Password / Token, Wait for build completion |
Status page, then result |
Prow Job |
Job Name, numeric Build ID |
Prow URL, GCS Bucket, GCS Prefix |
Status page, then result |
Leave GCS Prefix empty unless you want to override auto-detection. For Jenkins, Wait for build completion is enabled by default.
Tip:
Upload FileandPaste XMLare the fastest first-run options because they do not depend on Jenkins or Prow connectivity.
- Submit and review the first result.
Click Submit Analysis. RootCoz keeps the job on the dashboard so you can reopen it later without resubmitting.
See Submitting Analyses for details. See Reviewing and Classifying Failures for the next workflow. See Tracking Analysis Progress for the live status view.
Advanced Usage
- If you want admin login on day one, set
ADMIN_KEYbefore startup, then log in asadminwith that key. - If you want to keep approval enabled, set
REQUIRE_APPROVAL=true, log in asadmin, and approve or create anoperatorbefore submitting jobs. See Managing Users and Server Settings for details. - If you want self-registered users to submit analyses without admin role changes, keep
DEFAULT_USER_ROLE=operatorbefore you start the stack. - If you want richer analysis on the first run, add a tests repository, extra repositories, peer review models, or Jira search settings from the form. See Configuring Analysis Context for details.
- If you prefer terminal automation once the server is running, see Automating Common Tasks with the CLI and CLI Command Reference.
- If you need a production-style installation instead of the local Docker stack, see Deploying RootCoz for details.
Troubleshooting
- If
docker compose up -dfails withAI_PROVIDER is requiredorAI_MODEL is required, add both values to.envand start again. - If you can log in but do not see
New Analysis, your account is notoperatororadmin. SetDEFAULT_USER_ROLE=operatorfor a local trial or ask an admin to change your role. - If registration succeeds but RootCoz says your account is awaiting approval, either disable approval for the local quickstart with
REQUIRE_APPROVAL=falseor have an admin approve the account. - If a Jenkins submission fails immediately, verify
JENKINS_URL,JENKINS_USER, andJENKINS_PASSWORD, or enter them directly on the form for that run. - If a Prow submission fails immediately, provide
Prow URLandGCS Bucketin the form or setPROW_URLandGCS_BUCKETin.envbefore restarting. - If XML submission finishes with no useful report, make sure you pasted or uploaded real JUnit XML, not console output or HTML. RootCoz only analyzes failures and errors from the XML.# Quickstart
You want RootCoz running fast so you can move from failing CI output to a report you can review and act on. The quickest path is to start the bundled Docker stack, create an operator account, and submit one Jenkins, Prow, or JUnit XML analysis from the web UI.
Prerequisites
- Docker with Docker Compose
- One AI credential for
claude,gemini, orcursor - For Jenkins: a job name, build number, and Jenkins access
- For Prow: a job name, build ID, and access to the relevant Prow/GCS location
- For JUnit XML: a
.xmlfile or raw JUnit XML text
Quick Example
cp .env.example .env
AI_PROVIDER=claude
AI_MODEL=your-model-name
ANTHROPIC_API_KEY=your-anthropic-api-key
DEFAULT_USER_ROLE=operator
REQUIRE_APPROVAL=false
docker compose up -d
curl http://localhost:8000/health
- Open
http://localhost:8000. - Click
Register, enter a username, save the API key RootCoz shows once, then clickI've saved my key — Continue. - Open
New Analysis. - Choose
Upload FileorPaste XMLfor the fastest first run, or switch toJenkins JoborProw Job. - Click
Submit Analysis.
XML submissions open the result directly. Jenkins and Prow submissions open a live status page first, then redirect to the report when analysis completes.
Note: The Docker image already includes the supported AI CLIs. For a first run, you only need one working provider credential plus
AI_PROVIDERandAI_MODEL.Warning:
DEFAULT_USER_ROLE=operatorandREQUIRE_APPROVAL=falseare convenient for a local trial. For a shared deployment, keep approval enabled and manage roles deliberately. See Managing Users and Server Settings for details.
Step-by-Step
- Prepare
.env.
Start from .env.example, then add one AI provider, model, and the two quickstart lines shown above.
| If your first analysis is... | Add before startup | You can also enter it in New Analysis |
|---|---|---|
| JUnit XML | nothing else | n/a |
| Jenkins | JENKINS_URL, JENKINS_USER, JENKINS_PASSWORD |
yes |
| Prow | PROW_URL, GCS_BUCKET |
yes |
| AI provider | Credential variable |
|---|---|
| Claude | ANTHROPIC_API_KEY |
| Gemini | GEMINI_API_KEY |
| Cursor | CURSOR_API_KEY |
Warning: The bundled Compose file uses example Jenkins values when you do not override them. Replace those placeholders before you submit a Jenkins run, or type the correct values into the form for that specific submission.
- Start RootCoz.
bash
docker compose up -d
curl http://localhost:8000/health
The web UI and API are both served from http://localhost:8000. If the health check succeeds, the service is up and ready.
- Sign in with a user that can submit analyses.
With the quickstart config above, click Register, choose a username, save the API key, and continue into the app. RootCoz creates an active operator session immediately after registration.
Tip: If you already have an operator or admin API key, use
Log ininstead ofRegister.Tip: Leave
GitHub Token,Jira Email, andJira Tokenblank for your first run. Add them later when you are ready to create issues or link external trackers. See Managing Your Account and Notifications for details.
- Open
New Analysisand choose the input mode that matches what you already have.
| Choose in the UI | Required fields | Optional first-run fields | What opens after submit |
|---|---|---|---|
Upload File |
a .xml file |
AI Provider, AI Model, tags |
Result page |
Paste XML |
JUnit XML content | AI Provider, AI Model, tags |
Result page |
Jenkins Job |
Job Name, Build Number |
Jenkins URL, Jenkins User, Jenkins Password / Token, Wait for build completion |
Status page, then result |
Prow Job |
Job Name, numeric Build ID |
Prow URL, GCS Bucket, GCS Prefix |
Status page, then result |
Leave GCS Prefix empty unless you want to override auto-detection. For Jenkins, Wait for build completion is enabled by default.
Tip:
Upload FileandPaste XMLare the fastest first-run options because they do not depend on Jenkins or Prow connectivity.
- Submit and review the first result.
Click Submit Analysis. RootCoz keeps the job on the dashboard so you can reopen it later without resubmitting.
See Submitting Analyses for details. See Reviewing and Classifying Failures for the next workflow. See Tracking Analysis Progress for the live status view.
Advanced Usage
- If you want admin login on day one, set
ADMIN_KEYbefore startup, then log in asadminwith that key. - If you want to keep approval enabled, set
REQUIRE_APPROVAL=true, log in asadmin, and approve or create anoperatorbefore submitting jobs. See Managing Users and Server Settings for details. - If you want self-registered users to submit analyses without admin role changes, keep
DEFAULT_USER_ROLE=operatorbefore you start the stack. - If you want richer analysis on the first run, add a tests repository, extra repositories, peer review models, or Jira search settings from the form. See Configuring Analysis Context for details.
- If you prefer terminal automation once the server is running, see Automating Common Tasks with the CLI and CLI Command Reference.
- If you need a production-style installation instead of the local Docker stack, see Deploying RootCoz for details.
Troubleshooting
- If
docker compose up -dfails withAI_PROVIDER is requiredorAI_MODEL is required, add both values to.envand start again. - If you can log in but do not see
New Analysis, your account is notoperatororadmin. SetDEFAULT_USER_ROLE=operatorfor a local trial or ask an admin to change your role. - If registration succeeds but RootCoz says your account is awaiting approval, either disable approval for the local quickstart with
REQUIRE_APPROVAL=falseor have an admin approve the account. - If a Jenkins submission fails immediately, verify
JENKINS_URL,JENKINS_USER, andJENKINS_PASSWORD, or enter them directly on the form for that run. - If a Prow submission fails immediately, provide
Prow URLandGCS Bucketin the form or setPROW_URLandGCS_BUCKETin.envbefore restarting. - If XML submission finishes with no useful report, make sure you pasted or uploaded real JUnit XML, not console output or HTML. RootCoz only analyzes failures and errors from the XML.