Add section variants and scan enhancements to phase-0 PRD#20
Merged
Conversation
Introduces two new PRD sections covering paired/grouped section variants (colon syntax ID=group:variant) and enhanced scan capabilities including variant-aware output, --check validation, and --pair enforcement. These features are scoped to Phase 3. https://claude.ai/code/session_01UDBD76xiXGToxAeFbxSWzT
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.
Summary
This PR adds two major feature specifications to the phase-0 PRD: Section Variants (paired and grouped sections) and Section Scan Enhancements (variant-aware scanning and validation).
Key Changes
Section Variants (0.13)
group:variant) to enable toggling mutually exclusive code blocks--pairenforcement flag to validate exactly 2 variants in a group before executionSection Scan Enhancements (0.14)
--scanoutput to be variant-aware, grouping variants under parent groups-Sfilter to show file references per variant--checkvalidation mode for read-only integrity checks (matching markers, variant consistency, duplicate detection)--jsonoutput support for machine-readable scan results--pair,--check, and-Swith--scanNotable Details
toggle:start/toggle:endsyntax with no new keywordshttps://claude.ai/code/session_01UDBD76xiXGToxAeFbxSWzT