repo-mailbox/scripts
Kjell Tore Guttormsen 2928c28044 fix(board): FILENAME== the focus-filter join, matching the file's own rule
F12: a third NR==FNR survived at the focus-filter join in plan() (fp_names
x pf), next to two comments that already state this file's rule -- never
by NR==FNR. Measured before fixing: unlike the two prior instances, this
join has no third file whose lookup table a misroute could corrupt, and
FOCUS_SLUGS is provably a subset of what focus_slugs() finds in the same
$RECORDS focus_declares() re-checks -- so fp_names cannot be empty while
the filter applies, and even forced empty the old and new form produce
identical output. No reachable defect to pin behaviourally; the fix closes
the file's own stated invariant instead. Pinned structurally in selftest
section 21: no live NR==FNR outside a comment, with a known-positive
control proving the filter can still find one.

board-selftest: 239/239 (was 237). coord/route/orders/guard unchanged and
green (220/69/99/40), npm test 11/11.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YkJ1rKh5YNfVUr5UDKpfh
2026-08-17 22:37:44 +02:00
..
board-selftest.sh fix(board): FILENAME== the focus-filter join, matching the file's own rule 2026-08-17 22:37:44 +02:00
board.sh fix(board): FILENAME== the focus-filter join, matching the file's own rule 2026-08-17 22:37:44 +02:00
brief-nightly.sh feat(brief): render the nightly cross-repo briefing without a model 2026-08-01 22:38:46 +02:00
coord-count.sh fix(coord-count): distinguish claimed from unmeasured, fix Linux date parse 2026-08-14 23:44:01 +02:00
coord-done.sh feat(engine): make a bulk close state what Rule 7 says must be stated 2026-07-31 15:48:42 +02:00
coord-inbox.sh feat(engine): let a message say it needs no answer, and count debt without losing sight of the rest 2026-07-31 15:46:14 +02:00
coord-order-claim.sh feat(orders): order queue channel with atomic claim, board ORDRE column 2026-08-17 21:17:17 +02:00
coord-order-done.sh fix(orders): narrow the return-reason escape so a plain arrow survives 2026-08-17 21:24:37 +02:00
coord-order-inbox.sh feat(orders): order queue channel with atomic claim, board ORDRE column 2026-08-17 21:17:17 +02:00
coord-order-send.sh feat(orders): order queue channel with atomic claim, board ORDRE column 2026-08-17 21:17:17 +02:00
coord-selftest.sh fix(coord-send): reply mode claimed "marked handled" without checking 2026-08-16 15:42:13 +02:00
coord-send.sh fix(coord-send): reply mode claimed "marked handled" without checking 2026-08-16 15:42:13 +02:00
coord-sweep.sh fix(coord-send): stop rejecting dot-prefixed repo names 2026-08-09 21:09:23 +02:00
orders-selftest.sh fix(orders): narrow the return-reason escape so a plain arrow survives 2026-08-17 21:24:37 +02:00
route-selftest.sh feat(route)!: Fable rows are a hand-written override, never a route.sh outcome 2026-08-09 22:03:05 +02:00
route.sh feat(route)!: Fable rows are a hand-written override, never a route.sh outcome 2026-08-09 22:03:05 +02:00
state-line-guard-selftest.sh feat(state-line-guard): deny status=done while commits are unpushed 2026-08-16 22:06:44 +02:00