fix(subagent): report resumable children as ready

list_agents called a storage-only continuable child 'complete', inviting
parents to poll it for a result that will never appear there. Rename the
status to 'ready' — resumable, not terminal — and rewrite the tool
description to say a parent is told when a child finishes, so listing is
for recall, not polling.
This commit is contained in:
Hypatia May
2026-08-11 12:38:57 +08:00
parent 85dd22fd4f
commit 567fcadba0
50 changed files with 215 additions and 109 deletions
+2 -2
View File
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/subsystems/subagent.md
subagent.md: fbfe83010fc297b6c10baf0631e8cdfd4d05854c
subagent.zh.md: fc2fc85e35eaee1467921dc9f94b3d2a40292bbb
subagent.md: f6f778ae09677ceebaa35c577dd2e6b2aae35c21
subagent.zh.md: dd91e3789407fcd986a8e58c58a9f1f53bae87c0