Skip to content
All use cases
DocumentationSummarisationLow cost per page

Technical documentation that is generated from the repository

Write docs against files that exist, on the turn they are read

Produce and refresh reference documentation — module maps, API surfaces, decision records — from the source itself, with the generated pages landing as markdown in a workspace you review before it merges.

127.0.0.1:8787
The Skills page: the catalogue of skills available to employees, with where each is loaded from.
The capability catalogue employees draw on each turn. Skills are markdown files loaded from disk, so the catalogue is inspectable and editable as plain text.
The problem

What actually goes wrong today

Stated plainly, because the approach below only makes sense as an answer to something specific.

  • 01

    Documentation drifts because it is written at a different time from the code. Any workflow where the docs are a separate pass will decay at the same rate as the last one did.

  • 02

    Asking one agent to "document this repository" produces a confident summary of what the repository probably contains, including functions that were renamed two releases ago.

  • 03

    Handing a documentation task to a fully staffed pipeline is overkill: you do not need a debate about whether a function takes three arguments.

  • 04

    Publishing generated prose unreviewed is worse than publishing nothing, because wrong documentation is trusted documentation.

The approach

How the hierarchy and the router do it

Concretely, stage by stage: which mode the stage uses, who owns it, and why the router prices it the way it does.

  1. 01

    Research agents read the real files through the confined read tools, so every claim in the output traces back to something on disk rather than to a plausible prior.

  2. 02

    A parallel stage runs the subsystems side by side under DEV3D_MAX_CONCURRENCY, each employee getting its own knowledge snapshot, with results merged in role order so ordering is deterministic rather than race-dependent.

  3. 03

    A review-loop closes it: reviewers critique the drafts and the chair synthesises a verdict, which is the stage that catches a documented API that does not exist.

  4. 04

    Markdown files are written into the workspace, so what leaves the run is reviewable text plus the list of files that were read to produce it.

  5. 05

    Most of the work is summarisation and extraction, so the bulk of the turns route to a cheap tier band; only the synthesis and the review pay for a stronger model.

The outcome

What you actually end up with

Artifacts, not assurances. Every one of these is something you can open, diff, review or throw away.

  • Reference documentation that is regenerable, because the process is a pipeline rather than a person remembering how they did it last time.

  • Every page arrives with the files it was derived from, so a reviewer can check rather than trust.

  • The cost per refresh is predictable and small, which is what makes refreshing it routine instead of annual.

Staffing

Which part of the company is involved

Six of the thirteen roles, four of the eight departments. The rest of the office stays idle, and that is what keeps the run affordable.

Roles by stageper-floor org chart
Intake
CEO

Recognises a documentation brief and sizes it, which is what keeps the run from being staffed like an architecture review.

Research (parallel)
Researcher, analyst, technical writer

Reads the real files under DEV3D_MAX_CONCURRENCY; results merge in role order, so the merged draft is deterministic.

Drafting
Technical writer

Summarisation and extraction, mostly: the bulk of the turns, and the bulk of them on a cheap tier band.

Review-loop
Reviewers in parallel, then the chair

The stage that catches a documented function that does not exist, which is the failure mode generated docs are famous for.

Build
Developers

Markdown lands in the workspace, so what leaves the run is reviewable text plus the list of files it was derived from.

The org chart is data. A floor can hire, fire, re-seat and re-price its own company, and a plugin can contribute a role template — which is the point of naming roles rather than numbering agents.

Modes used

Intake runs single, research runs parallel, contested decisions run as a debate, and anything that produces files ends in a review-loop.

Where the money goes

Reading and summarising sit on cheap bands. The plan, the implementation turns and the review escalate, because those are the turns where being wrong is the expensive mistake.

What is recorded

Per-turn cost, the route decision and the models the router rejected, the files touched, and the debate ruling including the position that lost.

Run this in mock mode first

Node 24, one install, no API keys. The pipeline, the stages, the file writes and the review loop all run against scripted employees, so you can watch the shape of the work before it costs anything.

Before you point it at production

Nothing in the orchestrator authenticates, so bind it to localhost. The tools are confined to the run workspace, but that workspace is a normal directory on the machine and the orchestrator is not inside an operating-system sandbox — give it a checkout you would be willing to lose.