deepseek-harness/packages/core/agent-loop/src
Yichen Jiang 959a3c3a8b fix(agent-loop): discard an interrupted prefix composition instead of caching it
A cancel/dispose landing inside the first agent/session-prefix waterfall
used to commit the listener chain's return value to the instance cache
before the interruption check dropped the turn; an abort-aware listener's
degraded fallback would then ship on every later request of the instance.
The commit now happens only after the composition survives the
interruption check — the cache only ever holds a fully composed prefix,
and the next turn recomposes under a live signal.
2026-07-08 21:46:03 +08:00
..
agent.ts Gate JSDoc completeness on every package export 2026-07-06 22:09:30 +08:00
inbox.ts Gate JSDoc completeness on every package export 2026-07-06 22:09:30 +08:00
index.ts Merge remote-tracking branch 'origin/master' into worktree-export-jsdoc-gate 2026-07-07 09:34:12 +08:00
loop.ts fix(agent-loop): discard an interrupted prefix composition instead of caching it 2026-07-08 21:46:03 +08:00
request-log.ts refactor(agent): replace the per-step advice seam with agent/session-prefix 2026-07-08 15:44:30 +08:00