Skip to content
Changelog
weeklySep 7, 2026 – Sep 20, 2026

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

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).
  • Turns can now take per-turn tool directives and a lower step cap (details).
  • Approvals pending at checkpoint time now survive a process restart (details).

Turn lifecycle (@pleach/core)

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

Skills and prompts (@pleach/core)

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

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

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).
  • Attestation checks now tell a malformed record from one using an algorithm the verifier doesn't know; both still fail (details).
  • An aborted turn now leaves a durable turn.aborted event you can query (details).

Compliance (@pleach/compliance)

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

Replay (@pleach/replay)

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

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

Command line

  • Breaking: bare npx pleach now opens the terminal UI instead of the init wizard (details).

Docs site

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