Sweep 5 self-match anchor-exclusion #24

Closed
opened 2026-05-20 13:22:00 +02:00 by Brummel · 1 comment
Owner

bench/architect_sweeps.sh Sweep 5's regex matches the DESIGN.md discriminator subsection's own forbidden-phrasing catalogue (L62 "planned / will back / on the path to / if-when X arrives") forever, so the script inherits a guaranteed self-referential EXIT 1 the architect must re-adjudicate by hand each run. Not a new failure mode (Sweeps 1-4 already retain legitimate date-anchors; non-zero is advisory-by-design per the script header) — minor signal-erosion only. Optional fix: a negative-lookbehind / line-range exclusion so the rule's own example list is not a hit. May be cut; the architect adjudicates the single known self-match trivially today.

context: docs-honesty-lint audit commit (architect [medium] advisory wart, carry-on).

`bench/architect_sweeps.sh` Sweep 5's regex matches the DESIGN.md discriminator subsection's own forbidden-phrasing catalogue (L62 `"planned / will back / on the path to / if-when X arrives"`) forever, so the script inherits a guaranteed self-referential EXIT 1 the architect must re-adjudicate by hand each run. Not a new failure mode (Sweeps 1-4 already retain legitimate date-anchors; non-zero is advisory-by-design per the script header) — minor signal-erosion only. Optional fix: a negative-lookbehind / line-range exclusion so the rule's own example list is not a hit. May be cut; the architect adjudicates the single known self-match trivially today. **context:** docs-honesty-lint audit commit (architect `[medium]` advisory wart, carry-on).
Author
Owner

Closing as stale. bench/architect_sweeps.sh now runs clean (exit 0, "All five sweeps clean"). The forbidden-phrasing example catalogue that the Sweep-5 regex used to self-match now lives only in docs/specs/0039-docs-honesty-lint.md, which is not a Sweep-5 target — so the guaranteed self-referential EXIT 1 no longer fires and no hand re-adjudication is needed.

Closing as stale. `bench/architect_sweeps.sh` now runs clean (exit 0, "All five sweeps clean"). The forbidden-phrasing example catalogue that the Sweep-5 regex used to self-match now lives only in `docs/specs/0039-docs-honesty-lint.md`, which is not a Sweep-5 target — so the guaranteed self-referential EXIT 1 no longer fires and no hand re-adjudication is needed.
Sign in to join this conversation.