Turtle
bec6805d6a
refactor(session-persistence)!: handle-based seam with a lifecycle-owned write path
...
The persistence seam is now create/open/stat/list returning per-session
SessionHandles (read/append/flush/close); every log read and write flows
through the owning handle. The seam package exports only the service and
handle contracts, consumer-visible errors, and pure durable-data
validation helpers; each backend owns its complete storage runtime, and
the shared contract suites pin equivalent observable behavior. The
backend routes published sessions' live events by id into the active
write handle; agent-loop only acquires, seeds, and closes the handle.
Resume appends interruptedTurnClosers through its write handle;
session-query owns the revision-keyed cold cache. Legacy-only surfaces
are removed in the same swap: locate/readRaw/supportsRawArtifacts, the
legacy event-shape read migration, zstd torn-frame salvage,
DSH_SESSION_JSONL, and hook transcript_path population; a torn final
zstd frame is discarded whole; the session-list cold blank probe returns
on stat metadata (eventCount derived from the last physical row,
sizeBytes). The WebUI ZIP export serializes the logical log from a read
handle, so both backends export identically.
Refs #3245
2026-09-01 23:19:02 +08:00
Tianyi Cui
27bf1039db
refactor(session)!: distinguish event seqs from log offsets
2026-09-01 20:36:00 +08:00
Dudu-0223
4093ce465b
Merge remote-tracking branch 'origin/master' into feat/3220-steer-service
2026-09-01 13:46:35 +08:00
Turtle
b8e3b32fcf
Merge master into codex/omit-unneeded-invariants
2026-08-31 14:38:55 +08:00
creatixchu
6516fbcde8
Merge origin/master into worktree/steer-followup-images
2026-08-31 10:37:39 +08:00
Dudu-0223
5b91cdbf8b
Merge remote-tracking branch 'origin/master' into feat/3220-steer-service
2026-08-30 16:08:31 +08:00
Dudu-0223
3091bdc257
fix(subagent): address steer review findings
2026-08-30 16:08:20 +08:00
Dudu-0223
b91e7ce366
Unify adjacent Agent messaging
2026-08-30 14:14:46 +08:00
Tianyi Cui
2c6ff296af
Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events"
...
This reverts commit 2123b2f418b1c8fbb86dc327b598fb11423da226, reversing
changes made to 3c0b5c68ce697537a21084f9135663017474a2e1.
2026-08-30 12:26:20 +08:00
imccyu
795d8ec985
docs: describe runtime dependency ownership
2026-08-30 02:29:53 +08:00
imccyu
39a5a1d7e4
chore(docs): regenerate catalogs, graphs, and the message-feedback golden
...
- gen-cordis-catalog / gen-cordis-inspect-catalog / gen-client-catalog /
gen-config-catalog / gen-doc-graphs / gen-module-graph outputs pick up
the converged Remote vocabulary (gateway/* codes, RemoteError JSDoc)
and the dsh-util-time package; the zh sides of the three
English-generated pages follow the same line-number shifts.
- the message-feedback protocol golden records the accepted wire
change: a boundary-validation failure now reports
gateway/input-invalid with structured details instead of a bare
internal code.
2026-08-28 22:37:42 +08:00
creatixchu
3b2e5105e6
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-28 15:19:28 +08:00
Turtle
15f2997bcb
cleanup: omit unneeded invariant companions
2026-08-28 13:12:52 +08:00
_Kerman
25b0c943ce
Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
...
# Conflicts:
# .agents/notes/implemented/architecture/2026-08-04-draft-provider-endpoint-interrogation.i18n.yaml
# .agents/notes/implemented/architecture/2026-08-04-draft-provider-endpoint-interrogation.md
# .agents/notes/implemented/architecture/2026-08-04-draft-provider-endpoint-interrogation.zh.md
# .agents/notes/implemented/feature/2026-08-06-continuable-subagent-interrupt.i18n.yaml
# .agents/notes/implemented/feature/2026-08-06-continuable-subagent-interrupt.md
# .agents/notes/implemented/feature/2026-08-06-continuable-subagent-interrupt.zh.md
# .agents/notes/implemented/process/2026-07-20-gui-testing-system.i18n.yaml
# .agents/notes/implemented/process/2026-07-20-gui-testing-system.md
# .agents/notes/implemented/process/2026-07-20-gui-testing-system.zh.md
2026-08-28 10:59:30 +08:00
creatixchu
878857a5f2
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-28 10:35:50 +08:00
Dudu-0223
ec493c2db8
feat(subagent): unify adjacent agent delivery on steer
2026-08-28 01:04:46 +08:00
_Kerman
13c1541c63
Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
...
# Conflicts:
# docs/module-graph.i18n.yaml
# docs/module-graph.md
# docs/module-graph.zh.md
# pnpm-lock.yaml
2026-08-27 23:18:55 +08:00
Tianyi Cui
3ca9c7d489
rename code-mode to ptc (PTC mode), except session-persistent vocabulary
...
Rename the tool-presentation transport from code-mode to ptc everywhere
that is not written into session logs: the mode config value becomes 'ptc',
the preset directory/id becomes ptc, the demo becomes demo:ptc, the
dispatch waterfall becomes tools/ptc-dispatch-log (types PtcDispatch*), the
prompt rule becomes tools:ptc-only, source/test files become ptc.ts etc.,
and prose says PTC mode / PTC 模式. The session-persistent vocabulary
(durable events tool/code-dispatch*, logged plugin name tools-code-mode,
sub-call id segment :code:) intentionally stays and moves in the stacked
persistence PR, which is blocked until the SESSION_FORMAT_VERSION v0→v1
migration lands with it. run_code, its code parameter, CodeSdkLanguage,
CodeRunFailedError, the dsh-code-runtime family, third-party codex names,
and frozen archived notes keep their names.
2026-08-27 23:14:31 +08:00
creatixchu
0158adc926
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
...
# Conflicts:
# docs/event-producer-consumer.i18n.yaml
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
2026-08-27 22:33:20 +08:00
imccyu
18ae39a665
fix(api): preserve native path opening behavior
2026-08-27 21:57:58 +08:00
imccyu
160706be60
test(api): refresh Remote migration artifacts
2026-08-27 21:57:56 +08:00
creatixchu
b71d0a35ef
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-27 19:46:54 +08:00
_Kerman
4b48b2b439
Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
2026-08-27 17:18:58 +08:00
_Kerman
6717cb8d19
refactor(session): trim projection migration diff
2026-08-27 17:18:51 +08:00
_Kerman
d9c0aa1cd0
Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# packages/context/session-reference/package.json
# packages/context/session-reference/tests/session-reference.spec.ts
# packages/subagent/tool-subagent/src/index.ts
# packages/subagent/tool-subagent/src/invariant.ts
# packages/subagent/tool-subagent/src/model-selection-state.ts
# packages/subagent/tool-subagent/tests/harness.ts
# packages/subagent/tool-subagent/tests/list-models.spec.ts
# packages/subagent/tool-subagent/tests/model-selection-settings.spec.ts
# packages/subagent/tool-subagent/tests/tool-subagent.spec.ts
# pnpm-lock.yaml
2026-08-27 16:38:06 +08:00
imccyu
008ae0c01e
docs(inspector): record cross-realm architecture
2026-08-27 16:16:24 +08:00
creatixchu
381ea9fc5d
Merge branch 'master' into worktree/steer-followup-images
...
# Conflicts:
# packages/api/session-controller/src/client/contract/session.ts
2026-08-27 15:53:14 +08:00
_Kerman
eeb4ca2b87
Merge remote-tracking branch 'origin/master' into xtr/session-projection-migrations
2026-08-27 12:03:10 +08:00
creatixchu
16a7ead9ab
Merge remote-tracking branch 'origin/master' into codex/pr-3111-review
...
# Conflicts:
# scripts/ci-workflow.spec.ts
2026-08-27 10:57:27 +08:00
imccyu
0a9a9ee686
docs(api): record settings Remote migration
2026-08-27 03:00:25 +08:00
creatixchu
3031cb0e33
Merge remote-tracking branch 'origin/master' into codex/pr-3111-review
...
# Conflicts:
# packages/api/session-controller/src/client/contract/snapshot.ts
# packages/test-support/client-runtime/src/sessions.ts
2026-08-26 15:34:18 +08:00
_Kerman
81e07e3935
Merge remote-tracking branch 'origin/master' into xtr/session-projection-migrations
2026-08-26 15:15:04 +08:00
imccyu
64575de655
docs(subagent): regenerate Remote references
2026-08-26 14:52:53 +08:00
_Kerman
ef4dde9fe2
docs: reconcile projection catalogs after master merge
2026-08-26 13:51:32 +08:00
creatixchu
b22cc3e95b
Merge master and address submission echo review
2026-08-26 13:20:24 +08:00
imccyu
5752b1dc3c
docs(agent-presets): refresh @Remote migration references
2026-08-26 11:18:36 +08:00
Tianyi Cui
42dc2a46c2
refactor(session): require known event types on read
2026-08-26 00:22:31 +08:00
_Kerman
741083f03b
Merge remote-tracking branch 'origin/master' into xtr/projection-per-session-cache
2026-08-25 20:54:08 +08:00
_Kerman
d79ff0b589
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2781
2026-08-25 20:15:26 +08:00
imccyu
1ec75c9082
perf(history): retain packed records in client
2026-08-25 20:13:54 +08:00
kingwl
4f02717ebc
fix(e2e): decode packed history records
2026-08-25 20:10:50 +08:00
_Kerman
3f34c026e3
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2781
2026-08-25 20:04:32 +08:00
creatixchu
e497ea69b1
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 19:56:17 +08:00
lsdsjy
937d2b3513
feat(headless): stream reasoning progress to stderr
2026-08-25 18:51:37 +08:00
creatixchu
eea65e5275
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 15:52:17 +08:00
07akioni
61b65d3147
fix(web): show system prompts in chat
...
Render reconstructable system prompts at each request-series boundary, preserve series declarations through pre-step wrappers, and keep the presentation and replay snapshots aligned across clients.
2026-08-25 14:44:08 +08:00
creatixchu
1c065f3cd4
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
...
# Conflicts:
# apps/cli/tests/profiles/acp/image-compaction.cordis.snapshot.yml
# apps/cli/tests/profiles/acp/image-compaction.cordis.yml
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/input.json
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/session.jsonl
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/stdout.expected.jsonl
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# examples/acp-agent/tests/acp.snapshot.ts
# packages/llm/token-meter/README.i18n.yaml
# packages/llm/token-meter/README.md
# packages/llm/token-meter/README.zh.md
# packages/llm/token-meter/src/index.ts
# packages/llm/token-meter/src/surface-fold.ts
2026-08-25 11:15:35 +08:00
_Kerman
3c8b5a26a4
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2781
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/event-producer-consumer.i18n.yaml
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/subsystems/session-projection.i18n.yaml
# docs/subsystems/session-projection.md
# docs/subsystems/session-projection.zh.md
# packages/api/session-controller/src/history.ts
# packages/api/session-controller/tests/session-cold.host.spec.ts
# packages/extensions/tool-cordis/src/api-catalog.ts
# packages/session/session-projection-cache/src/index.ts
# packages/session/session-projection-cache/tests/cache.spec.ts
# packages/session/session-projection/src/index.ts
# scripts/run-gates.ts
2026-08-25 10:52:45 +08:00
imccyu
1229292497
docs(session): refresh architecture and generated contracts
2026-08-25 06:10:25 +08:00
creatixchu
9f2ba9f5aa
Merge origin/master (regenerate config catalog)
2026-08-24 19:51:16 +08:00