# Task Record Template
# Task Execution Guideline - Task Data Model

# =============================================================================
# CORE FIELDS (set during planning)
# =============================================================================

task_id: TASK-XXX                    # Unique identifier (format: TASK-001, TASK-002, etc.)
task_type: ""                        # From Task Types Registry in SKILL.md
category: ""                         # Derived from task type:
                                     # - feature-stage (task-type-feature-*, task-type-human-playground, task-type-technical-design)
                                     # - requirement-stage (task-type-ideation, task-type-requirement-gathering, task-type-feature-breakdown)
                                     # - Standalone (no category)
role_assigned: ""                    # Who performs the work (e.g., Nova, Claude, Human)
status: pending                      # Task status: pending | in_progress | blocked | deferred | completed | cancelled
last_updated: ""                     # Timestamp: MM-DD-YYYY HH:MM:SS

# =============================================================================
# EXECUTION FIELDS (set by task type skill)
# =============================================================================

next_task_type: ""                   # Task type to create after this completes (null if terminal)
require_human_review: false          # Whether human review is required before next task
task_output_links: []                # Links to outputs produced by this task

# Dynamic attributes - fully defined by each task type skill
# Examples (uncomment as needed):
# feature_id: ""                     # For feature-stage tasks
# feature_phase: ""                  # For feature-stage tasks
# requirement_id: ""                 # For requirement-stage tasks
# bug_severity: ""                   # For bug-fix tasks

# =============================================================================
# CLOSING FIELDS (set by category skill)
# =============================================================================

category_level_change_summary: ""    # Summary of category-level changes (≤100 words)

# =============================================================================
# CONTROL FIELDS
# =============================================================================

auto_advance: false                  # Whether to auto-advance to next task

# =============================================================================
# EXAMPLE: Feature-stage task (Code Implementation)
# =============================================================================
# task_id: TASK-001
# task_type: Code Implementation
# category: feature-stage
# role_assigned: Nova
# status: completed
# last_updated: 01-17-2026 14:30:00
# next_task_type: Human Playground
# require_human_review: false
# task_output_links:
#   - src/auth/login.ts
#   - tests/auth/login.test.ts
# feature_id: FEATURE-001
# feature_phase: Code Implementation
# category_level_change_summary: "FEATURE-001 updated to Done Code Implementation"
# auto_advance: true
