Skip to content
Changelog
weeklyNov 15, 2026 – Nov 21, 2026

The audit ledger now fails closed when a row isn't stored

Turns fail closed when their audit row isn't stored, approved config changes go on the chain, and several breaking changes reach hosts.

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

The audit record got stricter: a turn or gateway call now ends as failed when its audit row can't be stored, and a configuration change can be traced to the people who approved it. Developers should read the breaking items, and compliance reviewers should read the audit section.

Audit and record-keeping (@pleach/core)

  • Breaking: a turn and a gateway call now fail closed when the audit ledger doesn't store their row within a bounded wait; see the limits (details).
  • A change approved in version control can be recorded as one chained row, linking a model call to the people who approved its configuration (details).
  • A safety block or veto now records which policy refused, and its version, on the decision row (details).

Retention and storage (@pleach/core)

  • Breaking: the event-log retention pass refuses to run until the WORM tier's disposal check, which guards permanent deletion, is installed (details).
  • Breaking: hosts now register their own scrubbable event types with registerHostScrubbableFields instead of relying on a built-in list (details).
  • A local run can keep its run records in a SQLite file with openSqliteRunRecords, writing the same rows a Postgres deployment writes (details).

Approvals and access (@pleach/core)

  • Breaking: a reviewer callback can't approve a gate for the turn's own actor unless the host sets allowSelfReview (details).
  • Breaking: listing tools that need approval now returns the tools that actually wait for it, and tools-facet implementers must add approvalCoverage (details).

Server routes and tools (@pleach/core)

  • A host can run each turn inside its own frame, such as a tracing span, with wrapTurn (details).
  • A host can choose the tools offered on each request with a getTools(ctx) hook, and the request's tool policy still applies; condenseSchemas is deprecated (details).

Redaction and errors (@pleach/core, @pleach/compliance)

  • The credential redactor reads more encoded forms, and fewer plain number lists are mistaken for card or phone numbers (details).
  • Hosts can keep their own ids and sequences out of redaction with a bounded keep-list; see the limits (details).
  • Breaking: console lines for caught errors print a redacted summary, and the opt-in sink for the original value needs its install token to replace (details).

Models and credentials (@pleach/core, @pleach/gateway)

  • Quickstart calls default to medium reasoning effort and the planner to high; each kind of call can be raised or turned off (details).
  • Breaking: the bring-your-own-key credential store gains a slot for model aggregators, which store implementers must handle (details).

Compliance pages (@pleach/compliance)

  • The SEC, FINRA and other regulatory pages now separate your firm's duties, its setup and Pleach's gaps (details).
coregatewayauditcompliancetools