# Session routes now act only for the signed-in user (Oct 12, 2026 – Oct 18, 2026)

URL: https://www.getpleach.com/changelog/2026-10-19-session-routes-now-act-only

> Session routes are now owner-scoped, which is breaking for some hosts, tool-call arguments stream, erasure respects legal holds, and audit docs were corrected.

_Drafted by an AI agent from the package and docs commit history and reviewed by a maintainer before publishing. Each post names what it was drafted from._

_No @pleach/* package is on npm yet. Each name holds a 0.0.1 placeholder until its first release, so the code here describes the source, not an install that works today. [Package status](https://www.getpleach.com/docs/packages)._

Session routes now act only for the signed-in user, tool-call arguments now stream, and the audit, CLI and schema docs were corrected against the shipped code. Hosts with a user resolver, client authors and anyone verifying audit chains or erasure should check these changes.

## Core runtime (`@pleach/core`)

- **Breaking:** when a host supplies a user resolver, session routes act only for the signed-in user, so some hosts must migrate existing sessions ([details](/docs/api-routes#session-ownership)).
- Tool policy can only narrow what a session may call, and sub-agents inherit it as a ceiling ([details](/docs/tools#tool-policy)).
- Sub-agent spend now rolls up to the user turn at any depth ([details](/docs/subagents)).

## Streaming (`@pleach/core`)

- Tool-call arguments now stream as they are assembled, so a client can show a call before it runs ([details](/docs/stream-events#tool-calls)).
- The bundled chat clients now apply events through one exported reducer, `applyStreamEvent`, which your own client can reuse ([details](/docs/stream-events)).

## Audit ledger

- Call rows can opt in to a hash chain that makes later edits detectable; see the limits on the page ([details](/docs/hash-chain)).
- A new WORM (write-once, read-many) storage tier refuses edits and deletes; see the limits on the page ([details](/docs/worm)).
- Usage a provider never reported is now shown as unknown rather than zero ([details](/docs/auditable-call-row#unreported-usage)).

## Event log (`@pleach/core`)

- Recorded events carry no digest of prompt or answer text, and message rows record only a coarse size range ([details](/docs/changelog/core)).

## Compliance (`@pleach/compliance`)

- Attestations can now be signed through external key stores in a standard signed envelope ([details](/docs/attestation#v2-dsse-envelopes)).
- **Corrected:** audit queries now grade results valid, incomplete or tampered, and an empty result is no longer called valid ([details](/docs/audit-ledger)).
- **Corrected:** the inclusion-proof section now says what a passing check does and doesn't prove ([details](/docs/attestation)).

## Data erasure (`@pleach/compliance`)

- Erasure refuses to destroy a subject's keys while a legal hold applies, and fails closed ([details](/docs/changelog/compliance)).
- The reference key provider, `createAesGcmKekProvider`, refuses weak or malformed encryption keys ([details](/docs/compliance/gdpr-erasure)).
- **Corrected:** the erasure page now documents the shipped call and its signed receipt ([details](/docs/compliance/gdpr-erasure)).

## Command line

- **Corrected:** the CLI page now matches the shipped `pleach` binary, including the setup wizard and schema bundle options ([details](/docs/cli)).
- The local sidecar admits only the process that launched it, and a malformed tool allowlist offers no built-in tools ([details](/docs/cli)).

## Docs site

- **Corrected:** audit-row examples across the docs now match the shipped record ([details](/docs/auditable-call-row)).
- **Corrected:** landscape rows describe replay as re-serving the record and naming the first drift ([details](/docs/landscape)).
