deepseek-harness/packages/core/session/tests
imccyu c6b552e817 refactor(web): drop the permission RPC pair and turn-anchoring machinery
The session.permissions/setPermission unary pair, the PermissionOption wire
DTO, the client Session wrappers, and the fixture/fake mirrors all leave the
wire: the read side moves to the 'permissions' session projection and the
write side moves to the /permission command in follow-up commits, so the
web protocol gains no permission methods at all.

The pendingSwitches + prompt-submit flush + hasOpenTurn move also goes.
Knob events no longer need turn enclosure: the persistence scanner keeps
standalone events after the last turn/end as part of the preserved prefix
(remove-synthetic-log-only-turns), none of the three knob invariants demand
an open turn, and the setters append bare events. An idle switch commits
immediately; hasOpenTurn stays a user-approval private fold (its audit pair
is the one contract that still requires enclosure).

The old PermissionSelect chip and its mount-time fetch die with the RPCs
(the resident composer broke the mount-once assumption); the projection-fed
replacement lands with the Access seat swap.
2026-07-28 21:35:26 +08:00
..
chunk-rows.spec.ts fix(session): break chunk runs on time gaps that cannot subtract exactly 2026-07-15 22:44:32 +08:00
derived-cache.spec.ts refactor: identify and freeze messages at creation 2026-07-28 13:55:59 +08:00
fork.spec.ts Merge remote-tracking branch 'origin/master' into xtr/identified-immutable-messages 2026-07-28 15:45:53 +08:00
gen-persistence-catalog.spec.ts docs: expand session persistence event catalog 2026-07-18 15:11:51 +08:00
invariant.spec.ts Merge remote-tracking branch 'origin/master' into xtr/identified-immutable-messages 2026-07-28 15:45:53 +08:00
json.spec.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
properties.spec.ts refactor: identify and freeze messages at creation 2026-07-28 13:55:59 +08:00
repair.spec.ts refactor: identify and freeze messages at creation 2026-07-28 13:55:59 +08:00
request-header.spec.ts refactor: identify and freeze messages at creation 2026-07-28 13:55:59 +08:00
scoped.spec.ts refactor(core): simplify scoped agent lifecycles 2026-07-12 22:36:04 +08:00
session.spec.ts refactor(web): drop the permission RPC pair and turn-anchoring machinery 2026-07-28 21:35:26 +08:00
surface.spec.ts fix: preserve message occurrence contracts 2026-07-28 14:44:15 +08:00