deepseek-harness/docs/core-data-structures
Yichen Jiang bd59fddacd refactor(tasks): declare-then-execute — ctx.tasks.start() replaces register()
start({ kind, label, owner, run }) preflights everything that can fail
(the attachSurface fence, validation, the owner-cleanup attach) BEFORE
invoking the producer's run() starter, then commits atomically —
'work started but never got a collectable id' is now structurally
impossible instead of a producer try/catch rollback obligation (the
P1 review fix, rebuilt on #185's declare/execute split). Producers
lose their catch-wraps; the leak tests now pin the stronger property
that a failed preflight never spawns anything. TaskRegistration splits
into TaskStart (identity + run) and TaskHooks (cancel/done/readOutput);
docs, type-equiv manifest, catalogs, and both RFCs move with it.
2026-07-09 21:55:07 +08:00
..
bash.md feat(tasks): background task runtime, generic task_* control tools, bash/subagent producers 2026-07-09 21:22:54 +08:00
code-runtime.md docs: catalog the code-runtime seam vocabulary (Codex review finding) 2026-07-08 02:38:47 +08:00
compaction.md compact: the summary's provenance records its call envelope 2026-07-06 03:21:29 +08:00
core.md refactor(tasks): declare-then-execute — ctx.tasks.start() replaces register() 2026-07-09 21:55:07 +08:00
filesystem.md Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +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: flatten single-file catalog dirs to docs/tool-catalog.md and docs/persistence-catalog.md 2026-07-06 22:26:06 +08:00
session.md Merge remote-tracking branch 'origin/master' into session-fork 2026-07-07 09:06:00 +08:00
subagent.md Structured output on the subagent seam: schema subset, capture runtime, spawn/fork support 2026-07-06 23:29:08 +08:00
tasks.md refactor(tasks): declare-then-execute — ctx.tasks.start() replaces register() 2026-07-09 21:55:07 +08:00
tools.md docs(timeout): update RFC + generated catalogs for the declaration split 2026-07-08 15:06:02 +08:00
user-interaction.md refactor: colocate user interaction with ui packages 2026-07-09 17:59:02 +08:00
web.md build: upgrade to 22.19 for deps 2026-07-07 17:39:04 +08:00