Add experimental @specsIf macro and ConditionalSpecification wrapper #74
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.
Implements P2 experimental macro for conditional specification composition following TDD methodology with comprehensive test coverage.
Features Added
ConditionalSpecification Wrapper (Production-Ready)
.when()for positive conditions,.unless()for negated conditions@specsIf Attribute Macro (Experimental)
Test Coverage
Documentation
Design Rationale
Wrapper-first approach provides immediately useful functionality while macro serves as exploration tool. Diagnostic strategy guides users to production-ready patterns while maintaining forward compatibility for future macro enhancements.
Files Created
Files Modified
🤖 Generated with Claude Code
Experimental Macro Prototype Implementation
I've successfully completed the implementation of the experimental macro for conditional specification
composition as specified in DOCS/COMMANDS/START.md. Here's what was accomplished:
🎯 Implementation Summary
📊 Build & Test Results
✅ Build: Complete (11.40s, no new warnings)
✅ Tests: 567/567 passed (0 failures)
✅ New Tests: 22/22 passed
📁 Files Changed
Created (4 files, 1,000+ lines):
Modified (3 files):
🎓 Key Design Decisions
experimental macro
📝 Next Steps
The task is ready for archival using DOCS/COMMANDS/ARCHIVE.md. The Summary_of_Work.md file has been
created at AGENTS_DOCS/INPROGRESS/Summary_of_Work.md with complete documentation of: