Metadata-Version: 2.4
Name: factoryline-code-factory
Version: 0.50.0
Summary: Local evidence for AI-built code: 12-language native security rules, 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: 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.

**0.50.0 release line · VS Code / Open VSX / JetBrains / Devin plugin 1.3.6**
Channel availability is verified separately; prepared packages are not publication.

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

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

## A bigger evidence layer for polyglot teams

Current coverage adds Go, Java, C# and Ruby framework sources/sinks plus wider
Ruby/Swift trust checks. New request coverage is review-tier. Round 7 numbers
below belong to the earlier ruleset, not a fresh score for the shipped variant.
[Coverage evidence and limits](docs/evidence/polyglot-coverage-round8.json).

**New in this release:** retrieve trusted evidence across topics without loading
the whole history, check visible behavior against approved pixels and Prestige
tokens, and operate a foreground coordinator with signed fresh-worker handoffs.
Missing evidence stays visible; your team retains the release decision.
The newer advisory study records CodeQL detections in **15/91 analyzed cases**,
with **70/161 not executed**. Pattern replay found **6/161 on exposed cases**;
the lanes are not interchangeable and neither number is whole-CF blind recall.
[Inspect the lane-separated record](docs/evidence/advisory-recall-factory-20261121.json).

- **12 languages, one review workflow:** the configured native security worker
  covers C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby, Rust, Swift and
  TypeScript. Thirty rules separate default findings from review-only context;
  worker setup and coverage gaps remain explicit.
- **Measured strengths and gaps:** the fresh Round 7 default tier supported
  **38/40 decided alerts (95%; Wilson 83.5–98.6%)**, with **12 additional unclear**.
  Review tier supported **23/40 (57.5%)**, with 3 unclear. Advisory recall was
  **0/161**; six languages had fewer than five decided alerts. AI labels and
  per-language denominators are disclosed—not twelve-language accuracy or
  independent human validation. [Inspect readiness](docs/evidence/polyglot-readiness-round7.json).
- **Fits the tools you already use:** frozen JSON output, SARIF 2.1.0, opt-in
  pre-commit, source-bound GitHub proof handoffs and an eight-tool read-only
  Devin MCP profile put evidence beside agent suggestions.
- **Review the exact change:** signed-observation `verify_claim`, a bounded
  owner-approved Proof Agent and byte-exact mutation diffs show what was checked,
  what is missing and what to do next. Neither agents nor receipts self-approve.
- **Check visible behavior too:** an optional, explicitly admitted local-browser
  gate compares reviewed pixels, accessible control identity, terminal UI state
  and correlated API responses. Prestige token checks and token-removal
  challenges use the same source-bound receipt. Missing tooling or evidence
  stays incomplete; this is not a native-device or release certificate.

[Changes and fixes](CHANGELOG.md#0500--2026-11-21-release-candidate-publication-gated) ·
[Panel results and limits](https://github.com/zrk222/code-factory/pull/354) ·
[Native worker controls](https://github.com/zrk222/code-factory/actions/runs/44893613016)

| 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.

## Build, check, review

**[SpecLine](https://github.com/zrk222/code-factory-1-spec)** captures what needs
to be true, **[ForgeLine](https://github.com/zrk222/code-factory-2-forge)**
coordinates execution, and **FactoryLine** records the proof and next action.
**HSF** (Harness Software Factory) compiles selected rules into repeatable logic.
**Prestige** checks design where applicable. **AppForge** handles app and mobile
delivery inside Code Factory.
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 JetBrains plugin connects to the local FactoryLine core. AppForge runs inside the core, with SpecLine, ForgeLine, HSF, and Prestige as companions.](https://github.com/zrk222/code-factory/releases/download/v0.49.7/code-factory-workflow.png)

## Product walkthrough

<details>
<summary>Four annotated screenshots from the 0.49.6 preview</summary>

![Factory Studio Product Mission draft with intent and review callouts](https://github.com/zrk222/code-factory/releases/download/v0.49.6/studio-product-mission-0496.png)

![Graph Ops guide for choosing the next proof](https://github.com/zrk222/code-factory/releases/download/v0.49.6/graph-ops-proof-guide-0496.png)

![Graph Ops local scan with source coverage and incomplete evidence](https://github.com/zrk222/code-factory/releases/download/v0.49.6/graph-ops-findings-0496.png)

![Expanded Graph Ops finding with its source line and rationale](https://github.com/zrk222/code-factory/releases/download/v0.49.6/graph-ops-finding-detail-0496.png)

The fictional workspace contains a planted finding. Its scan has complete source
coverage and incomplete overall evidence.

</details>

<details>
<summary>Historical precision measurement: N443-38 exposed replay</summary>

On the same observed cases, decided actionable precision was **88.24% (30/34)**
versus 85.71%; 37 of 38 cases returned and all 30 original true positives were
retained. The original sealed first pass was 83.33% on decided labels (30/36)
and 78.95% counting all 38 selected cases. Two blind AI reviewers supplied the
labels. [Case ledger](https://github.com/zrk222/code-factory/releases/download/v0.49.6/original38-regression-0.49.6.json)

</details>

## 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 -->
