validate_plan_slices
Validates versioned implementation plans and linked behavior phases, or legacy plan/task pairs, returning structured rule violations and pass/fail gate status without modifying files.
Instructions
Validate a versioned implementation plan and its linked behavior phases, or a legacy plan/task pair.
Strictly READ-ONLY: Never modifies files in the workspace.
Zero Mock Data: Fails fast on invalid inputs or malformed schemas, returning structured violations.
Versioned plans map ACs to linked phases in one version directory. A scoped UI-only phase is valid.
Args:
plan_content: Raw text of implementation-plan.md or a legacy plan.
plan_path: Optional path to docs/features/<module>/<feature>/vN/implementation-plan.md.
task_content: Legacy task.md content; unused for versioned plans.
task_path: Legacy task.md path; unused for versioned plans.
feature_name: Name of the feature module (optional).
Returns:
Dictionary containing validation status, gate_status (PASSED/FAILED), violations, and checked rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_path | No | ||
| task_path | No | ||
| feature_name | No | ||
| plan_content | No | ||
| task_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||