diff --git a/OKF/ROADMAP.md b/OKF/ROADMAP.md index 6b18c61..a7a1d47 100644 --- a/OKF/ROADMAP.md +++ b/OKF/ROADMAP.md @@ -84,6 +84,13 @@ single request traces to `user request ` instead, as B-008–B-017 did. prunes a discharged phase to one line, so the *reason* evaporates and the question reopens as drift. A convention must land where its next reader looks — F8's ruling went to `conjure-a-skill`. Source: phase 10, 2026-07-31. +- **A lint that walks the filesystem gates on files the repo does not own.** + Believed: a repo-wide walk's scope is the repo. True: it is the working + directory, so one gitignored page can red a repo-wide gate — it already cost + [024](blueprints/024-rename-the-spine-and-give-chart-its-ferry-edge.md) a run + condition, and two of the four lints carry that walk byte for byte. Ruled by + [026](blueprints/026-walk-only-what-git-does-not-ignore.md). Source: + 2026-07-31. ## Out of scope diff --git a/OKF/blueprints/026-walk-only-what-git-does-not-ignore.md b/OKF/blueprints/026-walk-only-what-git-does-not-ignore.md new file mode 100644 index 0000000..109173e --- /dev/null +++ b/OKF/blueprints/026-walk-only-what-git-does-not-ignore.md @@ -0,0 +1,149 @@ +--- +type: Blueprint +status: locked +traces-to: user request 2026-07-31 +sounded: 2026-07-31 +cites: + - skills/loop/write-OKF/scripts/link-check + - skills/loop/write-OKF/scripts/render-check + - OKF/blueprints/023-add-a-link-lint-over-relative-md-links.md:What it walks + - OKF/blueprints/019-add-a-render-lint-over-the-loop-shape.md:dot-directories skipped + - OKF/blueprints/024-rename-the-spine-and-give-chart-its-ferry-edge.md:that Contract is sealed + - OKF/blueprints/022-validate-every-cite-at-every-status.md:its Contract and Verify are not touched + - OKF/ROADMAP.md +muster: true +--- + +# 026 — walk only what git does not ignore + +## Justification + +**A repo-wide gate reddens on a file the repo does not own.** `HANDOFF.md` is +gitignored, and both `link-check` and `render-check` walk it anyway, so a +session's scratch prose can fail the tree. The cost is already paid: +[024](024-rename-the-spine-and-give-chart-its-ferry-edge.md) had to carry +*clear gitignored `HANDOFF.md` first* as a **run condition** on its own Verify, +and a handoff must be written around both lints — link-free, quoting no lint +constant. 024's §Out of scope declines the fix in place *"but that Contract is +sealed — the fix is a supersession, not a line in a rename."* This is it. + +**The measured census, not the remembered one.** Exactly **one** `.md` in the +walk is ignored — `HANDOFF.md`; nothing else is ignored, nothing untracked. +**Zero** of 516 relative links on live pages sit inside inline-code spans. So +[023](023-add-a-link-lint-over-relative-md-links.md)'s ruling that inline-code +spans are unreal stays true of every page remaining once the ignored one +leaves — the only page wanting a link in backticks is the only ignored page. +The backtick rule is not adopted: it would earn nothing, failing +[sieve](../../skills/engineering/sieve/SKILL.md)'s Real test as 023 found. + +**Why both lints.** `pages()` is **byte-identical** in the two, `SKIP` +included, and `render-check` carries a retired-form constant a handoff cannot +quote either. Ruling the walk for one and leaving its twin is the +prose-failed-to-hold shape this repo has mechanised three times — +[017](017-add-a-line-cap-lint-over-skills.md), +[019](019-add-a-render-lint-over-the-loop-shape.md), +[020](020-enforce-the-prune-and-validate-every-cite.md). `okf-check` (`OKF/`) +and `skill-check` (`skills/*/*/SKILL.md`) cannot reach an ignored page. + +## Contract + +**One shared walk, at `skills/loop/write-OKF/scripts/_pages.py`.** Both lints +import it and neither keeps a private `pages()`. A sibling module is importable +because `python3