status --ac-scan: enumerate ACs annotated inside the bold (e.g. AC-1 (VALUE))#447
Merged
Merged
Conversation
Broaden acHeadingRe so an asterisk-free trailing label inside the bold
span is allowed and discarded — **AC-1 (VALUE)** enumerates as AC-1,
exactly as bare **AC-1**, so the value AC the README ideation policy
recommends is no longer silently dropped from the gate AC cross-check.
The [^*]* label excludes *, so it cannot span a ** boundary: two
headings on one line still enumerate separately.
TestACScanEnumeratesAnnotatedAC + annotated-ac-fixture.md: RED on the
bare matcher (AC-1 absent), GREEN after; enumerated id set is exactly
{AC-1, AC-2} (no over-match, prose 'see AC-3' not enumerated). README
validation cross-check prose gains the value-annotation clause.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make the deterministic gate AC cross-check see value-annotated acceptance criteria, so the value AC can no longer hide from
status --ac-scan.What changed
--ac-scanheading matcher so a label inside the bold (**AC-1 (VALUE)**) enumerates as its bare id.[^*]*so a match can never span a**boundary — no over-match.TestACScanEnumeratesAnnotatedAC+annotated-ac-fixture.md(RED on the bare matcher, GREEN after).:131.Evidence
go test ./internal/status/...— all passed;TestACScanEnumeratesAnnotatedACPASS.fn-binding-refinements.md7→8 ACs (**AC-4 (value guardrail)**surfaces); fixture id set exactly {AC-1, AC-2}.48g