fix: bind Refs parser to one token #252

Merged
andres merged 6 commits from build/234-bind-refs-token into main 2026-08-24 18:15:11 +00:00
Showing only changes of commit 5232027361 - Show all commits

View file

@ -103,6 +103,7 @@ check "Refs parser returns only references owned by a valid Refs marker" 0 "" \
test "$(refs_references <<<"$refs_body")" = $'8\n12\n175' test "$(refs_references <<<"$refs_body")" = $'8\n12\n175'
# A Refs declaration binds one token, never the prose that follows it; every # A Refs declaration binds one token, never the prose that follows it; every
# later occurrence starts a fresh declaration (#234). # later occurrence starts a fresh declaration (#234).
# shellcheck disable=SC2016 # backticks are the fixture's literal Markdown
crew_round_line='- **Claude verified the safe `Refs #52`, TDD provenance, and inherited #65 CI failure.**' crew_round_line='- **Claude verified the safe `Refs #52`, TDD provenance, and inherited #65 CI failure.**'
check "Refs parser ignores issue prose after the bound token" 0 "" \ check "Refs parser ignores issue prose after the bound token" 0 "" \
test "$(refs_references <<<"$crew_round_line")" = 52 test "$(refs_references <<<"$crew_round_line")" = 52