TASK-30: Task Verification Enhancement
Status: ✅ Completed Priority: High Created: 2025-01-21 Target Version: v5.3.0
Context
Problem: Navigator tasks use checkboxes for completion but lack:
- Executable verification commands
- Observable done criteria
- Machine-parseable completion requirements
Inspiration: GSD (Get Shit Done) uses XML task format with <verify> and <done> tags. Navigator should have equivalent using markdown (not XML).
Goal: Add ## Verify and ## Done sections to task system.
Implementation Plan
Phase 1: Template Updates
- Update
templates/task-template.mdwith Verify/Done sections - Update
skills/nav-task/SKILL.mdCREATE template - Update
skills/nav-task/SKILL.mdARCHIVE template - Update
skills/nav-task/functions/task_formatter.py
Phase 2: Tooling
- Create
skills/nav-task/functions/verify_extractor.py
Phase 3: Documentation
- Update
.agent/DEVELOPMENT-README.mdwith TASK-30 - Test with verify_extractor.py
Technical Decisions
| Decision | Options | Chosen | Why |
|---|---|---|---|
| Format | XML, YAML frontmatter, Markdown sections | Markdown sections | Consistent with existing, readable |
| Metadata | YAML frontmatter | Keep **Key**: Value |
No migration, backward compatible |
| Auto-execute verify | Yes, No | No (manual/review) | Avoid infinite loops |
Verify
# Test verify_extractor.py parses this file correctly
python3 skills/nav-task/functions/verify_extractor.py .agent/tasks/TASK-30-task-verification-enhancement.md
# Check templates have new sections
grep -A 3 "## Verify" templates/task-template.md
grep -A 3 "## Done" templates/task-template.md
# Check skill has new sections
grep -A 3 "## Verify" skills/nav-task/SKILL.md
Done
- New tasks include Verify/Done sections in template
- verify_extractor.py parses commands correctly
- Existing tasks work without modification (backward compatible)
- DEVELOPMENT-README.md lists TASK-30
Completion Checklist
- Code changes committed
- Documentation updated
- Tests pass
Created: 2025-01-21