docs(modules): record the kit's extra checks and slice 2 #146
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/module-phase5-slice2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The docs half of Phase 5 slice 2 (§2.11.1). The Integration Kit half is Integration-kit#3.
What this fixes
Decision 2 said the kit's CI "checks three things". It runs five. Two were added as the things they guard came into existence, and the pattern is worth naming rather than left as CI archaeology: each exists because a class of claim in that repo had nothing looking at it.
checkRenameSites.js(slice 0) — holds the template's rename checklist against the tree, in both directions.checkChapterPaths.js(slice 2) — every path a chapter names in backticks must exist. None of those mentions is a markdown link, so the link check never saw them, and none is code, so nothing else did either. Renaming one template file would have left four chapters pointing at nothing, silently.Its anchor list is stated, not derived from the tree, for the reason API §3.6 already gives about the template's own build guard: a list derived from what exists cannot fail when what exists changes, so a renamed
template/would simply stop being checked at the moment every mention of it became wrong. An anchor that matches nothing fails the build — the same rule §5.2's grandfathering exemptions follow.The section also now says plainly what none of the five can do: whether a paragraph has become untrue about a file that still exists is a reviewer's obligation, in full at a
MODULE_API_VERSIONbump.Progress, and slice 2's verification
Slices 0–2 have landed; only slice 3 (the cold-agent acceptance run of decision 5) is outstanding.
Slice 2's verification is recorded because it is the shape decision 5 scales up. Chapters 1 and 2 quote a tree CI builds, so what remained unproven was the walkthrough — whether following chapter 1 produces what chapter 1 says it produces. It was run against a real core on
edge, including the three failures the chapter tells a reader to cause on purpose:mountsand never registeredregister, "declared public/extra but never registered it" — routes404, absent from/api/v1/public/modulesschema, at load time, before anything mountsonBoot503 Module unavailablerather than vanishingA chapter that predicts the wrong debugging heuristic is worse than one that predicts none, and that is exactly the class of error no check in this repo can see.
Checks
Markdown only — no code in this repo. Both link targets in the amended text resolve.