--- name: forge description: Implement tasks from a change. Use when the user wants to start or continue implementation of an existing change. --- # Forge a Change Implementation entry point. Load change artifacts, then chain to `tn:blueprint` for task breakdown and `tn:assemble` for execution. ## Core Principle ``` READ ALL CONTEXT BEFORE WRITING ANY CODE. Load every artifact. Understand the full picture. Then implement. ``` ## Steps ### Step 1: Select the Change If a name is provided, use it. Otherwise: - Infer from conversation context if the user mentioned a change - Auto-select if only one active change exists in `techneering/changes/` - If ambiguous, list all active changes with progress info and ask the user to select Always announce: "Using change: " ### Step 2: Load Context Read all artifacts from the change directory: - `techneering/changes//proposal.md` - `techneering/changes//specs/**/*.md` - `techneering/changes//design.md` - `techneering/changes//tasks.md` Also read `techneering/config.yaml` for project context. ### Step 3: Show Current Progress Parse `tasks.md` for checkboxes: `- [ ]` (pending) vs `- [x]` (complete). Display: - Change name and schema - Progress: "N/M tasks complete" - Remaining tasks overview ### Step 4: Create Implementation Plan (tn:blueprint) Invoke the `tn:blueprint` skill to break down the tasks into bite-sized implementation steps: - Exact file paths - Complete code for each step - Verification commands with expected output - No placeholders ### Step 5: Execute with Assemble (tn:assemble) Invoke the `tn:assemble` skill to execute the plan: - Each task gets a fresh subagent - Two-stage review per task: spec compliance → code quality - Independent tasks can run in parallel (max 3 concurrent) - Follow `tn:redgreen` for each task (red-green-refactor) - Use `tn:diagnose` if issues arise ### Step 6: Track Progress After each task completes: - Mark the corresponding checkbox in tasks.md: `- [ ]` → `- [x]` - Report progress: "Task N/M complete" ### Step 7: On Completion Display: ``` ## Implementation Complete **Change:** **Progress:** N/N tasks complete ### Completed This Session - [x] Task 1 - [x] Task 2 ... All tasks complete! Proceed to tn:gate to verify. ``` ### Step 8: On Pause (Issue Encountered) Display: ``` ## Implementation Paused **Change:** **Progress:** N/M tasks complete ### Issue Encountered **Options:** 1.