Skip to content

Make session persistence and delivery checks reliable - #1

Merged
acephos merged 1 commit into
mainfrom
improvements/profile-review-2026-10
Oct 1, 2026
Merged

acephos merged 1 commit into
mainfrom
improvements/profile-review-2026-10

Conversation

@acephos

@acephos acephos commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Session writes can overwrite concurrent turns, Node 20 fails despite advertised support, and transcript phrases can satisfy delivery checks without execution. Serialize whole session mutations across local CLI processes, use unique atomic snapshots, surface corrupt/abandoned state, and replace text gates with explicitly enabled host commands and hashed receipts. HTTP adapters now support timeout/cancellation, and check timeouts terminate the child process tree.

Validation: regression coverage includes concurrent instances, duplicate spawns, failure recovery, forged transcript evidence, command failures/timeouts, corrupt state, and HTTP cancellation. Existing mock CLI tests remain. All 22 tests and TypeScript checks pass locally on Node 20 and Node 26. CI covers Node 20, 22, and 24.

Delivery-contract compatibility change: text/bare criteria and missing/empty criteria fail closed; migrate to file artifacts or reviewed command argv arrays with --run-checks. This remains a model-session MVP; documentation uses source installation and states the tool-execution boundary.

@acephos
acephos merged commit b114b71 into main Oct 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant