validate_proposal_spec
Validates versioned requirements, design, impact, and codebase-note Markdown, returning structured violations and rejecting unauthorized approvals without modifying files.
Instructions
Validate versioned requirements, codebase-notes, change impact, or design Markdown; legacy proposals remain readable.
Strictly READ-ONLY: Never modifies files in the workspace.
Zero Mock Data: Fails fast on invalid inputs or malformed schemas, returning structured violations.
Anti-Self-Approval: Detects and rejects unauthorized autonomous approvals (APPROVED_BY_SPEC).
Args:
proposal_content: Raw Markdown content of a requirements, codebase-notes, impact, design, or legacy proposal document.
proposal_path: Optional path in docs/features/<module>/<feature>/vN/ or docs/work-items/<slug>/vN/ (legacy paths also supported).
feature_name: Name of the feature module (optional).
Returns:
Dictionary containing structural validation status, violations, and checked rules; never user approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature_name | No | ||
| proposal_path | No | ||
| proposal_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||