deepseek-harness/docs/core-data-structures
Tianyi Cui b06ae91fa8 fix(tasks): address task API review feedback
The public kill result used the awkward phrase already-terminal. Rename it to already-finished and keep the model-facing response aligned; not-alive would be inaccurate because a force-failed registry record can still correspond to orphaned producer work.

Task kinds were open strings even though producer namespaces are an extension point. Add the merge-extensible TaskKindMap and derived TaskKind, cover consumer declarations in task and bundle tests, and retain the runtime non-empty check for untyped callers.

With exactOptionalPropertyTypes, owner?: Agent | undefined allowed an explicit undefined value that no caller needs. Tighten the property to owner?: Agent so unowned work is expressed by omitting it.

Record the requested task-service/backend split as a follow-up, using a systemd-backed runtime as a concrete candidate without guessing its durability and ownership contract in this PR. Regenerate the type and Cordis catalogs so public docs match the declarations.
2026-07-15 21:45:30 +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-15 13:38:17 +08:00
code-runtime.md refactor: prune code runtime surface 2026-07-14 03:07:41 +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-15 13:38:22 +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): address task API review feedback 2026-07-15 21:45:30 +08:00
tools.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 13:30:39 +08:00
user-interaction.md refactor: relocate demo app bundles to packages/examples/*-demo 2026-07-15 16:46:05 +08:00
web.md Merge remote-tracking branch 'origin/master' into codex/simp-prune-web-seam-fields 2026-07-14 17:57:50 +08:00
workflow.md workflow: meta rides the seam as data — the engine never evaluates it 2026-07-09 20:09:10 +08:00