_Kerman
7b875b9f62
fix(agent-loop): publish turn state only after turn/start commits
...
A pre-commit turn/start rejection previously left the machine bricked:
lastTurn had already advanced past a turn the log never recorded, so every
later turn/start violated the session invariant's contiguity rule, and the
admitted prompt lingered in the outbox to leak into the next turn's request.
Keep admitted input on the stack (an argument to run()) until turn/start
commits, then advance lastTurn, set turnOpen, and append the prompt and its
additional contexts as user/message events inside the now-existing turn.
A rejected turn/start therefore unwinds with zero shared state to roll
back, the turn number stays reusable, and the outbox never holds input for
a turn that does not exist. This also restores the documented event order:
the prompt follows turn/start directly instead of waiting in the outbox
behind any steering carried over by cancel({keepInbox}).
2026-07-25 17:06:51 +08:00
_Kerman
6b4c26a1b9
fix(acp-snapshot): stabilize /private prefix and spill paths in snapshots
...
macOS symlinks /tmp → /private/tmp; when the session header cwd lacks
the /private prefix but fs tools resolve symlinks, tool result paths
get the prefix and the cwd replacement never matches. Strip the prefix
before cwd→{{cwd}} replacement so both forms normalize identically.
Also extend refreshFixtureReplacements to match spill paths by filename
suffix, preventing raw fixture churn when a refresh runs from a
different session directory.
2026-07-24 23:00:17 +08:00
_Kerman
b36a82fc98
Merge branch 'master' into xtr/agent-loop-message-machine
2026-07-24 22:48:18 +08:00
_Kerman
992cf894af
refactor(agent): unify sourced message delivery
2026-07-24 22:38:50 +08:00
Tianyi Cui
b97b1b4a3f
Merge pull request #343 from deepseek-harness/docs/i18n-batch-core
...
docs(i18n): publish Chinese core documentation and Agent Notes
2026-07-24 22:28:46 +08:00
_Kerman
009d113e0e
refactor(agent): trim obsolete loop surfaces
2026-07-24 21:58:07 +08:00
_Kerman
194b18a32f
Merge remote-tracking branch 'origin/master' into xtr/agent-loop-message-machine
...
# Conflicts:
# docs/cordis-catalog/services.md
2026-07-24 21:41:02 +08:00
Tianyi Cui
158c5e913a
docs(i18n): refresh persistence docs after master merge
2026-07-24 21:27:22 +08:00
_Kerman
d92ce62e57
refactor(agent-loop): return request failures from steps
2026-07-24 21:27:02 +08:00
Tianyi Cui
d847b48479
Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master
2026-07-24 21:21:22 +08:00
Tianyi Cui
2584f029bc
Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master
...
# Conflicts:
# docs/cookbook/extension-cookbook.i18n.yaml
# docs/cookbook/extension-cookbook.zh.md
2026-07-24 21:20:17 +08:00
_Kerman
b73eb7663c
refactor(agent-loop): simplify observable state machine
2026-07-24 21:18:48 +08:00
Tianyi Cui
478d9c17b2
Merge pull request #582 from deepseek-harness/codex/sqlite-metadata-contracts
...
fix(sqlite): preserve session metadata contracts
2026-07-24 21:14:06 +08:00
Tianyi Cui
46dfd503e0
Merge origin/master into codex/sqlite-metadata-contracts
2026-07-24 21:07:23 +08:00
Tianyi Cui
199f59dc5e
Merge pull request #344 from deepseek-harness/docs/i18n-batch-cds-postmortem
...
docs(i18n): core-data-structures and postmortem batch — 22 bilingual pairs
2026-07-24 20:58:42 +08:00
Tianyi Cui
19117d68f1
Merge pull request #345 from deepseek-harness/docs/i18n-batch-rfc
...
docs(i18n): RFC tree batch — 146 bilingual pairs via the committed pipeline
2026-07-24 20:58:25 +08:00
Tianyi Cui
aef844e2e6
Merge pull request #591 from deepseek-harness/fix/goal-completion-strict-fields
...
fix(goal): loosen restriction for toolcall arguments
2026-07-24 20:52:23 +08:00
Tianyi Cui
9e691d54c0
fix(goal): normalize strict-schema fillers
2026-07-24 20:45:23 +08:00
Tianyi Cui
145ba169f6
Merge commit 'refs/codex-unblock/20260724/pr591-base-current' into worktree/unblock-pr-591-ci-20260724
2026-07-24 20:32:02 +08:00
Tianyi Cui
15eb71fd7f
Merge pull request #575 from deepseek-harness/feat/send-unify
...
feat(agent): unify send(target × wakeup) and coalesce context/message into user/message
2026-07-24 20:19:53 +08:00
Tianyi Cui
6a78b2cb2e
Merge branch 'master' into feat/send-unify
2026-07-24 20:07:46 +08:00
_Kerman
6cb6d87ff3
Merge pull request #602 from deepseek-harness/xtr/rfc-context-injection-semantics
...
docs(agent): propose context injection semantics
2026-07-24 20:06:24 +08:00
Tianyi Cui
985aceaa75
Merge branch 'master' into feat/send-unify
2026-07-24 19:40:38 +08:00
Tianyi Cui
51f697db50
test(tui): wait for scoped file completion
...
The fake terminal retains earlier autocomplete frames, so the directory follow-up assertion could pass before the scoped lookup completed. Wait for the quoted file mention to be applied before submitting.
2026-07-24 19:38:31 +08:00
_Kerman
8d30062a17
Merge branch 'master' into xtr/rfc-context-injection-semantics
2026-07-24 19:37:30 +08:00
Tianyi Cui
f1fd9940c3
Merge commit 'de939d19b95074595910f2e53e463810094a297c' into worktree/pr345-retarget-stack
2026-07-24 19:33:08 +08:00
Tianyi Cui
0c8733bf47
Merge commit 'fd85df3d7f1c4904b9efd2066af230957b6c468b' into worktree/pr344-retarget-stack
2026-07-24 19:32:53 +08:00
Tianyi Cui
86d16d15b6
Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master
2026-07-24 19:32:25 +08:00
Tianyi Cui
fe84b446b0
Merge pull request #584 from deepseek-harness/worktree/fix-python-sdk-nested-subagent-notifications
...
fix(python-sdk): track recursive subagent notifications
2026-07-24 19:30:48 +08:00
Tianyi Cui
a229b095d6
Merge branch 'master' into fix/goal-completion-strict-fields
2026-07-24 19:19:57 +08:00
Tianyi Cui
e14bac2692
Merge branch 'master' into worktree/fix-python-sdk-nested-subagent-notifications
2026-07-24 19:17:03 +08:00
Tianyi Cui
1731243fa0
Merge branch 'master' into feat/send-unify
2026-07-24 19:13:11 +08:00
Tianyi Cui
e51ba79e53
Merge remote-tracking branch 'origin/docs/i18n-batch-cds-postmortem' into worktree/pr345-retarget-stack
2026-07-24 19:06:12 +08:00
Tianyi Cui
40ebf2e97f
Merge remote-tracking branch 'origin/docs/i18n-batch-core' into worktree/pr344-retarget-stack
2026-07-24 19:05:26 +08:00
Tianyi Cui
572352fa0f
Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master
2026-07-24 19:01:57 +08:00
Turtle
8975f12272
Merge pull request #593 from deepseek-harness/feat/examples-third-party-llm-docs
...
chore(examples): declare @deepseek-ai/dsh-llm-pi-ai as an example dep
2026-07-24 18:54:33 +08:00
Turtle
e525b68106
Merge branch 'master' into feat/examples-third-party-llm-docs
2026-07-24 18:48:01 +08:00
Tianyi Cui
1769fae588
Merge remote-tracking branch 'origin/docs/i18n-batch-cds-postmortem' into worktree/pr345-retarget-stack
2026-07-24 18:38:52 +08:00
Tianyi Cui
b65421431b
docs(i18n): complete Agent Note translation fidelity
2026-07-24 18:38:27 +08:00
Tianyi Cui
6865b861d8
docs(site): preserve translated core fragment ids
2026-07-24 18:32:31 +08:00
_Kerman
fb0ef82aa6
Merge remote-tracking branch 'origin/feat/send-unify' into xtr/agent-loop-message-machine
...
# Conflicts:
# packages/client/runtime/src/client/sessions/fold-adapter.ts
2026-07-24 18:24:28 +08:00
_Kerman
879bc71864
refactor(agent): require explicit send options
2026-07-24 18:23:24 +08:00
Tianyi Cui
cf1fcd6871
Merge remote-tracking branch 'origin/docs/i18n-batch-cds-postmortem' into worktree/pr345-retarget-stack
2026-07-24 18:12:45 +08:00
Tianyi Cui
da3c12e548
docs(i18n): clarify subagent shutdown escalation
2026-07-24 18:12:16 +08:00
Tianyi Cui
ac93d00541
docs(site): publish translated core data pages
2026-07-24 18:07:56 +08:00
_Kerman
b56628ced7
refactor(agent-loop): clarify pending message flow
2026-07-24 17:55:08 +08:00
Tianyi Cui
da01b91c63
Merge refreshed #344 into docs/i18n-batch-rfc
2026-07-24 17:42:04 +08:00
Tianyi Cui
b7a8a97034
Merge refreshed #343 into docs/i18n-batch-cds-postmortem
2026-07-24 17:39:54 +08:00
Tianyi Cui
0191a014dd
docs(i18n): preserve authority constraints
2026-07-24 17:39:22 +08:00
Tianyi Cui
305930712b
docs(i18n): bind authority terminology
2026-07-24 17:39:11 +08:00