Skip to main content

Track Based Task Execution Guide

Track-Based Task Execution Guide

Version: 1.0.0 Created: January 1, 2026 Standard: CODITECT-STD-001 (Agentic Communication Standard)


Overview

This guide documents the Track-based Task Management System used for all CODITECT development work. The system replaces legacy "Phase" nomenclature with a clearer Track A-G structure.

Key Principle: One source of truth for active work:


Quick Reference

StepActionCommand/Location
1. Find WorkRead the PILOT plancat internal/project/plans/PILOT-PARALLEL-EXECUTION-PLAN.md
2. Pick TaskChoose unchecked [ ] itemFormat: X.Y.Z (e.g., E.2.1)
3. Get AgentFind right agent/which "task description"
4. ExecuteRun the work/agent <name> "task" or direct implementation
5. Mark DoneCheck the boxChange [ ] to [x] in PILOT plan
6. LogRecord in session log/session-log

Track Nomenclature

Track Definitions

TrackDomainPrimary AgentRepository/Scope
ABackend APIbackend-developmentcoditect-cloud-infra/backend
BFrontend UIfrontend-react-typescript-expertcoditect-cloud-frontend
CDevOpsdevops-engineerInfrastructure, K8s, CI/CD
DSecuritysecurity-specialistCross-cutting security
ETestingtesting-specialistTest suites, QA
FDocscodi-documentation-writerDocumentation sites
GDMSprompt-analyzer-specialistDocument Management System

Task ID Format

Track.Section.Task[.Subtask]

Examples:
- A.3.1 = Backend, Section 3, Task 1
- E.2.1 = Testing, Section 2, Task 1
- A.3.1.1 = Backend, Section 3, Task 1, Subtask 1

Quick Track Guide

Track A = Backend    Track D = Security
Track B = Frontend Track E = Testing
Track C = DevOps Track F = Docs
Track G = DMS

Task Execution Workflow

Step 1: Start of Session

Run orientation to find the active plan and understand current state:

# Run full orientation (recommended)
/orient

# OR directly read the authoritative source:
cat internal/project/plans/PILOT-PARALLEL-EXECUTION-PLAN.md | head -200

# Check recent context
/cxq --recent 200
/cxq --decisions --limit 20

Step 2: Find Your Next Task

Tasks use format: Track.Section.Task (e.g., E.2.1, A.3.1.1)

# Find unchecked tasks in a specific track
grep -A5 "E.2" internal/project/plans/PILOT-PARALLEL-EXECUTION-PLAN.md

# Example output:
# - [ ] E.2.1: Rate limiting verification (429 responses)
# - [ ] E.2.2: Failed login lockout (5 attempts)
# - [x] E.2.3: Security headers verification (COMPLETE)

Priority Selection:

  1. Tasks marked with **BLOCKING** or P0
  2. Tasks with dependencies on other tracks
  3. Sequential tasks within a track (E.2.1 before E.2.2)

Step 3: Get Agent Recommendation

Use /which to find the best agent for your task:

# Get agent recommendation
/which "rate limit security testing"

# Example output:
# Recommended: testing-specialist
# Alternative: security-specialist
# Built-in: Task(subagent_type="testing-specialist", ...)

Step 4: Execute Task

Option A: CODITECT Agent (130+ custom agents)

/agent testing-specialist "Write rate limit tests for E.2.1 - verify 429 responses"
/agent codi-documentation-writer "Update API docs for new endpoints"

Option B: Claude Code Built-in Agent (~52 types)

Task(subagent_type="testing-specialist", prompt="Write rate limit tests...")
Task(subagent_type="security-specialist", prompt="Security audit for...")

Option C: Direct Implementation

# For simple tasks, implement directly without agent delegation
# Then verify with tests
pytest backend/tests/security/test_rate_limit.py -v

Step 5: Update Status

Mark the task completed in PILOT-PARALLEL-EXECUTION-PLAN.md:

# Before
- [ ] **E.2.1**: Rate limiting verification (429 responses)

# After
- [x] **E.2.1**: Rate limiting verification (429 responses) - COMPLETE

Step 6: Log Session

Record your work for continuity:

# Add entry to session log
/session-log

# Capture context for future sessions
/cx

# For significant milestones, create checkpoint
/checkpoint "Track E.2 security tests complete"

Practical Example

Full Workflow Demonstration

# 1. FIND WORK - Read PILOT plan
cat /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core/internal/project/plans/PILOT-PARALLEL-EXECUTION-PLAN.md | grep -A5 "E.2"

# Output shows:
# - [ ] E.2.1: Rate limiting verification
# - [ ] E.2.2: Failed login lockout tests
# ...

# 2. PICK TASK
# Selected: E.2.1 (Rate limiting verification)

# 3. GET AGENT
/which "rate limit security testing"
# → Recommended: testing-specialist

# 4. EXECUTE
/agent testing-specialist "Write pytest tests for E.2.1 rate limiting:
- Test /auth/login returns 429 after 5 requests/minute
- Test /auth/register returns 429 after 3 requests/minute
- Test /licenses/validate returns 429 after 60 requests/minute
- Verify rate limit headers in response"

# OR implement directly:
# Write tests in backend/tests/security/test_rate_limit.py
# Run: pytest backend/tests/security/test_rate_limit.py -v

# 5. MARK DONE - Edit PILOT plan
# Change: - [ ] E.2.1 → - [x] E.2.1

# 6. LOG - Update session log
/session-log
# Add entry: "E.2.1 Rate limiting tests - 5 tests passing"

# Capture context
/cx

Key Files Reference

PurposeFile Location
Active Tasks (Source of Truth)internal/project/plans/PILOT-PARALLEL-EXECUTION-PLAN.md
Legacy Reference (with mapping)docs/project-management/project-plan.md
Legacy Tasks (with mapping)docs/project-management/tasklist.md
Session Historydocs/session-logs/SESSION-LOG-YYYY-MM-DD.md
Checkpointsdocs/CHECKPOINT-YYYY-MM-DD.md
This Guideinternal/project/TASK-EXECUTION-GUIDE.md

Nomenclature Mapping (Legacy → Current)

For historical documents using Phase nomenclature:

Legacy TermCurrent TrackDescription
Phase 0, 0.5(Historical)Infrastructure setup - COMPLETE
Phase 0.8Track C (DevOps)Cloud infrastructure
Phase 0.9Track A (Backend)Backend API development
Phase 1.0Track B (Frontend)Frontend UI development
P0 Critical PathTracks A, B, C, DCross-cutting priority work
Phase 1Tracks A-GActive development
Phase 2+(Future)Post-pilot phases

Standard Reference: CODITECT-STD-001


Common Commands

CommandPurpose
/orientSession orientation (5-step MoE workflow)
/which <task>Agent discovery and recommendations
/agent <name> "task"Invoke CODITECT agent
/cxCapture session context
/cxq "search"Query context database
/session-logUpdate session log
/checkpoint "desc"Create milestone checkpoint
/classify path/MoE document classification

Best Practices

Do's

  • Always start with /orient or reading the PILOT plan
  • Use /which to find the right agent before executing
  • Mark tasks complete immediately after finishing
  • Log significant work in the session log
  • Run /cx at session end to preserve context

Don'ts

  • Don't work from legacy project-plan.md for active tasks
  • Don't skip logging - it breaks continuity
  • Don't leave tasks in "in progress" state across sessions
  • Don't create new tasks without adding to PILOT plan first

Troubleshooting

"Can't find my task"

  1. Check PILOT-PARALLEL-EXECUTION-PLAN.md first
  2. Use grep: grep -i "keyword" internal/project/plans/PILOT*.md
  3. Ask: /cxq "task keyword"

"Wrong agent selected"

  1. Re-run /which with more specific description
  2. Check agent descriptions in agents/ directory
  3. Use built-in Claude Code agent as fallback

"Task dependencies unclear"

  1. Read the full Track section in PILOT plan
  2. Check for BLOCKED BY or DEPENDS ON annotations
  3. Ask about dependencies before starting

Status: Production Ready Last Updated: January 1, 2026 Review Frequency: Update when workflow changes