The Wallie factory tour
Self-improving software factory
Set up a factory for your coding agents. Review their work, then use recurring failures to improve future sessions.
Start the tourConfigure your factory.
Choose the repo, the stages and their instructions, and when a person signs off. Save those rules as a factory definition.
Save, test, then publish. A workspace owner or admin tests the exact saved draft before publishing. The test checks stage handoffs with sample inputs, not CLI behavior.
Release CLI
Starting configuration
- Input / repo
- Typed task · Connected GitHub repository
Plan
Draft an approach and test plan.
Assigned reviewer approves the plan.
Build
Use the approved plan. Implement and test the CLI output.
Assigned maintainer reviews the build.
- Runtime
- Codex · Vercel Sandbox
- Run limits
- 45 min of execution · Up to 2 repairs per session
Read the setup receipt
Saved draft → handoffs checked → published. A workspace owner or admin needs a current passing test for the exact saved draft, an eligible repo and approvers, and a ready runtime connection. Queue time and review wait don’t count toward the execution cap. Requested revisions and retries count as repairs.
New sessions in this example use published R07. Plan → Build is the starter pipeline; the reviewers, runtime, and limits above are examples. A factory needn’t have an active definition.
Follow a session through review.
Start with a task, or a Linear issue where linking is enabled. Wallie runs the stages in a sandbox and pauses for the people you’ve assigned to review.
Work order 024 R07
Add a dry-run mode to the deploy CLI.
This is an interactive example. It doesn’t run agents or change a repository.
Intake ticket / Factory R07
A task becomes a session.
Print what the CLI would deploy when someone passes --dry-run.
This session starts on R07. Wallie records the task and its starting revision.
Next station / Plan
Start with a plan before the agent touches the code.
plan.md / v1
A plan for the flag.
- Parse
--dry-runin the deploy command. - Print the proposed changes in a readable format.
- Add a test for the CLI output.
Session review / Plan
When you approve this version, Build receives it as input.
Build / Waiting for Plan
Build needs an approved plan
Approve the plan to see the Build example.
Review gate / Plan
Dispatch / If configured
Code can leave in a GitHub PR.
With repository access and an eligible delivery policy, Wallie can publish code changes to a pull request. Delivery runs separately from stage review; approval doesn’t merge it.
Separate from session review
Track PR delivery and merge separately. A text-only result doesn’t need a code PR.
Make the next
run better.
Review fixed 024, not R07. Over time, comparable failures across jobs can show what to test in a better starting revision.
01 / Pattern over time
Find what keeps failing.
The review note on 024 is a lead, not a failed check or scorer result. Earlier jobs recorded the failure. Wallie can group comparable failures and link back to their runs.
Unexpected deploy callEarlier jobs
- WO–019Build · R07Check failed
- WO–021Build · R07Check failed
- WO–023Build · R07Check failed
Read the WO–023 receipt
Mock deploy check: expected 0 calls in a dry run, observed 1. The receipt identifies the WO–023 Build run on R07. A pattern gives you something to investigate. It doesn’t prove the cause.
02 / Candidate change
Change one instruction.
A factory manager proposes adding the missing check to Build. Where configured, a diagnosis can suggest possible causes from the captured evidence. It doesn’t edit the factory.
- R07 Active
- Implement the change and test the CLI output.
- R08 Candidate
- Check that a dry run never calls the deploy API.
The stages, approvers, and run limits don’t change.
03 / Comparable evidence
Test the fix. Check for regressions.
When benchmarks are configured, run the same tasks on both revisions. Use a separate set to check for regressions.
| Matched check | R07Baseline | R08Candidate |
|---|---|---|
| Targeted task Dry run skips the deploy call | Fails1 mock call | Passes0 mock calls |
| Independent holdout Invalid config reports an error | PassesError shown | PassesError shown |
Same task and scoring within each pair. Two illustrative rows don’t qualify a revision.
To qualify: improve on the targeted tasks and meet agreed thresholds on both suites, with enough eligible evidence.
Not a default: factory managers use authorized APIs for diagnosis, proposals, and validation. Diagnosis needs approved inference; replay needs a configured connection, a compatible worker, and retained inputs.
04 / Human decision
Adopt it for new work.
Once R08 qualifies, a factory manager uses the API to request a draft configuration PR on a dedicated GitHub branch. The exact PR head needs independent human approval and must be merged in GitHub. A workspace owner or admin then adopts it separately in Wallie.
This is a definition PR, separate from any code PR for 024. Passing the benchmark or merging doesn’t activate R08.
Admission receiptNew sessions
After a workspace owner or admin adopts. Next work order 025 uses R08.
- Already started WO–024
- R07
- Next start WO–025
- R08
New jobs can start on R08. The existing job keeps the revision it started on.
End of the tour
Make your own software factory
To set up a hosted workspace, connect a GitHub repository, a sandbox, and your coding agent credentials. Linear is optional.