diff --git a/OKF/blueprints/027-error-on-implemented-with-matches-no.md b/OKF/blueprints/027-error-on-implemented-with-matches-no.md index ad94bef..952c9f4 100644 --- a/OKF/blueprints/027-error-on-implemented-with-matches-no.md +++ b/OKF/blueprints/027-error-on-implemented-with-matches-no.md @@ -1,6 +1,6 @@ --- type: Blueprint -status: locked +status: implemented traces-to: user request 2026-09-23 sounded: 2026-09-23 cites: diff --git a/OKF/index.md b/OKF/index.md index c4e9502..2ddc78b 100644 --- a/OKF/index.md +++ b/OKF/index.md @@ -49,7 +49,7 @@ your task needs. Humans welcome too. - [024](blueprints/024-rename-the-spine-and-give-chart-its-ferry-edge.md) — rename the spine to chart and rig, and give chart its ferry edge — implemented - [025](blueprints/025-rule-muster-on-every-blueprint.md) — rule muster on every blueprint — implemented - [026](blueprints/026-walk-only-what-git-does-not-ignore.md) — walk only what git does not ignore — implemented -- [027](blueprints/027-error-on-implemented-with-matches-no.md) — error when a mustered blueprint reaches implemented on matches: no — locked +- [027](blueprints/027-error-on-implemented-with-matches-no.md) — error when a mustered blueprint reaches implemented on matches: no — implemented ## Ferries diff --git a/OKF/learnings/validators.md b/OKF/learnings/validators.md index 540803b..94ee1ce 100644 --- a/OKF/learnings/validators.md +++ b/OKF/learnings/validators.md @@ -40,3 +40,8 @@ status: live follows the symbol. Repointing has a trap of its own: the phrase wrapped across two lines in its new home, and a wrapped symbol never resolves, so the obvious repoint stays red. Source: rig of B-026. +- Believed: gating `implemented` on a `tally:` block's presence gates the + muster verdict. True: `not tally(text)` only tests that the block exists + — a `tally: matches: no` block is non-empty, so it passed the same check + a missing block failed. A presence check is not a verdict check; the + field inside still has to be read. Source: rig of B-027. diff --git a/skills/loop/write-OKF/scripts/okf-check b/skills/loop/write-OKF/scripts/okf-check index a4a3b12..d98173d 100755 --- a/skills/loop/write-OKF/scripts/okf-check +++ b/skills/loop/write-OKF/scripts/okf-check @@ -284,13 +284,17 @@ def main(argv): warnings.append(f"{rel}: locked without sounded:") # muster is opt-in: a blueprint carrying `muster: true` may not - # reach `implemented` without its `tally:` — the human verdict the - # gate exists to force. Blueprints without the field are untouched. + # reach `implemented` without its `tally:`, and never on a known + # miss — the human verdict the gate exists to force. Blueprints + # without the field are untouched. if ("blueprints" in rel.parts and str(fields.get("muster", "")).lower() == "true" - and fields.get("status") == "implemented" - and not tally(text)): - errors.append(f"{rel}: muster: true, implemented without tally:") + and fields.get("status") == "implemented"): + verdict = tally(text) + if not verdict: + errors.append(f"{rel}: muster: true, implemented without tally:") + elif verdict.get("matches") == "no": + errors.append(f"{rel}: muster: true, implemented with tally: matches: no") # A cite is a working pointer, so every page carries the rule at # every status — a blueprint's `cites:` are not frozen by lock.