Skip to main content

Code Factory

CI PyPI Python Hugging Face Space GitHub stars Latest release

Generate a local MVP, then catch hollow tests before review.

Free, local proof for AI-assisted code. Start from a plain-language outcome, a fuzzy PRD, or a risky diff. Tests that only look green are not proof: Code Factory makes the next proof gap visible and never calls a starter production-ready before the relevant proof exists.

factory mvp "Build an approval tracker" --root .

See actual Factory Studio or open the live Hugging Face Space.

Actual Factory Studio: the outcome-first local MVP path

What it does

  • Start a real project. Turn one outcome into a contained web, mobile, API, CLI, worker, MCP, or agent-UI starting state.
  • Review what AI produced. Turn requirements, diffs, proofs, and blockers into receipts, Graph Ops, and one fact-derived next action.
  • Refresh the evidence that matters. Watch a local Assembly while it runs, refresh the next-proof brief, and see privacy-bounded observed Git contribution context without pretending it is a verified directory or billing roster.
  • Keep "done" honest. Challenge declared validators for hollow tests; a green-looking scaffold is never called production-ready by default.

For teams: use the Teams and Enterprise Operations Manual to run the same proof-first loop with named reviewers, approved AI-change scope, and explicit Proof Debt—without giving Code Factory merge, release, or provider authority. The commercial packaging guide keeps the free core separate from proposed Team and Enterprise services that are not purchasable yet. For a human-selected, customer-managed reference pilot, the local Team Pilot readiness gate hash-binds the operating evidence for owner review; it does not accept a customer or activate a paid service.

Design is part of the review. For UI-scoped work, add the optional Prestige Design Review: a purpose-led design brief plus review artifacts for hierarchy, responsive behavior, affordances, consistency, and declared design tokens. It makes design quality visible; it does not claim a conversion result, WCAG certification, or production readiness.

Reuse a proven decision without reusing stale context. Factory Continuity keeps a local, purpose-bound record of the evidence behind prior work. Graph Ops can replay only redacted, current, independently promoted metadata; it does not store private source, prompts, embeddings, or transcripts, and it cannot execute a repair.

Install

# No account, model key, or cloud connection is required for this local run.
pip install factoryline-code-factory
factory mvp "Build an approval tracker" --root .
factory studio --root .\my-mvp

If Code Factory helps you find a proof gap or makes an AI-assisted change easier to review, star Code Factory so other developers can find it. This optional link only opens the repository.

Choose the job in front of you

If you need to… Use You get
Build a first slice factory mvp A contained, app-shaped local starting state
Clarify a fuzzy PRD factory prd grill Source-bound questions instead of invented requirements
Review an AI-assisted diff factory change review A local risk, proof-gap, and next-action packet
Turn a diff into the next safe proof factory memory brief Refreshable actions, redacted continuity facts, and observed local Git contribution context
Keep an agent diff inside approved scope factory plan verify Exact plan alignment and explicit Proof Debt—not another AI opinion
Prove an E2E check can say no factory e2e verify A native positive/negative command-pair receipt that catches hollow E2E checks
Prepare a bounded Team pilot factory team-pilot readiness Hash-bound, customer-managed readiness evidence for owner review—not a checkout or service activation
Add evidence to a GitHub PR factory github proof-review One neutral Check and stable proof walkthrough, tied to the head commit
Prove a LangGraph resume path factory langgraph replay-verify Hash-only parity, duplicate-effect and parallel-write safeguards, plus a shareable incident capsule
Detect policy drift before a human merge factory github assurance-dossier Deterministic supplied-policy comparison, named expiring exceptions, and a merge-evidence packet
Inspect delivery state factory studio Graph Ops, receipts, and the next supported action
Debug why two graph runs diverged factory graph forensics Hash-sealed state lineage, concurrency findings, and a read-only recovery preview
Choose among competing repairs factory proofsearch Hash-bound candidate rejection, mutation-tested evidence, a deterministic winner, and locked apply authority
Decide what evidence to collect next Evidence Frontier A deterministic next-test hypothesis that separates repair candidates, with execution locked
Reconsider verified prior work safely Factory Continuity Purpose-bound, expiring Decision Replay metadata with independent promotion and no private content
Prove one user-visible behavior Factory Reality Check Deep intent assertions, a deliberate failure case, and an optional named one-time re-run authorization
Verify supplied work Verifier Plane Independent, hash-bound evidence checks

For the short product map, read the overview. For a two-minute first run, follow Start Here. For full command and contract reference, browse the documentation directory.

Use Code Factory with CodeRabbit or another AI reviewer

They solve different parts of the review problem. CodeRabbit can supply AI findings and suggestions; Code Factory makes declared local proof gaps, coverage, and the next review action explicit. Enable the opt-in GitHub Proof Review workflow to put one neutral, commit-bound FactoryLine Check and walkthrough beside existing CodeRabbit comments. It uses no CodeRabbit account, API, credential, or output as proof.

For agent-created pull requests, add a small human-approved factory.agent_plan.v1 envelope. Plan-to-Proof compares that plan with the exact diff and exposes Proof Debt: unresolved scope, declared-test, human-routing, and existing proof obligations that must be settled before a team makes its own merge decision.

That makes Code Factory a standalone proof layer for teams that do not use an AI reviewer, and a complementary evidence layer for teams that do. For agent-created pull requests, Code Factory does not replace human review, auto-approve a pull request, or merge code.

Use Code Factory with LangGraph

LangGraph teams can keep their own graph and checkpoint runtime, then use the LangGraph Assurance Bridge to compare recorded reference and resumed transitions. The free local adapter produces hash-only parity evidence and a reviewable incident capsule when a run diverges; it does not import LangGraph, invoke a graph, or claim production resilience. The optional GitHub Action puts the same Proof Card in a pull-request job summary.

Use it where you work

Code Factory keeps the same local, receipt-bound workflow across the command line, VS Code, and the JetBrains plugin. It also provides local stdio Cursor or OpenCode MCP without handing an AI client permission to publish, deploy, approve, sign, or access credentials.

FactoryLine is free through December 31, 2026. The owner-approved January 1, 2027 JetBrains plan is $4.95 USD per month; it is not active until the Marketplace release and pricing gates are satisfied. See the Marketplace control-room guide for compatibility, pricing, and approval boundaries.

The separate GitHub-oriented offer is free through December 1, 2026 and is scheduled at $5.95 USD per named seat per month from December 2, 2026. Its planned GitHub Assurance Seat focuses on commit-bound proof review, visible Proof Debt, policy-drift dossiers, governed exceptions, and exportable evidence—not source access or opaque AI-token resale. It is not active: no GitHub checkout, entitlement, or license enforcement exists, and the source license is unchanged. See the GitHub per-seat plan.

The proof boundary

Code Factory creates and inspects local artifacts. It does not silently call a model, discover credentials, publish, deploy, sign, approve, message, or grant a connector. Its deterministic proof receipts bind supplied byte bindings, declared identities, and evidence; an external runner must separately prove runtime isolation and network policy. Token, cost, and productivity claims remain unknown until a bound measurement exists.

flowchart LR
  intent["Plain-language outcome"] --> mvp["Local MVP"]
  mvp --> evidence["Receipts and declared checks"]
  evidence --> review["Graph Ops / review packet"]
  review --> decision["One evidence-backed next action"]

Use PRD Grill before code exists, the deterministic contradiction gate when requirements collide, Proof Review when a diff arrives, and the Verifier Plane when a worker claims it is finished. The local MCP contract and generated Mermaid output map make the same proof context reusable by a client you choose.

Go deeper when you need it

License

MIT OR Apache-2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factoryline_code_factory-0.39.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

factoryline_code_factory-0.39.0-py3-none-any.whl (591.2 kB view details)

Uploaded Python 3

File details

Details for the file factoryline_code_factory-0.39.0.tar.gz.

File metadata

File hashes

Hashes for factoryline_code_factory-0.39.0.tar.gz
Algorithm Hash digest
SHA256 3911573b070207477be5cfa7c140b0dd873a199141986465d02b4072527419bf
MD5 7f4bd15faaab0095324503f40a1aed0b
BLAKE2b-256 ddb162639813e8ceb30df9ea8672b0fd15dd7bb0cba5c9161571458a0fadfbd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for factoryline_code_factory-0.39.0.tar.gz:

Publisher: publish.yml on zrk222/code-factory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file factoryline_code_factory-0.39.0-py3-none-any.whl.

File metadata

File hashes

Hashes for factoryline_code_factory-0.39.0-py3-none-any.whl
Algorithm Hash digest
SHA256 735eca0d324aceab696a5717fa3682372509c4600cd19357505b3a8f87762cb7
MD5 9c7a4107b563b071c4fc1c68f40346f5
BLAKE2b-256 6b5d3cf656db488995bab2d8b7aaf9c67fa7f298dfaa00460e8d1f6926ee757c

See more details on using hashes here.

Provenance

The following attestation bundles were made for factoryline_code_factory-0.39.0-py3-none-any.whl:

Publisher: publish.yml on zrk222/code-factory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page