Document an existing system (the scan)

§ 1Purpose

Populate a WAD from a real codebase: mechanical probes first, then a targeted interview for what code can't say.

§ 2Prerequisites

§ 3Flowchart

1. Scan order2. Probe and emit3. Respect thesilenceGapinterview5. Verify with the usernoyes

§ 4Steps

§ 4.11

§ 4.2Scan order

Work the scan-checklist rows top to bottom — repo layout → CI/build → entry points → externals → data layer → infrastructure → personas/governance → standards → SOPs. Cheap, high-signal sources come first; each row says what to read, what blocks to emit, and what to ask when the source is silent.

§ 4.32

§ 4.4Probe and emit

For each row: read the sources, write the blocks, wcl check, render. Anything machine-derivable that will drift (pipelines, dependency edges, schemas) should be extracted, not hand-copied — write the extractor now (see the write-an-extractor process) so the fact stays true next month.

§ 4.53

§ 4.6Respect the silence

Code cannot tell you: support contacts, approval chains, off-repo infrastructure, security posture, or why anything is the way it is. Leave those blank for the next step — a scanned WAD full of plausible inventions is worse than an empty one.

§ 4.74

§ 4.8Gap interview

Run a targeted mini-interview from the question bank, restricted to what the probes couldn't fill — and back-fill the load-bearing decisions as adrs (“why is it like this?”). Still-unanswered items become open-question lines in an article.

§ 4.95

§ 4.10Verify with the user

Serve the book with --comment, have the user walk it against reality, fix data from the comments, and record the reviewed revision as the diff baseline.

Verification

Every probe ran; extractors own the machine-derivable views; the gap interview covered the rest; the user spot-checked the rendered book against reality.