Review of docs/architecture.html and docs/crews-deep-dive.html · 25 Nov 2026

What exists on GitHub, and eight changes that make the factory better

Nobody has published your whole factory: requirement to PRD, prototype, tests first, app, release and client acceptance, with an auditor and a versioned handoff at every step. Almost every part of it exists as a separate, well-used project. Build the pipeline. Borrow the parts.

Keep buildingThe crew pipeline, gates, handoffs, the decisions ledger and the test-first rules. These are yours and I found no project that has them together.
BorrowThe change-request format, the gate message format, the skill optimiser, the task queue and the sandbox pattern.
Fix firstThe two docs disagree, the operator is the bottleneck, and the factory has no way to measure itself.

1. What others have built

Stars, last push and archive status come from the GitHub API on 25 Nov 2026. The descriptions come from each README. I read READMEs, not the full code, so treat the "take" column as a lead to check.

ProjectWhat it isWorth takingWhy not adopt it whole

A wider map: mk668a/AIDD-compare is a small, source-cited comparison of 60+ open-source AI development tools in seven layers. It has few stars but saves a lot of searching.

2. What only your design has

I did not see these in any README above. They are the reason to build your own pipeline, so protect them when you borrow.

Tests the developer cannot touchRead-only on disk, checked by hash, plus a held-out acceptance set the Developer crew never sees.
RED proven by assertionA test must fail on the empty boilerplate for the right reason, and the suite must reach a mutation score.
Provenance to a verbatim quoteEvery PRD line cites a fact (B#) or an operator decision (D#). Never a silent pick.
Client acceptance as a crewUAT runs on a staged build and routes each defect to the crew that owns it.
One frozen contractContract, schema, screens and test plan are cross-checked before any code.
Lessons from HerculesThe 20 build rules come from failures you already paid for.

3. Eight changes

In order of payoff. Each one names the problem in your docs, the change, and where the idea comes from.

  1. Make the two docs agree

    Problemarchitecture.html shows 5 crews, 36 agents, a strict sequence, a SQLite checkpointer and the Architect inside Developer. crews-deep-dive.html version 2 shows 7 crews, 51 agents, parallel phases and Postgres. A new reader cannot tell which is true.
    ChangeMark architecture.html as superseded, or redraw its four figures from the version 2 data. Keep one source for crew data and generate both pages from it.
  2. Sort the gates into three kinds

    ProblemVersion 2 has 20 named gates. Several repeat per PRD module, per journey and per schema module, and the interview and gap rounds add more stops. Nothing in the docs counts operator time, and the operator is the one part that cannot run in parallel.
    ChangeUse the three kinds below. Send every stop in one format: what it is, why it matters, a recommendation, the choices. Record operator minutes per run.
    FromArchon's attention items. Superpowers shows specs in chunks short enough to read.
  3. Add tracks, so small work stays small

    ProblemThe docs say a planner proposes the crews, but every figure and table describes the full run. A change to an accepted product, or a demo with no backend, would pay for all seven crews.
    ChangeDefine three tracks with fixed crew sets. The planner proposes a track, code checks it, you approve it at the first gate.
    FromBMAD: "small changes go straight to build". OpenSpec is built for existing code, not only new code.
  4. Measure the factory, not only the product

    ProblemTests, mutation score and audits measure the app. Nothing measures a run. Without that you cannot tell whether a new skill, model or crew made the factory better, and the skill loop has nothing to replay.
    ChangeKeep 3 to 5 small fixed requirements as a benchmark and run them on every engine or skill change. Track cost, operator minutes, audit rounds, first-pass rate and defects found at UAT. For each UAT defect, also record which audit check should have caught it, and add that check in shadow mode.
    FromBMAD ships bmad-eval for its skills. GEPA and DSPy both need a metric before they can improve anything.
  5. Test the auditors

    ProblemThe rule says the auditor uses a different model from the maker, but the only providers listed are the Claude API and claude -p. The docs also never check that an auditor can still fail bad work.
    ChangeDecide what "different" means: another tier, or another provider. Then plant known-bad handoffs on a schedule and require each auditor to fail them. This is your mutation testing idea, applied to the auditors.
  6. Say where agent code runs

    ProblemDeveloper agents install packages and run tests. The docs give each task a worktree but no sandbox. The BA crew reads competitor web pages, and that text flows into the PRD and on to agents that can run commands.
    ChangeOne container per task, network limited to the package registry, no secrets in the agent's environment. Treat research text as quoted data that is never followed as an instruction.
    FromRobin (open-swe) implements in an isolated sandbox per thread.
  7. Do not hand-write the coding agent's tool loop

    Problem"No prebuilt agents" is right for the pipeline. Applied to the Developer agents it means writing file editing, shell access and context trimming yourself.
    ChangeKeep the bare graph for crews, gates and handoffs. Inside a Developer node, call a finished coding agent: the claude -p provider you already planned, or Deep Agents for API-key runs. Check that the metering seam sees usage from the CLI too.
    FromArchon runs Claude Code, Codex and Pi through their CLIs. Deep Agents is built on LangGraph.
  8. Borrow three formats

    ChangeChange requests as deltas. A CR lists added, changed and removed requirements with scenarios, so version 2 of a handoff is reviewable as a diff. Tasks as a ready queue. tasks.json becomes a dependency graph where "ready" means all blockers are closed. Skills in the open skill format, so they also work in Claude Code and Hermes.
    FromOpenSpec, Beads, and the agentskills.io format that Hermes names in its README.

4. The three kinds of gate

Stops the runDecisions only you can makeRequirement lock, product definition, design direction, contract freeze, release-ready, client sign-off.
One review, many itemsRepeating approvalsPRD modules, journeys and schema modules arrive together. Approve all, or flag the ones to redo. Work that does not depend on a flagged item continues.
Passes with a noticeClean, low-risk handoffsThe auditor passed in round one, no decision (D#) changed, and the handoff has no user-visible choice. You can reopen it later as a change request.

Which gates may pass on their own is your decision, per product. A client project may keep all 20 as stops.

5. Three tracks

Dashed means the crew redoes only what the trace graph marks as affected. The Demo track is where the name "Product Demo Engine" started.

6. Build, borrow or use

PartDecisionSource
Parent graph, crews, gates, handoffsBuild on bare LangGraphYour docs
Auditor, decisions ledger, trace graphBuildYour docs
Coding agent inside a Developer nodeUseclaude -p, or Deep Agents
Gate message formatBorrow the ideaArchon
Change-request formatBorrow the ideaOpenSpec
Task queue for worktreesBorrow the idea, or useBeads
Skill file formatUse the standardagentskills.io
Drafting skill changesUse, once the benchmark existsGEPA
Organisation memoryUse, or plain StoreLangMem
Sandbox per taskBorrow the patternRobin (open-swe)
Benchmark and run metricsBuild, smallNone fits your handoffs

7. What I would do next

  1. Mark architecture.html as superseded and keep one data source for crews.
  2. Read Archon's workflow engine and Robin's sandbox code before writing the spine. Two days of reading can save weeks.
  3. Choose the benchmark requirements and the first real product. Write down what "done" means for it.
  4. Build the spine with the Demo track only: Business Analysis and UI / UX, one agent each, three stop gates.
  5. Add run metrics from the first run, so every later change has a before and after.
  6. Grow to the Full track along the build order already in your Runtime tab.

Three questions that change the design

  • For the auditor, does "a different model" mean another Claude tier or another provider?
  • Where may Developer agents run code: your laptop, a container, or a remote sandbox?
  • Which gates are you willing to let pass on their own for an internal product?