Pillar 01 · Dark Factory

The Autonomous AI-Native
Software Development Lifecycle.

Agents author, critic, validate, and ship. Every gate is deterministic. Every bypass is logged. Multi-vendor adversarial review, declarative branch-protection, per-SHA evidence — the SDLC built for codebases where most commits are AI-authored.


The pipeline

PRD to production —
engineered by agents, gated by code.

Humans set direction: write the PRD, refine the cycle spec, prompt the agents. Agents do the work: decompose into cycle specs, write code in TDD, run their own critics, validate in CI with adversarial multi-model review, deploy to preview, soak under load, and promote to production when every gate is green.

0

PRD

human-led

What to build, why, success criteria.

1

Cycle Spec

agent

Plan agent decomposes PRD into cycle docs; critic reviews the plan PR.

2

Local Dev

creator + critic

Creator writes TDD; local critic enforces evidence per commit.

3

CI Gates

multi-agent

Deterministic invariants + adversarial cross-model critics.

4

Preview

auto-deploy

Auto-deployed environment per PR. Smoke + E2E.

5

Soak

eval + obs

Time-bounded. Eval harness, traces, error rates.

6

Production

auto-promote

Canary → full rollout. Auto-rollback on regression.



The differentiated wedge

Three orthogonal moats.
None of them are copied by accident.

01 — Vendor portfolio

Multi-model adversarial review

Four critic vendors by default — Cursor SDK, Codex SDK, Gemini SDK, Grok direct. GitHub will default to OpenAI; Cursor will default to Anthropic. Critics that disagree are critics that catch things. No single vendor's review is sufficient against models from the same family.

02 — Policy as code

Declarative + drift-detected

darkfactory.yaml is the gate config; spec.yaml is the branch-protection desired state; the drift detector runs every PR. GitHub's tools are imperative + GUI. Cursor's BugBot is app-configured. Neither is git diff-able.

03 — Provider neutrality

Sells into any model stack

Anthropic shops, Google shops, Mistral shops, open-weights shops, OpenAI shops — DF installs the same way. The provider-neutral posture is the wedge into orgs that have already committed to non-OpenAI primaries. That segment is growing.

04 — Trusted-surface rebind

Self-modifying policy can't sneak through

When a PR diff touches policy code, the critic runs against the BASE ref's policy. A PR cannot edit the rules that judge it. The trusted-surface rebind pattern closes a class of supply-chain-style attacks on the gate itself.


Install

One command, then every PR has a verdict.

The GitHub App handles the hosted-runtime case. The OSS CLI mirrors the local pre-push critic for power users, air-gapped deployments, and reproducible local-vs-CI verdicts. Same binary, same policy schema, same evidence store.

~/your-repo — pre-push critic
$ git push origin feat/new-thing darkfactory: running critic quorum on SHA 5d8e1a3 cursor-sdk · APPROVED (0 findings) codex-sdk · APPROVED (0 findings) gemini-sdk · CHANGES_REQUESTED (1 HIGH) grok-direct · APPROVED (0 findings) aggregation: min-complete-quorum verdict: CHANGES_REQUESTED evidence: .git/agent-reviews/quality-gates/5d8e1a3/ push blocked. resolve gemini finding or file a structured bypass.

Get Started

Make your AI-authored code reviewable.

Multi-vendor critic portfolio. Deterministic merge gates. SOC2-grade audit trail. Install via the GitHub App or the OSS CLI.