# Safety policies can now block tool calls (Sep 7, 2026 – Sep 20, 2026)

URL: https://www.getpleach.com/changelog/2026-09-21-safety-policies-can-now-block-tool-calls

> Safety enforcement, a non-streaming run call, fail-closed redaction and keyed hash chains, plus clearer turn aborts and two breaking defaults.

_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)._

Safety policies can now block tool calls, redaction can fail closed, and two defaults changed in the CLI and replay. Developers upgrading, and anyone reviewing record-keeping guarantees, should read the **Breaking** items.

## Runtime (`@pleach/core`)

- A new non-streaming call, `runtime.run()`, returns a finished turn instead of a stream ([details](/docs/session-runtime)).
- Turns can now take per-turn tool directives and a lower step cap ([details](/docs/session-runtime)).
- Approvals pending at checkpoint time now survive a process restart ([details](/docs/interrupts)).

## Turn lifecycle (`@pleach/core`)

- Hosts can call `lastTurnAbortReason()` to tell a superseded partial turn from one that was never aborted ([details](/docs/changelog/core)).
- Failed turns now report a readable message for non-error throws, and provider rate limits are no longer reported as outages ([details](/docs/error-codes)).

## Skills and prompts (`@pleach/core`)

- Agents can save a repeatable procedure as a reusable skill mid-session, if you opt in ([details](/docs/skills)).
- Project and user-global persona files shadow each other; the first one found wins entirely ([details](/docs/heartwood)).

## Safety (`@pleach/core`)

- Safety policies can block tool calls or refuse a reply when you opt in to enforce mode; the default is unchanged ([details](/docs/safety)).

## Audit trail (`@pleach/core`)

- Hash chains can now be keyed, so rewritten rows can't be re-hashed without the key; see the limits on the page ([details](/docs/hash-chain)).
- Attestation checks now tell a malformed record from one using an algorithm the verifier doesn't know; both still fail ([details](/docs/attestation)).
- An aborted turn now leaves a durable `turn.aborted` event you can query ([details](/docs/changelog/core)).

## Compliance (`@pleach/compliance`)

- You can now make redaction fail closed, so incomplete scrubbing raises an error instead of returning partly scrubbed text ([details](/docs/compliance)).
- **Corrected:** the package doesn't add CI gates to your build; it ships a policy template and a checker ([details](/docs/compliance)).

## Replay (`@pleach/replay`)

- **Breaking:** the replay cache mode formerly called strict mode is now `log-only`, with no alias ([details](/docs/replay)).
- A forked session now keeps its parent's chat manifest even after the source checkpoint is pruned ([details](/docs/time-travel)).

## Evaluation (`@pleach/eval`)

- **Corrected:** two suite cache options were documented as working but are accepted and ignored; the page now points to the live settings ([details](/docs/eval)).

## Command line

- **Breaking:** bare `npx pleach` now opens the terminal UI instead of the init wizard ([details](/docs/cli)).

## Docs site

- A new page sets out six design rules the runtime follows and the shipped API behind each ([details](/docs/defensive-patterns)).
- **Corrected:** the query docs said every table is written by the runtime, but one is supplied by your host ([details](/docs/query)).
- **Corrected:** several graph examples could not compile and now match the real API ([details](/docs/graph)).
