Tianyi Cui
dd15a5d066
test(ptc): cover provider unload during policy cleanup
...
Hold cleanup of an older retained process while a newer call is waiting, then unload the provider. Require the pending call to reject after disposal without starting another process.
Validation: 305 focused tests passed, one skipped; persistent.ts, index.ts, and policy-processes.ts have 100% statements, branches, functions, and lines. Removing the shutdown guard makes the new regression fail.
2026-10-10 22:39:34 +08:00
Tianyi Cui
9d385cd0d9
Merge master into persistent PTC
...
Preserve the persistent runtime package description with master's alpha.2 version and locale exports. Refresh the two PTC prompt snapshots for the current plan-tool result type.
Validation: full build, 434 focused tests (one skipped), two built-runtime tests, two selected snapshots, package metadata, and all 43 doc-sync checks passed.
2026-10-10 21:55:44 +08:00
Ziya and ZiyaZhang
c7d61ecc11
fix(i18n): 补充内置插件中文文案并精简清单展示 ( #5506 )
...
* fix(i18n): add Chinese names and descriptions for built-in plugins
* fix(i18n): keep built-in plugin localization metadata-only
---------
Co-authored-by: ZiyaZhang <[email protected] >
2026-10-09 17:18:26 +00:00
Tianyi Cui
b9863a9e28
fix(ptc): cancel pending runs when Session policy changes
...
Register calls before awaiting prior process cleanup. Carry policy cancellation into both Node execution modes and retain each admission until its call settles. Track persistent calls during provider disposal as well.
Cover unchanged-mode temporary escalation and policy changes that return to the original mode while cleanup is pending. Document the admission guarantee.
Validation: 308 focused tests passed, one skipped; both changed source files have 100% coverage. Two built-runtime smokes, two selected Session snapshots, all 43 doc-sync gates, and typed lint passed.
2026-10-09 16:43:56 +08:00
Tianyi Cui
70d443903c
test(ptc): reproduce policy changes before process launch
...
Add a parameterized admission regression for per-call and persistent-in-memory execution. Change the Session policy synchronously after submitting the runtime call and require cancellation before spawn.
The two new cases intentionally fail on the reviewed PR #5035 head: execution succeeds with danger-full-access after the Session becomes read-only. The 47 existing host-protocol and policy-process tests pass. No production changes.
2026-10-09 16:10:40 +08:00
07akioni
e2c410ef84
release(dsh): 0.2.1-alpha.2
2026-10-09 15:13:40 +08:00
creatixchu
99f5750092
docs(ptc): use explicit launch configuration in persistent setup
2026-10-09 15:10:40 +08:00
creatixchu
42cf8c5ee0
Merge remote-tracking branch 'origin/master' into codex/ptc-review-policy
...
# Conflicts:
# apps/desktop/tests/ptc-runtime.spec.ts
# docs/config-catalog.md
# docs/config-catalog.zh.md
# packages/ptc-runtime/ptc-runtime-node/README.i18n.yaml
# packages/ptc-runtime/ptc-runtime-node/README.md
# packages/ptc-runtime/ptc-runtime-node/README.zh.md
# packages/ptc-runtime/ptc-runtime-node/src/index.ts
# packages/ptc-runtime/ptc-runtime-node/src/launch.ts
# packages/ptc-runtime/ptc-runtime-node/tests/launch.spec.ts
2026-10-09 15:10:13 +08:00
creatixchu
f6251a2dbf
test(ptc): remove awaits from synchronous permission callers
2026-10-09 15:08:06 +08:00
creatixchu
9b9630e6d8
fix(ptc): preserve standalone runtime composition
2026-10-09 15:07:42 +08:00
creatixchu
31783b2845
test(ptc): align policy cleanup fixtures with typed APIs
2026-10-09 15:04:17 +08:00
creatixchu
4138fd1912
fix(ptc): simplify registered cleanup settlement
2026-10-09 15:02:58 +08:00
creatixchu
244ca73755
fix(ptc): keep policy cleanup waits inside PTC
2026-10-09 15:02:01 +08:00
creatixchu
046d722c14
fix(ptc): preserve caller context across process control callbacks
2026-10-08 17:45:18 +08:00
creatixchu
87013959f8
test(ptc): pin cancellation replay and resource cleanup branches
2026-10-08 17:25:50 +08:00
creatixchu
ee15e104d2
test(ptc): verify cleanup recovery and scoped execution admission
2026-10-08 17:10:55 +08:00
creatixchu
209684aaae
fix(ptc): retain per-call cleanup until process exit is observed
2026-10-08 17:05:07 +08:00
creatixchu
49f7919762
test(ptc): cover policy changes during nested tool execution
2026-10-08 16:55:32 +08:00
creatixchu
6885d662d2
refactor(ptc): move mode-change coordination into sandbox policy
2026-10-08 16:43:00 +08:00
creatixchu
e9a0e41aa0
test(ptc): cover sandbox launch failures and refresh retained execution snapshot
2026-10-08 15:09:25 +08:00
Yichen Jiang
facdc69808
Merge remote-tracking branch 'origin/master' into worktree/ssh-helper-binaries
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/module-graph.i18n.yaml
# docs/module-graph.md
# docs/module-graph.zh.md
# docs/subsystems/ssh.i18n.yaml
# package.json
# packages/ptc-runtime/ptc-runtime-node/README.i18n.yaml
# packages/ssh/README.i18n.yaml
# packages/ssh/ssh/README.i18n.yaml
# packages/ssh/ssh/package.json
# pnpm-lock.yaml
# scripts/build-exe-for-python-sdk.ts
# scripts/verify-package-readme-model-experience.ts
2026-10-08 15:06:19 +08:00
creatixchu
80b42178c5
fix(ptc): keep admission closed through owner disposal
2026-10-08 15:05:04 +08:00
creatixchu
6a6105dc1b
fix(ptc): preserve tool execution identity during cancellation
2026-10-08 14:59:28 +08:00
creatixchu
e3a92c9de5
fix(ptc): confine persistent memory and isolate temporary approvals
2026-10-08 14:57:36 +08:00
creatixchu
bc2bd61f6f
Merge master into feat/persistent-ptc
2026-10-08 14:17:51 +08:00
Tianyi Cui
ec48669f48
release(dsh): 0.2.1-alpha.1
2026-10-03 10:46:11 +08:00
Turtle
f028f25667
refactor: remove runtime invariant plugins
...
Delete @deepseek-ai/dsh-invariants, every package's ./invariant companion
and its tests, the invariant gates and Vitest setup, the scoped-event
resolver generator, and the INVARIANT-coded listener rethrow paths.
Update docs, READMEs, Agent Notes, and add an upgrade guide.
2026-09-30 12:52:18 +08:00
creatixchu
fcecd8e37b
merge: update persistent PTC to the current release base
2026-09-29 19:45:45 +08:00
imccyu
c1b47e41fc
release(dsh): 0.2.0-rc.2
2026-09-29 16:40:57 +08:00
imccyu
4878cdabd8
release(dsh): 0.2.0-rc.1 ( #5387 )
2026-09-28 19:48:10 +08:00
creatixchu
219d664ad5
test(ptc): wait for concurrent releases of the same owner
2026-09-28 16:27:46 +08:00
creatixchu
bcd1e66141
fix(ptc): reserve owners through explicit environment release
2026-09-28 16:27:15 +08:00
creatixchu
6fe4bf04fc
fix(ptc): retain idle process cleanup until it settles
2026-09-28 16:24:05 +08:00
creatixchu
02c12b5a38
test(ptc): refresh runtime-owned execution instructions
2026-09-28 16:16:20 +08:00
creatixchu
bf95e3a74b
fix(ptc): preserve policy and evaluation lifecycle across memory runs
2026-09-28 16:08:45 +08:00
creatixchu
faf41c6cd7
test(ptc): validate raw mode values at the schema parser
2026-09-28 15:31:34 +08:00
creatixchu
7c05445810
test(ptc): reload execution modes through the provider fiber
2026-09-28 15:29:57 +08:00
creatixchu
30b193b38a
feat(ptc): select Node state retention through executionMode
2026-09-28 15:27:39 +08:00
creatixchu
10d4193663
test(ptc): cover cleanup and cancellation after idle process exit
2026-09-25 13:54:03 +08:00
creatixchu
bf84ab113f
docs(ptc): specify retained evaluation and release behavior
2026-09-25 13:49:05 +08:00
creatixchu
065963128c
test(ptc): pin implicit globals and completed callback errors
2026-09-25 13:40:12 +08:00
creatixchu
01aeea93f2
fix(ptc): reject dispatch to an exited retained process
2026-09-25 13:34:23 +08:00
creatixchu
5a2bb185ab
fix(ptc): refresh retained binding error descriptors
2026-09-25 13:15:17 +08:00
creatixchu
1c29ff0598
fix(ptc): await every retained environment during unload
2026-09-25 13:11:00 +08:00
creatixchu
d256be165c
fix(ptc): return bounded parse-overflow cleanup failures
2026-09-25 13:04:16 +08:00
creatixchu
d3ab674dcd
test(ptc): pin syntax rejection before REPL startup
2026-09-25 12:47:36 +08:00
creatixchu
0b26294635
test(ptc): keep process identity diagnostics free of environment data
2026-09-25 12:43:09 +08:00
creatixchu
9d6a9e28b5
fix(ptc): isolate the REPL process binding
2026-09-25 12:40:48 +08:00
creatixchu
a340ecfd31
Merge master into persistent PTC
2026-09-25 11:52:21 +08:00
creatixchu
0309d22520
docs(ptc): clarify raw subprocess output attribution
2026-09-24 23:01:33 +08:00