Skip to main content

Documentation coverage

Between 2026-10-09 and 2026-10-12 every application repository then in the fleet (15 backend contexts, the console shell and the UI kit, 17 repositories) got the same operational documentation set, written from the code on develop and merged through each repository's normal PR checks. Fleet mean coverage went from 67 to 100 out of 100. On 2026-10-17 the fleet grew to 19 repositories (17 backend contexts, the console shell and the UI kit): see State on 2026-10-17. The problems found while writing those pages are on Ecosystem gaps.

What every repository now documents​

PageContents
IntroductionWhat the context owns, its subdomain class and tier, capabilities
ArchitectureHexagonal layout, every binary in cmd/ with ports and probes, data stores, a container diagram
QuickstartPrerequisites, make targets, local Postgres and the shared Kafka broker, first calls
ConfigurationOne table per binary: every environment variable, default, whether required, source file
RunbookHelm chart and Deployments, probes, migrations, topics and consumer groups, outbox, DLQ, sweepers, scaling, routine procedures
ObservabilityEvery metric instrument, spans, logs, exporters, dashboards, suggested alerts
TroubleshootingSymptom → cause → check → fix, from failure modes visible in the code
TestingUnit, integration (testcontainers), BDD, contract, mutation and architecture tests; make targets; CI jobs
IntegrationEvery upstream and downstream edge with protocol, contract and failure behaviour, including absent edges
Use casesEvery application use case with trigger, inputs, invariants and events raised
MCP toolsEvery tool of cmd/mcp with inputs and read-only or write annotation (where the context has an MCP server)

The synced copies of the operational pages are under each context's Operations group in the Bounded Contexts section. The frontends keep theirs in their repositories: the console on its docs site, the UI kit as Markdown under docs/ (no Pages site).

Before and after​

Scores are from the same audit run on two commits per repository: the first parent of the merge of the campaign PR (before) and develop after the last campaign PR merged (after). "Pages" counts hand-written pages (README and docs/**, excluding ADRs and generated API reference). The README itself follows the fleet README skeleton — see README standard.

RepositoryBeforeAfterPagesMissing beforePRs
order-management7710022 → 29configuration, operations, observability, testing, integration, troubleshooting#176
inventory-storage8310027 → 33configuration, operations, observability, testing, troubleshooting#177
wes-work-planning8010037 → 44configuration, operations, observability, testing, troubleshooting, use-cases#169
fulfillment-execution8410029 → 35configuration, operations, observability, testing, troubleshooting#184
workforce-management7710032 → 39configuration, operations, observability, testing, troubleshooting, use-cases#160
facility-layout8010026 → 32configuration, operations, observability, testing, troubleshooting, use-cases#167
process-path-management6410017 → 28introduction, architecture, quickstart, configuration, operations, observability, testing, integration, troubleshooting, use-cases, subdomain-classification#122
labor-performance6610018 → 28introduction, architecture, quickstart, configuration, operations, observability, testing, integration, troubleshooting, use-cases#134, #144
warehouse-ops-agent7010020 → 30architecture, configuration, operations, observability, testing, integration, troubleshooting, use-cases#129
network-fulfillment6610017 → 29introduction, architecture, quickstart, configuration, observability, testing, integration, troubleshooting, use-cases, subdomain-classification#67
warehouse-planning7410020 → 29quickstart, configuration, operations, observability, testing, troubleshooting, subdomain-classification#41
product-master7210021 → 30quickstart, configuration, operations, observability, testing, troubleshooting, subdomain-classification#16
network-inventory-planning181001 → 25site-or-docs-dir, introduction, architecture, quickstart, configuration, operations, observability, testing, integration, troubleshooting, use-cases, subdomain-classification, pack, adr-index#28, #29
inbound-receiving7610022 → 30quickstart, configuration, operations, observability, testing, troubleshooting, subdomain-classification#14
slotting-optimization291001 → 25site-or-docs-dir, introduction, architecture, quickstart, configuration, operations, observability, testing, integration, troubleshooting, use-cases, subdomain-classification, pack, adr-index#6
warehouse-console741008 → 13configuration, operations, testing, troubleshooting#76
warehouse-ui-kit561001 → 10site-or-docs-dir, introduction, architecture, quickstart, configuration, operations, testing, troubleshooting#44

Two contexts started without a documentation site at all: network-inventory-planning and slotting-optimization each got a Docusaurus site, mirroring inbound-receiving's tooling, in their campaign PR.

State on 2026-10-17​

The same audit, run on origin/develop of all 19 repositories at the end of the day (after the task-interleaving service and its operations pages merged), gives all 19 at 100: a fleet mean of 100.0 (computed as (19 × 100) / 19). Earlier the same day it gave 18 at 100 and one at 86, a mean of 99.3, because task-interleaving had only its domain and contracts on develop. Two contexts were added to the audit's backend list on 2026-10-17, and four content fixes closed the last undocumented fact the audit listed in four older repositories.

RepositoryBeforeNowPagesPendingPR
pick-face-replenishment261002 → 25—#7
task-interleaving561002 → 25—#6, #7, #9

The first PR of each scaffolded the Docusaurus site, the API reference pages, the DDD pack and the structure pages, and merged on 2026-10-17. Before is the audit at the first parent of each merge. task-interleaving's service (cmd/api, PR #7) merged later the same day and its docs PR #9 added the configuration, runbook, observability and troubleshooting pages, which took its structure score from 73 to 100 (the page count is the audit's, 25 for both contexts). No placeholder pages were written to move the number. Of the 19 repositories, 17 are backend contexts (16 domain contexts and warehouse-ops-agent), plus the console shell and the UI kit.

RepositoryContent fixPR
product-masterthe product_master.products.registered instrument#44
inbound-receivingthe inbound_receiving.receipts.units_received instrument#39
slotting-optimizationthe slotting_optimization.slot_plans.decided instrument#32
network-inventory-planningOTEL_SERVICE_NAME for mcp, nip-projector and nip-reports#56

All the PRs above are merged. Frontends are scored with the library rule described below: a release page counts as the operations page of a repository with no deployment, which is how the UI kit reaches 100.

How the score is computed​

The audit reads a repository's tree at a git ref (read-only) and scores two halves equally:

  • Structure (50%): whether the hand-written docs contain an introduction, architecture, quickstart, configuration, operations (runbook), observability, testing, integration, troubleshooting, use-case and subdomain-classification page, the 11-page ddd-crew pack and a complete ADR index. Frontends are checked for the subset that applies to them; for a library with no deployment, a release page counts as its operations page.
  • Content (50%): the share of code facts that the hand-written docs name: every environment variable read in cmd/ and internal/ (non-test), every binary, every CloudEvents type, every MCP tool, every Kafka topic, every OpenTelemetry instrument, every table a migration creates, and every HTTP route that is not in apis/openapi.yaml. For frontends: every src/features module, every component and every VITE_* variable.

The audit is a floor, not proof of quality: a page that names a fact can still describe it wrongly. Every campaign PR was therefore also checked mechanically against its own branch's code (every CloudEvents type in the docs exists in the code, every ER relationship has a real foreign key, every Mermaid diagram renders, no page describes authentication that does not exist), and the claims that drive the gaps page were re-verified by hand.

Keeping it at 100​

  • The operational pages are hand-written: nothing regenerates them. A code change that adds an environment variable, topic, instrument or route must update the matching page in the same PR. labor-performance's .claude rules already say so; the other repositories' agent rules do not yet.
  • Re-run the audit before a release; a drop below 100 names the exact fact that is undocumented.
  • New docs reach the published per-repo sites only with each repository's next develop → main release, because the Docs workflows deploy from main.