_Kerman
73a5e63894
fix(ptc-runtime-node): report clearing only for retained executions
2026-10-21 16:46:56 +08:00
_Kerman
6085b6fb62
Merge latest master into xtr/ptc-vm-script
2026-10-21 15:12:47 +08:00
_Kerman
86fcf49a74
fix(ptc-runtime-node): validate Script evaluation and process lifecycle
2026-10-21 11:12:33 +08:00
_Kerman
427d62d4a7
fix(ptc-runtime-node): fail fast on mismatched bootstraps and late replies
...
- Reject a control line that does not start with "{", so another
release's length-prefixed frame fails as a protocol error instead of
waiting for a newline until the deadline.
- Bump SSH_PROTOCOL_VERSION to 3: executable helpers embed the PTC
worker, so an older helper is now rejected while connecting.
- Send a small error instead of a late binding result from a finished
persistent evaluation, so it cannot overflow the pipe shared with
the next evaluation.
- Leave per-call binding waits pending after the result instead of
rejecting them; unawaited calls crashed the child and leaked the
trace into the result logs.
- Pin birpc to 4.2.0 so the host and the bundled child agree, and
regenerate THIRD_PARTY_NOTICES.md.
- Update stale frame wording.
2026-10-20 16:06:50 +08:00
Tianyi Cui
64ece4cac1
fix(sandbox): reject redirected and unsupported write grants
2026-10-18 11:10:00 +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
6885d662d2
refactor(ptc): move mode-change coordination into sandbox policy
2026-10-08 16:43:00 +08:00
creatixchu
e3a92c9de5
fix(ptc): confine persistent memory and isolate temporary approvals
2026-10-08 14:57:36 +08:00
creatixchu
bf95e3a74b
fix(ptc): preserve policy and evaluation lifecycle across memory runs
2026-09-28 16:08:45 +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
065963128c
test(ptc): pin implicit globals and completed callback errors
2026-09-25 13:40:12 +08:00
creatixchu
5a2bb185ab
fix(ptc): refresh retained binding error descriptors
2026-09-25 13:15:17 +08:00
creatixchu
d3ab674dcd
test(ptc): pin syntax rejection before REPL startup
2026-09-25 12:47:36 +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
creatixchu
bd2ed0ce61
test(ptc): exercise ownerless requests without explicit undefined fields
2026-09-23 16:45:21 +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