docs/tools/subagent.md: clear the two vale error hits from PR #4603

This commit is contained in:
atlas 2026-09-21 16:59:15 +02:00 committed by mara
commit f9deb34081

View file

@ -90,7 +90,7 @@ daemon only ever spawns on that agent's behalf.
role.** A task baked into the system prompt re-asserts itself as an role.** A task baked into the system prompt re-asserts itself as an
instruction on every later turn of the session (`continue`, `goal`), not instruction on every later turn of the session (`continue`, `goal`), not
just the one the caller wrote it for — the system prompt is the just the one the caller wrote it for — the system prompt is the
subagent's standing identity, not a one-shot channel. So the daemon always subagent's standing identity, not a one-shot channel, so the daemon always
reads the task instructions (`prompt_file`) and folds them ahead of the reads the task instructions (`prompt_file`) and folds them ahead of the
turn's own prompt instead, whether or not the session has a role. The turn's own prompt instead, whether or not the session has a role. The
caller's own task file stays untouched either way. caller's own task file stays untouched either way.
@ -98,8 +98,9 @@ caller's own task file stays untouched either way.
A role additionally names a standing identity: its text, alone, becomes a A role additionally names a standing identity: its text, alone, becomes a
per-session file under the harness directory, and `--append-system-prompt-file` per-session file under the harness directory, and `--append-system-prompt-file`
points at that — nothing about the task ever reaches it. Without a role points at that — nothing about the task ever reaches it. Without a role
there is no such identity to hold a file open for, so `--append-system-prompt-file` there is no such identity to hold a file open for, so the daemon omits
is omitted altogether rather than pointed at anything task-shaped. `--append-system-prompt-file` altogether rather than pointing it at
anything task-shaped.
⚠️ This applies to every dispatch, not just role-bearing ones — no agent ⚠️ This applies to every dispatch, not just role-bearing ones — no agent
ships roles yet, so today it's the only path in real use. Before this fix ships roles yet, so today it's the only path in real use. Before this fix