---
phase: 01.2-audit-and-fix-template-coherence-for-single-agent-sessions
plan: 03
type: execute
wave: 2
depends_on: ["01.2-01", "01.2-02"]
files_modified:
  - gsd_lite/00_MANIFESTO.md (delete)
  - gsd_lite/BOOTLOADER_PROMPT.md (delete)
  - gsd_lite/PROJECT.md (delete)
  - gsd_lite/session_log.txt (delete)
  - gsd_lite/template_gsd_lite/ (delete directory)
autonomous: false

must_haves:
  truths:
    - "gsd_lite/ contains exactly 5 files"
    - "No redundant files remain (MANIFESTO, BOOTLOADER, PROJECT, old templates)"
    - "Human can read PROTOCOL.md and understand entire workflow"
  artifacts:
    - path: "gsd_lite/"
      provides: "Clean 5-file structure"
      contains: ["PROTOCOL.md", "STATE.md", "WORK.md", "INBOX.md", "HISTORY.md"]
  key_links:
    - from: "PROTOCOL.md"
      to: "STATE.md, WORK.md, INBOX.md, HISTORY.md"
      via: "File Guide table"
      pattern: "File Guide"
---

<objective>
Cleanup redundant files and verify the 5-file structure is complete and coherent.

Purpose: Remove all scattered templates that were consolidated into the new 5-file structure. Verify a human can understand the entire GSD-lite workflow by reading PROTOCOL.md alone.

Output: Clean gsd_lite/ directory with exactly 5 files, human verification that protocol is clear
</objective>

<execution_context>
@./.claude/get-shit-done/workflows/execute-plan.md
@./.claude/get-shit-done/templates/summary.md
</execution_context>

<context>
@.planning/PROJECT.md
@.planning/ROADMAP.md
@.planning/STATE.md
@.planning/phases/01.2-audit-and-fix-template-coherence-for-single-agent-sessions/CONTEXT.md

# Prior plan summaries (if available)
# @.planning/phases/01.2-audit-and-fix-template-coherence-for-single-agent-sessions/01.2-01-SUMMARY.md
# @.planning/phases/01.2-audit-and-fix-template-coherence-for-single-agent-sessions/01.2-02-SUMMARY.md
</context>

<tasks>

<task type="auto">
  <name>Task 1: Remove redundant files</name>
  <files>gsd_lite/</files>
  <action>
Delete the following files that have been consolidated into the 5-file structure:

1. `gsd_lite/00_MANIFESTO.md` - Consolidated into PROTOCOL.md (Golden Rules section)
2. `gsd_lite/BOOTLOADER_PROMPT.md` - Consolidated into PROTOCOL.md
3. `gsd_lite/PROJECT.md` - This was example content, not a template. Project-specific content should not be in gsd_lite/
4. `gsd_lite/session_log.txt` - This was debug/example content, not a template
5. `gsd_lite/template_gsd_lite/` - Entire directory (templates now in root as actual files)

Commands:
```bash
rm gsd_lite/00_MANIFESTO.md
rm gsd_lite/BOOTLOADER_PROMPT.md
rm gsd_lite/PROJECT.md
rm gsd_lite/session_log.txt
rm -r gsd_lite/template_gsd_lite/
```

After deletion, gsd_lite/ should contain EXACTLY:
- PROTOCOL.md
- STATE.md
- WORK.md
- INBOX.md
- HISTORY.md
  </action>
  <verify>
List directory: `ls -la gsd_lite/`
Count files: `ls gsd_lite/*.md | wc -l` should be 5
No subdirectories: `find gsd_lite -type d | wc -l` should be 1 (just gsd_lite itself)
  </verify>
  <done>
gsd_lite/ contains exactly 5 .md files and no subdirectories or extra files.
  </done>
</task>

<task type="checkpoint:human-verify" gate="blocking">
  <what-built>
Complete 5-file GSD-lite structure:
- PROTOCOL.md: Single entrypoint with all behavioral rules
- STATE.md: Phase/task tracker with moderate depth
- WORK.md: Verbose execution log (ephemeral)
- INBOX.md: Loop capture from user and agent
- HISTORY.md: Minimal completed phase record
  </what-built>
  <how-to-verify>
1. Open gsd_lite/PROTOCOL.md
2. Read through the entire document (should take 2-3 minutes)
3. Verify you understand:
   - Session start checklist (what to read first)
   - File Guide (what each file is for)
   - Planning mode (moodboard requirement)
   - Execution mode (logging to WORK.md)
   - Loop capture (from both user and agent)
   - Sticky reminder format
   - Scope discipline
   - Promotion workflow

4. Open each supporting file and verify it matches PROTOCOL.md descriptions:
   - STATE.md matches "moderate depth" description
   - WORK.md matches "ephemeral" description
   - INBOX.md has user AND agent sections
   - HISTORY.md is minimal

5. Ask yourself: "Could I hand this to a weak agent and expect it to follow the workflow?"
  </how-to-verify>
  <resume-signal>
Type "approved" if the 5-file structure is clear and coherent.
Or describe specific issues found (e.g., "PROTOCOL.md missing moodboard format", "STATE.md too shallow").
  </resume-signal>
</task>

</tasks>

<verification>
1. gsd_lite/ contains exactly 5 files
2. No redundant files remain
3. All files are consistent with each other
4. Human verified PROTOCOL.md is clear
5. Workflow can be followed by a weak reasoning model
</verification>

<success_criteria>
- Clean 5-file structure achieved
- All consolidated content preserved in new structure
- No redundant or orphan files
- Human confirms protocol is foolproof
- Phase 1.2 goal from CONTEXT.md fully satisfied
</success_criteria>

<output>
After completion, create `.planning/phases/01.2-audit-and-fix-template-coherence-for-single-agent-sessions/01.2-03-SUMMARY.md`
</output>
