deepseek-harness/docs/core-data-structures
Tianyi Cui 1a69a3debe fix(tasks): bind cleanup and notices to exact owners
Task records previously retained only ownerSession. If an old agent scope unwound after another agent reused the same agent and session ids, cleanup selected both records and could cancel replacement work. The completion surface also re-resolved the session at settlement, which could inject an old task notice into the replacement agent.

Retain the exact Agent instance for lifecycle work, select owner cleanup by object identity, and pass that exact owner to completion listeners. Keep read, list, kill, and wait authorization session-based as the runtime RFC intends. Add regressions for cleanup and notice routing under id reuse, then update the public docs and generated API catalogs.
2026-07-15 11:40:37 +08:00
..
approval.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
bash.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-14 18:05:46 +08:00
code-runtime.md feat: Code Mode — the registry's mode config, the SDK codegen, and the run_code bridge 2026-07-08 12:58:23 +08:00
compaction.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
core.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-14 18:05:46 +08:00
filesystem.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
llm-streaming.md docs: make the service map the front door of architecture.md 2026-07-05 01:22:17 +08:00
persistence.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
sandbox.md fix(review): reconcile sandbox and approval contracts 2026-07-11 21:37:38 +08:00
scope.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
session-query.md refactor(session-query): narrow phase one to exact reads 2026-07-11 12:20:35 +08:00
session.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
skills.md docs: tighten prose audit after master retarget 2026-07-13 16:24:32 +08:00
subagent.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
system-prompt.md refactor(core): remove owner-final assembly machinery 2026-07-13 13:09:41 +08:00
tasks.md fix(tasks): bind cleanup and notices to exact owners 2026-07-15 11:40:37 +08:00
tools.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-14 18:05:46 +08:00
user-interaction.md refactor: colocate user interaction with ui packages 2026-07-09 17:59:02 +08:00
web.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
workflow.md workflow: meta rides the seam as data — the engine never evaluates it 2026-07-09 20:09:10 +08:00