deepseek-harness/docs
Tianyi Cui e264a106fd workflow, subagent: fix Codex code-review round-1 blockers
Six verified A-findings from the code-stage review, each with a regression test:

- parallel()/pipeline() resolved to HOST arrays inside the vm realm, exposing
  host Array.prototype to scripts; combinator results are now realm-built
  (in-realm Array.from bound at context setup).
- materializeFromRealm ran proxy traps (ownKeys/getOwnPropertyDescriptor/
  getPrototypeOf) during the descriptor walk — realm code on the host stack,
  outside the vm timeout, escaping as raw errors; proxies (root, nested, and
  in the prototype position) are now rejected trap-free via util.types.isProxy
  before any inspection.
- an already-aborted signal or an immediate cancel() no longer reports
  'completed' for a hook-free script: drive() checks cancellation before
  running the body and again when the script settles.
- dispose() now waits (bounded by disposeGraceMs) for stray agent() children
  to FINISH disposing, not just for the script to settle: every agent() call
  is tracked and quiesce() drains the in-flight set.
- workflow/* event payloads were live mutable aliases shared across emissions;
  emitWorkflowEvent now hands each listener its own structural clone.
- the structured-output turn-continuation veto is now prepend: true, so an
  earlier-registered force-continue listener cannot short-circuit it.

Docs updated in the same change (READMEs, core-data-structures/workflow.md,
the dynamic-workflows RFC, regenerated cordis catalogs).
2026-07-05 19:04:38 +08:00
..
cookbook Merge branch 'simpl-a2-vocab' into simpl-a3-knobs 2026-07-04 21:20:55 +08:00
cordis-catalog workflow, subagent: fix Codex code-review round-1 blockers 2026-07-05 19:04:38 +08:00
core-data-structures workflow, subagent: fix Codex code-review round-1 blockers 2026-07-05 19:04:38 +08:00
i18n docs: equal-authority pairing with sidecar consistency records 2026-07-03 07:41:24 -07:00
persistence-catalog Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +08:00
postmortem fix(docs): address Codex review round 3 — last three moved-policy citations 2026-07-04 16:02:39 +08:00
rfc workflow, subagent: fix Codex code-review round-1 blockers 2026-07-05 19:04:38 +08:00
tool-catalog workflow: dynamic workflows — script-driven multi-agent orchestration 2026-07-05 13:29:35 +08:00
AGENTS.md Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +08:00
architecture.md workflow: dynamic workflows — script-driven multi-agent orchestration 2026-07-05 13:29:35 +08:00
defensive-patterns.md docs(AGENTS): rewrite the root standing orders to the 1,500-word budget 2026-07-04 14:22:47 +08:00
development.i18n.yaml Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +08:00
development.md Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +08:00
development.zh.md Split the cordis catalog into separate events and services documents 2026-07-05 00:45:06 +08:00
module-graph.md workflow: dynamic workflows — script-driven multi-agent orchestration 2026-07-05 13:29:35 +08:00
testing.md fix(docs): address ds-review-bot — the e2e tier is not DeepSeek-only 2026-07-04 16:43:23 +08:00