spec: convert prose Acceptance Criteria to the asserted table shape - #17
Merged
Conversation
spec-artifacts-iso#11. An FR/NFR `## Acceptance Criteria` section must now
be absent or well-formed — a present-but-prose section fails. The asserted
shape is `ID | Criteria | Verification` with `{id}-AC-N` ids.
Converted rather than dropped. Where a bullet already declared its own id
(`- **NFR-001-AC-3**: ...`), that id becomes the row id, so anything
tracing it keeps resolving; #11 permits omitting the section for a
measurable NFR, but several repos trace these ids from spec/tests.md and
deleting the section would silently break the coverage claim.
Criterion text is preserved verbatim apart from stripping the id prefix
that becomes the ID cell. Only `Verification` is new, derived from what the
criterion describes: a committed file or static check -> Inspection, an
executing test -> Test, a measured threshold -> Analysis, an operational
outcome -> Demonstration.
The converter refuses anything that is not a clean bullet list, so a prose
paragraph is never split.
Every FR and NFR document in this repo validates clean against
spec-artifacts-iso.
Refs agent-ix/spec-artifacts-iso#11
Co-Authored-By: Claude Opus 5 (1M context) <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.
agent-ix/spec-artifacts-iso#11. An FR/NFR
## Acceptance Criteriasection must now be absent or well-formed — a present-but-prose section fails. The asserted shape isID | Criteria | Verificationwith{id}-AC-Nids.Converted rather than dropped. Where a bullet already declared its own id (
- **NFR-001-AC-3**: …), that id becomes the row id so anything tracing it keeps resolving. #11 permits omitting the section for a measurable NFR, but several repos trace these ids fromspec/tests.md, and deleting the section would silently break the coverage claim.Criterion text preserved verbatim apart from stripping the id prefix that becomes the ID cell. Only
Verificationis new, derived from what the criterion describes.The converter refuses anything that is not a clean bullet list, so a prose paragraph is never split.
Every FR and NFR document in this repo validates clean against
spec-artifacts-iso.