Commit Graph

4950 Commits

Author SHA1 Message Date
Turtle
98ee4ce429 fix(agent-loop): address review — quiet-item parking, meta, discard balance
Resolve six review findings on the unified-send change:
- quiet (wakeup:false) queued items no longer un-park the driver; the
  inbox distinguishes hasWakingQueued (drives the loop, idle/quiescence)
  from hasQueued (anything to dequeue), so a lone quiet item parks at idle
  and rides the next waking send. whenIdle/cancel settle off the waking
  signal, so cancelling a parked quiet item no longer hangs whenIdle.
- SendOptions.meta on queued/steering sends now reaches the durable
  user/message and steering/message (was dropped except on injection).
- a terminal agent/turn-stop that drops pending steering emits
  agent/inbox/discard so the enqueue-dequeue-or-discard ledger balances.
- the loop-authored continuation reason is snapshotted and frozen like a
  public send.
- gen-cordis-api collects exported classes (body-stripped) so the now-
  abstract-class Agent and its transitive shapes reappear in the API
  catalog.

Adds regression tests for each and re-records the affected snapshot.
2026-07-23 21:41:42 +08:00
Tianyi Cui
a0b01161bd Merge remote-tracking branch 'origin/docs/i18n-batch-cds-postmortem' into worktree/pr345-retarget-stack 2026-07-23 21:39:10 +08:00
Tianyi Cui
8f4544c488 docs(i18n): address Agent Note review 2026-07-23 21:38:26 +08:00
fz
5e8943fd1c fix(plan): make direct exit discoverable 2026-07-23 21:34:40 +08:00
Hypatia May
72fdf57c00 Merge remote-tracking branch 'origin/session-query-search' into session-query-search 2026-07-23 21:34:23 +08:00
Hypatia May
9482affc48 fix(session-query): make persisted observation non-mutating 2026-07-23 21:33:28 +08:00
_Kerman
c596dddfe1 fix: return stored metadata from live loads 2026-07-23 21:28:52 +08:00
Tianyi Cui
a66ed5474c fix(i18n): avoid prompt parser assertions 2026-07-23 21:25:02 +08:00
fz
a7b0e69797 test(snapshot): update plan command metadata 2026-07-23 21:22:36 +08:00
Tianyi Cui
454f3ffb21 Merge remote-tracking branch 'origin/master' into worktree/pr348-retarget-latest-master 2026-07-23 21:21:53 +08:00
Tianyi Cui
216b0bfb6c Merge remote-tracking branch 'origin/master' into worktree/pr348-retarget-latest-master
# Conflicts:
#	docs/i18n/README.i18n.yaml
#	docs/i18n/translation-prompt.md
#	pnpm-lock.yaml
2026-07-23 21:18:14 +08:00
Tianyi Cui
f9120a944c Merge master into session-query-search 2026-07-23 21:18:05 +08:00
Tianyi Cui
8f05219d67 Merge commit '5f519d87c' into worktree/pr344-retarget-stack 2026-07-23 21:14:54 +08:00
Tianyi Cui
f712bca316 Merge pull request #529 from deepseek-harness/worktree/pty-review-fixes
fix(pty): close review lifecycle gaps
2026-07-23 21:14:37 +08:00
Tianyi Cui
91f5e4d9c8 docs(i18n): clarify cancellation and orphan results 2026-07-23 21:14:34 +08:00
Tianyi Cui
8313827c37 docs(i18n): allow zero-step Goal Rounds 2026-07-23 21:13:34 +08:00
Hypatia May
c1fa985c20 Merge remote-tracking branch 'origin/master' into session-query-search
# Conflicts:
#	docs/architecture.i18n.yaml
#	packages/client/ui-sidebar/tests/sidebar-root.spec.tsx
#	packages/session-persistence/session-persistence-jsonl/src/index.ts
#	packages/session-persistence/session-persistence/README.md
2026-07-23 21:13:29 +08:00
Tianyi Cui
bd04f759a0 Merge master into worktree/pty-review-fixes 2026-07-23 21:09:10 +08:00
Tianyi Cui
73699dba8d Merge pull request #531 from deepseek-harness/worktree/web-ask-user-question
feat(gui): add ask-user question composer
2026-07-23 21:07:19 +08:00
fz
8e4f666238 feat(plan): add direct plan exit command 2026-07-23 21:06:03 +08:00
Tianyi Cui
b7ae34b67c test(tool-tasks): cover bounded output rendering 2026-07-23 21:04:26 +08:00
Turtle
c402cc2422 test(snapshot): re-record acp fixtures after merging master
Merge took master's snapshot fixtures; re-record the two keyless
scenarios so they reflect this branch's user/message coalescing and the
abstract Agent + AgentMessageId type dump.
2026-07-23 20:58:35 +08:00
_Kerman
4e5166828b fix: reserve cold loads across repair 2026-07-23 20:58:20 +08:00
Tianyi Cui
e6ee7ddcd7 Merge commit 'af253bbd0' into worktree/pr345-retarget-stack 2026-07-23 20:56:28 +08:00
Tianyi Cui
0fa4f88683 Merge commit '679e00412906383af1d1761128f429ddd5c07345' into worktree/pr344-retarget-stack 2026-07-23 20:55:34 +08:00
Turtle
a3ad5241ba Merge remote-tracking branch 'origin/master' into feat/send-unify
# Conflicts:
#	docs/persistence-catalog.md
#	examples/acp-agent/tests/snapshots/code-mode-workspace-context/session.jsonl
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/session.jsonl
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/stdout.expected.jsonl
#	packages/context/time-context/tests/time-context.spec.ts
#	packages/cordis/tool-cordis/src/api-catalog.ts
2026-07-23 20:54:48 +08:00
Tianyi Cui
4fca76f50f Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-23 20:53:30 +08:00
Tianyi Cui
cff3cb6dcd docs(i18n): refresh persistence Agent Notes 2026-07-23 20:52:40 +08:00
Tianyi Cui
0fb6a2540c Merge commit 'fc123040d824069a679a52bac84b2e3554589436' into worktree/pty-review-fixes 2026-07-23 20:52:05 +08:00
Tianyi Cui
ea019beae9 Merge branch 'master' into worktree/web-session-titles 2026-07-23 20:51:17 +08:00
Tianyi Cui
26bfd37da0 Merge commit 'refs/codex-unblock/20260723/master' into worktree/pty-review-fixes
# Conflicts:
#	.agents/notes/implemented/feature/2026-06-30-interception-seams.md
#	docs/config-catalog.md
#	docs/cordis-catalog/services.md
#	docs/core-data-structures/tools.md
#	docs/event-producer-consumer.md
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/session.jsonl
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/stdout.expected.jsonl
#	packages/cordis/tool-cordis/src/api-catalog.ts
#	packages/core/tools/README.md
#	packages/core/tools/src/index.ts
#	packages/core/tools/src/schema.ts
#	packages/core/tools/tests/tools.spec.ts
#	packages/pty/tool-pty/README.md
#	packages/pty/tool-pty/src/index.ts
#	packages/pty/tool-pty/src/render.ts
#	packages/tasks/tool-tasks/README.md
#	packages/tasks/tool-tasks/src/index.ts
2026-07-23 20:50:45 +08:00
Tianyi Cui
d1f9230384 Merge branch 'master' into worktree/remove-expose-internals 2026-07-23 20:50:38 +08:00
Hypatia May
d24a875c5d fix(session-query): protect live reconciliation 2026-07-23 20:50:29 +08:00
Turtle
866b543700 docs(agent): fix stale 'info' param name in agent/inbox/enqueue JSDoc
The @param was renamed info→message; the body sentence still named info.
Found by fresh-eye review. Regenerated the catalog/graph docs.
2026-07-23 20:50:13 +08:00
Tianyi Cui
ea75abd71e docs(gui): correct client coverage lane 2026-07-23 20:45:36 +08:00
Turtle
3fd72f7c74 feat(agent): rename InboxItemInfo to AgentMessage with an id; send returns it
Add a branded AgentMessageId assigned to each accepted send message and
returned from send/followup/steer/inject (was void). Rename the inbox
event payload InboxItemInfo to AgentMessage, carrying that id so a caller
can correlate a queued item with its enqueue/dequeue/discard events.
2026-07-23 20:45:29 +08:00
Tianyi Cui
daf4f91320 Merge commit '5413ac061ff6b8659a324242ce51369c82417158' into worktree/pr345-retarget-stack 2026-07-23 20:45:18 +08:00
imccyu
48a390473e Merge branch 'master' into worktree/web-ask-user-question 2026-07-23 20:43:07 +08:00
Tianyi Cui
8833fc2b58 Merge pull request #571 from deepseek-harness/worktree/web-carrier-chain
refactor(gui): kind-agnostic PendingWait carriers and the composer slot chain
2026-07-23 20:42:29 +08:00
Tianyi Cui
2a62da8ff0 test(web): make real title smoke deterministic 2026-07-23 20:41:10 +08:00
Tianyi Cui
98d7bf8b1a docs(i18n): refresh persistence catalog for storage ownership 2026-07-23 20:37:01 +08:00
imccyu
8f54ccae7f Merge branch 'worktree/web-carrier-chain' into worktree/web-ask-user-question 2026-07-23 20:36:20 +08:00
Tianyi Cui
eb0cc4eb18 refactor: drop obsolete expose-internals flag 2026-07-23 20:35:09 +08:00
Hypatia May
1c6d26c44d fix(session-query): fail mount when index open fails 2026-07-23 20:32:51 +08:00
Tianyi Cui
846ae51aa5 Merge remote-tracking branch 'origin/docs/i18n-batch-core' into worktree/pr344-retarget-stack 2026-07-23 20:32:38 +08:00
_Kerman
816907ba2d Merge remote-tracking branch 'origin/master' into refactor/eager-session-persistence
# Conflicts:
#	.agents/notes/implemented/architecture/2026-06-18-shared-persistence-write-coordinator.md
#	packages/session-persistence/session-persistence-jsonl/README.md
#	packages/session-persistence/session-persistence/src/coordinator.ts
#	packages/session-persistence/session-persistence/tests/persistence.spec.ts
2026-07-23 20:32:19 +08:00
imccyu
850cbe912d fix(gui): cap the question card height and scroll the option list
The composer seat lives in a fixed-height conversation column with
overflow hidden, so a long question batch pushed the footer actions out
of reach (review r3635427112). The card now flexes with a viewport-
relative max-height, the option list is the scrollable region (ChatView
list pattern: min-height 0 + overflow-y auto), and header/footer are
flex-shrink 0 so progress, navigation, skip, submit, and cancel stay
reachable.

Verified in headless chromium against this sheet (900x600 viewport,
30-option batch): card capped at 360px (60vh), the option list scrolls
(scrollHeight > clientHeight), and the footer submit/skip buttons stay
inside the viewport. jsdom cannot assert layout; the playwright smoke
follow-up tracks composer scrolling with the existing debt.
2026-07-23 20:29:23 +08:00
imccyu
6e94810973 feat(gui): carry the question detail field over the wire and render it
AskUserQuestionItem.detail is part of the user-interaction seam contract
but the web frame schema dropped it and the composer never rendered it
(review r3635427108). askUserQuestionItemSchema now forwards detail, the
composer renders it under the title in the description text style, and
the fixture's multi-select question carries one.
2026-07-23 20:26:48 +08:00
Tianyi Cui
ef91d5eb36 Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-23 20:26:44 +08:00
_Kerman
d0e5987c4a fix: serialize persistence ownership selection 2026-07-23 20:24:27 +08:00