feat: implement validate command #10
Draft
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
Implements the validate command from the MVP spec (000-basic-cli.md).
Changes
New Files
internal/validate/parser.go- Goldmark-based spec parser with frontmatter extensioninternal/validate/parser_test.go- Tests for spec parsinginternal/validate/validator.go- Validation logic for frontmatter, status, title, and task listsinternal/validate/validator_test.go- Tests for validationcmd/validate_test.go- Integration tests for the validate commandUpdated Files
cmd/validate.go- Full implementation replacing stubspecs/000-basic-cli.md- Marked validate command tasks as completeFeatures
specture validate 000orspecture validate specs/000-mvp.mdspecture validatevalidates all specs in specs/Testing
Manual testing: