aegis task
The aegis task
command manages task lifecycle and ensures proper front matter validation across all task operations.
Usage
/aegis task [action]
Actions:
create
: Create a new tasklist
: List tasks by stateshow
: Show task detailsmove
: Change task stateupdate
: Update task content
Front Matter Requirements
Required Fields
---
id: TASK-NNN # Unique task identifier (e.g., TASK-001)
title: "Task Title" # Clear, descriptive title
created: YYYY-MM-DDTHH:mm:ssZ # Creation timestamp (ISO 8601)
updated: YYYY-MM-DDTHH:mm:ssZ # Last update timestamp (ISO 8601)
memory_types: [procedural] # Must include procedural
status: [state] # Current task state
priority: [level] # Task priority
references: [] # Related file references
---
Memory Type Rules
Required:
procedural
Optional:
semantic
,working
Maximum: 3 memory types
Valid Combinations:
[procedural]
[procedural, semantic]
[procedural, working]
[procedural, semantic, working]
Status Values
planned
: Initial task stateactive
: Currently being worked oncompleted
: Work finishedhold
: Temporarily blocked
Priority Levels
high
: Critical or blocking tasksmedium
: Standard prioritylow
: Nice-to-have tasks
Validation Rules
Pre-Operation Validation
The command validates:
Front matter existence and format
Required fields presence
Memory type compatibility
Reference validity
Status transitions
Error Handling
# Critical Errors (Block Operation)
- Missing front matter
- Invalid front matter format
- Missing required fields
- Invalid memory type combination
- Invalid status transition
# Warnings (Allow with Notice)
- Invalid references
- Missing optional fields
- Suboptimal memory type combination
Examples
Creating a New Task
/aegis task create
Creates a new task with validated front matter:
---
id: TASK-001
title: "Implement Feature X"
created: 2024-02-06T10:00:00Z
updated: 2024-02-06T10:00:00Z
memory_types: [procedural, semantic]
status: planned
priority: high
references: []
---
Moving Task State
/aegis task move TASK-001 active
Updates front matter automatically:
---
# ... other fields ...
status: active
updated: 2024-02-06T11:00:00Z
---
Updating Task
/aegis task update TASK-001
Validates front matter changes:
---
# ... other fields ...
memory_types: [procedural, working] # Valid change
updated: 2024-02-06T12:00:00Z
references: ["DECISION-001"] # Added reference
---
Common Errors and Solutions
Invalid Memory Types
# Error
memory_types: [semantic, working] # Missing required procedural
# Solution
memory_types: [procedural, semantic, working]
Invalid Status Transition
# Error
status: completed # Can't move directly from planned to completed
# Solution
1. First move to active:
status: active
2. Then move to completed:
status: completed
Missing Required Fields
# Error
---
id: TASK-001
title: "Task Title"
# missing created, updated, memory_types, etc.
---
# Solution
Add all required fields with valid values
Best Practices
Memory Types
Always include
procedural
typeAdd
semantic
for architectural tasksAdd
working
for active development
References
Link related decisions
Reference dependent tasks
Update when dependencies change
Status Updates
Keep status current
Update timestamps
Document state changes
Front Matter Maintenance
Validate before commits
Keep references current
Use correct formats
Related Commands
/aegis start
: Initialize development session/aegis save
: Save task progress/aegis context
: View task context
See Also
Last updated