Keep a WAD current

§ 1Purpose

The maintenance sweep that stops the document drifting from reality.

§ 2Prerequisites

§ 3Flowchart

1. Trigger2. Re-run theextractors3. Diff against the baseline4. Read the commit history5. Capture decisions6. Check, render,mini-review

§ 4Steps

§ 4.11

§ 4.2Trigger

Run the sweep when something meaningful lands: code merged, infrastructure changed, a decision made, an incident that revealed the doc was wrong.

§ 4.32

§ 4.4Re-run the extractors

just extract (or just wad-extract in the WCL repo) — generated data re-derives from the live sources; the git diff of data/generated/ IS the machine-visible drift.

§ 4.53

§ 4.6Diff against the baseline

wcl diff <baseline>:wad.wcl wad.wcl — read what moved. Update the hand-authored blocks the changes invalidate (a renamed crate's relations, a retired container's deploy targets).

§ 4.74

§ 4.8Read the commit history

Have an LLM read the git log since the last sweep and list what changed that the WAD hasn't caught up with — renamed modules, new services, retired jobs, decisions visible only in commit messages. Commits are the change log the document must answer to; extractors only cover the machine-derivable slice.

§ 4.95

§ 4.10Capture decisions

Anything decided since the last sweep becomes an adr now, while the context is fresh. New operational learnings update the SOPs.

§ 4.116

§ 4.12Check, render, mini-review

wcl check, render, and have the owner spot-check the affected chapters. Commit; if the sweep was substantial, record a fresh reviewed baseline.

Verification

Extractors are git-quiet after a re-run, wcl diff against the baseline shows only intended drift, and spot-checked chapters match reality.