From 202e8dea4983d31f799e55340380d18f9c3bada8 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Thu, 4 Jun 2026 14:20:48 +0200 Subject: [PATCH] docs: refresh prompt inventory for externalized prompts + roadblock marker --- docs/prompts-inventory.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/prompts-inventory.md b/docs/prompts-inventory.md index 4e9d5e7..2e304a7 100644 --- a/docs/prompts-inventory.md +++ b/docs/prompts-inventory.md @@ -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: ` 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)