Metadata-Version: 2.4
Name: factoryline-code-factory
Version: 0.51.0
Summary: Local evidence for AI-built code with configured native security workers, SARIF review, signed claims and human-owned release decisions.
Author: Richard Katz
Author-email: rkatz22@gmail.com
Maintainer: Richard Katz
Maintainer-email: rkatz22@gmail.com
License-Expression: MIT OR Apache-2.0
Project-URL: Homepage, https://github.com/zrk222/code-factory
Project-URL: Documentation, https://github.com/zrk222/code-factory#readme
Project-URL: Source, https://github.com/zrk222/code-factory
Project-URL: Issues, https://github.com/zrk222/code-factory/issues
Project-URL: Changelog, https://github.com/zrk222/code-factory/releases
Keywords: software-factory,ai-agents,mutation-testing,release-evidence,developer-tools,mvp,mcp,model-context-protocol,cursor,opencode,ai-coding-assistant,graph-ops,prd-grill,independent-verification,verifier-plane,github-pull-request,proof-review,proof-debt,ai-governance,design-review,ui-quality,langgraph,agent-replay,resume-parity,gauntlet,e2e-testing,survival-card
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE-APACHE
License-File: LICENSE-MIT
License-File: NOTICE
Requires-Dist: cryptography<50,>=42
Requires-Dist: httpx<1,>=0.28
Requires-Dist: PyYAML<7,>=6
Requires-Dist: sqlglot==30.23.0
Requires-Dist: tomli>=2.0; python_version < "3.11"
Provides-Extra: factory
Requires-Dist: code-factory-1-spec==0.5.4; extra == "factory"
Requires-Dist: code-factory-2-forge==0.10.8; extra == "factory"
Requires-Dist: code-factory-3-compile==0.5.5; extra == "factory"
Requires-Dist: code-factory-4-design==0.8.0; extra == "factory"
Provides-Extra: issues
Requires-Dist: keyring<26,>=25; extra == "issues"
Requires-Dist: truststore<1,>=0.10; extra == "issues"
Provides-Extra: blade
Requires-Dist: tree-sitter==0.27.0; python_version >= "3.11" and extra == "blade"
Provides-Extra: dev
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "dev"
Requires-Dist: reportlab<5,>=4; extra == "dev"
Requires-Dist: Pillow==12.3.0; extra == "dev"
Requires-Dist: setuptools<83,>=77; extra == "dev"
Requires-Dist: hypothesis<7,>=6.135; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio<1,>=0.24; extra == "dev"
Requires-Dist: pytest-cov<8,>=7; extra == "dev"
Requires-Dist: pytest-xdist==3.8.0; extra == "dev"
Requires-Dist: ruff<0.15,>=0.14; extra == "dev"
Requires-Dist: mypy==2.1.0; extra == "dev"
Requires-Dist: tomli>=2.0; python_version < "3.11" and extra == "dev"
Provides-Extra: compat
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "compat"
Requires-Dist: reportlab<5,>=4; extra == "compat"
Requires-Dist: langgraph<2,>=1.1; extra == "compat"
Requires-Dist: langgraph-checkpoint-sqlite<4,>=3; extra == "compat"
Provides-Extra: pdf
Requires-Dist: reportlab<5,>=4; extra == "pdf"
Provides-Extra: sigstore
Requires-Dist: sigstore<5,>=4.4; extra == "sigstore"
Provides-Extra: enterprise
Requires-Dist: cryptography<50,>=42; extra == "enterprise"
Provides-Extra: hosted
Requires-Dist: gunicorn<24,>=23; platform_system != "Windows" and extra == "hosted"
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "hosted"
Provides-Extra: langgraph
Requires-Dist: langgraph<2,>=1.1; extra == "langgraph"
Requires-Dist: langgraph-checkpoint-sqlite<4,>=3; extra == "langgraph"
Dynamic: license-file

# Code Factory

**Your AI writes the change. Code Factory shows what was actually checked.**
Review agent-written code by collecting local software review evidence:
trace findings to their source, challenge weak tests, and keep the release
decision with your team. Code Factory does not certify software.

**Code Factory 0.51.0** release candidate

[Release downloads](https://github.com/zrk222/code-factory/releases) ·
[Release channels](docs/RELEASE_CHANNELS.md) ·
[Quick guide](docs/START_HERE.md) · [Package licensing](docs/commercial-model.md) ·
[Screenshots](#product-walkthrough)

```powershell
python -m pip install factoryline-code-factory
factory scan --root . --static-only
```

The install command selects the latest published core. The core runs on
Python 3.10+. The full `[factory]` install requires Python 3.11+.

The default static scan analyzes Python. Other native analysis requires
[configured workers](docs/START_HERE.md). A scan can exit 0 with status
`INCOMPLETE`. Check that status and the audited file count before relying on it.

## What changed in 0.51.0

**Broader code coverage. Findings you can verify.** This major quality-engineering
update adds cross-file TypeScript controls, improves Ruby, Go and PHP source
intake, and follows up on `.phtml` with configured OpenGrep workers. Native
verification matched 541 annotated fixture findings and checked all 65
reviewed detector-removal controls.

Blade runtime fixtures track inputs across dynamic and nested includes.
The [recall and precision evidence](docs/RECALL_PRECISION.md) gives the
development results and a local run of **123 passing recall-verification
tests** covering scoring, paired CodeQL evidence and retention.

| What you need | Command |
| --- | --- |
| Quick Python source review | `factory scan --root . --static-only` |
| Deeper review with available evidence | `factory scan --root .` |
| Visual review workspace | `factory studio --root .` |

Review the findings, repair the code, and rerun your tests and affected checks.
Quick scan reads Python source without running your project. Deep scan adds
applicable evidence lanes and shows what was unmeasured. Native analysis for
JavaScript, shell, and other languages needs configured workers. A clean static
scan does not establish runtime coverage. Missing evidence stays **INCOMPLETE**.

`factory --help` shows the common paths; `factory --help-all` lists the full CLI.
`factory guide` helps you choose the next step.
The [quick guide](docs/START_HERE.md) explains scan results and CI options.

## The five bricks

Code Factory is five installable bricks. The core works alone; the others join
when you install the full toolchain.

| Brick | Answers | First command |
| --- | --- | --- |
| **FactoryLine** (this core) | What was actually checked, and what next? | `factory scan --root .` |
| **[SpecLine](https://github.com/zrk222/code-factory-1-spec)** | What needs to be true? | `specline strict <feature>` |
| **[ForgeLine](https://github.com/zrk222/code-factory-2-forge)** | Is the code built and tested to that spec? | `forge architect <feature> <ssat>` |
| **HSF** (Harness Software Factory) | Do the selected rules run the same way every time? | `hsf compile specs/<feature>.yaml` |
| **Prestige** | Which design findings should reviewers inspect? | `prestige score smoke/<feature>.ui` |

AppForge (app and mobile delivery) runs inside the core, not as a separate brick.

**First five minutes:**

1. `factory scan --root . --static-only`: findings with file and line (about a second on a small project).
2. `factory first-proof --root .`: a sandbox test that cannot fail, caught and written to a shareable receipt.
3. `python -m pip install "factoryline-code-factory[factory]"`, then `factory doctor`: which bricks are installed.
4. `factory init`, then `factory assemble <feature> --dry-run`: which brick runs each stage, and the one next
   step (`first_run.next`). Nothing executes in a dry run.

Core 0.50.0 connects these steps in a resumable local mission with recorded
recovery and resource-aware checks.
[Install the full toolchain](docs/START_HERE.md#install-the-full-toolchain) or see
the [proof workflow](docs/PROOF_REVIEW_WORKFLOW.md).

![The Code Factory operational proof loop](docs/assets/operational-proof-loop.svg)

## Product walkthrough

![Graph Ops and Factory Studio](docs/assets/marketplace/graph-ops-studio-1280x800.png)

## Reference

[Runtime assurance](docs/RUNTIME_ASSURANCE.md) ·
[GitHub review](docs/GITHUB_PROOF_REVIEW.md) ·
[Release channels and publication evidence](docs/RELEASE_CHANNELS.md) ·
[Changelog](CHANGELOG.md) ·
[Audit condition inventory](docs/AUDIT_CONDITION_INVENTORY.md) ·
Historical [repository self-audit receipt](evidence/self-audit/quality-reassessment-2026-10-04.json) ·
[Commercial availability](docs/COMMERCIAL_PACKAGING.md) ·
[Documentation index](docs/DOCUMENTATION_INDEX.json)

If Code Factory helps you, a GitHub star helps others find it.

<!-- mcp-name: io.github.zrk222/code-factory -->
