Your first factory starts with one fix.

Turn the Guide into practice. Use your Skillz skills and an existing Codex session to take a small bug from a failing test to a reviewable fix.

Runtime
Node.js + Git
Execution
Local
Merge
Human decision

A fix you can inspect.

An isolated branch, the failure before the fix, the passing checks afterward, and a handoff for human review.

  1. 01Failing regression
  2. 02Passing candidate
  3. 03Reviewable evidence

Run the example first.

You need Node.js 22.13 or newer, Git, and macOS or Linux. Extract the ZIP, then run these commands from the folder containing factory-starter. Use a new skillz folder.

git clone https://github.com/jaydubya818/skillz.git skillz
git -C skillz checkout --detach 4942dde4b2a442df3ee45879bb22734c658426df
node factory-starter/demo.mjs ./skillz

What should happen?

The example counts only two batches for five items at capacity two. The regression expects three. The script records the mismatch, applies the known fix, and runs the checks again.

Look for “status”: “verified”. The output includes the evidence directory.

This is a scripted demonstration. It does not claim an agent solved a new task.

Five phases. One source of truth.

The kit references a pinned version of your Skillz repository. Its generated instructions guide your Codex session through the relevant skills, with the original supporting files and attribution intact.

  1. 01

    Inspect

    Understand the affected code

    how ↗
  2. 02

    Define

    Define the fix and its scope

    blast-radius ↗
  3. 03

    Implement

    Reproduce the bug, then fix it

    tdd ↗
  4. 04

    Verify

    Run the same checks against the fix

    principle-prove-it-works ↗
  5. 05

    Handoff

    Review the changes and evidence

    make-pr-easy-to-review ↗

Give Codex a bounded task.

Start with a small, trusted, dependency-free Node repository. The README includes the task format and complete commands.

  1. Define the contract

    Name the bug, expected assertion mismatch, implementation files that may change, and existing tests. Keep the task JSON outside the repository.

  2. Begin the run

    The runner creates a worktree and branch, then checks the baseline. It writes a PROMPT.md with the selected skills and workflow commands.

  3. Open the worktree in Codex

    Ask your session to follow PROMPT.md. It writes the regression before the fix and keeps the same test for verification.

  4. Review the handoff

    Inspect the patch and logs. Check for stale evidence before committing. Your normal PR checks, merge approval, and release process still apply.

Know what the pilot checks.

The runner checks changed files, workflow order, test results, and later changes to the recorded candidate. It stops on missing or failing checks, rewritten regression tests, timeouts, and exhausted retry budgets.

It is not a security sandbox or independent verifier. Use your harness permissions and trusted repositories. Logs stay local and may contain private data. A passing run does not approve a merge or establish production readiness.

Version 0.1 supports Node’s built-in test runner on macOS and Linux. Other languages, automatic PR creation, and Mission Control admission are future work.

Understand the method behind the workflow.

Read the Guide →Define your factory line →Explore Skillz →

Download v0.1.0 · 38 KB · SHA-256 9a689038e08eb2a60c2f9c7254d56b22b61d6aebffefad042cd64d245d22487a