--- phase: 13-debug-agent plan: 03 type: execute wave: 2 depends_on: ["13-01"] files_modified: - get-shit-done/references/debugging/debugging-mindset.md - get-shit-done/references/debugging/hypothesis-testing.md - get-shit-done/references/debugging/investigation-techniques.md - get-shit-done/references/debugging/verification-patterns.md - get-shit-done/references/debugging/when-to-research.md autonomous: true must_haves: truths: - "Reference files replaced with pointers to agent" - "No duplicate content between references and agent" artifacts: - path: "get-shit-done/references/debugging/debugging-mindset.md" provides: "Redirect to gsd-debugger agent" contains: "gsd-debugger" key_links: - from: "get-shit-done/references/debugging/*.md" to: "agents/gsd-debugger.md" via: "redirect notice" pattern: "agents/gsd-debugger" --- Deprecate debugging reference files with pointers to gsd-debugger agent. Purpose: Eliminate duplicate content. Debugging expertise now lives solely in the agent file. Output: 5 reference files reduced to redirect notices. @~/.claude/get-shit-done/workflows/execute-plan.md @~/.claude/get-shit-done/templates/summary.md @.planning/PROJECT.md @.planning/ROADMAP.md @.planning/STATE.md @.planning/phases/13-debug-agent/13-01-SUMMARY.md # Agent that now contains this content: @agents/gsd-debugger.md Task 1: Deprecate all debugging reference files get-shit-done/references/debugging/debugging-mindset.md get-shit-done/references/debugging/hypothesis-testing.md get-shit-done/references/debugging/investigation-techniques.md get-shit-done/references/debugging/verification-patterns.md get-shit-done/references/debugging/when-to-research.md Replace each file with a redirect notice pointing to the agent. **Template for each file (~15 lines):** ```markdown # [Original Title] (DEPRECATED) This reference has been consolidated into the `gsd-debugger` agent. **Location:** `agents/gsd-debugger.md` **Section:** `<[relevant_section_name]>` **Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction). See `agents/gsd-debugger.md` for the consolidated debugging methodology. ``` **Specific mappings:** 1. `debugging-mindset.md` → `` section 2. `hypothesis-testing.md` → `` section 3. `investigation-techniques.md` → `` section 4. `verification-patterns.md` → `` section 5. `when-to-research.md` → `` section Each file should be ~15 lines with the redirect notice. All 5 files exist with redirect notices. Each file is <20 lines. Each file points to agents/gsd-debugger.md. Each file specifies the relevant section in the agent. All debugging reference files deprecated with agent pointers Task 2: Update installer to include agents directory bin/install.js Verify that `bin/install.js` copies the `agents/` directory during installation. Check if agents/ is already included. If not, add it to the copy list. **Expected behavior:** - `agents/*.md` files copied to `~/.claude/agents/` (global) or `.claude/agents/` (local) - Similar to how `commands/`, `get-shit-done/`, etc. are handled **If already handled:** No changes needed, note in summary. **If not handled:** Add agents directory to the copy list. Run: `node bin/install.js --local --dry-run` (if dry-run exists) or check install.js code Confirm agents/ directory will be copied on install. Installer copies agents/ directory Before declaring plan complete: - [ ] All 5 debugging reference files are <20 lines each - [ ] All 5 files point to agents/gsd-debugger.md - [ ] Each file specifies the section in the agent - [ ] Installer handles agents/ directory - Debugging reference files deprecated - No duplicate content between references and agent - Installer copies agents directory After completion, create `.planning/phases/13-debug-agent/13-03-SUMMARY.md`