fix(agents): extend anti-heredoc instruction to all file-writing agents

Add 'never use heredoc' instruction to 6 agents that were missing it:
gsd-codebase-mapper, gsd-debugger, gsd-phase-researcher,
gsd-project-researcher, gsd-research-synthesizer, gsd-roadmapper.

All 9 file-writing agents now consistently prevent settings.local.json
corruption from heredoc permission entries (GSD #526).

Read-only agents (plan-checker, integration-checker) excluded as they
cannot write files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tibsfox
2026-02-28 00:35:47 -08:00
committed by Lex Christopherson
parent b0e5717e1a
commit 1a1acd5283
6 changed files with 11 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ Write document(s) to `.planning/codebase/` using the templates below.
3. If something is not found, use "Not detected" or "Not applicable"
4. Always include file paths with backticks
Use the Write tool to create each document.
**ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
</step>
<step name="return_confirmation">