- name
- task-scope-validator
- description
- Validate tasks are PR-sized, testable, independent, and reviewable.
# Task Scope Validator
## Trigger
Use before executing any wave or task implementation.
## Inputs
- `plan.json` generated by `task-generator`.
- Optional wave assignment and team policy constraints.
## Outputs
- Scope validation result (pass/fail), with severity list.
- Remediation suggestions grouped by task.
## Procedure
1. Load all tasks and compare each against parent epic.
2. Flag tasks touching unrelated subsystems.
3. Require testability from `tests_to_write_first` and acceptance criteria.
4. Detect unresolved product decisions and unknowns.
5. Fail tasks that cannot be reviewed independently.
## Guardrails
- Never hide blockers under optimistic assumptions.
- If a task changes global policy/config, mark as non-implementable without explicit approval.
## Success criteria
- All tasks are small, scoped, and independently verifiable.
## Prefer Superpowers
- Run this through `analysis/checklist` style from Superpowers where available.
## Avoid scope creep
- Do not merge adjacent tasks or add new tasks.
- Do not reduce quality gates.
## Concrete artifact names
- `docs/agent-plans/<feature>/plan.json`
View on GitHub