$ docker compose up -d
Jira ticket in, verified feature out.
Software Factory puts Claude Code agents on your Jira tickets. You merge.
- 04:56BuildPicked up from To Do$1.41
- 05:16CheckFailed at red, passed at green
- 05:17PR5 files, +727/−2, screenshots$0.10
- 05:20Review8 comments, 3 real issues$0.56
- 10:48MergeMe, after reading the PR
- 10:51Verify11 pass, 1 fail, 8 untestable$0.16
Total $2.23
Why not one agent?
When the same agent builds a feature and reports on it, a misreading of the ticket shows up the same way in both. The factory splits the work so the checks can disagree.
The builder never grades its own work
A separate verifier checks every acceptance criterion in a real browser, without reading the code. On the first ticket it caught a bug the builder's own test passed.
Code moves the ticket, not an agent
Jira transitions, labels, pushes and PRs are plain TypeScript, decided by test exit codes and git history. An agent saying “all tests pass” is a claim the factory checks.
Every step leaves evidence
A red commit and a green commit, a screenshot per criterion, a review, a verdict table. You can audit any of it without redoing the work.
You still decide what ships
Agents comment, they never approve. The PR waits for your merge, and anything uncertain comes back as UNTESTABLE instead of a guess.
One ticket, end to end
Agents do the work in the right-hand lanes. Everything that changes Jira or GitHub goes through the orchestrator, and the one approval is yours.
Four agents, four views
Each one sees only what its job needs, in its own context. The orchestrator posts, pushes and transitions for them.
| Agent | Sees | Can't | Model |
|---|---|---|---|
ticket-builder | The ticket, the repo, CLAUDE.md | Push, use gh, read .env, touch protected paths | Opus |
evidence-capture | The ticket and the running app | Edit anything | Sonnet |
pr-reviewer | The ticket, the diff, CLAUDE.md | Run commands or approve | Opus |
ticket-verifier | The ticket and a URL | See the code, the diff or the builder's summary | Sonnet |
What lands on every ticket
- Red-green, verified. Exactly one red commit; the factory runs the suite at it and at HEAD itself, and flags a red test loosened later.
- Screenshots per criterion, on the PR and attached to the Jira ticket.
- An agent review with inline comments and a criteria-coverage table, posted as a
COMMENTreview. - A verdict table on the ticket after merge: PASS, FAIL or UNTESTABLE per criterion, with the evidence.
- Optional regression tests: with
regression_tests: true, a passing verification opens a Playwright test PR. - Tokens kept from the agents: two Unix users, pushes go through a
git bundle, and git credentials reach only the factory's own clone and push, never a config file. - Any repo: everything repo-specific lives in files the
onboard-reposkill writes and you review. - Pluggable tracker and code host: the stages talk to a
Trackerand aCodeHostinterface. Jira and GitHub ship today; another vendor is one folder. - Cost and progress per ticket from
docker compose exec factory status, and Jira labels as the state.
Set it up
You need Docker, a Jira Cloud site, a GitHub repo, and a Claude subscription or API key.
- 1
Clone and add your keys
.envtakes a Claude token (claude setup-token) or API key, and the tokens for the vendors your repos use: today a Jira API token and a fine-grained GitHub token with Contents and Pull requests read/write.git clone https://github.com/SreekeshOkky/software-factory.git cd software-factory cp .env.example .env - 2
Point it at your repo
In
factory.config.yml.trackerpicks where tickets come from; the code host is inferred from a github.com URL. Status names must match your Jira workflow exactly.statuses: { todo: "To Do", in_progress: "In Progress", review: "In Review", done: "Done" } repos: - name: my-app git: git@github.com:you/my-app.git base_branch: main tracker: { type: jira, project: APP } - 3
Onboard the repo
Load
plugins/factory/in Claude Code and run this in your app's repo. It writesCLAUDE.md,factory.yml, a navigation doc and a test harness, then opens a PR. Review it carefully and merge./onboard-repo - 4
Dry run, then start it
A dry run writes nothing to Jira or GitHub, but the agents still run and cost tokens.
DRY_RUN=true docker compose run --rm factory node /app/orchestrator/dist/index.js --once docker compose up -d --build && docker compose logs -f
Write a ticket it can check
Only the summary and description reach the agents, so the description is the spec. Add the factory-enabled label and move it to To Do.
“Updated name persists after a refresh” is checkable. “The profile page is intuitive” isn't, and comes back UNTESTABLE.
Summary: Add a "Back to top" link to the end of blog posts
Acceptance criteria
- A "Back to top" link appears after the last paragraph of every blog post
- Activating it moves focus and scroll position to the top of the page
- It's visible and meets contrast in both light and dark themes
- It isn't shown on pages that aren't blog postsThe ticket's side of it
From Jira, the factory is four statuses and a handful of labels. The labels are the state: remove one to retry a stage.
Know the limits
The agents are still LLMs. Every step leaves evidence because none of them should be taken at its word.
- One ticket at a time: builds share an app port and test data.
- Verification runs after merge, so it can't stop a bad merge.
- No fix-up loop: review comments and FAILs come back to you, not to the builder.
- Microphones, real permission prompts, other browsers and payments come back UNTESTABLE.
- Jira and GitHub are the only vendors so far. Adding a tracker or a code host needs no changes to the stages.
- Anyone who can label a ticket can make it run code. Treat the label as commit access.
How it was built
The design, the first ticket end to end, and what broke along the way, in five posts.