Commit Graph
100 Commits
Author SHA1 Message Date
hypatiamay ede2510f52 Merge pull request #1751 from deepseek-harness/feat/1535-interrupt-tool
feat(subagent): let ancestors interrupt descendants
2026-08-08 20:35:43 +08:00
Hypatia May ddea7b398e docs: refresh tool catalog after stack merge 2026-08-08 20:02:37 +08:00
Hypatia May 33c4d5a164 chore(docs): report the first stale catalog line 2026-08-08 20:02:37 +08:00
Hypatia May 656dbadbad test(subagent): close descendant listing coverage 2026-08-08 20:02:37 +08:00
Hypatia May 5e1ec10d5a fix(subagent): address descendant listing review 2026-08-08 20:02:37 +08:00
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
Hypatia May 4b29f9ca7a test(web): refresh interrupt UI golden after master merge 2026-08-08 20:02:36 +08:00
Hypatia May 5793614b86 feat(web): expose continuable subagent interrupt
The composer's single primary action now stops a running continuable
child: Session.cancel() routes a continuable address through
subagent.interrupt (ordinary sessions keep session.cancel; one-shot
addresses stay uncancellable), and InputBar switches the same Send button
to Stop while a continuable child runs. A running parent-offline child
keeps the default composer with disabled input so that Stop stays
reachable; the read-only takeover returns once it stops.

Refs #1535
2026-08-08 20:02:36 +08:00
Hypatia May 336c84baf0 docs(subagent): clarify interrupt edge cases 2026-08-08 20:02:36 +08:00
Hypatia May 57e9e6977c docs(subagent): record the public interrupt in the continuation contract docs
The continuable-subagent core-data page and the continuation lifecycle
Agent Note claimed no public subagent cancellation existed; interrupt()
is now that one public stop. Both pages and their Chinese counterparts
state the shipped contract and link the owning interrupt note.

Refs #1535
2026-08-08 20:02:36 +08:00
Hypatia May 82019134b1 test(web): verify subagent.interrupt over the real composition
A browserless keyless-replay e2e boots the shipped web composition, holds
a continuable child's turn open with a replay hang entry, queues a
follow-up and interrupts over plain HTTP, and proves from the real
session state that the turn aborted, the follow-up parked without a new
turn, and a waking send resumed the preserved FIFO order.

Refs #1535
2026-08-08 20:02:36 +08:00
Hypatia May 66a21a38b1 feat(subagent): add current-turn interrupt RPC
ctx.subagents.interrupt() stops one live continuable child's current turn
via Agent.cancel(cause, { keepInbox: true }) under either a human durable
parent address or an exact live ancestor Agent. Fire-and-return: admission
is synchronous, quiescence is not awaited. Pending inbox work, the
Activation, and published descendants are preserved; only a later waking
send resumes the parked FIFO queue. Absent, one-shot, and disposing
targets are accepted no-ops.

The new Host RPC subagent.interrupt calls only that primitive with user
authority — no catalog, history, persistence, or parent-registry lookup —
so a live child stays stoppable while its parent Agent is offline.

Refs #1535
2026-08-08 20:02:36 +08:00
Hypatia May 03e509be8d Merge remote-tracking branch 'origin/master' into codex/unify-landlock-release 2026-08-06 16:36:01 +08:00
Hypatia May 22c7087074 fix(landlock-run): publish under deepseek scope 2026-08-06 14:41:17 +08:00
Hypatia May 10c1d77a4f fix(landlock-run): address release review feedback 2026-08-06 13:50:48 +08:00
Hypatia May d1a8a79ed0 Merge remote-tracking branch 'origin/master' into codex/unify-landlock-release 2026-08-06 12:01:52 +08:00
Hypatia May 32864c026c fix(clean): remove native build state (review round 3) 2026-08-06 11:11:57 +08:00
Hypatia May d3aa337c26 fix(landlock-run): close release integration gaps (review round 2) 2026-08-06 10:52:46 +08:00
Hypatia May 598f9719f4 refactor(landlock-run): unify workspace release (review round 1) 2026-08-06 10:23:26 +08:00
Hypatia May cc89c529c6 Merge remote-tracking branch 'origin/master' into fix/landlock-runner-failure-classification 2026-08-04 19:05:33 +08:00
Hypatia May 8c72cd3a8f docs(sandbox): align final runner evidence 2026-08-04 17:45:12 +08:00
Hypatia May ea762e3962 test(sandbox): pin runner argv forms 2026-08-04 17:19:19 +08:00
Hypatia May c4e9893a87 test(sandbox): cover POSIX no-shebang fallback 2026-08-04 17:10:42 +08:00
Hypatia May 666690afe9 fix(sandbox): round 7 align spawn evidence 2026-08-04 16:55:11 +08:00
Hypatia May fe818862e1 fix(sandbox): round 6 bind spawn provenance 2026-08-04 16:20:04 +08:00
Hypatia May 293fac9421 fix(sandbox): round 5 harden spawn attribution 2026-08-04 16:06:54 +08:00
Hypatia May ec4a070f0e Merge remote-tracking branch 'origin/master' into fix/landlock-runner-failure-classification 2026-08-04 14:47:58 +08:00
Hypatia May 96ba98c99e fix(sandbox): require runner-specific spawn evidence 2026-08-04 14:47:46 +08:00
Hypatia May 0cd1611023 Merge remote-tracking branch 'origin/master' into fix/landlock-runner-failure-classification 2026-08-04 13:54:37 +08:00
Hypatia May b0f33f13f4 docs(sandbox): cross-link Landlock snapshot rule 2026-08-04 13:49:34 +08:00
Hypatia May f91aedd074 refactor(sandbox): defer native protocol exports (round 3) 2026-08-04 13:37:33 +08:00
Hypatia May 319376ef1c fix(sandbox): preserve valueless spawn failures (round 2) 2026-08-04 12:16:21 +08:00
Hypatia May e36d040d0a fix(sandbox): spawn confined argv directly (round 1) 2026-08-04 12:04:48 +08:00
Hypatia May 2eedb54849 fix(examples): declare sandbox fixture dependency 2026-08-04 09:37:50 +08:00
Hypatia May 71aafeb858 Merge origin/master into fix/landlock-runner-failure-classification 2026-08-04 09:14:13 +08:00
Hypatia May 019eb8b552 test(acp): register Landlock snapshot fixture (round 3) 2026-08-03 18:07:18 +08:00
Hypatia May 295a799785 fix(sandbox): close classifier evidence gaps (round 2) 2026-08-03 17:48:41 +08:00
Hypatia May 6343d8f6e6 fix(sandbox): evidence-gate runner failures (round 1) 2026-08-03 17:31:08 +08:00
hypatiamay dcc9e50f84 Merge pull request #1026 from deepseek-harness/feat/compaction-progress-visibility
feat(tui): show live compaction progress
2026-07-31 19:17:43 +08:00
hypatiamay 57761539b4 Merge pull request #989 from deepseek-harness/feat/manual-compact-single-lock
feat(compact): add queued manual /compact
2026-07-31 19:10:48 +08:00
hypatiamay 23766cd34d Merge pull request #956 from deepseek-harness/fix/web-transcript-projection
fix(web): project the human transcript from append-origin events
2026-07-31 17:32:21 +08:00
Hypatia May e5232adcf3 Merge remote-tracking branch 'origin/master' into worktree/pr799-merge-20260731-final
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-07-31 17:10:25 +08:00
Hypatia May 1974825381 Merge remote-tracking branch 'origin/master' into worktree/pr799-merge-20260731-final
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-07-31 17:02:46 +08:00
Hypatia May f817c62baa test(web): refresh search stats golden after master merge 2026-07-31 17:01:16 +08:00
Hypatia May a23a6bdd15 Merge origin/master into codex/status-bar-token-metrics
Resolve the agent-loop import conflict by retaining both durable request context and runtime policy context. Refresh the combined session fixtures and regenerate documentation catalogs. Mark PDF artifacts as binary so staged whitespace checks do not parse PDF bytes as text.
2026-07-31 16:53:03 +08:00
Hypatia May b14c9daed2 Merge branch 'feat/manual-compact-single-lock' into feat/compaction-progress-visibility 2026-07-31 15:37:06 +08:00
Hypatia May 1114a80a45 Merge branch 'fix/web-transcript-projection' into feat/manual-compact-single-lock
# Conflicts:
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/session.jsonl
2026-07-31 15:36:49 +08:00
Hypatia May d67de808b0 Merge remote-tracking branch 'origin/master' into fix/web-transcript-projection
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-07-31 15:32:36 +08:00
Hypatia May 85cef9de6f fix(tui): unify compaction progress presentation 2026-07-31 15:27:10 +08:00
Hypatia May 4f31fdeea6 test(web): include compact command in menu golden 2026-07-31 14:25:25 +08:00
Hypatia May 9ca52cbcf0 docs(tui): simplify compaction state comment 2026-07-31 13:57:18 +08:00
Hypatia May 322950487e fix(apiproxy): let commands outlive unary deadline 2026-07-31 11:51:49 +08:00
Hypatia May aab3d003e0 docs(tui): clarify compaction disposal outcome 2026-07-31 11:51:26 +08:00
Hypatia May 949b9fba8d feat(tui): add transcript compaction progress marker 2026-07-31 11:46:43 +08:00
Hypatia May 3a99cf7446 Merge current master into status bar projection 2026-07-31 10:56:34 +08:00
Hypatia May 669acedcad fix(test): preserve invariant config failures 2026-07-31 10:41:44 +08:00
Hypatia May afe8d49691 Merge finalized manual compaction parent 2026-07-31 10:11:54 +08:00
Hypatia May 01e64c6350 Merge finalized Web transcript parent 2026-07-31 09:46:32 +08:00
Hypatia May 00cc600b14 fix(snapshot): canonicalize macOS cwd tokens 2026-07-31 09:45:48 +08:00
Hypatia May cc0d13872f docs(client): correct checkpoint pin contract 2026-07-31 09:29:19 +08:00
Hypatia May ff8c5600f4 Merge pinned master into status bar projection 2026-07-31 09:28:52 +08:00
Hypatia May 074f0e4393 Merge pinned master into Web transcript 2026-07-31 09:18:45 +08:00
Hypatia May 0da7f17b7a Merge invariant readiness fix from Web transcript 2026-07-31 01:33:25 +08:00
Hypatia May a4747f43bd Probe invariant readiness on raw fibers 2026-07-31 01:28:34 +08:00
Hypatia May 9853e74d0e Close invariant readiness validation race 2026-07-31 01:18:10 +08:00
Hypatia May ed5a82f930 Fix invariant config validation readiness 2026-07-31 01:04:21 +08:00
Hypatia May 852489d0b6 Merge invariant fixture cleanup from Web parent 2026-07-31 00:44:48 +08:00
Hypatia May 096fe8b6d7 Deduplicate invariant barrier fixtures 2026-07-31 00:41:48 +08:00
Hypatia May f3963686bd Merge final Web parent into manual compact 2026-07-31 00:38:21 +08:00
Hypatia May 0378a72431 Align trajectory bundle test with session history 2026-07-31 00:33:03 +08:00
Hypatia May ceb37f3377 Merge final master into Web transcript 2026-07-31 00:27:16 +08:00
Hypatia May be44f073e1 Fix invariant readiness after CI sync 2026-07-31 00:20:18 +08:00
Hypatia May 25ad9015e3 Merge final CI coverage parent into manual compact 2026-07-31 00:09:28 +08:00
Hypatia May ed41269e04 Keep pending invariant children behind readiness 2026-07-30 23:57:58 +08:00
Hypatia May 573a062afd Gate derived test contexts on invariant readiness 2026-07-30 23:54:21 +08:00
Hypatia May cc91724157 Fix invariant startup gate after CI sync 2026-07-30 23:43:53 +08:00
Hypatia May 6f29c9b9fb Merge final CI coverage updates from master 2026-07-30 23:09:50 +08:00
Hypatia May 6307708e34 Merge final CI coverage updates from master 2026-07-30 23:07:13 +08:00
Hypatia May 8bfaa4c9fb Merge Web queue collapse parent into manual compact 2026-07-30 22:56:16 +08:00
Hypatia May b86ce10741 Merge Web queue collapse from master 2026-07-30 22:50:09 +08:00
Hypatia May c2940f620e Merge Web queue collapse from master 2026-07-30 22:48:45 +08:00
Hypatia May cf3bd9d02a Merge Web transcript parent through adaptive directory picker 2026-07-30 22:37:17 +08:00
Hypatia May 86633a49f8 Merge master through adaptive directory picker 2026-07-30 22:21:52 +08:00
Hypatia May 75156eabe2 Merge master through adaptive directory picker 2026-07-30 22:21:40 +08:00
Hypatia May 859d60fff5 fix(tui): preserve compaction indicator ownership 2026-07-30 22:09:42 +08:00
Hypatia May db1cbf0bcc fix(compact): address manual compaction review 2026-07-30 22:00:34 +08:00
Hypatia May bbff2c58de feat(tui): show live compaction progress 2026-07-30 21:59:33 +08:00
Hypatia May df0c108e1b Merge final Web transcript master anchor 2026-07-30 21:26:19 +08:00
Hypatia May d252d996e1 Merge master after human transcript landing 2026-07-30 21:25:47 +08:00
Hypatia May 8d75e12bdf Merge master after human transcript landing
Build-review stack propagation round 2; ancestry-only.
2026-07-30 21:22:06 +08:00
hypatiamay 5fc2f4ba04 Merge pull request #897 from deepseek-harness/fix/human-transcript-projection
fix(tui,host): project the human transcript from append-origin events
2026-07-30 21:19:14 +08:00
Hypatia May cc62da3b27 Merge latest web transcript base into manual compact
Build-review stack propagation round 1.
2026-07-30 21:16:49 +08:00
Hypatia May 350ab5d962 Merge latest origin/master into codex/status-bar-token-metrics
Build-review integration round 3.
2026-07-30 21:06:28 +08:00
Hypatia May 5ac766fd08 Merge latest human transcript base into web transcript
Build-review stack propagation round 1.
2026-07-30 21:04:33 +08:00
Hypatia May 2e68e08644 test(web): isolate direct smoke skill homes
Build-review integration round 2.
2026-07-30 20:58:34 +08:00
Hypatia May acca880015 Merge latest origin/master into fix/human-transcript-projection
Build-review integration round 2.
2026-07-30 20:51:45 +08:00
Hypatia May 538f23678a Merge origin/master into codex/status-bar-token-metrics
Build-review integration round 1; isolate Web snapshots from user skill homes.
2026-07-30 20:51:38 +08:00
Hypatia May c6e06e289e Merge origin/master into fix/human-transcript-projection
Build-review integration round 1.
2026-07-30 20:45:39 +08:00
Hypatia May eb3188f05d Merge remote-tracking branch 'origin/fix/web-transcript-projection' into feat/manual-compact-single-lock
# Conflicts:
#	apps/cli/config/base.cordis.yml
#	apps/cli/cordis.yml
#	docs/event-producer-consumer.md
#	examples/package.json
#	examples/tui-agent/README.i18n.yaml
#	examples/tui-agent/README.md
#	examples/tui-agent/README.zh.md
#	pnpm-lock.yaml
2026-07-30 20:09:23 +08:00
Hypatia May c2337bfa10 Merge remote-tracking branch 'origin/fix/human-transcript-projection' into fix/web-transcript-projection
# Conflicts:
#	apps/web/tests/scaffold.ts
#	apps/web/tests/seeded-history.e2e.ts
#	apps/web/tests/snapshots/seeded-history/ui.expected.md
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/client/ui-conversation/src/client/chat/MessageItem.tsx
2026-07-30 20:02:32 +08:00