Role failures stay local
A failed structured-write check does not remove a model that still qualifies for read-only analysis.
Prompt-driven coordinator · v0.1.5
Describe the change in normal language. The selected Codex model inspects or safely bootstraps the repository, creates a private dependency plan, previews qualified local/Luna/Terra routes, and retains an isolated integration branch with receipts.
Swipe or scroll to see all role results
| Candidate | Analysis | Benchmark | Write |
|---|---|---|---|
| Local completion model | Qualify | Qualify | Qualify |
| Luna / Terra fallback | Opt in | Opt in | Opt in |
| Embedding-only model | Inventory only | — | — |
This board is illustrative, not a host qualification claim. Runtime routing uses the latest private record for a SHA-256 fingerprint over candidate ID, runtime and adapter versions, capabilities, model digest when available, tier, reasoning effort, and the versioned role-harness identifier.
The selected top-level model coordinates
Open the Factory checkout in a top-level Codex task. Paste this prompt, fill in the target and request fields, and continue in that task:
Read and follow skills/codex-factory/SKILL.md completely.
Target repository: <absolute path to the existing repository or new destination>
Owner request: <paste the prompt, specification, or plan here>
The coordinator inspects an existing clean repository or bootstraps one explicit new destination, creates campaign.json privately, previews bounded routes, runs only authorized workers, integrates accepted commits, and returns evidence for your review. You never author Factory JSON.
A small control plane around existing runtimes
Supply a normal-language request and an existing repository or one explicit new destination. The selected top-level Codex model is the coordinator.
Preserve owner work. Intake requires a clean repository or refuses to overwrite any existing bootstrap destination.
The coordinator decides whether decomposition helps and writes task scopes, checks, dependencies, and safe parallelism under ignored Factory state.
Qualified local capacity comes first. A short local failure may fall back to Luna, then Terra, only when qualified and admitted.
Independent non-overlapping tasks may share configured slots. Every worker is a scoped leaf with one invocation per candidate route and retained receipts; failures advance through the previewed ladder.
The coordinator integrates only accepted results, reruns acceptance checks, and keeps the integration branch separate from the owner branch.
Bounded by design
The coordinator concentrates on admission, execution, integration evidence, and bounded dependency-safe delegation.
A failed structured-write check does not remove a model that still qualifies for read-only analysis.
Codex candidates require an opt-in qualification flag and a remaining aggregate reservation.
The supervisor handles timeout and interrupt cleanup; an unreaped process preserves the lock as a stop condition.
A clean CLI exit is recorded as process completion. It does not claim the requested work is correct.
Checked in and inspectable
These are default policy tiers, not performance guarantees. The selected model must also have a current qualification for the required role.
Swipe or scroll to see every routing policy
| Work | Minimum tier | Required evidence | Access |
|---|---|---|---|
| Mechanical | Economy | Analysis | Read-only |
| Standard | Economy | Workspace write | Workspace-write |
| Review | Standard | Analysis | Read-only |
| Critical | Premium | Workspace write | Workspace-write |
| Local read | Economy | Analysis | Read-only |
Critical work is not dispatched by campaign plans; keep Sol in the coordinator role and split or escalate that work outside the campaign runner.
Evidence survives the shift
Each run retains the exact request, JSONL events, stderr diagnostics, final message, terminal result, and aggregate usage record. Raw receipts remain local and ignored by Git because they can contain repository data.
Understand the artifactsNode.js 24+ · Git · Codex CLI
The qualification command previews every applicable candidate and harness pair by default. Add --execute to test free local candidates. Paid Codex models remain excluded unless you add --include-paid.
> git clone https://github.com/scottconverse/codex-factory.git
> cd codex-factory
> npm.cmd run verify
# Preview candidate × harness plan
> npm.cmd run fleet:qualify
# Execute free local qualification
> npm.cmd run fleet:qualify -- --execute
# Preview one automatically selected route
> node scripts/run-worker.mjs `
--task-id inspect-repo `
--role local-read `
--cwd . `
--prompt-file examples/inventory.prompt.md
Evidence-producing prototype
The coordinator supports qualification-gated local-first campaigns with bounded fallbacks. It remains suitable for controlled operation on a host you operate—not unattended product delivery.
Start with your request