Task Validator
Validate git staged changes against task requirements.
When to Use
- •User wants to verify staged changes match TASK.md
- •Pre-PR final review
- •Progress check on checklist items
Implementation
Invoke the 17th-task-validator subagent:
code
Task(
description="Validate staged changes against {task_file}",
subagent_type="glm-worker:17th-task-validator",
prompt="Validate staged changes against {task_file_path}. Project root: {project_root}",
run_in_background=true
)
Variables
| Variable | Default | Description |
|---|---|---|
| task_file | TASK.md | Task file name |
| task_file_path | ./TASK.md | Full path to task file |
| project_root | Current directory | Project root |
Output
- •Validation report:
.kkachi/{branch_name}/completed/task-validator-{epoch_timestamp}.md - •Summary: X/Y items completed, pending items, out-of-scope changes
Notes
- •Subagent uses GLM-4.7 for analysis, then verifies results
- •Ensure
.kkachi/is in.gitignore