deepseek-harness/packages/core/tools/tests
Hypatia May d769d3cbb7 feat(subagent): let ancestors interrupt descendants
interrupt_agent(agent_id) passes the calling agent as the ancestor
authority for ctx.subagents.interrupt(); the service verifies live
registry identity and recorded lineage, so a direct child or deeper
descendant stops with the same generic parameter while send_message keeps
its exact-direct-parent authority.

Discovery: list_agents gains an optional scope. descendants walks the new
SubagentService.listDescendants() — one lineage trace flattened in stable
pre-order across ordinary and one-shot intermediates, each entry carrying
its verified parentId and depth — and every status now comes from the
live Agent registry (running/idle/complete).

Refs #1535
2026-08-08 20:02:37 +08:00
..
code-mode.spec.ts docs(tools): widen the ungated language-prose list and correct three JSDoc claims 2026-08-06 01:38:26 +08:00
execution-mode.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-21 23:39:03 +08:00
execution-signal-types.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-21 23:39:03 +08:00
gen-tool-catalog.spec.ts feat(subagent): let ancestors interrupt descendants 2026-08-08 20:02:37 +08:00
invariant.spec.ts test(session): align turn-end contract artifacts 2026-08-04 14:09:52 +08:00
json-schema.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
properties.spec.ts test(tools): cover adversarial JSON containers 2026-07-21 18:20:18 +08:00
py-types.spec.ts test(tools): drop the quantifier that miscounted its own enumeration 2026-08-06 02:33:25 +08:00
schema.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
scoped.spec.ts Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-22 17:05:38 +08:00
tools.spec.ts fix: complete immutable message migration 2026-07-28 14:15:23 +08:00
ts-types.spec.ts feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00