Skip to main content
WallieSee setup options

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 tour
Cutaway drawing of the Wallie software factoryA terminal and drafting bench feed a roller conveyor. It carries the highlighted work order through an inspection gantry toward a dispatch crate. A marked return path leads back to the studio.
Fig. A — Factory cutawayIllustration / not to scale
Configure

Configure 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.

Factory definition plateIllustrative setup

Release CLI

Starting configuration

R07Published
Input / repo
Typed task · Connected GitHub repository
  1. Plan

    Draft an approach and test plan.

    Assigned reviewer approves the plan.

  2. 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.

Starting point

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.

Run

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.

Improve

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.

Change order / Build promptBefore adoption
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.

Benchmark comparisonExample comparison / Before adoption
Matched checkR07BaselineR08Candidate
Targeted task Dry run skips the deploy callFails1 mock callPasses0 mock calls
Independent holdout Invalid config reports an errorPassesError shownPassesError 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.