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
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
9b9630e6d8
fix(ptc): preserve standalone runtime composition
2026-10-09 15:07:42 +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
209684aaae
fix(ptc): retain per-call cleanup until process exit is observed
2026-10-08 17:05:07 +08:00
creatixchu
6885d662d2
refactor(ptc): move mode-change coordination into sandbox policy
2026-10-08 16:43:00 +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
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
bf95e3a74b
fix(ptc): preserve policy and evaluation lifecycle across memory runs
2026-09-28 16:08:45 +08:00
creatixchu
30b193b38a
feat(ptc): select Node state retention through executionMode
2026-09-28 15:27:39 +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
9d6a9e28b5
fix(ptc): isolate the REPL process binding
2026-09-25 12:40:48 +08:00
creatixchu
0309d22520
docs(ptc): clarify raw subprocess output attribution
2026-09-24 23:01:33 +08:00
creatixchu
9e17500315
fix(ptc): separate shared schema value from config type
2026-09-24 22:55:09 +08:00
creatixchu
6a8483ce42
fix(ptc): contain retained evaluation failures and output
2026-09-24 22:44:56 +08:00
creatixchu
75ae02da4a
fix(ptc): allow top-level await in scoped blocks
2026-09-23 20:18:49 +08:00
Yichen Jiang
d9342fcb5d
feat(ssh): package standalone POSIX helper runtimes
2026-09-23 19:16:59 +08:00
creatixchu
cff260f048
chore(ptc): align published artifacts and strict lint contracts
2026-09-23 17:12:43 +08:00
creatixchu
1393ed2e12
fix(ptc): simplify evaluation settlement and isolate published bundles
2026-09-23 17:03:04 +08:00
creatixchu
7391d06a8d
fix(ptc): preserve provider identity and self-contained published entries
2026-09-23 17:00:37 +08:00
creatixchu
e625e7a6a5
fix(ptc): report process loss consistently across exit event ordering
2026-09-23 16:58:27 +08:00
creatixchu
4fe78cb71a
fix(ptc): compose the persistent provider and share process cleanup
2026-09-23 16:55:21 +08:00
creatixchu
2859d2bb08
test(ptc): verify REPL callback ownership and scoped output
2026-09-23 16:48:26 +08:00
creatixchu
607077b985
test(ptc): cover retained state and recovery through the shipped profile
2026-09-23 16:44:48 +08:00
creatixchu
4fb14dcac6
feat(ptc): add opt-in best-effort persistent Node REPL
2026-09-23 16:41:38 +08:00
07akioni
a66d81e33f
fix(ptc): limit Electron selector to startup and budget native tests
2026-09-16 13:11:08 +08:00
07akioni
a139e6e9e1
fix(ptc): preserve Electron Node mode when launching programs
2026-09-16 12:52:50 +08:00
Tianyi Cui
34f80b8e6e
fix(workflow): close lifecycle and CI integration gaps
2026-09-13 14:47:56 +08:00
Tianyi Cui
35af8698c2
fix(workflow): execute orchestration in the sandboxed PTC runtime
2026-09-13 14:47:56 +08:00
Tianyi Cui
7c9bb5914c
refactor(ptc): align runtime packages and services with PTC naming
2026-09-12 15:03:04 +08:00