Trace AI code from approved intent through six audits and current evidence to a human-owned review decision.

CF Code Factory
Open source · Local first · Evidence backed

Catch the test that could never fail.

One command answers one question: can this test actually fail? Run a safe negative-control demonstration, receive a local receipt, and see what trustworthy evidence looks like before relying on AI-generated tests. Your project is not uploaded or changed.

Current source preview: connect approved intent, agent handoffs, verification routes, and current evidence in one review path. See what changed in 0.46.8. Publication remains a separate, gated step.

✓ Local by default ✓ No source upload ✓ No model account required ✓ Human decides what may be applied ✓ 3,445 PyPI downloads in the last 30 days (provider counter)
Actual privacy-safe Code Factory Proof Card showing that a hollow test was detected.
Actual First Proof Card · healthy control passed · hollow test caught · no source uploaded

Useful before code, during review, and when tests say green.

Choose the smallest proof surface that answers the question in front of you. A fresh starter stays blocked until product-specific checks replace hollow coverage.

01 · Decide

Pin down intent

Bind the human-chosen framework, outcome, acceptance evidence, and external-effects boundary to exact PRD bytes.

02 · Clarify

Grill the PRD

Surface source-bound questions and incompatible requirements before code exists.

03 · Review

Challenge the green check

Delete, invert, and corrupt declared controls. A surviving mutation blocks the claim.

04 · Retry only with evidence

Stop repeated failures

Require a changed candidate and fresh evidence for a supervised retry, or deliberately halt.

Supervised proof of survival

Can this behavior survive the exact failure you are worried about?

Gauntlet turns human-written E2E sabotage cases into one inspectable batch. A named reviewer admits one current local run; the resulting Survival Card shows every declared case as survived, hollow, or blocked. A green card is not a production, security, coverage, performance, quality, or release certificate.

factory gauntlet plan --root . --source gauntlet.json --json
# Review the exact local E2E pairs, then make a named one-run admission.
factory gauntlet run .factory/gauntlets/<source>/<proposal>.proposal.json \
  --root . --admission .factory/gauntlets/<source>/<admission>.admission.json --json
factory gauntlet card verify .factory/gauntlets/<source>/<card>.card.json --json
Your reviewer stays in control

Use AI review suggestions and deterministic proof on the same PR.

Code Factory complements CodeRabbit or another reviewer with one neutral, commit-bound proof walkthrough: exact scope, declared proof gaps, and the next fact-derived action. It does not need their account, copy their comments into receipts, approve, or merge code.

factory github proof-review \
  --root . \
  --base origin/main \
  --head-sha <pull-request-head-sha> \
  --json
LangGraph resume assurance

Compare the reference path with a resume, before review.

Record transitions in your own LangGraph test harness, then compare sealed, hash-only reference and resumed lineages. The assurance bridge reports parity only when supplied transitions match and no deterministic stale state, duplicate completed effect, or unsafe parallel write is present. A divergence produces a Mermaid incident capsule with the first divergent node and a review-only causal cone. It never invokes a graph or replays an effect.

factory langgraph replay-verify \
  --root . \
  --reference .factory/langgraph/reference.json \
  --resumed .factory/langgraph/resumed.json \
  --out .factory/langgraph/assurance.json --json
Journey proof · audited healing

Prove the real journey. Audit the agent that repairs it.

Journey Reality compares declared and observed states, transitions, requirements, and outcomes without turning missing evidence into success. Failure Capsules keep the failed step and adjacent evidence bounded. Stateful Workflow Proof checks producer and consumer state, cleanup, and idempotency. Healing stays human-controlled or supervised-auto, and a candidate is accepted only when its positive proof passes, its negative control fails, and the repairing agent passes an independent scope-and-evidence audit.

BYOK and local execution remain the default. A future managed tier must use the same verifier. No mode grants approval, merge, release, credential, or production authority.

factory journey reality declared.json observed.json --root . --json
factory journey capsule failure.json --root . --json
factory journey workflow-proof workflow.json --root . --json
factory journey heal-verify request.json --root . --json
Verified counterfactual repair

Compare every plausible fix. Accept only the proven winner.

Graph Forensics identifies the first semantic divergence. ProofSearch binds its exact proof slice to 2–12 local candidates, rejects failed proofs, surviving mutants, scope escapes, test weakening, and error suppression, then explains the minimum-risk and minimum-scope winner. Evidence Frontier ranks supplied, non-executing checks by how many viable repair pairs they separate. Predictions are hypotheses, never proof or authority. Time, token, and cost savings stay unavailable until paired measurements exist.

factory proofsearch plan --root . \
  --baseline baseline.lineage.json \
  --candidate failed.lineage.json \
  --changed src/service.py --out repair.plan.json
factory proofsearch evaluate candidates.json \
  --root . --out repair.evaluation.json --json
factory proofsearch frontier plan frontier.request.json \
  --root . --out frontier.json --json

See FactoryLine 0.44 operating—not just described.

These are current local product captures: the live Graph Ops dashboard, the complete JetBrains controls, and a successful IDE First Proof.

Observed creator use

One 60-day case, with the estimate separated from the evidence.

Local Codex metadata identified 25 FactoryLine-related tasks, 133 completed turns, 2,710 command runs, 785 MCP or app calls, and 555 file-change events. A transparent counterfactual model estimates 30–110 hours of gross manual-equivalent capacity over 60 days after a 50% overlap haircut. This is a one-user case, not a benchmark or guaranteed ROI; net savings must subtract tool cost and human oversight.

Code Factory 60-day personal case study separating observed local Codex metadata from a modeled capacity range.
Your first proof

See Code Factory catch a hollow test in under two minutes.

The demo runs only in a generated local sandbox. It proves the positive control can pass, catches the hollow negative control as HOLLOW_E2E_TEST, and writes a privacy-safe Proof Card. No account, model key, or source upload is required.

pip install factoryline-code-factory
factory first-proof --root .

# Then use it on real work:
factory mvp "Build an approval tracker" --root .
factory coverage --root .\my-mvp --json
factory graph ops --root .\my-mvp --json
SaaS Reality · provider-neutral local proof

Did the customer who paid receive the right access?

A successful login is not authorization, and a successful checkout is not entitlement proof. Code Factory follows supplied local evidence from OAuth/OIDC identity and tenant role through checkout, verified webhook, entitlement, feature access, and revocation. It works across standards-compliant providers, keeps unknowns blocked, rejects raw credentials, and never contacts or mutates the provider.

factory saas verify --root . \
  --contract saas-contract.json \
  --evidence observed-events.json \
  --json
AppForge · catch the review gap early

Improve your app before Apple finds the missing proof.

Move from a story-led iOS storyboard to 30 exact-build checks spanning completeness, purchases and restore, iPad navigation, authentic screenshots, accessibility, privacy, metadata, reviewer access, and export compliance. Conditional rules must be explicitly required or not applicable with a named reviewer—omission never becomes green.

AppForge is designed to save avoidable rework and days of review waiting by surfacing preventable gaps before submission. It does not guarantee Apple approval.

factory revenue appforge-design --root . \
  --brief appforge-design-brief.json --json

factory revenue app-review-gate --root . \
  --contract app-review-contract.json \
  --evidence app-review-evidence.json --json
Agent workflows · verify the path

Keep the workflow. Independently verify every handoff.

Import a secret-free workflow envelope and check its typed stage graph, scoped capabilities and handoffs, checkpoint continuity, exact source bytes, resume lineage, and sealed intent binding. Code Factory rejects drift without starting the workflow or inheriting its authority.

factory atomic import --root . \
  --envelope .factory/atomic/run-envelope.json --json

factory atomic status --root . --json
See the proof state

Follow the proof path without giving it authority.

Unified Graph Ops connects the local Product Graph, value slices, missions, approvals, completions, proofs, gate plans, traces, receipts, supplied-policy dossiers, and artifacts into one bounded visual result. Its Proof Observatory makes current coverage, blocked gates, and supplied-policy drift legible in a responsive graph, bar, and donut view. It recommends one next action from current facts and never executes a gate or release action.

factory graph ops --root . --json
factory graph ops --root . --mermaid
factory studio --root .
Independent verification

Keep the builder and verifier separate.

Proof Review, Verified Repair Sandbox, and Workspace Load Advisor make the local handoff visible before a repair or environment change. The Verifier Plane binds a worker receipt to distinct verifier evidence, immutable check files, deterministic checks, and hard budgets. These surfaces never edit code, call a model, or claim a production sandbox. Start with factory prd grill PRD.md --root . --mode quick.

factory verifier session .factory/missions/<mission>/mission.json ./candidate \
  --bundle ./verification/checks.json --owner engineering-owner --root .
factory verifier verify ./session.json ./worker-result.json ./verifier-result.json --root . --json
factory verifier progress ./attempts.json --json
Design is part of the review

Make UI quality visible before a human says yes.

For UI-scoped work, the optional Prestige Design Review adds a purpose-led brief and reviewer-visible checks for hierarchy, responsive behavior, affordances, consistency, and declared design tokens. Deterministic findings can inform a gate; heuristic critique stays a human prompt. It does not claim conversion, WCAG certification, or production readiness.

pip install code-factory-4-design
prestige init --root .
prestige pr app.html --design DESIGN.md --root . --out-dir .prestige/pr
Proof reuse

Reuse evidence only when the inputs still match.

Content-addressed receipts route read-only gates to RUN, REUSE, SKIP, or BLOCK. Exact reuse verifies every bound input and output; ambiguity runs again, and side effects stay blocked.

factory proofs record proofs.json \
  --gate python-tests --elapsed-ms 600000 --root .
factory proofs plan proofs.json --changed src/app.py \
  --auto-savings --out proof-plan.json --root .
First local run

Start locally. See the next proof gap immediately.

Create a contained MVP, then let Graph Ops reveal the requirement or receipt that needs evidence. A starter is useful starting state, not a readiness claim.

pip install factoryline-code-factory
factory mvp "Build an approval tracker" --root .
factory studio --root .\my-mvp
# Open Graph Ops in the local Studio
Launch terms

Clear dates. No surprise paid change.

The GitHub Assurance Seat is free through December 1, 2026, with a $5.95 USD per named seat per month offer scheduled for December 2, 2026. It is built around commit-bound proof review, visible Proof Debt, supplied-policy drift dossiers, governed exceptions, and exportable evidence—not source access or opaque AI-token resale. The separate JetBrains Marketplace plan remains $4.95 USD per month from January 1, 2027, subject to JetBrains approval and a planned 30-day trial. Neither checkout nor entitlement is live; total price, taxes, fees, and billing terms must be shown before any approved purchase.

Marketplace count: check the current listing
Unique installs: not exposed by the listing
0.8.19 Marketplace update: candidate pending submission and review

Never substitute CI or repository traffic for installs.

Current product evidence, including the creator's own case.

Inspect the live 0.44 operations surface, the real JetBrains workflow, and a bounded 60-day personal-use example.

Actual product capture set. The interface captures show actual product behavior. The case-study image separates observed metadata from an assumption-based capacity model; it is not universal productivity, cash-savings, conversion, Marketplace approval, or production-readiness evidence. Open the visual policy →

Make the next change carry its own proof.