From c1a86cadee739fe9618809543995990b69444fdc Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Tue, 20 Jan 2026 10:42:43 -0600 Subject: [PATCH] fix(04): address tech debt from milestone audit - Wrap intel content in tags in plan-phase.md - Use ENTITY_DIR constant in isEntityFile() instead of hardcoded path Co-Authored-By: Claude Opus 4.5 --- commands/gsd/plan-phase.md | 2 ++ hooks/gsd-intel-index.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/gsd/plan-phase.md b/commands/gsd/plan-phase.md index bd01aa0eb..025976bd1 100644 --- a/commands/gsd/plan-phase.md +++ b/commands/gsd/plan-phase.md @@ -293,7 +293,9 @@ Fill prompt with inlined content and spawn: {uat_content} **Codebase Intel (if exists):** + {intel_content} + diff --git a/hooks/gsd-intel-index.js b/hooks/gsd-intel-index.js index 3256efee9..b9b054afb 100755 --- a/hooks/gsd-intel-index.js +++ b/hooks/gsd-intel-index.js @@ -551,7 +551,7 @@ function generateSummary(index, conventions) { * Check if a file path is an entity file */ function isEntityFile(filePath) { - return filePath.includes('.planning/intel/entities/') && + return filePath.includes(ENTITY_DIR + '/') && filePath.endsWith('.md'); }