docs: refresh prompt inventory for externalized prompts + roadblock marker

This commit is contained in:
mika kuns
2026-06-04 14:20:48 +02:00
parent 1e547dea18
commit 202e8dea49

View File

@@ -7,6 +7,22 @@ Snapshot of every string ClaudeDo sends to Claude CLI, plus the CLI-flag surface
Date: 2026-04-24
> **Update 2026-06-04 — prompts externalized.** All prose prompts now live as
> editable files under `~/.todo-app/prompts/`, each seeded from a bundled default in
> `src/ClaudeDo.Data/PromptFiles.cs` (read via `ReadOrDefault` / `Render`, which
> substitutes only named `{tokens}`):
> `system.md`, `planning-system.md`, `planning-initial.md` (`{title}`/`{description}`),
> `retry.md`, `daily-prep.md` (`{date}`/`{maxTasks}`), `weekly-report.md`
> (`{start}`/`{end}`; German output). The old `agent.md` and `planning.md` are
> retired — `system.md` is the single appended system prompt (the agent/manual split
> is gone), and the planning system prompt is `planning-system.md`. Daily-prep and
> retry prompts are now English; retry leans on the resumed session and appends the
> captured stderr only when it's a real error (not the generic "exited with code N").
> The system prompt instructs the agent to emit `CLAUDEDO_BLOCKED: <reason>` on its
> own line for any true blocker; `StreamAnalyzer` collects every marker, strips them
> from the result, and `TaskRunner` folds them into the review result as a
> "⚠ Roadblocks" section. All six prompt files are editable from Settings → Files.
---
## 1. Task-execution prompts (agent-tagged tasks → Claude CLI)