Week by week
What changed in the packages and these docs each week, read from the commits. 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.
RSS: every week · by topic: core, compliance, audit, cli, docs, replay, gateway, observe, recipes, base-tools, eval, interrupts, mcp, react, sandbox, streaming, tools, attestation, install, license, routes, safety, transports
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
Turn routes now stream SSE by default, and error text is scrubbed of secrets before it leaves the runtime. Developers should check the new defaults, and compliance reviewers should read the corrections.
Server routes (@pleach/core)
- Breaking: turn routes now answer SSE unless a client asks for NDJSON, which is deprecated until its removal at 1.0 (details).
- A turn that reaches its host deadline now parks, and your app continues or stops it by token (details).
Core runtime (@pleach/core)
- Agents and routes now plan multi-step requests with an extra model call by default; pass
asyncPlanner: false to turn it off (details).
- A host can record who started each turn, and the runtime keeps that claim on the turn's record without verifying it (details).
Errors and redaction (@pleach/core)
- Error text a stream hands back is scrubbed of keys, credentials and private host names, and you can add your own names (details).
Streaming and approvals (@pleach/core)
- A denied tool call is now reported as rejected, and a failed tool ends as an error in the AI SDK stream (details).
- Raising an approval gate now writes a checkpoint, though a restarted process still can't settle it (details).
Storage and event log (@pleach/core)
- Corrected: every event reader returns rows strictly after
sinceSeq, so pass the last sequence number you hold (details).
SupabaseStore can bind a per-request owner, and a vector of the wrong width no longer fails the write (details).
- A host can record its measured clock offset on the hash chain, showing how far timestamps may drift (details).
Chat UI (@pleach/react)
- The Vercel AI SDK compatibility hook is deprecated; serve AI SDK
useChat from a Pleach turn instead (details).
Cost (@pleach/gateway)
- Corrected: a call that reads or writes the prompt cache is priced whenever the matching rate is known (details).
Audit and compliance (@pleach/compliance)
- The SEC, FINRA and Part 11 pages now separate your duties from Pleach's gaps; no grade changed (details).
- Corrected: only the holder of a gate's one-time credential can answer it, and self-review covers the actor that raised it (details).
Command line
- The CLI page documents headless output formats, exit codes, sign-in over SSH and the key map (details).
Plugin authoring
- Corrected: the plugin authoring standards are not lint-enforced; reviewers judge them (details).
corecomplianceauditclistreaming
The docs now grade SEC and FINRA recordkeeping, and the runtime tightened sub-agent limits, approval gates and audit writes. Finance compliance reviewers and developers upgrading storage drivers should read on.
Audit and compliance (@pleach/compliance)
- A new SEC and FINRA page grades Pleach's coverage of each recordkeeping topic, including for investment advisers (details).
- Corrected: the SEC and FINRA grades now match the rule text, and dropped coverage limits are back (details).
- Call rows are now sealed under the acting user's key whenever one is set, for every kind of actor (details).
Audit record and storage (@pleach/core)
- Breaking: the optional
better-sqlite3 driver moves to version 13, whose single binary works across Node versions (details).
- The Postgres event-log writers now throw when the scrubber policy drops an audit row (details).
- A subject's data key now follows its scope's key-encryption key (details).
- The optional WORM tier now covers call rows; see the limits on the page (details).
- Corrected: the SQLite event log scrubs by default, and plugins can name the scrubbable fields of their own event types (details).
Core runtime (@pleach/core)
- Per-turn model overrides and cost-router picks now stay inside the session's locked model family (details).
- Corrected: the deployment page now states the values
runtimeMode really accepts (details).
Approvals and sub-agents (@pleach/core)
- A call held at an approval gate now emits
tool.awaiting_approval and counts as started only once approved (details).
- Corrected: a pending approval survives a restart only when a later checkpoint carries it (details).
- Sub-agent executors now declare whether they enforce tool limits, and background sub-agents keep their parent's limits (details).
Server turns and React (@pleach/react)
- A new page covers
useRemoteTurn, the browser hook for turns that run on a server (details).
Recipes (@pleach/recipes)
- Breaking: the compliant chatbot refuses to start without a working audit writer or its HIPAA scrubbers (details).
Replay (@pleach/replay)
- Replay can now name the step where a recorded stock turn drifted (details).
Command line
- Corrected: the docs now run the command line as
npx @pleach/core, and DeepSeek and Google keys stream on their own (details).
Docs site
- Pages now mark packages that aren't on npm yet, and the homepage leads with audit evidence (details).
complianceauditcorereactrecipesdocs
The durable audit ledgers now make call rows tamper-evident and scrub personal data without extra setup. Auditors, approval operators, and developers upgrading core or observe should check the changes.
Audit record (@pleach/core)
- The durable audit ledgers now hash-chain call rows, so edits are detectable, and scrub personal data by default (details).
- Calls served from a provider's prompt cache are now priced at the published cache-read rate, not left unpriced (details).
- A provider stream that names no finish reason now reports
"unknown", never a clean stop, in core and the gateway (details).
Core runtime (@pleach/core)
- Breaking:
zod is now a required peer dependency, so your app and core share one instance (details).
- A long-running turn keeps its claim on its message, refusing re-sends, up to a configurable cap; see the limits on the page (details).
- The answer-sufficiency judge is now opt-in, so tool turns make one fewer model call by default (details).
Approvals and interrupts
- Corrected: a paused turn does not survive a reload or a restart (details).
- An agent server accepts an approval answer only from the turn's own stream, unless the host turns that check off (details).
Command line
- A read-only
pleach audit command reads the permission ledger and checks each permission row's signature (details).
pleach permissions lets an operator revoke an approval or erase who approved, as signed ledger rows (details).
Audit and compliance (@pleach/compliance)
- Ready-made SQLite and Postgres audit stores now read the core event log, so you needn't write one (details).
Observe (@pleach/observe)
- Breaking: ledger mode now requires both a tenant id and a session id, and throws at construction without either (details).
LangChain (@pleach/langchain)
- The event-log callback now records rows when passed in a callbacks list, and accepts the 1.x LangGraph checkpoint package (details).
Sandbox (@pleach/sandbox)
- Bubblewrap code cells run under tighter isolation, and their temporary and workspace files are capped at the size limit (details).
Tools and subagents
- A tool the session withholds is never treated as owed, even in a plan restored on resume (details).
- A subagent's workspace context can be fetched through a transport you supply (details).
maybeCondenseTools now takes one named-argument object; the positional form still works and is deprecated (details).
Docs site
- Two blog posts landed, alongside the previous weekly digest (details).
corecomplianceinterruptsclisandboxroutes
Approval gates can now hold a tool's result until a person reviews it, and chat UIs can hold an answer until the guards finish. Developers using approvals or keyless setups should check the changes, and anyone reading the license pages should note the corrections.
Core runtime (@pleach/core)
- Breaking: a route with a provider but no API key now answers with a typed error instead of a placeholder reply (details).
- A repeated message id now gets a duplicate-message error while its turn runs or after it was answered (details).
createPleachRoute now screens replies for garbled text by default and writes a fresh answer instead of sending the garbled draft (details).
Approvals and interrupts
- A gate after a tool runs lets a reviewer see the result before the model does; a denial withholds it (details).
- Only the person a turn belongs to can decide its gates, and a gate with no resolvable owner is released at once (details).
- Corrected: approval gates are production controls that fail closed, not a debug-only feature, and the page now describes how a pause really works (details).
React bindings (@pleach/react)
- An opt-in answer hold keeps a reply hidden until the turn ends, so text a guard corrects is never shown first (details).
- The hooks now keep the finished message's parts, including its tool calls, after the turn settles (details).
Stream events
- Corrected: a failed tool call can end as a completed event with a failed status, and the page now says so (details).
- Corrected: a guard's rewrite reaches a streaming client as a correction after the original text, not before it (details).
Response cache
- A runtime can now report its response cache's live counters, or nothing when caching is off (details).
License and install
- Corrected: no
@pleach/* package is published on npm yet; every name is a placeholder until its first release (details).
- Corrected: the license is fair source, not OSI-approved, and each release converts to Apache-2.0 two years after it ships (details).
Docs site
- The site now has a blog, with each post labeled when an AI agent drafted it (details).
- This weekly digest launched, with a full-content feed and one feed per tag (details).
- Corrected: hash-chain stamping is on by default everywhere the docs mention it (details).
corereactinterruptslicensedocs
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).
- Tool policy can only narrow what a session may call, and sub-agents inherit it as a ceiling (details).
- Sub-agent spend now rolls up to the user turn at any depth (details).
Streaming (@pleach/core)
- Tool-call arguments now stream as they are assembled, so a client can show a call before it runs (details).
- The bundled chat clients now apply events through one exported reducer,
applyStreamEvent, which your own client can reuse (details).
Audit ledger
- Call rows can opt in to a hash chain that makes later edits detectable; see the limits on the page (details).
- A new WORM (write-once, read-many) storage tier refuses edits and deletes; see the limits on the page (details).
- Usage a provider never reported is now shown as unknown rather than zero (details).
Event log (@pleach/core)
- Recorded events carry no digest of prompt or answer text, and message rows record only a coarse size range (details).
Compliance (@pleach/compliance)
- Attestations can now be signed through external key stores in a standard signed envelope (details).
- Corrected: audit queries now grade results valid, incomplete or tampered, and an empty result is no longer called valid (details).
- Corrected: the inclusion-proof section now says what a passing check does and doesn't prove (details).
Data erasure (@pleach/compliance)
- Erasure refuses to destroy a subject's keys while a legal hold applies, and fails closed (details).
- The reference key provider,
createAesGcmKekProvider, refuses weak or malformed encryption keys (details).
- Corrected: the erasure page now documents the shipped call and its signed receipt (details).
Command line
- Corrected: the CLI page now matches the shipped
pleach binary, including the setup wizard and schema bundle options (details).
- The local sidecar admits only the process that launched it, and a malformed tool allowlist offers no built-in tools (details).
Docs site
- Corrected: audit-row examples across the docs now match the shipped record (details).
- Corrected: landscape rows describe replay as re-serving the record and naming the first drift (details).
coreauditcomplianceclistreaming
Audit docs now cover one record per model call and an explicit marker for unknown cost, and the provider transports and MCP server gained real network and credential handling. Auditors, cost reviewers, transport users and anyone deploying to Edge servers should read on.
Core runtime (@pleach/core)
- Every model call now has its own audit record, and the current record version is documented (details).
- An unknown cost is now absent rather than zero, so code that read zero as "unpriced" should check
costOmitted instead (details).
- Breaking: Edge runtimes are no longer supported, so move Edge routes to the Node.js runtime (details).
- Server samples now import only from published entry points, so copied samples should work (details).
Turns (@pleach/core)
- A new
sameModelRetryCap option bounds same-model retries per turn, three by default, then delivers the last real answer (details).
- Stopping a turn is now a client disconnect with a declared intent, and
useChat declares it for you (details).
Provider transports
- The Bedrock, Azure OpenAI and Vertex transports can now obtain and refresh credentials themselves, using optional peer packages (details).
- Those transports keep provider authentication error bodies out of errors and let you abort a single call (details).
MCP server (@pleach/mcp)
- The SSE, Streamable HTTP and WebSocket transports now ship, and multi-tenant routing fails closed (details).
Observability (@pleach/observe)
- Observe rows treat cost as optional and list the closed set of reasons a cost can be missing (details).
- A new
@pleach/observe/resource-meter entry measures CPU, memory, event-loop and outbound-request use per scope (details).
Gateway (@pleach/gateway)
- The gateway now emits one OpenTelemetry span per routed model call (details).
- Corrected: the cost events page now shows cost as optional and says the spending ceiling stops on an unknown cost (details).
Audit and compliance (@pleach/compliance)
- Corrected: the docs overstated that audit rows can never change; the hash chain makes later edits detectable, and the limits are on the page (details).
- Corrected: the attestation manifest is signable, and stays unsigned unless a key store is configured (details).
- Corrected: replay re-serves the recorded stream and reports drift, and it doesn't promise identical output from a live model (details).
Docs site
- Corrected: comparison and landscape tables now show the month each claim was written (details).
- The homepage now leads with the tamper-evident record, and docs pages gain a skip link and clearer page landmarks (details).
coreauditobservegatewaymcptransports
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
Reading back rows recorded by @pleach/observe is now documented, @pleach/core attestations gained a standard signed envelope, and a fresh install no longer crashes. Developers installing or copying core import examples, and auditors checking attestation formats, should look.
Recorded rows (@pleach/observe)
- You can now read recorded rows back from the Memory, Postgres and Supabase destinations, with clear time-window rules (details).
- Rows now carry a short fingerprint and a record of failed key-based provider attempts, never the key itself (details).
- A conformance test kit lets you check your own destination before relying on it (details).
Audit trail (@pleach/core)
- Attestations can now ship with a standard CMS signed envelope next to the existing signature, so outside tools can check them (details).
- The hash-chain page explains a new proof construction; the default is unchanged, so existing anchors stay valid (details).
- A clean session close is now a queryable event (
session.ended), though a missing one proves nothing (details).
Core runtime (@pleach/core)
recordFeedback saves a person's feedback on an answer to both the event log and memory (details).
- Cost records no longer count streaming framing as output tokens, and they now carry tokens read from the provider's prompt cache (details).
Imports (@pleach/core)
- The subpath table now lists the newly published entries you can import from (details).
- Corrected: the graph examples and the deep-import rule named paths that don't resolve, so copied imports failed (details).
- Corrected: the docs pointed at an observability package and an audit path that don't exist; the call row lives at
@pleach/core/audit (details).
Audit and compliance (@pleach/compliance)
- Compliance checks report an unverified chain as unverified and a failed redaction as failed, never as clean (details).
Sandbox (@pleach/sandbox)
- The AWS Fargate provider now has its own import path, and the old root export still works (details).
Install
- A fresh install of
@pleach/core now completes; its install script had been crashing for every consumer (details).
- The shipped Postgres schema now includes every column the event-log writer needs, so writes from a new setup succeed (details).
- Four features load optional packages on demand, and a missing one now fails with an error that names it (details).
Terminal client
pleach tui --tune shows the tuning values this machine's ledger would derive beside the ones in force, without changing them (details).
observecoreattestationcomplianceinstallcli
The audit docs now show how to check a hash chain against its timestamped anchors, and replay's chain reader stopped flagging intact chains as tampered. Auditors and anyone running the chain on a schedule should start with the first section.
Hash chain and attestation (@pleach/core)
- The hash chain page now explains how to verify the chain against its witnessed anchors, not only its row links (details).
- The agent can now take a timestamp authority, so attestations can carry an RFC 3161 timestamp: a third party's signed proof of time (details).
- The new
runtime.evidence report shows what is configured, not what is true outside the runtime; the page lists the limits (details).
- The attestation page documents a corrected clock that reduces honest clock error but doesn't turn a claimed time into proof (details).
Replay (@pleach/replay)
- Replay's chain reader now walks rows in recorded order, so an intact chain no longer reads as tampered (details).
Core runtime (@pleach/core)
- Core's subpath list gains three entries, and deep import paths that failed for an outside install now resolve (details).
- Stopping a turn now also reaches its running sub-agents, and a stopped turn no longer sends the next queued message on its own (details).
- The
model.upgraded event is deprecated and kept only for historical rows (details).
Recipes (@pleach/recipes)
chainAnchorScheduler runs the anchor-and-verify pass once per call, replacing the version each consumer wrote by hand (details).
Access control (@pleach/rbac-contract)
- A new page documents the role-based access control type package; see its limits before treating the core adapter as enforcement (details).
Tools (@pleach/tools)
- The packages table now marks the standalone package as deprecated, since the contract lives in
@pleach/core/tools (details).
Command line
npx pleach now runs its commands when installed in your project; it had been exiting silently without doing anything (details).
- The scaffolded route no longer turns on canned demo replies in development, and the docs drop every keyless-demo recommendation (details).
Docs site
- Corrected: the versioning page said the packages had reached 1.0.0, but every
@pleach/* package is at 0.1.0 and install examples now pin it (details).
- The audit pages now tell the two ledgers apart and say who each one is for (details).
- The homepage and comparison page now describe the agent-facing surface: Markdown copies of pages, a live MCP server and an agent-skills index (details).
coreauditreplayrecipesclidocs
Replay promises less than earlier pages implied, and the runtime gained a local SQLite store and a terminal client. Anyone who described replay to an auditor should read the first section; developers should read the core and terminal sections.
Replay (@pleach/replay)
- Corrected: the docs said replay regenerates a model call exactly, but it re-serves the recorded response and reports any drift (details).
- The replay guarantee holds under a stated condition on how the graph runs; the page lists the limits (details).
Core runtime (@pleach/core)
createSqliteDurableStore keeps sessions on local disk across restarts, and its event log is a tamper-evident hash chain you can verify (details).
- Memory facts now persist on local disk and can be scoped to one project, and fact extraction saves what it extracts (details).
- Air-gapped mode now also covers agents built with
createPleachAgent and the quickstart's default provider calls (details).
- Corrected: the model resolution page listed an outdated Google fast model, and it now matches what the runtime uses (details).
Sub-agents (@pleach/core)
- A swarm tool lets an agent spawn several sub-agents at once, and the per-turn cap on delegation is now enforced (details).
- Every spawn path now records each sub-agent's parent turn and nesting depth on its audit row (details).
Tools (@pleach/base-tools)
- A new
skill_view tool lets the agent load a skill's full instructions only when it needs them (details).
Gateway (@pleach/gateway)
- The gateway page now states that it routes inside your own process, through a transport you supply (details).
Terminal client
- A terminal client now drives the runtime through a local Node sidecar, and it needs a real provider key, never faking a reply (details).
- It can resume past sessions, verify the hash chain, show sub-agent lineage and memory, and answer one message headless with
--print (details).
Audit and compliance
- The regulated-domain page now opens with the auditor's question: can a third party rebuild what the agent did from the trail alone? (details)
- It also adds the terms validation teams search for, such as computer system validation and GAMP 5 (details).
Docs site
- The homepage and onboarding pages now lead with adding Pleach to an existing agent loop, and the fresh-build path is a secondary link (details).
replaycorebase-toolsauditclidocs
The docs added reference sections for pricing, gateway failover and advanced redaction, and corrected pages that called shipped features future work. Check the Corrected items if you planned around those gaps.
Core runtime (@pleach/core)
- A new page explains how the runtime turns token usage into a cost figure (pricing).
- The fabrication page now lists the full set of stable checks for answers that claim more than the data supports (fabrication detection).
- Corrected: the CI enforcement page named an out-of-date audit row version, and it now matches the shipped one (CI enforcement).
Agent identity, approvals and tools (@pleach/core)
createFileHeartwoodLoader gives an agent a stable identity from a HEARTWOOD.md file, present from the first turn (heartwood).
- Approval requests in the audit trail now record the approval gate's provenance, including its risk and estimated cost (interrupts).
- When a requested tool is blocked, refused or fails, the final answer now says so instead of leaving it out (core changelog).
Gateway (@pleach/gateway)
- Corrected: the docs called failover and region routing future work, but both ship as experimental features (gateway).
- The gateway docs add sections on resolving which tenant a request belongs to, plus swarm cost ceilings (swarm agent).
Audit and compliance (@pleach/compliance)
- Corrected: the docs said only four redaction scrubbers ship, but health-data and model-based ones ship too (compliance).
- Corrected: the tool that walks a tree of subagent sessions for audit ships today, not later (swarm agent).
- Corrected: hash-chain verification lives in core, and replay only uses it (hash chain).
Runtime deployment
- Corrected: air-gapped deployment ships, and the runtime refuses outbound calls to hosts you haven't allowed (air-gapped deployment).
- Corrected: sandbox adapters ship inside
@pleach/sandbox rather than as separate packages (sandbox).
Evaluation and replay (@pleach/eval, @pleach/replay)
- Eval now documents bundled benchmarks and cost estimates before a run (eval).
- Replay documents cache stores on disk and remote, plus the fork API (replay).
Coding agent (@pleach/coding-agent)
- Corrected: the example listed four invented tools, and it now shows the eight shipped file tools (file tools).
Docs site
- Corrected: the adoption paths page called the brownfield runtime proposed, but it ships (adoption paths).
- Two pages that were reachable only by direct link now appear in the sidebar (install).
coregatewaycompliancereplayeval
The base tools page now documents ten more tools, and the runtime gained a per-call setting for reasoning effort. Developers adding tools, tuning model cost or grading output with a model judge should read the sections below.
Tools (@pleach/base-tools)
- Ten more tools are documented, covering web search and fetch, HTTP, code execution, files, memory and recall; most are opt-in (details).
- Memory writes can require approval, either always or for the first few writes before running on their own (details).
- Corrected: registration uses
createBaseToolsPlugin, and the older factory name and options shown on the page were wrong (details).
Core runtime (@pleach/core)
- A new
resolveCallReasoningEffort hook lets your host set reasoning effort for each model call; models without support ignore it (details).
- Tool calls whose arguments arrive as malformed JSON are now repaired before the tool runs (details).
- A turn no longer delivers the same final answer twice when the answer step runs again (details).
Evaluation (@pleach/eval)
- Model-graded scoring now sends each output to the judge models you list, replacing the earlier placeholder (details).
Recipes (@pleach/recipes)
- The
systemPrompt recipe now registers your prompt with the runtime; before, it passed through without taking effect (details).
Docs site
- The homepage adds a section on why a graph of typed steps suits complex agents better than one message stream (details).
- Pages no longer overflow sideways on phones, and page margins now line up across the site (details).
base-toolscoretoolsevalrecipesdocs
Flowcharts across the docs now render as diagrams instead of plain text, and core gained a generic Postgres storage adapter. Auditors should note that compliance and attestation are now labelled beta, and developers should check the deprecation.
Docs site
- Diagrams on the overview, architecture, turn lifecycle, determinism, family lock, config manifest and replay pages now render as drawn flowcharts (details).
- Two text-drawn diagrams on the government use-case pages are now real diagrams, with the same content (details).
- Corrected: two family lock diagrams used broken diagram syntax that would have shown an error; both now draw the no-crossover edge (details).
Core runtime (@pleach/core)
PgStorageAdapter and a durable event-log writer let you store sessions and the tamper-evident event log in any Postgres you connect (details).
runtime.tools.listByCallClass is deprecated and always returns an empty list; filter list() yourself instead (details).
- Rollback's channel-level re-execution replay is now labelled beta, because the runtime wires only a minimal projection today (details).
Audit and compliance (@pleach/compliance)
@pleach/compliance and the attestation surface are labelled beta for the first release; core itself stays stable (details).
Observability (@pleach/observe)
- Rows scrubbed by
applyRedaction now carry the redaction policy id, so a reader can tell which policy removed the data (details).
- A new
isRecorderInitialized check tells you whether setup has run; calls recorded before it are dropped with one warning (details).
docscorecomplianceobservereplay
The docs re-checked their code samples against the shipped packages, and core gained numbered stream errors and stricter audit defaults. If you copied code from earlier pages, scan the Corrected items.
Core runtime (@pleach/core)
- Corrected: config examples used invented fields; safety policies and system prompts go through plugins (details).
- Corrected: samples import each symbol from the subpath that ships it (details).
- Corrected: aborting a turn records a user abort, and the resume section matches how a session is rebuilt (details).
Errors and safety (@pleach/core)
- Stream error events carry a numeric
codeNum that matches the shipped error catalog (details).
- Naming a safety policy no plugin registered throws
UnknownSafetyPolicyError at construction, so typos surface at boot (details).
Events, interrupts and tracing (@pleach/core)
- Corrected: event reads go through a reader you inject, so any store can back them (details).
- Corrected: the React interrupt hook is
useInterruptUI, and an approval with edits must be marked approved (details).
- Corrected: core ships no tracing dependency; pass your own OpenTelemetry exporter to capture spans (details).
Audit trail (@pleach/core)
- Corrected: two pages disagreed on the audit row version; both now match the shipped one (details).
- Corrected: attestation verification always requires a signature, and
verifyInclusionProof is exported for checking proofs (details).
- Tamper-evident hash chain stamping is on by default and ships in the schema bundle (details).
Storage and redaction (@pleach/core, @pleach/compliance)
- The shipped database schema applies on plain Postgres, not only Supabase (details).
- Message content is scrubbed for personal data before it's written to the event log (details).
Subagents
- Corrected: bare core needs your host to run subagents, and spawns over the limit fail rather than queue (details).
Gateway and sandbox (@pleach/gateway, @pleach/sandbox)
@pleach/gateway/next ships a ready route handler, and the migration page no longer calls it future work (details).
- A fresh
@pleach/sandbox install no longer fails; its cloud SDK clients are now optional dependencies (details).
Coding agent and MCP
@pleach/coding-agent/context ships two strategies for trimming long-session context (details).
- Corrected: the MCP session registry is live, and resources and prompts are served (details).
Evaluation, replay and React
- Corrected: eval and replay examples use the real constructors, and chat hook names match
@pleach/react (details).
coreauditcompliancegatewaysandboxdocs
This post covers the site's first four weeks, 1 to 28 June 2026, before the weekly digest began. Developers who built from the early pages should check the Corrected items, and auditors should read the audit section.
Core runtime (@pleach/core)
- Corrected: switching model family mid-session is a supported, recorded operation; the old claim that it needs a new session was wrong (family lock).
- Corrected: the checkpoint, fork, query and memory pages now match the shipped signatures (checkpointing).
- New pages document
inspectRuntime, a read-only report of which capabilities your runtime has wired (runtime inspector).
Streaming and testing (@pleach/core)
- Streams now carry the model's reasoning trace as separate
reasoning.delta events, so it never mixes into the answer text (stream events).
- A new
@pleach/core/testing subpath drives scripted turns headlessly, so you can test an agent without a live chat surface (testing).
Audit and attestation (@pleach/core)
- Corrected: the audit row page now states the current row version, so recheck any version floor you pinned (audit row).
- Corrected: the tamper-evident hash chain imports from
@pleach/core/eventLog, not the hyphenated path shown earlier (hash chain).
- A new page explains signed attestation, which turns a slice of audit rows into evidence a third party can verify (attestation).
- A new page lists every table the runtime writes, what's on by default, and confirms nothing phones home (emitted data).
Events and instrumentation (@pleach/core)
- A new recipe shows how to subscribe to model calls and turn events with
runtime.events.on (agent instrumentation).
Plugins (@pleach/core)
- Corrected:
definePleachPlugin takes plain values, and the plugin and host-adapter pages now list the real option names (plugin contract).
Built-in tools (@pleach/base-tools)
- New opt-in HTTP tools send JSON and HEAD requests through the SSRF-safe fetch, and
url_fetch guards against DNS rebinding by default (base tools).
Compliance, gateway and replay (@pleach/compliance, @pleach/gateway, @pleach/replay)
- Corrected: dozens of pages called these packages planned; they now describe the pre-1.0 releases that ship (compliance).
- New gateway pages cover bring-your-own-key credentials, rate limits, cost events and OpenTelemetry export (bring your own key).
Observability (@pleach/observe)
- Corrected: the package list showed observe as published, but it's an alpha that isn't on npm yet (observe).
MCP, React and adapters (@pleach/mcp, @pleach/react, @pleach/langchain)
@pleach/mcp serves a runtime's tools, prompts and resources over stdio, SSE or WebSocket (MCP).
@pleach/react provides hooks that wire a runtime's session, event log and interrupts into a React app (React).
fromLangChainTool now produces a Zod schema, and a wrapped tool no longer reports its start twice (LangChain).
Coding agent (@pleach/coding-agent)
createCodingAgentRuntime now runs the tools you register through a real provider loop and stops when the turn is aborted (coding agent).
Air-gapped deployment
- Corrected: a runtime with an empty host allowlist refuses its first provider call, not at construction as the page first said (air-gapped deployment).
Command line
pleach init is now a short wizard that scaffolds a starter project, and the database setup moved to pleach schema (CLI).
pleach dev boots a self-contained local playground for trying a runtime (CLI).
Licensing
- Corrected: some pages briefly said Apache-2.0; every page again states the packages' FSL-1.1-Apache-2.0 license (FAQ).
Docs site
- New recipe pages walk through chatbot, RAG, compliant chatbot, vertical agent and subagent swarm builds (simple chatbot).
- New orientation pages cover install options, adoption paths, ownership boundaries and project layout (install).
- The examples page moved to a new address and now covers the two runnable examples in the package (reference apps).
coreauditcomplianceclidocsmcp
@pleach/core0.1.0 · npm placeholder
Runtime substrate. Sessions, lattice, channels, audit ledger, checkpointing, sync, storage adapters.
@pleach/react0.1.0 · in source
React bindings: runtime acquisition, message stream, event log, interrupt UI.
@pleach/compliance0.1.0 · npm placeholder
PII and PHI scrubbers, tamper-evident hash chain, attestation, GDPR erasure.
@pleach/compliance-contract0.1.0 · in source
Zero-dependency type contract between core and compliance.
@pleach/rbac-contract0.1.0 · in source
Zero-dependency type contract for role-based access control.
@pleach/replay0.1.0 · npm placeholder
Event-granular session forking from checkpoints.
@pleach/eval0.1.0 · npm placeholder
Replay and diff engine for agent regression tests.
@pleach/gateway0.1.0 · npm placeholder
Multi-tenant model routing, observability, cost attribution.
@pleach/mcp0.1.0 · npm placeholder
Model Context Protocol server.
@pleach/sandbox0.1.0 · in source
Vendor-neutral sandboxed code-execution contract and adapters.
@pleach/coding-agent0.1.0 · npm placeholder
Sandboxed code-execution surface for coding agents.
@pleach/langchain0.1.0 · in source
Bidirectional LangChain and LangGraph adapter.
@pleach/recipes0.1.0 · in source
One-line factories over @pleach/core: chatbot, RAG, compliant, instrumented.
@pleach/toolsdeprecated · re-export shim
Tool-calling contract, now shipped in @pleach/core/tools. The package is a re-export shim.
@pleach/base-toolsdeprecated · re-export shim · not on npm
Domain-agnostic tools, now shipped in @pleach/core/base-tools. The package is a re-export shim.
@pleach/observe0.1.0 · not yet on npm
Destination-flexible observability SDK. Contract locked, not yet on npm.
@pleach/transport-bedrock0.1.0 · not yet on npm
AWS Bedrock provider transport. Source-complete, not on npm.
@pleach/transport-azure-openai0.1.0 · not yet on npm
Azure OpenAI provider transport. Source-complete, not on npm.
@pleach/transport-vertex0.1.0 · not yet on npm
GCP Vertex AI provider transport. Source-complete, not on npm.
@pleach/trust-packreserved · 0.0.1 placeholder
Reserved npm name. No shipping code.