imccyu
211e6939e3
Revert "Merge pull request #2698 from deepseek-harness/xtr/session-format-migration"
...
This reverts commit 4b592eb90df20dc53dd12215921d5a9137214777, reversing
changes made to d15d3275d905e4d21229cd70a074388a428189d1.
2026-08-25 15:30:10 +08:00
_Kerman
d385dfb3e3
Merge remote-tracking branch 'github/master' into xtr/session-format-migration
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# packages/session/session-persistence-jsonl/src/index.ts
# packages/session/session-persistence/src/coordinator.ts
# packages/session/session-persistence/src/index.ts
2026-08-25 12:41:23 +08:00
imccyu
7fb2ca07e4
feat(session-query): add shared projected observations
2026-08-25 06:06:03 +08:00
imccyu
7f4cdc809c
refactor(session-persistence): add borrowable prepared sessions
2026-08-25 06:05:50 +08:00
Tianyi Cui
10ba26dcf7
test(sqlite): decouple retry pacing from setup time
2026-08-24 23:06:05 +08:00
Tianyi Cui
3b090c3c1b
fix(test): declare Loader fixture dependencies
2026-08-24 22:02:44 +08:00
Tianyi Cui
4125514a08
refactor(repo): retire top-level examples
2026-08-24 22:02:44 +08:00
Turtle
528815dd1e
Merge pull request #2860 from deepseek-harness/turtle/warn-torn-jsonl-recovery
...
fix(jsonl): warn when repairing torn tails
2026-08-24 11:15:05 +08:00
_Kerman
04abeddd3e
Merge origin/master into xtr/session-format-migration
2026-08-24 10:31:05 +08:00
imccyu
e47c897f5f
refactor(session): localize token delta detection
2026-08-23 23:29:38 +08:00
imccyu
d26acfa2e3
refactor(session): move APIs into Session Controller
2026-08-23 16:16:02 +08:00
Tianyi Cui
9c7e142f79
refactor(session): send canonical events directly
2026-08-23 00:22:41 +08:00
Tianyi Cui
3c0da7bef7
refactor(session): name delivery acceptance event
2026-08-22 23:18:13 +08:00
Tianyi Cui
1c7af99c80
feat(deepseek): apply session upload review feedback
2026-08-22 22:55:02 +08:00
Tianyi Cui
fe72ab42d1
feat(deepseek): upload incremental session logs
2026-08-22 22:55:02 +08:00
_Kerman
65295d5b68
docs(session): refresh persistence pairing record
2026-08-22 21:51:49 +08:00
_Kerman
2ba721f799
Merge github/master into xtr/session-format-migration
2026-08-22 21:51:30 +08:00
Tianyi Cui
17f85bdbcd
docs: trim CoT leakage from post-purge prose
...
Remove dead design-session citations, change narration, indexical
stamps, and review-adjacent justification found by the
dsh-trim-cot-leakage recall batteries in prose that landed after the
last purge. Bilingual README pairs are re-recorded.
2026-08-22 20:35:11 +08:00
Tianyi Cui
c1764157e7
Merge origin/master into worktree/acp-v1-control
2026-08-22 18:52:58 +08:00
Tianyi Cui
511181684c
feat(acp): complete standard v1 automation controls
2026-08-22 18:52:27 +08:00
_Kerman
421a577b1c
Merge remote-tracking branch 'origin/master' into xtr/session-format-migration
...
# Conflicts:
# .agents/notes/implemented/architecture/2026-08-10-session-log-version-mechanism.i18n.yaml
# .agents/notes/implemented/architecture/2026-08-10-session-log-version-mechanism.md
# .agents/notes/implemented/architecture/2026-08-10-session-log-version-mechanism.zh.md
# docs/subsystems/persistence.i18n.yaml
# docs/subsystems/persistence.md
# docs/subsystems/persistence.zh.md
# packages/session/session-persistence-jsonl/src/format.ts
# packages/session/session-persistence/src/coordinator.ts
2026-08-22 16:01:15 +08:00
Tianyi Cui
d72ff1f49a
docs: harden chain-of-thought leakage audits
2026-08-22 13:39:00 +08:00
Tianyi Cui
934976732d
docs: purge residual chain-of-thought leakage
2026-08-22 13:10:23 +08:00
Turtle
6b3e971805
docs: remove implementation narration from prose
2026-08-21 22:22:23 +08:00
_Kerman
95ed302c9c
fix(session): remove unreachable listing branch
2026-08-21 22:08:53 +08:00
imccyu
aa6c361a97
release(dsh): 0.1.1-rc.2
2026-08-21 19:48:58 +08:00
_Kerman
7e3d5332dc
fix(session): address migration review feedback
2026-08-21 17:48:45 +08:00
_Kerman
8cf2445f11
Merge remote-tracking branch 'origin/master' into xtr/session-format-migration
...
# Conflicts:
# .agents/notes/implemented/architecture/2026-06-14-session-persistence.i18n.yaml
# .agents/notes/implemented/architecture/2026-06-14-session-persistence.zh.md
# docs/config-catalog.i18n.yaml
# docs/subsystems/persistence.i18n.yaml
# docs/subsystems/persistence.md
# docs/subsystems/persistence.zh.md
# packages/session/session-persistence-jsonl/README.i18n.yaml
# packages/session/session-persistence/README.i18n.yaml
# packages/session/session-persistence/README.zh.md
2026-08-21 15:55:20 +08:00
_Kerman
2da00047f3
refactor(session-persistence): make format migrations one-to-one
2026-08-21 15:50:30 +08:00
imccyu
3ec5e8f8c4
release(dsh): 0.1.1-rc.1
2026-08-21 14:11:09 +08:00
Turtle
d97e398383
fix(jsonl): warn when repairing torn tails
2026-08-21 13:44:35 +08:00
pku-xht
84cbec28e9
Merge remote-tracking branch 'origin/master' into codex/localized-chinese-doc-links
...
# Conflicts:
# .agents/notes/implemented/architecture/2026-06-11-content-block-vocabulary.i18n.yaml
# .agents/notes/implemented/architecture/2026-06-11-content-block-vocabulary.zh.md
# .agents/notes/implemented/architecture/2026-06-18-shared-persistence-write-coordinator.i18n.yaml
# .agents/notes/implemented/architecture/2026-07-10-single-file-executable-sdk-runtime-distribution.i18n.yaml
# .agents/notes/implemented/architecture/2026-07-10-single-file-executable-sdk-runtime-distribution.zh.md
# .agents/notes/implemented/bug-fix/2026-07-29-pnpm-setup-runner-isolation.i18n.yaml
# .agents/notes/implemented/bug-fix/2026-07-29-pnpm-setup-runner-isolation.zh.md
# .agents/notes/implemented/bug-fix/2026-08-18-request-image-payload-bound.i18n.yaml
# .agents/notes/implemented/bug-fix/2026-08-18-request-image-payload-bound.zh.md
# .agents/notes/implemented/feature/2026-07-06-sandbox.i18n.yaml
# .agents/notes/implemented/feature/2026-07-06-sandbox.zh.md
# .agents/notes/implemented/feature/2026-07-16-persistent-pty-sessions.i18n.yaml
# .agents/notes/implemented/feature/2026-07-21-cross-session-references.i18n.yaml
# .agents/notes/implemented/feature/2026-07-21-cross-session-references.zh.md
# .agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.i18n.yaml
# .agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.zh.md
# .agents/notes/implemented/feature/2026-07-27-web-subagent-conversations.i18n.yaml
# .agents/notes/implemented/feature/2026-07-31-permission-default-for-new-sessions.i18n.yaml
# .agents/notes/implemented/feature/2026-08-03-web-search-source-scroll.i18n.yaml
# .agents/notes/implemented/feature/2026-08-03-web-search-source-scroll.zh.md
# .agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml
# .agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md
# .agents/notes/implemented/feature/2026-08-05-agent-teams.i18n.yaml
# .agents/notes/implemented/feature/2026-08-05-agent-teams.zh.md
# .agents/notes/implemented/feature/2026-08-11-workspace-sidebar-order-and-folding.i18n.yaml
# .agents/notes/implemented/feature/2026-08-15-product-subagent-noninteractive-permissions.i18n.yaml
# .agents/notes/implemented/process/2026-07-21-serial-cross-platform-ci-reference.i18n.yaml
# .agents/notes/implemented/process/2026-07-21-serial-cross-platform-ci-reference.zh.md
# .agents/notes/implemented/process/2026-07-22-evidence-based-larger-hosted-runners.i18n.yaml
# .agents/notes/implemented/process/2026-07-22-evidence-based-larger-hosted-runners.zh.md
# .agents/notes/implemented/process/2026-07-23-portable-required-pull-request-ci.i18n.yaml
# .agents/notes/implemented/process/2026-07-23-portable-required-pull-request-ci.zh.md
# .agents/notes/implemented/testing/2026-07-24-web-gui-browser-e2e-lane.i18n.yaml
# .agents/notes/implemented/testing/2026-07-24-web-gui-browser-e2e-lane.zh.md
# .agents/notes/implemented/testing/2026-07-30-web-browser-snapshot-ci-gate.i18n.yaml
# .agents/notes/implemented/testing/2026-07-30-web-browser-snapshot-ci-gate.zh.md
# .agents/notes/proposed/architecture/2026-07-27-session-projection-and-command-log.i18n.yaml
# README.i18n.yaml
# README.zh.md
# docs/architecture.i18n.yaml
# docs/architecture.zh.md
# docs/development.i18n.yaml
# docs/development.zh.md
# docs/persistence-catalog.i18n.yaml
# docs/persistence-catalog.zh.md
# docs/subsystems/README.i18n.yaml
# docs/subsystems/README.zh.md
# docs/subsystems/agent-team.i18n.yaml
# docs/subsystems/agent-team.zh.md
# docs/subsystems/client-modules.i18n.yaml
# docs/subsystems/client-modules.zh.md
# docs/subsystems/commands.i18n.yaml
# docs/subsystems/commands.zh.md
# docs/subsystems/persistence.i18n.yaml
# docs/subsystems/persistence.zh.md
# docs/subsystems/session-reference.i18n.yaml
# docs/tool-catalog.i18n.yaml
# docs/tool-catalog.zh.md
# docs/user/guide/providers.i18n.yaml
# docs/user/guide/providers.zh.md
# packages/README.i18n.yaml
# packages/README.zh.md
# packages/bundle/web-app/README.i18n.yaml
# packages/bundle/web-app/README.zh.md
# packages/client/README.i18n.yaml
# packages/client/README.zh.md
# packages/client/connection/README.i18n.yaml
# packages/client/connection/README.zh.md
# packages/client/ui-conversation/README.i18n.yaml
# packages/client/ui-conversation/README.zh.md
# packages/client/ui-primitives/README.i18n.yaml
# packages/client/ui-primitives/README.zh.md
# packages/client/ui-sidebar/README.i18n.yaml
# packages/client/ui-sidebar/README.zh.md
# packages/client/ui-workspace/README.i18n.yaml
# packages/client/ui-workspace/README.zh.md
# packages/context/README.i18n.yaml
# packages/context/README.zh.md
# packages/core/agent-loop/README.i18n.yaml
# packages/credentials/README.i18n.yaml
# packages/credentials/README.zh.md
# packages/experimental/agent-team/README.i18n.yaml
# packages/experimental/agent-team/README.zh.md
# packages/experimental/tool-agent-team/README.i18n.yaml
# packages/experimental/tool-agent-team/README.zh.md
# packages/host/frontend-static/README.i18n.yaml
# packages/host/frontend-static/README.zh.md
# packages/host/webserver/README.i18n.yaml
# packages/host/webserver/README.zh.md
# packages/interaction/commands/README.i18n.yaml
# packages/interaction/commands/README.zh.md
# packages/plan/plan-mode/README.i18n.yaml
# packages/plan/plan-mode/README.zh.md
# packages/sandbox/sandbox-local/README.i18n.yaml
# packages/sandbox/sandbox-local/README.zh.md
# packages/session/README.i18n.yaml
# packages/session/README.zh.md
# packages/session/session-persistence-sqlite/README.i18n.yaml
# packages/session/session-persistence-sqlite/README.zh.md
# packages/session/session-projection-cache/README.i18n.yaml
# packages/session/session-projection-cache/README.zh.md
# packages/shell/tool-pwsh/README.i18n.yaml
# packages/shell/tool-pwsh/README.zh.md
# packages/subagent/subagent-codex/README.i18n.yaml
# packages/subagent/subagent-codex/README.zh.md
# packages/subagent/subagent/README.i18n.yaml
# packages/subagent/subagent/README.zh.md
# packages/web/tool-web/README.i18n.yaml
# packages/web/tool-web/README.zh.md
# scripts/snapshots/translation-prompt-v4/request-response.expected.json
2026-08-20 19:15:33 +08:00
_Kerman
50ad2aba19
fix(session-persistence): repair persistence CI gates
...
- document the exported SqliteStore prefix/suffix loaders (verify-export-jsdoc)
- share createStoredEventRead from session-persistence so the standalone
SQLite store stops duplicating the service helper (duplication gate)
- route replaceStored header upserts through writeRow (duplication gate)
- move replacement/conflict test SQL into closed test resources so the
SQLite SQL resource boundary test passes
2026-08-20 14:21:47 +08:00
_Kerman
83a3457b4a
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2730
2026-08-20 10:04:04 +08:00
imccyu
f1f7dc36fa
release(dsh): 0.1.0-rc.8
2026-08-19 23:00:28 +08:00
_Kerman
bb6faaf87b
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2698
2026-08-19 21:08:03 +08:00
_Kerman
270a06b38b
fix(session-persistence-jsonl): drop crash-unsafe cross-process log lock
...
The product model has no cross-process writer exclusion (the coordinator
serializes per-session operations in-process; the README documents one
live writer per session), so the wx-created .lock sibling only guarded
byte-level races while adding two failure modes: a crash leaves a stale
lock that permanently wedges that log's appends/repairs/replacements, and
a post-commit lock cleanup failure makes a committed append look failed,
so the retained write-behind batch retries into duplicate seqs.
Remove withLogLock and keep replaceStored's revision compare-and-swap at
the commit boundary (recheck immediately before the atomic rename).
2026-08-19 20:42:56 +08:00
_Kerman
e8f4315cee
fix(session): scope format registry completeness to per-session decode
...
buildStepIndex rejected the whole decoder at initialization whenever any
registered step could not reach the current version, so one retired old
upgrader blocked every session, including later versions whose path to
the current version is complete. planSteps already refuses a specific
stored version when a needed step is missing; initialization now checks
only step legality and duplicates.
2026-08-19 20:31:31 +08:00
Magolor
93b4b98ef3
feat(session): optimize SQLite persistence layout
2026-08-19 18:36:27 +08:00
Magolor
c474d28d0b
Merge pull request #2722 from deepseek-harness/agent/avoid-persistence-seed-clone
...
perf(session): 避免重复克隆持久化 seed
2026-08-19 17:58:26 +08:00
_Kerman
327b86d2ea
refactor(session-projection): checkpoint every projection unit uniformly
...
Drop the persist?: boolean opt-in: every unit's state — client-visible and
host-only alike — is now written to the projection cache. A unit can no
longer silently skip the durable cache, host-only units no longer need an
explicit flag to participate in cold restore, and the persist-sharing
conflict check disappears with the field.
- ProjectionDefinition/ErasedDefinition lose persist; register overloads
simplify; checkpoint/restoreFloor/restore fold every registered unit.
- Registry and cache tests drop the persist:true fixtures and the
persistence-policy sharing test.
- READMEs and the state-and-client-views note record the uniform rule;
cordis API catalog and subsystem signatures regenerated.
2026-08-19 16:55:10 +08:00
_Kerman
9127d7e8b7
fix(session-projection): keep host state off wire
2026-08-19 14:32:48 +08:00
Magolor
53c4a4a174
docs(session): document persistence seed ownership
2026-08-19 13:31:07 +08:00
Magolor
1c77a78d6a
perf(session): reuse immutable persistence seed
2026-08-19 13:31:07 +08:00
_Kerman
4c421ec882
refactor(session-projection): separate state from client views
2026-08-19 13:11:05 +08:00
_Kerman
44feadea05
fix(session): load legacy compact events
2026-08-19 11:15:25 +08:00
_Kerman
c4b3f48e64
fix(session): address format migration review
2026-08-19 11:07:23 +08:00
pku-xht
8d3674695b
docs(i18n): localize Chinese internal links
2026-08-18 19:00:37 +08:00
_Kerman
d4ff836dc2
refactor(session-persistence): share stored read machinery
2026-08-18 18:06:48 +08:00
_Kerman
cc9ab200c7
feat(session): add format migration decoder pipeline
2026-08-18 17:42:40 +08:00