From 61d1e91013c6a13306c2c1568349b935b8a4fd46 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Tue, 20 Jan 2026 10:24:09 -0600 Subject: [PATCH] feat(04-05): wire codebase intel injection into planner - Read .planning/intel/summary.md into INTEL_CONTENT in Step 7 - Add {intel_content} placeholder to planning_context in Step 8 - Planner now receives dependency hotspots, module types at planning time Co-Authored-By: Claude Opus 4.5 --- commands/gsd/plan-phase.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands/gsd/plan-phase.md b/commands/gsd/plan-phase.md index fcb4de902..bd01aa0eb 100644 --- a/commands/gsd/plan-phase.md +++ b/commands/gsd/plan-phase.md @@ -249,6 +249,9 @@ RESEARCH_CONTENT=$(cat "${PHASE_DIR}"/*-RESEARCH.md 2>/dev/null) # Gap closure files (only if --gaps mode) VERIFICATION_CONTENT=$(cat "${PHASE_DIR}"/*-VERIFICATION.md 2>/dev/null) UAT_CONTENT=$(cat "${PHASE_DIR}"/*-UAT.md 2>/dev/null) + +# Codebase intelligence (if exists) +INTEL_CONTENT=$(cat .planning/intel/summary.md 2>/dev/null) ``` ## 8. Spawn gsd-planner Agent @@ -289,6 +292,9 @@ Fill prompt with inlined content and spawn: {verification_content} {uat_content} +**Codebase Intel (if exists):** +{intel_content} +