After child subagents complete, the coalesced announcement runs as an internal turn which rolls back all messages from the parent's in-memory context. This causes the parent LLM to lose findings in subsequent turns. Add persistResponse option to writeInternal that re-injects the LLM's summary as a non-internal assistant message after the internal run completes. The internal prompt stays hidden while the summary persists in both memory and session JSONL for future turns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| announce-findings.test.ts | ||
| announce.test.ts | ||
| announce.ts | ||
| index.ts | ||
| registry-recovery.test.ts | ||
| registry-store.test.ts | ||
| registry-store.ts | ||
| registry.test.ts | ||
| registry.ts | ||
| types.ts | ||