Files
DeepSeek-Reasonix/internal/planmode
SivanCola 36852da4dc refactor: align sessions with DSH ownership / 对齐 DSH 会话所有权与持久化机制 (#10241)
Problem: session state, cancellation, persistence, and client binding ownership overlapped, allowing hung turns, unsafe runtime disposal, divergent imported histories, and expensive cold listings.

Root cause: execution state depended on legacy transcript mirrors and shared Controller lifecycles. Watcher teardown and test fixtures also retained resources across shutdown.

Fix: use typed in-memory session events, separate write-behind persistence with fixed 200 ms batching and semantic checkpoints, host-owned runtime bindings, unified frozen import into v3.1, and bounded catalog metadata queries. Preserve permissions and file observations while removing todo completion gates. Correct watcher shutdown, immutable binding comparison, and Windows fixture ownership.

Verification: all 39 successful checks and 5 explicit skips on af67e0a7a2dfd963fe1e42267e882643cab3ea6b; required checks pass, all review threads resolved, and no newly introduced CodeQL alerts. The four remaining repository alerts also exist on the unchanged base. Packaging and signing remain release-stage work.
2026-09-14 03:16:47 +08:00
..