docs: design for reusable child tasks + agent improvement loop

Agent offloads out-of-scope work via SuggestImprovement; children run
automatically; new WaitingForChildren state; generalize planning's
parent/child machinery.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-06-04 13:36:53 +02:00
parent ad7d74820a
commit 30b49d1071
2 changed files with 161 additions and 0 deletions

View File

@@ -125,6 +125,11 @@ Emit it as many times as needed — once per distinct blocker. Use it only for t
blockers, not for routine decisions you can make yourself.
```
> `system.md` also gains an **"Out-of-scope improvements"** section that tells the
> agent to file follow-up work via the `SuggestImprovement` tool. That section is
> defined in `2026-06-04-child-tasks-and-improvement-loop-design.md` and lands with
> that feature.
### `planning-system.md`
```markdown
You are the planning assistant for ClaudeDo. Your job is to break a task into