@pleach/core changelog
Release history for @pleach/core — site-docs entries that materially touched the @pleach/core surface, newest-first. Canonical runtime history lives upstream.
This page collects the site-content changelog entries that
materially touched the @pleach/core docs surface or
named a @pleach/core symbol, subpath, or audit gate. It is not
the runtime changelog — the canonical record of @pleach/core
runtime behavior lives in the upstream package
CHANGELOG.md and on
npmjs.org/package/@pleach/core.
See the combined site changelog at
/docs/changelog/combined for the
chronological unified view across every SKU.
Unreleased
Added
-
In-graph planning, word plans, and the next-call auto-dispatch quirk (2026-11-24).
content/docs/runtime-strategies.mdxaddsplanModeandinNodePlannerCallOptions. UnderplanMode: "in-node"the plan generator makes one awaited planner call (4000 tokens, temperature 0.2, 60-second cap), and only anokoutcome yields a plan.content/docs/plugin-contract.mdxadds "Word plans (experimental)":contributePlanWordDictionaryandcontributeWordsForToollet a plan be an ordered list of words, a successful call of a tool that owns the word completes the first open word step, and a failed bound job reopens it (PLAN_WORD_STEP_REOPENED).content/docs/turn-lifecycle.mdxadds thedisableNextToolCallAutoDispatchquirk.content/docs/event-log.mdxadds thein-nodeplan origin. Tracks upstream 0f4107b14f, c57226a8a9, 543eea69c0, 669229539a, e09b118c36, f47d7faf2e, d4400ea081, afa3fbad5f, 56ad5d08f0, 6ef44350b9, 3ea1f45018. -
Truncated tool-call audit, planner tool-name reports, commit stamps and host plumbing (2026-11-23).
content/docs/tools.mdxadds "Truncated tool-call arguments": a truncated call is refused,truncatedToolCallAuditonSessionRuntimeConfigwrites oneguard.decisionrow per refusal (at most 256 a turn), andTruncatedToolCallAuditConfig.onRefusedgets the full argument text.content/docs/plugin-contract.mdxadds "Tool names in the planner's steps":resolveToolAlias, thetool-names-filteredreport and itsAsyncPlannerToolNameReportfields, capped atASYNC_PLANNER_TOOL_NAME_REPORT_CAP(8).content/docs/fabrication-detection.mdxadds "Commit stamps after a body rewrite": the narration strip, the honest frame and the alias banner re-stamp the body they ship, socommitStampMatchesBodystays true.content/docs/error-codes.mdxaddsregisterAsyncContextStoreandrunOutsideAsyncContextStores.content/docs/memory.mdxsays the meta-learningloadgets the adapter config with the runtime identity on the graph path.content/docs/server.mdxsaysauthTokenandauthTokenProvidernow reach a root turn's tools. Tracks upstream fa74c8948f, b230ae56e7, bd2c0827be, 151c67e7e4, bdd813b8de, f1651d105c, fd0a57ce8c, 63f7ff335f, 3d4f2c76b7, fe7fab9737, d6cac64c84, 4f0f7d78a9. -
A
name:line names the agent (2026-11-23).content/docs/heartwood.mdxadds "The agent's name". The quickstart agent is Hazel by default. Aname:line first in~/.pleach/heartwood.mdor./HEARTWOOD.mdrenames it, and the project file's name wins. The page gives the name rules and the reserved labels that are refused. TheagentNameoption sets the default, andnullnames nobody. Tracks upstream 298960e9b2, 0168deb5f7. -
A Redaction page, and per-call pricing on the Pricing page (2026-11-23). New
content/docs/redaction.mdxcovers the runtime's credential and infrastructure redactor: what it withholds, where it applies, howSessionRuntimeConfig.redactionandassertRedactionOptionsconfigure it, and how it differs from compliance scrubbers.content/docs/session-runtime.mdxcorrects the redacted error summary to an id-shaped token such asTypeError:len12.content/docs/pricing.mdxadds "Per-call pricing and the cost table":priceCallUsd,buildModelRateIndex, cache-read and cache-write rates, dearest-row pricing for ambiguous upstreams andservedPriceAt. Tracks upstream b923261864, 85212d24dd, 877c3bec23, d15a40b65d, 58c1b7834e, c1603d7210, 79432adb04, 9478e439b8, fc47d1bbc8. -
Provider, storage, prompt and compliance surface from the last four weeks (2026-11-23).
content/docs/providers.mdxadds passing your own Anthropic or OpenAI client, round-end tool-call announcements, and per-endpoint reasoning-effort fields.content/docs/runtime-strategies.mdxnamessnapReasoningEffort, saysreasoningEffort: nullsends no field, and gives the planner's new 4000-token default.content/docs/quickstart.mdxgives the OpenRouter default model and the agent name.content/docs/storage.mdxadds keyset paging (SearchOptions.after).content/docs/prompts.mdxadds the harness base additions.content/docs/memory.mdxsays stored text is quoted as data.content/docs/compliance/gdpr-erasure.mdxandcontent/docs/compliance/erasure-limits.mdxadd per-scope KEKs, key generations and held rows (onHeldRows).content/docs/eval-and-replay.mdxsaysreplayRecordedTurnstays refused until abandoned work settles.content/docs/devtools.mdxaddsconsoleProbeFormatter, andcontent/docs/family-lock.mdxsays a new turn clears only its own session's circuits. Tracks upstream 64140d5d12, b758925491, 978c2cc334, 60a4f7b28d, b0fd27363e, 298960e9b2, cdb0b62c4e, 459bbb7745, 86419217f6, 6a10b49e4c, 4ef2ae8519, 45e683cbdc, 358d6edc82, 61e6a7827e, 404dd2bf73. -
Graph, turn and gate surface from the last four weeks (2026-11-23).
content/docs/graph.mdxadds the model-call node guard (assertModelCallInNode,RuntimeQuirks.modelCallNodeGuardMode), parking and restoring a run (exportSnapshot,restoreFrom), a superstepdeadline, stopping at a boundary, andonUnterminatedExit.content/docs/server.mdxadds frame ids and re-attach (handleReattachTurn),SupabaseTurnFrameStore,hardAtMswithsegmentRemainingMs(), andkeyFailed.content/docs/api-routes.mdxaddscreatePleachRoute({ agentProvider, agentName })and thesessionRowsAreEventLogParentsstorage flag.content/docs/use-remote-turn.mdxaddscontinueRetry.content/docs/interrupts.mdxsays durable gates tell identical calls apart byoccurrenceand requireexpiresAt.content/docs/error-codes.mdxadds the failure-code vocabulary (FAILURE_CODES,classifyFailureCode), three typed errors and the truncated-arguments refusal.content/docs/event-log.mdxandcontent/docs/stream-events.mdxdescribe the new row fields in plain words: durable park and continue rows, failed-turn detail, the context-input token count, andresult.doNotRetry.content/docs/subagents.mdxadds inherited restrictions for background sub-agents,isSubagentSpawnToolNameandboundedFanout({ timeoutMs }). Tracks upstream 0a9996e461, 0377051438, beadd6aebe, 85f858b018, d0393ffeb5, d6fe26778a, 1fe0da9d3c, 7f3c3ffa64, 298960e9b2, 00f6a84ff3, 508d577f6a, 6ccd7f80dd, 8a17bea36c, fa74c8948f, 7b55548844, f001a3771b, ce416b613e, 118ebc707c, 2dc13054e9, c8e2b1afc8. -
Calls made outside a graph node are marked on the audit row (2026-11-23).
content/docs/auditable-call-row.mdxadds record version 50 and an "Off-node calls" section:modelCall.offNode: true, and the refused error class in throw mode. Tracks upstream 0a9996e461. -
Audit rows name the stage of the graph node that made a model call (2026-11-23).
content/docs/auditable-call-row.mdxnow states howstageIdis chosen for a model call: the running graph node's stage first, then a stage the caller names, then the stage its call class maps to. Rows about one attempt, provider-cascade rows included, name the same stage.content/docs/subpath-exports.mdxlistsstageIdForModelCallunder@pleach/core/instrumentation. Tracks upstream c72f10bff9. -
condenseSchemasis deprecated; agetTools(ctx)hook replaces it (2026-11-23).content/docs/tools.mdxgains "Budgeting the offer yourself:getTools(ctx)", with a worked example and a table of everyToolOfferContextfield. It states that the request's tool policy still filters what the hook returns, and how the hook interacts withcondenseTools. It also says the planner still sees every tool, so a withheld tool can cost a billed retry.content/docs/subpath-exports.mdxmarkscondenseSchemasdeprecated.condenseToolsstays on by default, so existing routes don't change. The 2026-11-22 digest regains its bullet for this change. Tracks upstream a51fa66f83. -
Worked examples where pages stated a capability abstractly (2026-11-22). Each adds a situation, the question a reviewer asks, numbered steps naming the record or API that answers it, and what the record doesn't prove.
regulated-domain-agent.mdxwalks a reply from a diabetes coach shipped as software as a medical device: it reads a glucose monitor, and a reply that nudged an insulin dose got past a pattern guard. It's linked from the Part 11 page.compliance/sec-finra.mdxwalks an examiner's request for one client's drafted communications, linked fromuse-cases/financial-services.mdx.interrupts.mdxcovers a supervisor who edits a note before approving it.family-lock.mdxcovers an in-family fallback during an outage.customer-support-agent.mdxcovers a disputed refund promise.multi-tenant-saas-agent.mdxcovers a disputed monthly bill.subagents.mdxcovers one question that fanned out and cost $11, linked fromswarm-agent.mdx.scrubbers.mdxcovers a Social Security number pasted into an HR question, and says the number still reached the provider.compliance/gdpr-erasure.mdxcovers an erasure request during a litigation hold, linked fromworm.mdx.hash-chain.mdxcovers a reply edited in the database.attestation.mdxcovers dating a disputed message with a time-stamp token, and an outside auditor checking one month of envelopes.event-log.mdxadds "What a tool row holds": by default a tool row records the tool's name, its duration and any error, andruntimeQuirks.enrichToolEventPreviewsForReplayadds scrubbed, bounded previews of its arguments and result. The homepage's "Regulated work" section adds the diabetes-coach case above the audit table and a one-line example under each answer. -
wrapTurnoncreatePleachRoute(2026-11-20).content/docs/api-routes.mdxadds "Running each turn inside your own frame": the hook runs each admitted turn's body inside a host frame,runstarts the body at most once, and a hook that never calls it ends the turn withPLEACH_WRAP_TURN_NOT_RUN.content/docs/subpath-exports.mdxnames the six new@pleach/core/quickstartexports. Upstream bb96173ee6, 1b37f592a4 (merged in 0715729985); changeset 6d03e035f3 (local). -
Change approval records and the policy version on refusal rows (2026-11-20).
content/docs/config-manifest.mdxadds "Recording who approved a change":pleach audit record-changewrites oneconfig.change_approvedrow on the tenant audit chain linking a manifest hash to its commit and approvers. Approvers are erasable HMAC references.pleach manifest hashprints the hash a configuration produces, andpleach audit changesfinds the change behind any row.recordChangeApproval()exports from@pleach/core/audit.content/docs/safety.mdxadds "Which policy refused, on the row": ablock_tool_callrefusal orblock_synthesisveto now recordspolicy: { id, version }on itsguard.decisionrow, with the reason string unchanged. Upstream 1d84b01405, 381c47ff2f (origin/vine 844e49e9a6). -
Console-text formatter and two keep-list exports (2026-11-20).
content/docs/session-runtime.mdxadds "Formatting user and model text in console lines":consoleText,setConsoleTextFormatterandgetConsoleTextFormatterfrom@pleach/core/instrumentation. Core caps no user or model text it logs, and a host formatter can shorten, mask or drop it. The keep-list section addsREDACTION_KEEP_LIST_INCOMPLETE_NOTICE, printed once when the slot holds an incomplete list, andredactResultField(key, value).subpath-exports.mdxnames both seams on the instrumentation row. Upstream aff16fa8ec, 98ded7317c, ea4bceba4f; changesets 748a5bed01 (local). -
Redaction keep-list (2026-11-19).
content/docs/session-runtime.mdxadds "Keeping your own ids and sequences": the redactor keeps no domain ids or sequences by default, andsetRedactionKeepList(@pleach/core/synthesis) installs one per-process list ofsignatureIds,signatureValues,sequenceKeyNames,sequenceNameWordsand sequence alphabets. The first install wins and returns a token. A list that could release a credential throws aTypeError. Upstream eaacf23faf, b6f3d8539d, 3c7ba45e01, 60e0b73b2c. -
Access-refusal marker and floor tools (2026-11-19).
content/docs/tools.mdxshowsACCESS_REFUSED_KEYandisAccessRefusedfrom the new@pleach/core/graph/predicates/accessRefusalsubpath: set_access_refused: trueon a result that refuses because of who is asking, and plan reconciliation moves the step to an alternative.plugin-contract.mdxaddscontributeFloorTools: a floor of tools at full schema on every turn, plus opt-in families placed byfamilyMode("budget-gated"by default, or"floor").subpath-exports.mdxlists the new subpath and the floor types on@pleach/core/strategies/schemaCondensation. Upstream f8499e6241, 3a95e52817; changesets 179f810526, merged in 7e65a95c55. -
priorSameModelRetriesis documented (2026-11-16).session-runtime.mdxadds it andonSameModelRetryClaimedto theresumeStreaminput, and a section on carrying the same-model retry budget to a resume on another runtime, withtelemetry.sameModelRetriesUsedas the count to pass next.landscape.mdxnames the option where it said "you pass the spent retry count". -
The event log lists the
turn_completenessandplan_coveragefields (2026-11-16).event-log.mdxnames each row's always-present and optional fields, and says every name array holds at most 32 names. -
One table of what gates a tool (2026-11-16).
interrupts.mdxadds "What gates a tool":requiresApproval,interruptBefore,interruptAfter,interruptOn, theapproveFlaggedTools: falsewaiver anddurableGates, read together. It sayslistByApprovalRequiredreads the flag only. Both compliance pages link to it. -
Durable approval gates are documented as an experimental opt-in (2026-11-16).
interrupts.mdxkeeps the default: a paused turn doesn't survive a restart. A new section coversinterrupt.durableGates. A gate your callback marks durable parks its turn, records the decision, and serves it once when the client re-submits the same message. It doesn't resume a turn by itself. -
Docs for this week's new core surface (2026-11-16).
providers.mdxadds "ServinguseChatfrom a Pleach turn":toUIMessageStreamResponse, its options, andsettleToolApprovalsbeforevalidateUIMessages.subpath-exports.mdxadds the@pleach/core/providers/streamrow.session-runtime.mdxadds theinitiatedByturn field and theredactionoption, with the limits of a pattern-based redactor.storage.mdxaddsSupabaseStore.withOwner, the embedding width and the opt-in SQLite run records.hash-chain.mdxaddswrapWriterWithClockAttestation, which records the clock offset your host reports and doesn't measure it. -
SSE is the default execute wire, and the event-log page shows the typed chain reader (2026-11-13). The quickstart execute and continue legs now answer SSE unless
Acceptnamesapplication/x-ndjsonwith a higher q. NDJSON responses carryDeprecation: true, and NDJSON goes away at 1.0.content/docs/api-routes.mdxadds the negotiation rules and an SSE frame example.install,getting-started,react,interrupts,cli,env-varsanduse-remote-turncalled the body NDJSON and now say SSE or name both.content/docs/event-log.mdxshows passing the SQLite store's typedchainReadertoverifyChainForChat. Tracks upstream190475cf38. -
The docs name the session-effect routes and the turn-deadline protocol (2026-11-10).
content/docs/api-routes.mdxhad no table for the session-independent routes a host mounts —GET /models,/providers,/providers/:id,/sessions/:id/diff,/sessions/:id/todo,POST /sessions/:id/revert,POST /sessions/:id/compact— and never named the sidecar-only family (/sidecar/vcs/*,/sidecar/schedules,/sidecar/processes,/sidecar/events/stream,/sidecar/tui/*,/sidecar/permissions,/sidecar/revoke), so a reader building a client had to read the OpenAPI document atGET /doc. A new section lists both and says which route answers from the static catalog and which from live provider lists. A second section documents what a hostturnDeadlinedoes: the run stops between supersteps and the stream ends atturn.parked { token, turnId, segment }; the continuation is claimed compare-and-set and refused when already claimed, cancelled, completed, stale or superseded; and both route families continue throughPOST /sessions/:id/turns/:token/continueand stop by token throughPOST /sessions/:id/turns/:turnId/stop.content/docs/env-vars.mdxaddsPLEACH_TURN_DEADLINE_MS(default600000;0disables it). -
The CLI page documents headless output formats, the SSH sign-in path and the interactive key map (2026-11-10).
content/docs/cli.mdxlisted--printand--eventsbut not--output-format text|json|stream-json(alias--json),--loginwith--provider, or the classed exit codes a wrapper branches on (2usage,3caller or credential,4provider,5budget,1other). It now does, beside a table of the TUI keys and slash commands that carry behaviour a reader would otherwise find by pressing them: Enter queues while a turn runs,Escarms a quit when a draft exists,Shift+Tabcyclesask→read-only→accept-edits, and@pathattaches a file under the same 256 KB limit as/attach. The billed-turn callout now says which commands cost no model turn (--login,--tune, the TUI's own inspection commands) instead of implying that every command does. -
The auditable-call row page caught up with the record contract, and three cache-pricing claims were corrected (2026-11-10).
content/docs/auditable-call-row.mdxdocumentedAUDIT_RECORD_VERSIONthrough v40 while the core source is at 47, so the page never taughtcacheWriteTokens/cacheWrite1hTokens,attemptOrigin/dispatchId,sameModelRetry, orcatalogCostUsd/catalogPriceBasis/catalogCostDrift. The version table now runs v8–v47 and four sections cover those fields (Cache writes, Dispatch identity, Same-model retries, Catalog price and drift); themodelCallslot row dates each group from its own bump, socostSource/estimatedInputTokens/generationIdread as v39 andpriceBasis/servingProvideras v40 rather than as part of the v42–v47 additions. The same page,gateway/cost-events.mdxandobserve.mdxall said a call that read or wrote the cache wasunpricedbecause no cache rate was known.priceCountsin core's rate helper prices a cache read whenever a read rate is supplied and a write only when its lifetime and rate are known; all three pages now say so, and the gateway ceiling's estimate still adds no cache-write tokens. -
The Architecture group has an index of itself (2026-11-09).
content/docs/architecture.mdxclosed with four cards out of 33 sibling pages, and two of the four pointed into other nav groups — so the largest group on the site had no way to see its own contents. A new "Every page in this group" table indexes all 33 across eight themes, and says what it is not: Concept clusters is the concept map, which links 13 of the 33 because it names primitives rather than pages. The four cards stay as the usual next reads, now labelled as sitting outside the group. -
Two diagrams corrected and placed (2026-11-09). The cross-runtime diagram is now on Language-agnostic contract and the compose-underneath diagram on Migrating from Anthropic Enterprise; neither had been registered in
components/mdx.tsx, so neither had ever rendered. The cross-runtime diagram drew the Go side writing to a shared ledger and tagged itPROVEN. The Go reference consumer reads SSE frames and checkpoint envelopes and writes no rows, so it now shows one writer and names the two contract shapes it does not cover. The enterprise diagram said per-tenant sums "add back up to" the Admin API total; the two figures are computed independently, so it now says to reconcile against that total. Both placements carry a plain-MDX caption line, and the enterprise one a fenced text equivalent, so each page's.mdtwin says what the diagram shows rather than carrying a bare component tag. -
The eight architecture diagrams say what they assert (2026-11-09). Every Mermaid block in the Architecture group was labelled only by the heading above it, with no caption and nothing in the prose restating the shape. Each now opens with a one-line thesis, across
architecture.mdx(four),turn-lifecycle.mdx,determinism.mdx,family-lock.mdxandconfig-manifest.mdx. The determinism chain also states what its diagram leaves out. -
The glossary now says where a
@pleach/coreterm means less than the word implies (2026-11-09).content/docs/glossary.mdxdefined these terms without the limits their own pages already carry. Replay, determinism, the hash chain, the checkpointer and the family-strict cascade gained their limit and a link to the owning page; WORM, the audit ledger and the fingerprint had no entry at all and were added. The audit-ledger entry also repairs a cross-reference the event-log entry already pointed at. Each entry links rather than restates, so no second copy can drift. -
The glossary says "published" tracks the package source, not a registry release (2026-11-09).
content/docs/glossary.mdxhad no entry for the word, so a reader meeting a documented surface could read it as installable. The entry states that no@pleach/*package is on npm yet, that some names are reserved with0.0.1placeholders, and that several transports are markedprivate. It links Install rather than restating the status.
Changed
-
A disclosed answer is kept instead of the generic stub (2026-11-24).
content/docs/fabrication-detection.mdxadds "A disclosed answer stays". When a turn had no real tool successes and the failed-tool banner already heads the answer, the runtime ships that answer instead of "I wasn't able to complete this request".content/docs/plugin-contract.mdxnotes that every tool-loop model call on a loop-owned turn now reads the turn's held capability words. Tracks upstream 59aaa3587e, e4bb444fe1. -
ProviderStreamEventgainsprovider.blocks(2026-11-23).content/docs/providers.mdxsays exhaustive switches over provider stream events must handle it. Tracks upstream 64140d5d12. -
Two breaking shapes on tool and cost callbacks (2026-11-23). A failed tool row's failure class gains
not-started, so exhaustive switches need a new arm (content/docs/event-log.mdx,content/docs/error-codes.mdx).onCostEvent(row, owner?)takes a second argument, and cost rows are buffered per turn (content/docs/subagents.mdx). Tracks upstream 1f4f0589bd, 9471a441c7. -
Breaking type and construction changes are called out where readers meet them (2026-11-23).
TokenCostRecord.reasoningTokensReportedis now required (record version 49); a reported0counts as reported.content/docs/typed-records.mdxandcontent/docs/observe.mdxsay how the observe mapping sets it.content/docs/query.mdxsays the sub-agent and export counts onTranscriptJsonResultare optional, so strict consumers must accept their absence.content/docs/recipes/compliant-chatbot.mdxsayscompliantChatbot({ profile: "hipaa" })withoutsupabasenow throws at construction when the scrubber chain doesn't load. Tracks upstream e4c4ec59ce, d60654b506, 333f2cc20d. -
The redactor never withholds less, and fewer numbers read as phone numbers (2026-11-21).
content/docs/session-runtime.mdxadds that each new redactor reading runs over the earlier ones and only adds markers, with the shapes it now catches.content/docs/scrubbers.mdxadds that the default phone check leaves a slice of a space-joined integer list alone. Changesets redactor-withholds-at-least-the-floor and scrub-integer-runs-and-decimal-fractions (origin/vine 70c6f81f83). -
Weak-schema budget deprecated, session-rule crash refusal (2026-11-19).
content/docs/tools.mdxmarksweakToolSchemaBudgetPluginandcreateWeakToolSchemaPredicatedeprecated: the runtime gives every model one promotion budget, repetition cap and synthesis request, and no longer reads the predicate. The section is now "Weak-schema tool budget (deprecated)", andproviders.mdxandhooks.mdxlink the new anchor. The page said a throwingsessionToolAllowedfactory or predicate refuses every name; it still does, but assession_predicate_error, which isn't final. Onlysession_deniedis final, and it carries_access_refused: true. Upstream db59f26be6, d0ea9ffb99, 81d034ce15; patch changeset 179f810526. -
Route slot bound, planner vocabulary, off-turn write limit (2026-11-18).
content/docs/event-log.mdxaddsroute.slot_released, the row an unscopedcreatePleachRoutewrites when a stopped turn's tool outlasts the newabandonedWorkSlotTimeoutMs(default 600000); the route then frees its slot and message claim.session-runtime.mdxlinks it fromhasLiveGraphRuns()and adds the experimentalplanCodefield.plugin-contract.mdxadds "Planner vocabulary (experimental)":contributeSurfacedVocabulary,contributePlannerCatalogSliceand therankByVocabularyTable/buildVocabularyRankFromTableranker from@pleach/core/runtime.auditable-call-row.mdxnow says a write made outside a turn can't fail one, so the caller must catch it. Upstream f6b98f12db, 13d8b36574. -
Redacted error lines and self-model write checks (2026-11-18).
content/docs/session-runtime.mdxsays console lines for a caught error now print a redacted summary (class, code, message length), and thatsetUnredactedErrorSinkreceives the original value. It also says the redactor reads escaped, serialized and percent-encoded text.error-codes.mdxsaysErrorPropagatorstores the redacted shape, and documentssetErrorPropagatorTimerRunner.base-tools.mdxsays the self-model writers clean text before storing it, and that the identity renders as a fenced# Your identitysection (composeIdentitySection). It also lists what aSelfWriteRequestnow shows the approval gate, and that only an explicittrueapproves a write. Upstream dd49262e5a, 3d4f2c76b7, fe7fab9737, 12d7dc9370, 3392bdd749, ffc79b9ab2. -
Fail-closed audit writes beyond the quickstart route (2026-11-17). A
SessionRuntimeturn now ends withAUDIT_LEDGER_WRITE_FAILEDwhen a ledger write its emitter hands over withtrackAuditLedgerWriteisn't stored, and a gateway call rejects when its provenance row isn't stored.content/docs/auditable-call-row.mdxdrops the "quickstart route only" limit.session-runtime.mdxaddsauditLedgerWriteFailureandauditLedgerWriteTimeoutMs, andgateway.mdxadds "When the provenance row can't be stored" (provenanceWriteFailure,provenanceWriteTimeoutMs). The Postgres ledger's newchainWaitTimeoutMs(default 30000) fails only the row stuck behind a hung write.audit-ledger.mdxcorrects "recordCallnever rejects", which stopped being true when the ledger began failing closed.scrubbers.mdxdocumentsregisterHostScrubbableFields, now the only way to givedomain.*event types scrub paths.interrupts.mdxnotes the exportedApprovalListingandApprovalCoveragetypes, and thehasLiveGraphRuns()row says a Stop-ended stream whose adapter kept running now counts until it settles. The Part 11 audit-trail row widens to match; no grade changed. Upstream af525a50e9, 707d95dcfc, 33f156b012, fdfa771f46, 812f30fa94. -
Four defaults the docs now describe (2026-11-16). A Postgres call-row write that can't be stored now rejects with
LedgerWriteError, andcreatePleachRouteends the turn withAUDIT_LEDGER_WRITE_FAILEDinstead of completing it.content/docs/auditable-call-row.mdxadds "When a row can't be stored", including the 30 s wait bound, the"report"opt-out, and the limit that text already streamed may have reached the client.listByApprovalRequirednow counts tools the interrupt config names, andapprovalCoverage()is new;interrupts.mdxandfacets.mdxsay so. A self-review is refused unless the interrupt config setsallowSelfReview: true.runChainRetentionPassrefuses by default when the disposal check is missing (worm.mdx). The Part 11 and SEC/FINRA pages narrow their audit-trail and gate-coverage sentences to match, and name the quickstart route as the only fail-closed path so far. No grade changed. Tracks upstream7bb614d037,a63c8d7cb3,1f1926e5bdandbdc8f5d8e3. -
SEC and FINRA grades name two trade scenarios, and four more pages split their lists (2026-11-15).
content/docs/compliance/sec-finra.mdxnow grades against two scenarios. In A, the agent recommends and places an order itself. In B, a registered principal places the order the agent recommended. Grades assume A unless a row shows both. Three grades changed. Verification moves from Partial to Supports, because a change made through a gated tool leaves a chained decision row naming its reviewer, and reconciling rows against the calls that ran is setup. Order records moves from Not provided to Partial under both scenarios, with order terms written to your own table as setup and order-specific fields as the gap. Human review stays Partial under A and is Supports under B. Its gap column drops the review queue and transaction review, becauseresolveGateReviewerbinds a gate to an outside reviewer before execution. The AI-agent oversight gap now says the reasoning text a provider returns isn't kept, only its size and token count. Limiting table ownership and superuser access moves from the gap column to your part, on this page and oncontent/docs/compliance/part-11-alcoa.mdx. The Part 11 Signatures row now credits chained gate-decision rows and signed permission grants. Its gap is a signature made with the approver's own credential, since signed rows use the install's key.content/docs/use-cases/government.mdxmoves SBOM and provenance for your deployment from duties to setup.content/docs/use-cases/financial-services.mdxfollows the order-record ruling.content/docs/worm.mdx,content/docs/air-gapped-deployment.mdx,content/docs/region-pinned-agent.mdxandcontent/docs/cloud-routed-agent.mdxsplit their lists into duties, setup and "Not in Pleach yet". -
One sandbox vendor name dropped from the docs (2026-11-09). The pages naming hosted-sandbox vendors now name E2B, Daytona and Vercel Sandbox only. The dropped name is on this site's private-surface reject list, so a weekly digest quoting one of those pages failed CI. The adapters and the wire shapes they cover are unchanged; only the example vendor list is shorter.
-
Family-lock gains the calibration argument (2026-11-09).
content/docs/family-lock.mdxargued the lock from provenance alone. A new## Why the lock matters: comparabilitysection adds the during-the-fact case: a threshold calibrated against one model keeps evaluating after a substitution without meaning what it was set to mean, and nothing raises. The section says plainly that the lock does not freeze calibration — an in-family rung change still moves the model — only that the move is bounded to one family and lands as afallbackSteprow besidemodelCall.servedModelanddecision.requestedModel.content/docs/faq.mdxlinks it as the second reason for family-locked routing. -
Dense docs pages consolidated; three claims narrowed (2026-11-06). About forty pages across compliance, the audit record, safety, the gateway, observe, the event log and the use cases are shorter. Long table cells now carry a headline, with their limits in a list below. A limit repeated across rows is stated once, and every limit stays. Internal detail a reader never sets is gone: hashing order, detector thresholds, key wrapping and storage layout. The ownership page no longer calls the eval replay engine deterministic, and it links to what replay guarantees. Its chain check names the removed-tail limit. The landscape replay row says a replay is valid only against the same version and request fingerprint. The comparison page scopes
llm.invocationspans to calls through a seam and the tool loop's own provider requests. The government supply-chain page names the federal order and NIST guidance without their numbers. -
Compliance mapping pages are topic summaries (2026-11-06). The SEC and FINRA page and the Part 11 and ALCOA+ page now name the regimes once and summarize what Pleach provides by topic, such as the call record, change protection, verification, export, retention and human review. They no longer go rule by rule. Each SEC and FINRA topic carries the weakest grade of the rows it replaced, and every limit stays. Other docs pages and past changelog entries name the regime without citing a rule. More stored column names, event payload keys and a host app's table names now read in plain words, and
scripts/check-internal-paths.mjsfails CI on them and on rule citations outside blog posts.query.mdxnow says the host chat-message objects are documented with the first published release. -
Column names generalized; host-read flags removed (2026-11-06). Docs and past changelog entries now describe stored column names in plain words, such as "the turn id" and "the tenant column". The tenant column keeps its name inside the SQL you run for row-level security. Dotted telemetry attributes such as
pleach.tenant_idandcost.tenant_idstay, and so does the Datadog cost adapter's tenant tag.env-vars.mdxdrops its host-read flags section: neither flag is read by@pleach/core. TheEventLogRowlisting inevent-log.mdxdrops a config-manifest hash field that the exported type doesn't declare.scripts/check-internal-paths.mjsnow fails CI on these column names. No limit changed. -
Summary-level mechanism text (2026-11-06). The SEC and FINRA mapping, the Part 11 mapping, the regulated-domain agent, landscape, the homepage and the finance, government and education landings now describe each mechanism in plain words and link to its canonical page.
compliance.mdx,worm.mdx,compliance/gdpr-erasure.mdxandsecurity.mdxkeep the API, options and error codes a reader uses and drop internal sequencing.compliance/hashchain-middleware.mdx, a deprecated helper, is now its deprecation note, its limits and a link to the hash chain. No grade or limit changed. -
Internal names generalized. Docs, blog posts, the homepage, its diagrams and past changelog entries now describe stored tables, columns and internal flags in plain words. Names a reader types stay: exported API, settings and error codes.
scripts/check-internal-paths.mjsnow fails CI on stored names, and it coversapp/andcomponents/. -
Schema reference gated.
content/docs/schema.mdx,worm.mdx,multi-tenant.mdxandemitted-data.mdxdescribe what each group of storage answers. Table and column names are documented with the first published release.
Fixed
-
Word steps reach the in-graph plan, so tools bind to them (2026-11-24). Under
planMode: "in-node", the copies of a word plan into the graph's planning channel dropped each step'skindandcapability. The steps then looked like tool steps with no tool and were discarded, so no call ever completed a word step and noPLAN_STEP_COMPLETEDcarried aboundTool. All three copies now keep both fields on an unbound word step; a bound step is copied as the tool step it became.content/docs/plugin-contract.mdxstates this under "Word plans". Upstream 4612079e7b. -
Stored table and column names are described in plain words (2026-11-23).
content/docs/hash-chain.mdx,content/docs/config-manifest.mdx,content/docs/compliance.mdxandcontent/docs/subagents.mdxprinted stored schema names. They now describe the previous-hash and row-hash fields, the config-manifest table, the tenant column and the parent-turn field in plain words, per the rulescripts/check-internal-paths.mjsenforces. No claim changed. Older changelog rows lose their source-file paths the same way. -
The two heartwood scopes merge (2026-11-23).
content/docs/heartwood.mdxsaid the project file shadows the global one. The loader merges them: the global body comes first, the project body follows under its own heading and wins on conflict, and an overflow trims the global part first. An explicitpathskips the merge. -
Four turn and event claims corrected (2026-11-23).
content/docs/api-routes.mdxshowed an oldturn.parkedpayload; it is{ turnId, messageId, token, segment, reason, nextStep }.content/docs/event-log.mdxdescribed the answer-sufficiency verdict as post-turn; the judge now runs inside the tool loop, and an insufficient verdict reopens it once.content/docs/async-tasks.mdxsaid Stop cancels thread-wide; it cancels only the stopped turn's tasks.content/docs/subagents.mdxnow showssubagent.failedwith a closed failurecodeand a withheld error line.content/docs/stream-events.mdxsays the streamerror.codeis a string, with the numeric code oncodeNum. Tracks upstream 4fc5cb061d, 60a4f7b28d, 2d48341b09, 8a17bea36c. -
Seven stale claims corrected against the current core source (2026-11-23).
content/docs/core.mdxsaid each subpath ships as a self-contained bundle; the build now emits shared chunks, so two subpaths loaded in one process share the same classes.content/docs/auditable-call-row.mdxstopped at record version 48; it now reads 50.content/docs/base-tools.mdxshowed acorrect_factkey the fact tools now refuse.content/docs/checkpointing.mdxdidn't sayprune(threadId, 0)throwsPruneZeroKeepLastError, or that alistcursor is a checkpoint id that returns strictly older rows.content/docs/adoption-paths.mdxcalledrecordCall()beforeinit()a no-op; it drops the row and warns once withOBSERVE_RECORD_BEFORE_INIT.content/docs/react.mdxnow marksuseVercelAISDKCompat,<VercelAISDKCompat>anduseVercelChatContextdeprecated. Tracks upstream b0fd27363e, 0a9996e461, f51ec78f7a, 7d476ce198, 5c2c332aea, 042b063677. -
Safety guards are live under enforce mode (2026-11-22).
content/docs/safety.mdxsaid theguardsslot "isn't active yet" and that no guard should be relied on. Both kinds fire undersafetyEnforcementMode: "enforce". Aregex-refusalguard replaces a final answer that matches its pattern, and atool-call-preconditionguard stops a matching tool call. Each writes aguard.decisionrow naming the policy and its version. The section now gives both definition shapes and says a pattern catches only the phrasings it lists. -
Change records from a forge need an approvals digest (2026-11-20).
content/docs/config-manifest.mdxshowed--approvals-digestas optional. A forge record needs it, and a native record refuses it. Upstream a6242b25d7 (origin/vine 844e49e9a6). -
Error-name and console-roster corrections (2026-11-20).
content/docs/session-runtime.mdxsaid a capitalized-words error class prints when any word marks a failure. Only the last word counts, or the name must be a known real class, soJohnSmithResetprints ascustom. The page also adds that console breadcrumbs always add the default redaction roster back, even when a host roster replaces a default or setsprivateAddresses: false. Upstream 47c936d8be, 3ccac02b85 (merged in be6c15d672). -
The keep-list limits are one object (2026-11-20).
content/docs/session-runtime.mdxsaid the keep-list limits are exported asKEEP_LIST_*_MAXconstants. They are one frozenKEEP_LIST_LIMITSobject, and the page names its fields. Upstream 98ded7317c, ea4bceba4f. -
Stored errors keep only their shape (2026-11-20).
content/docs/error-codes.mdxsaidErrorPropagatorstores a redacted message capped at 1,000 characters. It now stores<code>:len<N>and never the caught text. A type outsideErrorTypeis stored asunknown, and a code that isn't a catalog code isn't stored.content/docs/session-runtime.mdxsays a class name made only of capitalized words prints only when one word marks a failure, and otherwise prints ascustom. Upstream 25920647d6, fd45f5c723, d2d0f84811, dda4439129, 5a727a4e08, 9d6a115b74. -
Session routes and the server table match the shipped handlers (2026-11-16).
api-routes.mdxdescribed a health route with component checks and a 503. The route always answers 200 withstatus,running,timestampandfeatures.GET /sessionstakes onlyuserIdandlimit, returns an array, and has no cursor.POST /sessionsreads{ config }and returns the session itself. Sync takes{ force? }and answers 409 on conflict.DELETEremoves only the stored session; the checkpointer cascade runs throughruntime.sessions.delete. Core reads no auth headers: yourresolveUserIdandresolveTenantIddecide the caller. Route error bodies carryerror, not{code, error, recoveryHint}.server.mdxnow lists all 24ROUTESand saysHarnessServerserves sync itself. -
Storage, event-log and stream claims narrowed to the code (2026-11-16).
storage.mdx:createSupabaseAdaptertakes the client as its first argument and does no registry routing.conditionalUpdateis called only by session import. The cache is write-through and read-through for single sessions, and listing always reads storage. IndexedDB takesdatabaseNameandversion. The memory store keeps 10,000 event rows by default, not 5,000.event-log.mdx:hydrateFromEventsrebuilds interrupts, subagents, exports and user cards, not the transcript or jobs. The write sample now passeschatIdand a real event type. The type table is complete fromHARNESS_EVENT_TYPES, and a failed write retries three times after the first attempt.stream-events.mdx:turn.completedcan also enddeadlineorgate-parked.family-lock.mdxlists nine families, andproviderCascade.sourcenames the path that wrote the row. It doesn't flag a family widen, so the alert query the page gave was wrong. -
Provider, plugin and CLI claims narrowed to the code (2026-11-16).
providers.mdx: providercapabilitiesis declared metadata and doesn't gate tool dispatch or drop thinking events.OpenAINativeProviderdeclaresauditsEveryAttempt. Prompt-cache reads and writes are priced when the rate is known. The slow-start families include qwen, and 1200 ms is only the fallback gate. A tool-call stream can still unwind past its cap.byokResolverlives onSessionRuntimeConfig, notcreatePleachRuntime(also fixed inruntime-strategies.mdx, which no longer promises an unsupported model never gets a 400).auditable-call-row.mdxgives the current version as 48, not 32.plugin-authoring-standards.mdx: the signature isdefinePleachPlugin(name, capabilities), the version comes from_raw.version, the wizard emits one plugin per facet,--facets-file splitwrites no per-facet files yet, andprePlanPrimerruns on every planned turn.cli.mdx: onlyclear-taintandrevokewrite a ledger row, signed only when the install requires it. The wizard asks six questions, and the TUI sidecar runs core's own agent instead of your route. -
Runtime env vars and provider resolution match the code (2026-11-16).
env-vars.mdxsaid@pleach/corereads no feature-flag variables. The quickstart factories read tenPLEACH_*variables, now listed with their defaults. The key-resolution list named anOrchestratorClientthat doesn't exist and said a missing key fails at session start. A route with no provider answers each request with a 503no_provider_detectedorno_provider_key. Mistral was said to fall back to OpenRouter; it answers 503no_provider_keyunless you set an OpenRouter key. Google and DeepSeek were marked pending; both stream natively. The page also claimed the core package reads theSUPABASE_*variables; it reads none. The config dir default now names$XDG_CONFIG_HOME/pleach. -
Reasoning effort, the planner default and the call-row version are current (2026-11-16).
runtime-strategies.mdxlisted three effort levels; there are seven, and the quickstart default ismedium(plannerhigh). The async planner is now on by default increatePleachAgentandcreatePleachRoute.auditable-call-row.mdxnow covers v48, wheremodelCall.usagePartial: truemarks token counts as a minimum. -
Every event reader treats
sinceSeqas a strict boundary (2026-11-13).content/docs/server.mdxsaid the durable store's reader returns rows at or aftersinceSeq, while the in-memory log returns rows strictly after it. Every reader now shares one window contract, which returns rows with a sequence number strictly greater thansinceSeq. The table row and the paragraph now describe that one boundary and tell the caller to pass the last sequence number it holds. -
The SQLite driver, the memory store and approval gating match the shipped code (2026-11-13).
content/docs/storage.mdxandsubpath-exports.mdxnow saycreateSqliteDurableStoreuses the built-innode:sqliteon Node 22.5 or later and falls back tobetter-sqlite3. The memory store keeps no row hashes, so its chats cannot be chain-verified.event-log.mdxsays bothDurableStorebindings supply an event reader. The quickstart says aproviderStreamalone does not select a provider, and that arequiresApprovaltool needs an interrupt config to pause. The same commit corrected the execute leg's request body, and its wire format was then superseded by the SSE default above. -
Three pages name the shipped identifiers they described (2026-11-10).
content/docs/hash-chain.mdxsaid the event-log chain columns would be named with the first published release; the page now names both and the deferral is gone.use-remote-turn.mdxsaid a detached-window decline reads as a policy answer, which collapsed three decision fields into one; it now names each field separately.subagents.mdx,config-manifest.mdxandcompliance.mdxnow name the column or table each one described. -
Plugin authoring standards said "lint-enforced"; nothing there is (2026-11-09).
content/docs/plugin-authoring-standards.mdxcarried that phrase in its frontmatter description, but its own class table names the mechanism asnpx @pleach/core init pluginscaffolding defaults for two of the seven standards, with the other five left to an author's and reviewer's judgment. A scaffolded default and a lint rule are different guarantees: the first stays correct only until someone edits it. The description now says the wizard scaffolds two of seven, and the page opens by saying plainly that nothing there is lint-enforced. The four-stage lattice is lint-enforced, and those claims on Core and Comparison are unchanged. -
The edge catalog called an allowed edge forbidden (2026-11-09).
content/docs/graph-edge-catalog.mdxtold plugin authors thatsynthesize → tool-loop"sits in the forbidden-edge list". Its own tables two screens up list that edge as allowed row 6, and namesynthesize → synthesize— the retired retry self-loop it replaced — as the forbidden one. The bullet now states what actually blocks a plugin: theafterSynthesisrouter carries the re-entry and is sourced atsynthesizer, and a plugin registers a node rather than an edge, so it has no way to declare a router arm. The page description also dropped "cross-stage", since three of the nine allowed rows are intra-stage. -
The stage-lattice diagram drew the one edge its own prose forbids (2026-11-09).
content/docs/architecture.mdxshowed asynthesize → synthesizeself-loop labelled "messageId-guarded retry", two paragraphs above prose stating thatsynthesizeis the only stage with no intra-stage edge and that this self-loop is retired and forbidden. It also omitted the legalsynthesize → tool-loopbounded re-entry, which is what that label belongs to, and two of the three intra-stage chains. The diagram now draws exactly the nine transitions the prose enumerates: six cross-stage and three intra-stage. A reader who trusted the picture over the paragraph had the lattice wrong in both directions. -
The cascade diagram said the runtime asks the user (2026-11-09). The
family-exhaustedterminal node incontent/docs/architecture.mdxread "runtime stops, asks user". The runtime records the delivery outcome and surfaces the state to the host, which is what the prose beside it and the twin diagram on Family lock both say. Now "runtime surfaces state to host". -
The self-review guard is disjunctive, and the docs said it wasn't (2026-11-09).
content/docs/interrupts.mdxandcontent/docs/compliance/sec-finra.mdxsaid a gate is refused when its named reviewer is the turn's own actor. The guard also fires when the named reviewer is the actor that raised the gate, checked disjunctively, so naming either one is a self-review. Both pages now say the same actor the call would be reviewed for, and theself_review_refusedrow says which two actors that means. Tracks upstream9a4215c503. -
The reviewer callback names who may decide, not who may answer (2026-11-09).
content/docs/compliance/sec-finra.mdxsaid "The answer route ships" inside the bullet about naming a different reviewer, where it reads as though that reviewer can use it. The route does ship, and the limit is narrower than either reading:resolveGateReviewerand the route's answer authority are separate seams, so binding a gate to a reviewer doesn't make that reviewer the approver. The one-time credential is issued only on the stream that raised the gate, to the actorapproverOfnames, andapproverOfis where a host says who that is. The page now says that. The grade stays Partial. -
The agent-facing text expands the package metadata row (2026-11-08). Every docs page's
.mdtwin and the MCP server's page fetch used to serve the metadata row as a raw tag with its props still encoded, so an agent read markup instead of the package, its npm status, the subpath, the source links and the licence.lib/source-meta-text.tsparses the row strictly and states those facts in prose;lib/source.tsruns it for the.mdtwins andapp/api/mcp/route.tsfor the MCP fetch, which also now rewrites repo links the way the HTML does. A link whose target is not anhttp(s)URL or a site-relative path is refused rather than emitted, and an unknown field is refused with it. -
Family lock: the re-lock and the family-exhausted outcome corrected (2026-11-08).
content/docs/family-lock.mdxsaidsessions.updateProviderModelemits asession-lock-resyncedevent. It saves the new provider and model as a new session version. The page also said the runtime emitsfamily-exhaustedwhen the in-family cascade runs out; the runtime records it as a delivery outcome on the call row, served and billed as a notice rather than counted as an error.content/docs/architecture.mdxcarried the same event claim and now matches, as does the failover section ofcontent/blog/reconstructing-an-agent-decision-for-audit-trail-review.mdx. The in-family-only and no-silent-widening claims are unchanged. -
Prompt-builder helper signatures and the fragment count corrected (2026-11-08).
content/docs/prompt-builder.mdxlistedappendPrompt(prompt),prependPersona(persona),replaceCore(replacement),scopedPrompt({ scope, content })andgatedPrompt({ when, content }). Each takes an id, and the scoped helper takes its scope fields flat rather than nested. A reader who copied the old shapes got a type error. The page also said the bundled core ships "around 30" additive template fragments; it ships 44, andcontent/docs/prompts.mdxnow counts the base contributions and the template scaffolds separately. -
Skills: the org-tier read,
getAll()and derive precedence corrected (2026-11-08).content/docs/skills.mdxsaid the org and user store tiers each hold up to 50 skills. The org tier reads a page at a time and follows later pages when the store declares stable paging; the user tier reads up to 50. When an org read fails or stops early the loader warns once, user-tier skills still answer lookups, and that load derives no sub-agent. The page also now saysgetAll()returns one entry per name, which is why it is the wrong input for deriving sub-agents, and documentsgetLoadedSkills()for that. When a name exists in both the org and user tiers, the org entry wins on derive and the user copy is not a fallback. -
The waiting state now covers the client's own tool loop, and
expectsApprovalis documented (2026-11-08).content/docs/interrupts.mdxandcontent/docs/stream-events.mdxno longer limit the held start to the graph's dispatch. A call the client's tool loop announces before or after its gate is raised also getstool.awaiting_approval, thentool.startedonly on approval. The pages now nameexpectsApproval(toolCall)in the interrupt config. A host whose own executor raises the gate returnstruefrom it to have that call's start held too. -
A call waiting at an approval gate is documented as waiting, not started (2026-11-08). The runtime now emits
tool.awaiting_approval({ toolCall, interruptId }) when it holds a call at an approval gate. It emitstool.startedonly once a decision approves the call, and a refused or expired call never gets one.content/docs/stream-events.mdx,turn-lifecycle.mdx,interrupts.mdxandevent-log.mdxadd the event, itsapproval-requestedfold and its event-log row. They also state the limit: a gate raised by your own tool executor isn't predicted, so that call still emitstool.startedfirst. Before this change the pages said every dispatched call gottool.started, and the runtime wrote one while the approval was still owed. -
@pleach/core/cryptorow on Subpath exports corrected (2026-11-08).content/docs/subpath-exports.mdxsaid aNOT NULLwrapped-key schema letsgetOrCreateDeksucceed and makesshred()fail later. The registry's preflight makesgetOrCreateDekthrowSubjectKeyDdlShapeErrorbefore any key is stored, as Erasure limits says. The row now says so and links there. -
Durable pending interrupts narrowed (2026-11-06).
content/docs/interrupts.mdxsaid the runtime stamps pending interrupts "at every checkpoint write" and that an approval owed when the process died is still owed after a restart. A checkpoint is written at turn milestones, not when a gate is raised, so a gate raised since the last write isn't in any checkpoint. The page now says so, and it says theinterrupt.requestedrow holds argument names only. It also says a restored pre-decision checkpoint reopens a decided gate. -
Air-gapped rejection timing.
content/docs/use-cases/government.mdxsaid an empty allowlist fails at runtime construction.@pleach/corechecks each outbound URL when the call is made, so the first outbound call is rejected withAirGappedHostRejectedError. -
Multi-slot replace.
content/docs/prompts.mdx: multi-slot replace now states that onereplacewins per id and that different ids compose in first-registration order. -
runtimeModevalues.content/docs/eval-and-replay.mdxanddeployment.mdxlistedproduction,replayandeval-noncached. The runtime config takesinteractiveanddeterministic.determinism.mdxnow says its five values belong to the fingerprint.customer-support-agent.mdx,internal-knowledge-agent.mdxandcache.mdxno longer name modes that don't exist. -
No master switch.
content/docs/deployment.mdxandapi-routes.mdxnamed a runtime master switch and a mode env var the packages don't have. Wire your own flag at runtime construction. -
Chain-stamping limit.
content/docs/hash-chain.mdxnow says that turning offc9PhaseBEnabledis safe only for chats with no chained rows. -
Skill body limit.
content/docs/skills.mdxno longer says a content limit constant is exported from@pleach/core/skills.
Added
-
Raising a gate writes its own checkpoint (2026-11-09).
content/docs/interrupts.mdxsaid a raise doesn't write one, so a gate raised since the last message was lost with the process. It now writes a checkpoint stampedsource: "interrupt"withwrites: ["interrupt.requested"], carrying the pending interrupts, the pending tasks and the event-log cursor. The page states the four limits: it covers a gate the manager registered, it needs a checkpointer, it is a probe that never throws or delays the gate, and nothing reads it to answer the gate — a resolve looks in memory only, so a restarted process still can't settle an owed gate. Tracks upstream34836712ed. -
Replacing a
core.*slot, and executor-declared containment (2026-11-08).content/docs/prompts.mdxadds "Replacing acore.*slot": the runtime-aware hook is the one route that replaces a core slot, and acore.*id in a static contribution fails the registry's namespace check, is logged as a warning and dropped, whatever its mode.content/docs/core.mdx,content/docs/devtools.mdx,content/docs/extending.mdx,content/docs/error-codes.mdx,content/docs/plugin-contract.mdxandcontent/docs/plugins/authoring.mdxstate the same route where they mention the slot.content/docs/skills.mdxadds "Executors declare containment": a derived spec runs only on an executor that has declared it enforces the no-nested-spawn and denied-tools fields, and a sub-agent's denied tools apply to every sub-agent it starts. -
resolveGateRevieweris documented, with its binding-only limit (2026-11-08).content/docs/interrupts.mdxadds "Naming a reviewer". The host callback binds a gate to a named reviewer instead of the turn's actor. A self-review is refused asself_review_refused, and a throw or an unreadable answer is refused asreviewer_unresolved. Both codes join the release table. No shipped route lets a named reviewer answer yet, and the page says so.content/docs/compliance/sec-finra.mdxadds the same limit under human review. -
Erasure limits (2026-11-08).
content/docs/compliance/erasure-limits.mdxis a new page on what a@pleach/corecrypto-shred erases and what it doesn't: backups and replicas, plaintext written before or outside encryption, undeclared plaintext copies, session subjects keyed by more than one id, copies outside the event log, unkeyed digests and retired key generations. It also covers rows held in memory during a key outage. The code it describes is experimental, and the page claims nothing about any deployment. It adapts the upstream@pleach/coreerasure-limits doc at upstream af25ba80d4.content/docs/meta.jsonlists it after GDPR right-to-erasure, which now links to it. -
useRemoteTurn. New page for the browser hook over server-hosted turns, exported by
@pleach/core/reactand@pleach/react. It covers mountingcreatePleachTurnRoutes, re-attaching by turn id, approvals, Stop, and the server's limits, including the 15-minutedetachedApprovalWindowMs. React now lists the hook, so@pleach/reactreads five hooks rather than four. -
WORM tier covers the call rows. The call ledger gets write-once and no-truncate triggers, and rows leave only through a destroy function, which honours legal holds and writes a disposal record per outcome.
runCallLedgerRetentionPass(@pleach/core/audit) is the call-row retention pass; neither pass has a default period. A host that updates or deletes call rows directly fails once the tier is applied. -
Signed grants from your own host.
signPermissionRow(@pleach/core/audit/permission-ledger) signs the permission rows your host writes; the bundled local server already signs its own with Ed25519. -
Interrupts document
headless_refusedandapproval_unrecorded. A refusal no person gave is written as a policy decision, never under the name of the person whose resolve triggered it. -
Server and API routes name the turn subpaths.
@pleach/core/server/turnsexportscreatePleachTurnRoutes, and@pleach/core/clientexportscreateRemoteTurnSource. -
API routes → Sharing claims across instances.
messageIdempotency.storetakes aMessageIdempotencyClaimStoreyou write over your own Redis, SQL database or KV, so a re-sent message is refused on every instance. The section lists what an adapter must guarantee. A store that throws or missesclaimTimeoutMs(default 2000) fails open: the turn runs and the route logs one warning. -
API routes → Long turns. A claim whose turn is still running is kept past
inFlightMaxAgeMs, through the optionalrenewon a shared store.keepAliveMaxMs(default 30 minutes from the claim) caps that keep-alive. The409'sturnIdnames the owning turn from the claim on. -
Interrupts → How a pause works covers
config.interrupt(). Four new rules: the call resolves anInterruptOutcomeand never throws; payloads must be strict JSON within 16384 bytes; the node is never re-run; a retried node gets earlier answers re-served in call order. -
Interrupts → When an edit is refused.
resumerefuses an approval whosemodifiedArgumentsisn't an object, sets a prototype key, or sets an argument outside a closed schema. The receipt carriesrefused: "edit_not_allowed", the HTTP route answers422, and the gate stays pending. -
Interrupts → Reviewing a result covers previews. A result too large to show whole, or with no JSON form, reaches the model only on an approval with
acknowledgeIncompleteResult: true. A plain approve of a preview withholds it. -
Stream events → Part ids.
message.delta,reasoning.deltaandthinking.deltacarry an optionalpartId, andapplyStreamEventputs it on the text or reasoning part it builds. React notes the optionalidonparts. -
Subagents documents
WorkspaceContextTransport.fetchWorkspaceContext(sandbox, { transport })routes the query through your own endpoint, for code that can't reach the sandbox directly. The connection then needs notunnelUrlorsessionToken. -
Tools covers withheld tools on continuation. A tool the session withholds is never counted as still owed. A plan restored on resume is re-filtered against the current restriction.
-
Interrupts → Reviewing a result.
interruptAfterpauses after a top-level plugin tool runs. Approve hands the model the real result. Deny, an edit, an expired window or a stopped turn withhold it. The reviewer's copy is capped at 64,000 characters of JSON. -
Interrupts → Who can decide covers session scope and unresolved owners. A resolve scoped to a session settles only a gate pending on that session. A gate whose owner can't be resolved is released at once with policy code
owner_unresolved. -
Interrupts → Released is not timed out. Gates released by
client_detached,bridge_capacity_evictedorowner_unresolvedproject asresolution: "released", nottimeout. -
React → Tool parts. A table maps each tool event to the part state it produces:
tool.deltaopens aninput-streamingpart, and a failed tool settles asoutput-error. A call a host had already started gets a flatSUPPRESSED:tool.failed, only when its stream finished normally. -
Turn lifecycle §
tool-loopdescribes the one decider. On the loop path thellmDecisionnode owns the turn, its decision call runs the client's agentic loop, and per-call overrides travel with each call.
Changed
- Docs cite public import specifiers, not package source paths. Pages
that pointed at files inside a package's source tree (
src/...,packages/<sku>/src/..., line numbers, deep links into source) now name the symbol and the subpath it's exported from. "Cited source" lists are now "Public surface" lists. The site's CI now fails on a new source path in a page. - DeepSeek and Google keys stream on their own. CLI,
install and quickstart list five
built-in streams: Anthropic, OpenAI, OpenRouter, DeepSeek and Google. A
Mistral or Moonshot key alone still answers
503 no_provider_key, andOPENAI_API_KEYwins overGOOGLE_API_KEY. - The fork parent-row link is on by default when the event-log writer
uses the v3 chain identity (
c9ChainIdentity: true);forkParentRowReader: nullturns it off. It stays experimental. - Interrupts → Reviewing a result:
an edit on an
interruptAfterapproval is refused, not withheld. Nothing settles and the gate stays pending, so the approver can answer again.
Fixed
-
WORM tier states its limit in the opening. A table owner or superuser can disable the triggers, so the tier constrains application roles.
content/docs/worm.mdxsaid this only near the end of the page. -
Time travel said nothing wires a parent-row reader by default. A runtime whose
EventLogWriterhasc9ChainIdentity: truewires one over that writer's own store, andforkParentRowReader: nullopts out.TimeTravelAPIOptions.readParentChainRowstill has no default. -
Scrubbers and the audit ledger said the SQLite event log's scrub was opt-in. It is on by default, as on Postgres:
createSqliteDurableStoreruns the built-in scrubbers before hashing each row, andredaction: "off"is the opt-out. -
Providers and the tenant facet said the provider tenant header was off by default. It is on:
AiSdkProvider,AnthropicSdkProviderandOpenAINativeProvidersend the call's tenant underx-tenant-idunless you passtenantHeader: false. The section anchor moved from#opt-in-tenant-headerto#tenant-header, and the egress warning now describes the default. -
OTel spans cover the tool loop and sub-agents. Each provider request the tool loop sends now gets an
llm.invocationspan, so the page no longer says the tool loop's requests have none. A sub-agent run by the built-in tool-loop executor gets asubagent.runspan, and its model calls nest under it. Comparison also names the SupabaseEventLogWriter's metadata-onlyevent.redactedstand-in and the cost rollup'spartialflag. -
Blog posts and weekly digests state release status. Each blog post and weekly digest, and its
.mdtwin, now says no@pleach/*package is on npm yet and links packages. The docs pages already said so; these pages stand alone in search results and didn't. -
CLI no longer prints
npx harness init --apply.harnesson npm is an unrelated third-party package, so copying the legacy form ran someone else's code. The page now calls it the CLI's older flag-first form. -
The call-row hash chain is on by default.
schema.mdx,security.mdxand the audit-trail blog post said theAuditableCallchain was opt-in (hashChain: true, or a plug-point you enable).PostgresProviderDecisionLedgerstamps it whenhashChainis omitted;hashChain: falseopts out, andlineageColumns: falseleaves it off. -
GDPR erasure names
SubjectKeyRegistry. The page said no per-subject key store ships.SubjectKeyRegistryis exported from@pleach/core/crypto. -
Interrupts no longer says a paused turn survives reloads. It pointed at Checkpointing, which doesn't cover paused turns. A reloading client records
client_detached. After a restart the decision is still owed, but the turn doesn't continue. -
API routes → Long turns no longer says the keep-alive has no upper bound.
keepAliveMaxMscaps it, so with the defaults a turn that never settles holds its message id for about 1.5 hours. The running turn is not aborted. -
API routes → Re-submitting a message no longer says a turn that outruns
inFlightMaxAgeMsloses its claim. A claim whose turn is still running is kept past it. -
Hash-chain stamping reads "on by default" everywhere. Comparison, Compliance, FAQ, Glossary, Security and Session runtime said writer-side stamping was "in soak" behind
c9PhaseBEnabled. The flag defaults totrue, as Hash chain and Event log already said; a host opts out by setting it tofalse. -
License claims match npm and the FSL clock.
/licenseand/pricinglisted@pleach/core,@pleach/tools,@pleach/base-toolsand@pleach/complianceas published1.x, and@pleach/reactand@pleach/langchainas0.0.xpreviews. On npm, every@pleach/*name is a0.0.1 · UNLICENSEDplaceholder or unregistered. Both pages now say every package is licensed FSL-1.1-Apache-2.0 and replaces its placeholder at its first real release. -
The Apache-2.0 conversion runs per release. Thirteen docs and blog files said each package converts "two years after first stable publish", including
content/docs/faq.mdx,packages.mdx,versioning.mdxandglossary.mdx. Each release converts two years after it ships, as the FSL text states, and the pages now say so. -
"Is this open source?" answers fair source. The FAQ answered "Yes". FSL isn't OSI-approved, so the answer now says fair source, converting to Apache-2.0 per release.
-
The FAQ no longer says the
0.0.1placeholders carried the FSL grant. They'reUNLICENSEDwith no code. -
Dead LICENSE links removed.
/licenseand/pricinglinked apleachhq/coreLICENSE file that returns 404. They now point at the FSL specification and the per-package LICENSE. -
Docs stop describing a
0.1.0npm release that hasn't happened.content/docs/index.mdx,architecture.mdx,plugin-contract.mdx,packages.mdx,versioning.mdx,langchain.mdxand/llms.txtsaid a "first-wave" publish had cut every package at a0.1.0floor.0.1.0is the source version; npm holds0.0.1 · UNLICENSEDplaceholders. The pages now say both, and the changelog index labels those packages0.1.0 · npm placeholderinstead of "published". -
Links into the private repositories point at each SKU's docs page. Every
github.com/pleachhq/*repository, including this site's, returns 404 to readers. WhilereposPublicinlib/shared.tsis false, a link into a repository, including a deep path, goes to that SKU's page instead (pleachhq/compliance→/docs/compliance), in rendered pages, the.mdtwins andllms-full.txtalike. The changelog index links each package to its site changelog. The nav, footer and "edit on GitHub" links are hidden. Bug-report copy on/faq,/community,/securityand/legal/termspoints to the inbox, and JSON-LD dropscodeRepositoryand repositorysameAsentries. Flipping the flag restores all of them. -
Install pages say the packages aren't on npm yet. Install, Quickstart and Getting started carry a callout: the npm names are placeholders, and the commands describe the install once the first release lands. Contributing and Reference apps say there's no public repository to clone yet.
-
Interrupts matches how a pause works. The page said
interruptBefore/interruptAfterare debug-only. They are production gates on plugin tools forcreatePleachRoute,createPleachAgentandcreatePleachRuntime, and they fail closed. The "five rules" described an exception that unwinds the stack and a node body that re-runs on resume, plusruntime.onAbortandruntime.cache; none of these exist. A gated call awaits its decision, and the engine doesn't catchGraphInterrupt. The page said the runtime emits aHumanInterruptand rejects a response itsconfigdisallows. It emits aPendingInterrupt, andHumanInterrupt,HumanResponseandPerToolApprovalare types only. "Deny → skip the action" is now split: a deny before the call means it doesn't run, and a deny after the call (interruptAfter) withholds a result the call already produced. An approval with edits after the call withholds the result too. The timeout walk-through now says the plugin-tool gate refuses the call with a policy decision (approval_window_expired) rather than failing the turn. -
Stream events and Tools report a failed call the way the runtime does. A dispatched call that fails ends in
tool.completedwithtoolCall.status"failed"or"error", not only intool.failed. Stream events adds flat terminals and howapplyStreamEventsettles each tool part (output-errorfor a failure). Turn lifecycle saystool.deltaalways precedestool.started, and that a round's calls are announced when its model response ends. -
Stream events → Which message a correction names.
content.correction,content.resetand the terminalmessage.completecarrymessageId, the turn's assistant message id. The stale-correction rule now lists both checks:messageIdagainst the turn's assistant id, andsourceMessageIdagainst its user message. -
The guest interrupt bus takes typed scopes.
recordInterruptDecisionneedschannelInterruptScope(chatId)orsessionInterruptScope(sessionId). A bare-string scope is refused for a typed mark. Interrupts lists the three refusal reasons. -
Event log corrects the
interruptProjectionshape toinitial/reduce/finalize. -
Server event query documents
limitpaging and the400responses. The shared interrupt resolver's callback now receives the caller. -
/llms.txtand the changelog index match the package table./llms.txtsaid@pleach/core@1.xand called the per-call audit ledger "append-only". It now says every shipping package sits at the0.1.0floor, and calls the ledger tamper-evident. The/changelogpackage index used three statuses (published · 1.x,pre-1.0 preview · 0.0.x,reserved) that no longer matched Packages. It now lists all twenty packages with the four states that page uses: published at0.1.0, deprecated re-export shim,0.1.0not yet on npm, and reserved. The eval, gateway, replay, MCP and coding-agent rows no longer read "reserved". -
AuditableCall row lists every status, and the version is 32. The
outcome.statuslist named six values. It now listsdegraded,unreadandpost-settleas well, with the optionaldegradedReason, and the currentauditRecordVersionis 32. A consumer with an exhaustive status enumeration must add the three. The page, the version table and the Core, Observe and recipe pages that cited v31 now agree. -
Fabrication detection no longer says the guard runs before the user sees the text.
applyFabricationGuardrewrites a turn before it is persisted, and a streaming client receives the rewrite as acontent.correctionafter the original deltas. The page now says that, and that a client using the answer hold never shows text a guard corrects before the turn completes. -
CLI matches the shipped
pleachbinary.pleach createis the preferred scaffolder verb, andpleach initis its alias. An unknown word printsunknown commandand exits1. A leading flag routes toschema, so the TUI examples now readnpx pleach tui --print "…", sincenpx pleach --printexits2.pleach init --applyruns the wizard, notschema. -
CLI →
pleach initlists the real wizard. It also asks for a publishing intent and whether to enable subagents, and it asks about the schema only whensupabase/or@pleach/coreis present. The detected framework picks the app files whatever the template; the template picks the plugin stub. Next.js App Router also gets the/auditview (app/auditStore.ts,app/api/audit/route.ts,app/audit/page.tsx). Schema copies are named<timestamp>_base__<file>.sql,--facets-file splitwrites only afacets/README.mdplaceholder, and an unknown facet exits2.--templateis read only on the--yes/ non-TTY path, and the--add-pluginflag never existed. -
CLI →
pleach devdefaults to port4111, not an automatic port. It has no--help, and it ignores unknown flags. It also accepts--catalog-endpoint <url>. -
CLI → Sibling-SKU binaries. No sibling package ships a bin yet. The page said
@pleach/complianceand@pleach/evalexposepleach-complianceandpleach-eval. -
HarnessServer → Session handlers said
handleCreateSessionmergesconfiglast. It applies only thetitle,provider,modelandtoolskeys and refuses any other key with400. The table addshandleUpdateSession(titleonly), the optionalrequest?: { userId }argument on every session handler, anduserIdonExecuteRequestContext. -
Getting started and Deployment cited "the 10 SQL files" and the auditable-calls SQL file. The wizard copies the
basetier: seven files, including the call-ledger file. -
Core cited
auditRecordVersion = 18. The current version is 31. -
Model resolution matrix spells out what a fallback implementation promises when it declares
auditHooksEveryAttempt: true. It forwards each attempt's events unchanged before advancing that attempt, or the call counts twice.
Added
-
Interrupts → Who can decide. A turn started with
executeMessage(..., { actorId })binds its gates to that actor, andcreatePleachRouteuses the non-emptyresolveUserIdvalue.runtime.interrupts.resolvetakes the caller as a fourth argument; another caller getshandled: false. Server documents thecallerargument oncreateInMemorySharedInterruptResolver. Interrupts also documents theinterruptoption oncreatePleachRoute, the arguments and result shown during approval, andinterrupt.timeout, whichexecuteMessagenow yields with the other interrupt events. -
Stream events → Discarded tool input.
tool.input.discarded { toolCallId, reason, toolName? }with its four reasons, thecreateStreamedToolInputstracker, andwithoutUnstartedToolInput. -
API routes → Re-submitting a message.
createPleachRouteanswers409PLEACH_DUPLICATE_MESSAGEto a repeat of a message id whose turn is running or was answered. The section covers which endings free the id, the per-process scope and themessageIdempotencybounds. The code is in Error codes. -
React →
useChatlistsclearMessages()(the same function asreset) andUseChatDuplicateMessageError. -
Sub-agents → Pairing a child call with your cost row. Each child model call carries a fresh
auditLinkKeyandauditInvocationIdon theonModelCallrecord. A host that records its own cost row should forward both, or that call is counted twice (never zero times). -
AuditableCall row → Fallback attempts. A fallback implementation that declares
auditHooksEveryAttempt: truegets exactly onemodelCallrow per hooked attempt. An attempt created and never read recordsunread, and one created after the call settled recordspost-settle, on bothoutcome.statusandmodelCall.errorClass. Neither is a provider failure, cost is omitted (usage-unreported), never$0.degradedis a delivery verdict, counted as served and billed. -
API routes → Routes on a runtime without
AsyncLocalStorage. On such a runtime (a browser), a request from a different route while one is in flight answers503PLEACH_ROUTE_OVERLAPwithretry-after: 1, and a corrupted gate answers500PLEACH_ROUTE_GATE_UNAVAILABLE. Both are in Error codes, with a note in Deployment. -
SessionRuntime lists the experimental
hasLiveGraphRuns()andwhenGraphRunsSettled(). -
settledPartson the React hooks.useHarness,useChatanduseSessionMessageStream'sTurnContextexpose the settled message's parts, including the tool parts of the calls that started, sincepartsempties when the turn settles. The answer hold masks it likeparts. React also documents that eachuseHarnesssend keeps its own turn state, and thatcreateSessionorresumeSessionduring a turn detaches that turn without stopping it: its pending approvals are released unanswered, recorded as a policy decision (client_detached), not as the user's, so it cannot stall the next send, andabort()must come before the switch to stop it.useHarness.resolveInterruptnow reaches the runtime, or the in-process bridge on a browser runtime. -
Answer hold:
holdAnswerUntilTurnCompleteonuseChat,useHarnessanduseSessionMessageStream(default off). It keeps the reply out of view until the turn ends, so text a guard corrects or resets is never shown first. After a Stop, a dropped stream orreleaseAfterMs, the text shown may be the uncorrected partial.useSessionMessageStreamgainsonAnswerReleased(ctx). Documented in Fabrication detection § Holding the answer, React and Troubleshooting.collectStreamneeds no option. -
AuditableCall row → Lineage columns. The call ledger gains parent-turn, root-turn, sub-agent-depth (never null, default 0) and tool-name columns, written by default;
AuditableCallv31 adds optionaltoolName. The root turn is the depth-0 turn on every row, so grouping by it rolls a sub-agent tree up to its user turn at any depth. Re-applying the base tier's call-ledger file adds the columns; on an un-migrated table the ledger falls back to the old insert and reportsAUDIT_LEDGER_COLUMNS_DOWNGRADEDonce (upstream118f2a3445). -
AuditableCall row → Proving rows weren't edited (opt-in).
new PostgresProviderDecisionLedger({ client, hashChain: true })stamps a chain sequence number, the previous row's hash, and the row hash per tenant and session, andverifyAuditableCallChainwalks it. Removed tail rows need anexpectedHead; an unkeyed chain can be recomputed by anyone with write access (upstreamf5c8dc59ac). -
Audit ledger →
PostgresProviderDecisionLedgerdocuments its options (hashChain,lineageColumns) and theAUDIT_LEDGER_*breadcrumbs. -
Audit ledger → Anchoring call rows in the event log (opt-in).
withAuditRecordedAnchorwrites oneaudit.recordedevent per written call into the chained event log;verifyCallAnchorsreports missing, mismatched, orphan, and duplicate anchors. No PostgresAuditableCallreader ships yet (upstream9ce2d0b56b).
Changed
createPgEventLogWriterstamps the hash chain by default. Storage and Hash chain said it left the previous-row hash and row hash empty. It now stamps them byte-identically toEventLogWriter(stampChain,chainSigningKey,sequenceAllocator); upgraded chats verify as discontinuous unlessfirstChainedSequenceNumberis passed (upstream9df75c970b).- Subagent rollups group by the root turn id. The homepage diagram and row-2 card, Subagents, Swarm agent, Research agent, the multi-tenant and regulated-domain agent pages, and Landscape row 4 drop the parent-or-turn-id fallback and recursive CTEs. The recursive CTEs never walked a nested tree: the parent turn id holds the user turn at every depth. Mixed history groups on the root turn id, falling back to the parent turn id, then the turn id.
- Subagents no longer says the Postgres ledger drops lineage.
- Chain attribution corrected. AuditableCall row
said
@pleach/complianceadds the hash-chain columns, and Hash chain said the event-log chain protects the call row. The call-row chain lives in@pleach/coreand is opt-in; the replay note now says replay re-serves from a verified chain rather than asserting deterministic re-execution.
Added
- API routes → Live runtimes per session
documents the per-session runtime map.
createPleachRouteskeeps one live runtime per session, bounded bysessionRuntimeCapacity(64) and the new per-principal sub-capsessionRuntimePerPrincipal(16). A single-user host now keeps at most 16 idle live runtimes. Sync and fork with no live runtime rebuild a short-lived runtime from stored state (409 no_live_runtimeonly with no stored row or no provider;429 too_many_session_rebuildspast 4 in flight per principal), while interrupts and the?sessionId=reads of/toolsand/inspectstill answer409. Resolvers must be deterministic and not read the body. A runtime the routes release throwsSessionRuntimeReleasedError(session_runtime_released) if a host reuses it (upstreamf642fe62da,b65b3c2361,6209046109). - API routes → Skills and memory per caller.
Under
resolveUserId,GET /skills,POST /skills/:name/activateandGET /memoryact for the caller and refuse an unusable caller401. A gated host setsskillOwner.orgIdto the runtime'sorganizationId(DEFAULT_IDENTITY_ORGotherwise). Custommemory/skills/activateSkillclosures must take the caller ctx; the server warns once for a closure that can't see it (upstream0dcd30d4b1). - Fork ownership. API routes → Session ownership
and Time travel → Who owns the fork:
a fork belongs to the gated caller, through
TimeTravelForkOptions.ownerUserId(upstream3e8bcf4b65). - CLI → The sidecar's
/mcpendpoint.tools/callmust name a session inparams._meta["pleach/sessionId"](-32602without one,-32001with no live runtime); the sidecar admits only its launching process (upstream3e8bcf4b65).
Fixed
- CLI →
pleach schemadocuments the tiered bundle. The section listed only--target,--dry-run,--applyand--timestampedand said re-applying won't migrate column shapes. It now covers--with <tier|package|all>and--list, the<rank>_<tier>__<file>.sqlnames, identical-file skips, refusal of unknown flags (exit 2), and exit 3 only for a differing file. - Schema → Applying the bundle:
--with allalso adds first-party package schemas, not only core extensions. - HarnessServer → Supplying a durable interrupt resolver
said the default resolver binds a fresh per-request runtime (404 on a
later request) and that sync and fork need no runtime. The default
binds the session's live runtime (
409 no_live_runtimewithout one), and sync and fork rebuild one from stored state.
Fixed
- SessionRuntime
runs one turn at a time per runtime.
SessionRuntimeserializes turns across every session id (sessionTurnQueue,"runtime"scope). Concurrency comes from one runtime per thread or request; awaiting a same-runtime turn from inside a turn waits behind its parent, and the wait fails open aftersessionTurnQueueMaxWaitMs(30 minutes). React notes its stream lock is client-side (upstreamaf09c887c0,a799e26821,4849fc3b9b). - The synthesize cap counts admitted answer-producing calls.
Seams,
Turn lifecycle, Graph, the FAQ,
and the plugin and call-class pages said "one synthesize per turn" and
that a same-message re-fire never reaches the provider.
TurnSynthesizeCounterspends a slot only for an admitted call that can produce a new answer body; theSynthesisTerminalArbitershort-circuit and the suppress arm spend none.TurnSynthesizeCapExceededErroris thrown by the host counter and is not exported by core (upstream346384c8f7,e1c5a2214e). - Audit-row identifiers match the call ledger across the docs.
model_id/modelIdismodel;token_usage/tokenUsageispayload->'tokenCost'(inputTokens,outputTokens,costUsd). SQL examples that queriedfamily,region,call_kind,input_tokens,output_tokens,outcome->>…, orpayload->>'tenantId'now use the real tenant column, turn id,session_id,provider,transport, andstatuscolumns — across the multi-tenant, observability, troubleshooting, agent-shape, migration, and integration pages, plus the compose-underneath diagram. The audit row doesn't record region; pages that said so no longer do. - Hash chain walks in
(sequence number, id)order. It told readers to walk by(created_at, id), which breaks links on intact chains. Thedb/verify-chain.sqlrecipe makes the same fix and partitions per chat. - Hash chain → What gets hashed
lists the real
CanonicalRowFields. It namedrecord_id,session_id, and rawpayload; the payload enters only aspayloadHash. The v3 field list is added. - Audit ledger uses current identifiers.
streamByTimeRangeshows itstenantIdoption, the row field list saysmodelandtokenCost, and the hash-chain note saysEventLogWriterstamps the chain by default. - WORM:
--with allincludes thewormtier. The page asked readers to dry-run and check. - Base tools → Registration pattern
follows
resolveBaseToolsProfile. Injecting a capability enables its tool, a code runner selects the workspace profile, andscratchpaddrops when a filesystem adapter is set. @pleach/toolsis described as a re-export shim. Tools and Base tools no longer present it as a live SKU with a reference catalog; it re-exports@pleach/core/tools/unified.maxPerTurnreturns a refusal. Swarm agent and Research agent say an over-capspawnAgentreturnsrefusal: { kind: "spawnsPerTurn", limit, actual }; onlymaxSubagentFanOutPerTurnonspawn()throws.- Landscape → The short version
matches its rows. One row per provider dispatch, retries included, and
"replay from the record" naming the first divergence, not "deterministic
replay". Row 11 names the turn id and
payload.tokenCost. - React → useCompliance lists the hook's real
return fields and flags that it sits on the deprecated
ComplianceExtensionImpl/SupabaseComplianceStorage(upstream0ee37c5036).
Added
- New WORM tier page. The opt-in
wormschema tier adds a legal-holds table, triggers that refuseUPDATE,DELETE, andTRUNCATEon the event log for every application role, and disposal only through the hold-aware destroy function. The page states its limits: the table owner and superusers are not constrained (upstream8b0735f38a). - Hash chain → Chain identity (v3)
documents chains keyed on the tenant column and chain id. It covers the
pleach.c9.v3andpleach.c9.v3.hmacidentities, the session chain (session.created,session.bound_chat,writeSessionChainGenesis), and the v1/v2/v3 verifier dispatch. Thec9ChainIdentitywriter option defaults tofalse(upstream5bd3c610f4,bb3da020b9,d155fd0d6e). - Hash chain → Detecting a removed tail
documents committed-head verification.
expectedHead { sequenceNumber, rowHash }catches a deleted tail, not only an edited row;createSupabaseChainReaderandChainReadNotVerifiableError(v3-row-on-chat-read) are covered (upstreamd985a6452f,75efcc01f8,ce28422105). - Attestation → V2: DSSE envelopes.
signAttestationV2signs the DSSE PAE through the key-store's optionalsignBytes, which the file-backed, AWS KMS, and Vault Transit stores implement, and throwsRawSigningUnsupportedErrorrather than fall back to V1.verifyAttestationdispatches onversion, returnsunsupported-versionfor anything else, and never throws or echoes attacker text (upstreamff7593811d,7f43f66984,0ec3d96e11,be745e5906). - Tools → Tool policy.
SessionRuntimeConfig.toolPolicy(allow/deny/onWithheld) is narrow-only and enforced by the adapter'sapplyToolRestriction; an adapter without it is refused withToolPolicyNotEnforcedError.narrowChildToolSetsmakes the parent's lists a ceiling for sub-agents, andsessionToolAllowedreplacesguestToolAllowed(upstream430f388cd5,d99868e402,4faf9ee079,af69f5ab24). - Base tools documents the workspace file tools.
fs_glob,fs_grep, approval-gatedfs_edit, andfs_readoffset/limit, with symlink re-confinement throughFileSystemAdapter.realpathand the@pleach/core/base-tools/nodeworker subpath (upstreamf040310830). - Subagents → The tool-loop executor.
createToolLoopSubagentExecutorruns a child bounded bymaxSteps(ceiling 40) with narrowed tools, routes throughspawnAgent, and prices and budgets every child call (upstream922aa04353,19af73a5c1). - SessionRuntime → resumeStream.
resumeStream(sessionId, { seededCompletedWork, planSnapshot })seeds settled async jobs and a saved plan, and synthesizes at most once with no user turn.composeResumeGroundedFallbackships at@pleach/core/runtime/resume/resumeGroundedFallback(upstream78099aa277,7b7b1bfd3f,15d044f5be).
Fixed
SUBAGENT_LIMITS.maxPerTurnis described as enforced. Subagents said a per-turn breach throwsSubagentFanOutExceeded.spawnAgentenforcesmaxPerTurnthrough a per-turn ledger and returns a failed result withrefusal.kind: "spawnsPerTurn"; the thrown error belongs tomaxSubagentFanOutPerTurnonspawn()(upstreambf76bb2d08).- The
text_searchexample uses the real parameter. It passedbody; the parameter ishaystack, and regex mode fails closed unlessallowInProcessRegexis set. - The
AttestationKeyStoreinterface listsidentify()and optionalsignBytes(). Attestation omitted the requiredidentify(), and its scope note still said the KMS and Vault adapters land in v1.0.
Fixed
- Audit-row identifiers on the homepage and docs index match the shipped schema.
The homepage row diagram named columns the call ledger does not have
(
tool_name,model_id,prompt_tokens). It now shows the real wrapper columns (record_id, the tenant column,session_id, the turn id,stage_id, the per-turn sequence number,call_class,provider,model,status,latency_ms,created_at) plus the previous-row hash. The two-row rollup diagram's query readSUM(token_usage), a column that doesn't exist; it now sumspayload->'tokenCost'->>'costUsd'grouped by the parent turn id (falling back to the turn id). Docs index no longer liststoolName/modelId/tokenUsageas row fields. - The
verifyChainartifact uses the real signature. It readverifyChain(rows); the function takesverifyChain({ entries, genesisHash }). - Landscape row 5 counts rows per dispatch. It said every
model invocation writes exactly one
AuditableCallrow. Since audit v27 every provider dispatch, retries included, writes onemodelCallrow (upstreamc20949c405). - Hash chain names which writer stamps the chain. A callout
states that
createPgEventLogWriterleaves the previous-row hash and row hash empty; only the fullEventLogWriterstamps them. - Attestation no longer calls the KMS and Vault adapters stubs.
AwsKmsAttestationKeyStoreandVaultTransitAttestationKeyStoresign through an injectedclient(KmsSigningClient/VaultTransitHttpClient) and throwNotImplementedErroronly without one. The KMS signing algorithm isED25519_SHA_512withMessageType: "RAW", notEDDSA. Packages makes the same correction.
Added
- Packages lists the three cloud transports and new subpaths.
@pleach/transport-bedrock,@pleach/transport-azure-openai, and@pleach/transport-vertexget matrix rows marked source-complete and not on npm (private). Core's row namesOpenAINativeProvider(upstream3ebb65059c). - Landscape row 4 names the durable rollup. Subagent spend
is durable today as the
cost.rollupevent row, read viaruntime.getTurnCostRollup().
Fixed
- The attestation timestamp-authority snippet now runs.
Attestation
called
createSqliteDurableStore({ path: "./agent.db" })and awaitedcreatePleachAgent. The real signature iscreateSqliteDurableStore(dbPath, options?), exported from@pleach/core/store, andcreatePleachAgentis synchronous. The snippet now shows both calls corrected, plus thecreateSqliteDurableStoreandFileBackedAttestationKeyStoreimports it was missing (the latter from@pleach/core/attestation/testing). - Schema file names in Query and Storage match the tiered layout.
content/docs/query.mdxandcontent/docs/storage.mdxnow name the sessions, event-log, outbox and chat-links schema files.
Changed
- Schema describes the current tiered layout.
Schema described a flat 12-file bundle
(numbered outbox, auditable-calls and spawn-event-fields files, and
a config-manifest file that does not exist). It now
documents a
basetier plus opt-in extension tiers, each with amanifest.json, thepleach schema --apply --withflow, andpleach schema --listas the source of truth for the tier set, so the page carries no file count. It also documents the identity pin on the sessions table (the id, user and organization columns can't be changed by a client after insert;service_roleand RLS-bypassing roles are exempt), warns that the organization id is still client-chosen at insert and must not back authorization unless the insert path is pinned (the org-keyed policy example carries the same warning), says the quickstart sentinel session is excluded from every owner policy that joins sessions, and points existing installs at the proposed upgrade SQL. - API routes document the narrowed session config and the
HarnessServerowner gate. API routes now lists the only fourPOST /sessionsconfigkeys (titleup to 256 characters;providerandmodelas strings up to 128;toolswithenabledup to 256 names,disabled, andmaxConcurrentfrom 1 to 64). Any other key, or the object form ofproviderormodel, returns400 { error, allowed, rejected }. The example body used the object form and is corrected. A new section describes directHarnessServerwiring: every session-scoped handler resolves its caller from the per-calluserId, elseauth.getUserId()(which must be request-scoped), else applies no gate; a foreign or missing session is404and an unauthenticated caller is401. A malformedPOST /skills/:name/activatereturns400, not500. HarnessServer and Language-agnostic contract carry matching one-line updates. - Unreported token usage is documented on the seam and provider
pages. Seams gains a Reported usage section: a count
the provider never reported is
undefined, not0, andusageObservedsays whether any usage object arrived. Providers saysAnthropicSdkProvidernow reportsinputTokensas the total prompt (cache reads and writes included), so addingcacheReadTokensorcacheWriteTokenson top double-counts. The AuditableCall row and Model resolution matrix say a streamed call that errors after its provider sent a usage object isusage-unreported, while a pre-stream refusal stays unmarked.
Changed
- Owner policies are documented as
TO authenticated, not as policies for anon clients. Schema → RLS template previously described the owner-scoped policies as "for anon clients". The template now carriesTO authenticated, and the page says every owner policy in the base schema and its extension tiers (errors, team, compliance, outbox) isTO authenticated, the model-registry catalog read is the only public policy,anonand other roles match no owner policy, and a plain-Postgres client with its ownauth.uid()runs as (orSET ROLE)authenticated. It documents that signed-in users may insert their own session rows with any id except the reserved quickstart audit session id00000000-0000-4000-a000-000000000001, and that session ids should still be minted on the server. A breaking-change callout covers clients that reached these tables as another role and the upgrade SQL that existing databases need. Multi-tenant → storage scoping and the Security guarantees table make the same correction.
Changed
- Session ownership and the rename-only
PUTare documented, and the old full-statePUTis corrected. API routes gains a "Session ownership" section: with a hostresolveUserId, every/sessionsroute acts for the authenticated user, a session you don't own answers404 {"error":"Session not found"}exactly like a missing id,executenever resumes another user's session, and a request with no user gets401 {"error":"unauthenticated"}. It is marked breaking for hosts with a resolver: existing sessions needextensions["pleach.ownerUserId"]anduserIdbackfilled.GET /sessionsnotes that?userId=is ignored.PUT /sessions/[id]previously said it took the nextSessionStatewith a version-vector check and a409; it renames a session, accepts onlytitle, and answers any other key with400 {"error":"field not updatable","allowed":["title"],"rejected":[…]}. Language-agnostic contract lists thePUTbody as{ "title": string }.
Added
- Tenant binding is documented for the routes, the local SQLite store
and the sidecar. API routes gains
a "Tenant binding" section:
GET /sessions/:id/verifyandPOST /sessions/:id/attestact only for the server's bound tenant, and a?tenantId=naming another tenant gets403;createSqliteDurableStore(path, { tenant })scopes sessions, checkpoints and event-log reads to its tenant and refuses to create a session on an id another tenant owns; the sidecar's/sidecar/replayreplays its own tenant.POST /sessionsnow says the server mints the session id and ignores a client-suppliedconfig.id. Environment variables gains a "Local sidecar" section forPLEACH_TENANT_ID(defaultdefault) andPLEACH_CONFIG_DIR, with a warning that settingPLEACH_TENANT_IDon an existing config dir hides the rows written underdefault.
Added
- Sub-agent event rows never borrow a chat id.
Stream events → Subagents now says
that durable
subagent.*rows take their chat id only from the spawning turn's session, and that a sub-agent spawned outside a chat turn (for example through the/mcptools/callendpoint) is written with no chat id rather than attributed to another chat.
Added
- Unreported usage is documented as a cost marker, and the
AuditableCallversion is now 30. The AuditableCall row documentscostOmitted: "usage-unreported"in both places core writes it: the decision row's top-levelcostOmitted(v28), set on a call's only row, such as a quickstart sub-agent's inner call, when its stream reported no usage or only one token count; andmodelCall.costOmitted(v30, Unreleased), now set whenevermodelCall.costUsdis absent, including a0/0usage, except on an errored attempt that reported no count at all (a refusal). The page adds the v29runstamp and the v30 row to the bump table, notes that a strict-enum decoder must widen, lists the usage spellings the reader now accepts (snake_caseinput_tokens/output_tokens, cache-read and cache-write fields), says a cache write makes the callunpriced, and tells readers of v29 rows to treatcostUsd: 0beside0/0tokens as a silent zero. Model resolution matrix summarises the rule.@pleach/observedocuments that everyusage-unreported(ledgermodelCall,model.called, the top-level reason) projects asunpriced, so the closedObserveCostOmittedset is unchanged. The observe, adoption paths, packages, CI enforcement and the two observability recipe pages name v30 in place of v28.
Changed
-
The
AuditableCallversion is now 28 across the reference pages. The AuditableCall row documents the identity, decision and outcome fields added or made optional since v19 (sub-agent attribution,parentRecordId, the decision row'scostOmitted,lockedFamily, optionalrungOrdinal/fallbackChain, theprovider-exhaustedstatus), adds themodelCallper-call slot to the payload table, extendstokenCostwithcostUsd/costOmitted/priceSnapshot, replaces the version paragraph with a v20–v28 bump table, and adds a "Price snapshot" section for the v28priceSnapshotstamp. Model resolution matrix notes the v28 stamp.@pleach/observe, Adoption paths, Packages, Agent instrumentation and BYOK observability name v28 in place of v19 (and of the leftover v13 on the observe page), and CI enforcement gives the current version as 28 instead of 25. -
Per-call audit rows and the closed
costOmittedset are documented. Model resolution matrix gains a "Per-call rows" section: every provider dispatch writes onemodelCallrow (AUDIT_RECORD_VERSION27), what a decision row is versus a per-call row, and howpriced-per-call/owned-per-callkeep each dispatch billed once. Its pricing paragraph now describes the per-runtime/modelssnapshot (createModelConfigSnapshot,installStandardLoaders({ modelRates }),warmModelCatalog) instead of rung-only pricing. Family-lock documents the per-call row's family attribution order andUNRESOLVED_PROVIDER_FAMILY.@pleach/observedocumentsObserveRow.costUSDas optional and everyObserveCostOmittedreason (unpriced,served-model-mismatch,priced-per-call,owned-per-call,not-a-call), thepleach.cost_omittedtag the Postgres and Supabase destinations store, andpleach.observe.cost_omittedon OTel spans. Cost events corrects the route output (costUsdoptional,RouteCostOmitted), thecomputeCostexample (costIncompleteis required), and documents that the ceiling fails closed on an unknown cost and prices cached prompt tokens at the full input rate (an estimate, not an upper bound). Agent instrumentation drops the "main-turncostUSDis a0sentinel" claim: an unknown cost is now absent withcostOmitted, never0. The older keylessdemoentry on the core changelog is marked superseded. -
No-key turns return a typed 503; the demo stream is unpublished. With a resolved provider but no key,
createPleachRoute/createPleachRoutes/createPleachAgentnow answer HTTP 503{ error: "no_provider_key", provider, envVar, detail }instead of a 200 stream whose reply was a "Set<PROVIDER>_API_KEY" hint. The@pleach/core/internal/quickstart/demoStreamsubpath and thex-pleach-placeholder/x-pleach-moderesponse headers are gone, and no stream can waive the key or bypass a configured durable audit ledger. This supersedes the keylesscreatePleachRoute({ demo })first-run described further down.pleach tuirenders the typed error asno_provider_key (HTTP 503): <detail>.
Fixed
-
Attestation says what an inclusion proof does and doesn't prove.
chainProofwas described as locating the leaf "inside the tenant's broader chain", which reads as if a passingverifyInclusionProof(proof)settles membership. It doesn't: the check foldsleafHashthroughproofPathto the proof's own whole-chainmerkleRoot. The page now says membership also needs that root to match an independently obtained one, such as theanchorChainSegmentsroot at the sameheadSequenceNumberandmerkleConstruction. That root exists only for a chat with no restarts, because each restart starts a separately anchored segment. Checked against upstream8ba1a857fd. -
Runtime strategies counts post-model-hook retries in the same-model retry budget. The page listed the hallucinated-tool, repetition-guard and garbled-output retries as sharing
sameModelRetryCap. A post-model hook that rejects the content and asks for a retry draws on the same per-turn budget (SameModelRetryReason:hallucination,repetition,post-model-hook,garble). Stream single turn also refreshes thegetHallucinationDetectorFactoryread-site anchors. Checked against upstream8ba1a857fd. -
Server samples import only from
@pleach/core/quickstart.@pleach/core/serverisn't a published subpath, and Server taught it in five samples. ThecreateHarnessServersample is now acreatePleachRoutes({ capabilities })override; thecreateInMemorySharedInterruptResolversample imports from@pleach/core/quickstartand passes the resolver ascapabilities.interruptResolver; the Next.js, Express, and Hono mounting examples useroutes.nextRouteHandlers(),routes.nodeHttp(), androutes.fetch. The bareHarnessServer/ROUTESimport block is gone, and the handler sections are labelled as internals reached over HTTP. Two corrections ride along: the durable-resolver sample passed a resolver ascapabilities.interruptsinstead ofcapabilities.interruptResolver, and the Next.js catch-all samples on Server and API routes omittedbasePath, without which the dispatcher can't match/api/harness/...paths. Interrupts, Turn lifecycle, and SessionRuntime now point at the route factory instead ofHarnessServer.
Added
-
Per-call-class model routing is honoured, not recorded-only. Model resolution matrix gains a "Per-call-class overrides" section for
SessionRuntimeConfig.perCallClassModelRouting: routes are honoured bycreateProviderAdapterand the quickstart standard adapter; cross-family routes, routes whose family can't be derived, and routes that arrive before the lock is observable are refused and disclosed ([PerCallClassRouting] override-refused,auditMetadata.perCallClassRouting); a routed call is priced at the matched rung's rates, and a model in no rung is left unpriced; a custom quickstartproviderStreammust dispatch toctx.resolvedModelwhen it is present. Multi-synthesize drops the "forward-compatible, honoured once the core widening ships" framing forcreatePerCallClassRouting: core now reads the field. Upstream source, not yet published to npm. -
Sub-agent cost rolls up to the parent turn. Subagents gains a "Cost attribution" section for
SessionRuntime#getTurnCostRollup(turnId?), which returns{ turnId, self, descendants, total, partial, truncated }and splits the root turn's own calls from every sub-agent's. Each bucket reportscallCount,pricedCalls,unpricedCalls,costUsd(omitted when nothing was priced) and four token totals. The section states the limits: backgroundasync.spawntasks are excluded;callCountandcostUsdare floors when calls are unpriced;totalcan differ from the durablecost.rolluprow; retention is LRU over 32 turns, and a row arriving after release or eviction is markedtruncated. Event log documents the quickstartmessage.assistantrow'spayload.cost_rollupsnapshot (root turn key,snapshot,as_of,self,descendants,total,partial,truncated). The "Subagent cost attribution to the parent turn" row incontent/docs/migrating-from-anthropic-enterprise.mdxnow namesruntime.getTurnCostRollup(turnId). Upstream source, not yet published to npm.
Changed
- Turn stop is a client disconnect with a declared intent.
SessionRuntime
gains a "Stopping a streamed turn from the client" section: the
client declares at stream-open what its disconnect means (header
x-pleach-on-disconnector queryon_disconnect), the stream handler classifies the abort ("user"for a declared stop,"error"otherwise,"timeout"first when the server closes the stream — first abort wins), and there is no stop route or shared stop flag. DocumentsparseDisconnectIntent,bindDisconnectToTurnAbort,createTurnAborter, andDISCONNECT_INTENT; notes the intent values may be renamed before publish. Deployment replaces theabortSignal: req.signalroute example with a bound disconnect. Server documents the optional thirdrequestargument toHarnessServer.handleExecuteMessageand threads it through the Next.js, Express, and Hono adapters. Turn lifecycle, Session lifecycle, and API routes point at the new contract; resume after a stop hydrates from the session store and checkpointer. - Edge runtimes are no longer supported.
@pleach/coreruns on Node.js (server side) or in a browser. Edge servers (Vercel Edge, Cloudflare Workers) and any server runtime withoutAsyncLocalStorageare refused: tool execution needs per-request isolation, and a shared context slot would let concurrent requests see each other's identity. Entering a tool-execution scope there throwsToolExecutionContextUnsupportedRuntimeError(codePLEACH_TOOL_EXECUTION_CONTEXT_UNSUPPORTED_RUNTIME,runtimeof"edge"or"server-without-async-local-storage"; see Error codes), and the quickstartcreatePleachRoute()answers501before any stream starts. Move Edge routes to the Node.js runtime. The install, quickstart, deployment, and FAQ pages drop their Workers / Edge claims accordingly.
Fixed
- Audit-record claims now match what the code enforces. The
homepage pillar,
components/session-manifest-diagram.tsx,content/docs/security.mdx,replay.mdx,ci-enforcement.mdx,audit-ledger.mdx, andcompliance/gdpr-erasure.mdxsaid rows are "written once and never edited or deleted" or "immutable". The ledger API has no update or delete primitive, but that does not stop a writer with direct database access. The pages now say so, and say what the hash chain adds: edits, deletions, and reordering become detectable after the fact. - Drifting counts removed or labelled. The package count read 13,
14, 15, or 19 depending on the page, while the
packages.mdxtable lists 17 entries; overview cards,which-sku.mdx,license-compatibility.mdx, andorganization.jsonldnow point at the table instead of restating a number. Hook counts are labelled by what they count: 80 total (plugins/authoring.mdx), 71contribute*hooks (plugin-contract.mdx); the stale 41 inruntime-inspector.mdxis gone.nodes.mdxandgraph-node-catalog.mdxdisagreed on every node total (44 vs 42); the totals are dropped and the catalog's per-stage counts stay canonical. - Node-registry and plugin-hook counts re-derived from the
upstream contract.
NODE_STAGE_MAPcarries 42 names, not 43 — corrected on Graph, Node catalog, Audit gates, and Ownership; the catalog also drops two names that were never nodes (workspaceIndex,toolLoopStream) and re-stagesgarbledContentGuard/repetitionGuardto post-turn.HarnessPluginexposes 80 hooks (71contribute*+ 9 lifecycle), not 77 (68 + 9) — corrected on Core and Authoring, with Plugin contract now naming its narrower 70-hook audit denominator. Full detail in the combined view.
Added
-
Heartwood — the loader's two-scope resolution and shadow semantics, previously undocumented.
createFileHeartwoodLoaderresolves first-non-empty-wins across an explicitpath,./HEARTWOOD.md(the per-project soul), and~/.pleach/heartwood.md(the user-global soul). The scopes shadow, not merge: the first file found wins entirely, so a project./HEARTWOOD.mdfully overrides the user-global file rather than concatenating with it. The page had named only thepathoverride. -
Prompt builder — the composition-determinism guarantee stated outright. A static or core contribution's content is a pure function of its
PromptContextand does not vary with tool-loop depth or turn recursion.contributeRuntimeAwarePromptsis the only channel that varies per turn, and static contributions are held out of theRuntimeStateSnapshoton purpose. Matching pointer added to Prompts. -
Skills — the
create_skillbase-tool for agent-authored skills. An agent can name a repeatable procedure as a reusable skill mid-session.create_skillis opt-in (list it ininclude) and available when the runtime has a durable store to persist to; authored skills surface through the same progressive-disclosure path as loaded skills — an in-prompt index entry plus an on-demandskill_viewbody. -
Defensive patterns — a new Architecture page: six design rules the runtime holds itself to, each paired with the shipped
@pleach/coreAPI that embodies it. Includes the first docs coverage of the destroy-quiescence surface —AsyncTaskManager.seal(),awaitQuiescence(timeoutMs)and itsAsyncTaskQuiescenceReceipt, andSessionRuntimeConfig.destroyQuiescenceTimeoutMs(default 5 s) — landed upstream indfbbd6f239+a3ad79dce1. -
The
*_CALL_CLASSconstants from@pleach/core/graph/seams/callClassConstants. The page explained that the callClass lint rejects a bare"synthesize"but never said what to write instead when you need the value rather than the type. -
Six new subpath rows on Subpath exports:
graph/defaultAgentGraph(the only published home forbuildDefaultAgentGraph),graph/seams/callClassConstants,eventLog/durableFlush(setWaitUntilImpl/deferFlush/awaitPendingFlushes— the serverless durability seam),strategies/schemaCondensation,skillswith its two narrower entries, and the fourruntime/facets/*client-facet entries. -
The site's contract check gains symbol reachability. It already asked whether an import path resolves; it now also asks whether the symbol is exported by that path.
-
Four new
@pleach/coresubpaths on Subpath exports —attestation/cms,crypto,context, and the corrected wildcard story.@pleach/core/cryptois carried as experimental with its DDL precondition inline: on a schema declaring the wrapped-key column orivasNOT NULL,shred()raises SQLSTATE 23502 whilegetOrCreateDekstill succeeds — so enabling encryption there mints ciphertext that can never be erased, and GDPR erasure becomes impossible. Verify nullability before the first DEK. -
The CMS envelope —
@pleach/core/attestation/cmsemits a detached CMS (RFC 5652)SignedDataover an attestation's canonical bytes, Ed25519 per RFC 8419, alongsideAttestationV1.signaturerather than instead of it. DocumentsbuildAttestationDetachedCms, whycertificateDeris effectively required for an independently-checkable artifact, and the RFC 5652 §5.4 re-tag invariant:signedAttrsis encoded[0] IMPLICITbut signed as a universalSET, and getting it wrong yields a structure that verifies nowhere while staying self-consistent. Core re-reads the emitted DER and throws a namedsigned-attributes-mismatchat emit time. Detect withisCmsAttestationError, neverinstanceof. -
Which merkle construction built the root —
MerkleConstructionand themerkleConstructionfield onChainProofV1.generateProof(...)defaults to"legacy"deliberately: switching a chat to"rfc6962"changes every root it produces, and existing anchors countersigned the legacy roots. Names both defects RFC 6962 fixes — no domain separation (leaf and internal node are both bare SHA-256, the second-preimage precondition) and odd-node duplication (the CVE-2012-2459 shape, where[A,B,C]and[A,B,C,C]share a root). Absence of the field means the proof predates it. Separate axis from the chain key version. -
session.endedandHARNESS_EVENT_TYPES.session.endedmakes a clean close a positive fact rather than an inference from absence — and its own absence proves nothing, since a session whose process dies never writes one.HARNESS_EVENT_TYPESis the runtime mirror of theHarnessEventunion, pinned by an exhaustiveRecord<HarnessEventType, true>in production source. Membership means emittable, never persistable. -
Auth events.
AuthEventType,AuthMethodClass,AuthEvent,AuthEventSink, andcontributeAuthEventSink. Core owns the vocabulary, the host owns the store: the hash chain is keyed by the tenant column and chat id and an auth event has no chat by nature — measured at 4,269 chatless rows, zero chained — so writing them to the harness event log would produce a trail that looks complete while its integrity guarantee stops short of the access events an auditor reads first. Status stated honestly: nocollectAuthEventSink()collector yet and no publishedexportsentry for the vocabulary, so implementing the hook today compiles and does nothing. -
Optional peer dependencies.
@peculiar/asn1-{schema,cms,x509}for CMS attestation,@pleach/rbac-contractfor@pleach/core/rbac,@modelcontextprotocol/sdkfor MCP,@sigstore/corefor RFC 3161 receipt verification. Each fails with a named error identifying the package rather than a module-resolution stack. -
The RFC 3161 surface is now reachable from the paths consumers actually walk, not only from the primitives.
createPleachAgenttakes atimestampAuthority— before this the quickstart calledattestChainStatewithout one and exposed no way to supply it, so the default path produced claim-only attestations permanently. Both the agent and the runtime now exposeevidence(runtime.evidence:timestamped,mintAnchorMs,clockInjected), which reports what was wired and deliberately not what is true of the outside world — a configured-but-unreachable authority still readstimestamped: true, and there is noclockAnchoredfield because core cannot verify that claim. -
chainAnchorSchedulerin@pleach/recipescomposes the scheduled anchor-and-verify pass that every consumer previously wrote by hand. It exposesrunOnce()and no loop: a conveniencestart()was written and removed, because a scheduler with no retries, no at-most-once story and no observability is strictly worse than the one a consumer already runs, while looking like a supported way to do this in production. Also documented in Hash chain. -
Hash chain now documents the anchor-verification surface, closing a promise the page already made — it ended on "the property is only real if something actually performs that check" without saying how. Covers
verifyChainAnchors(re-deriving a witnessed merkle root catches a mid-chain deletion whose rows were re-linked cleanly, and therefore passes a previous-hash walk — a chain that verifies is not the same as a chain that matches its witness),evaluateChainAnchorFreshness(grade liveness on staleness, never on row count;anchorCountandtimestampedAnchorCountare separate signals because damage and staleness are independent failures), andclassifyChainAnchorAlertLevel. Two decisions are written up as generally applicable: liveness never shares a channel with tamper detection, and damaged evidence may withhold an escalation but must never produce a de-escalation. -
Attestation documents
createAnchoredClock(@pleach/core/runtime) — skew-corrected, monotonic, suspension-aware — and is explicit that it reduces honest clock error only. It does not upgradeissuedAtfrom a claim to a proof; only the TSA countersignature does that. -
Comparison adds an agent-forward "usage axis" section, and the homepage "Quick answers" intro is broadened to match. The claim: Pleach's surface is built to be operated by agents — the introspectable facet API (
runtime.tenant,runtime.events,runtime.graph.*, CI-gated by the facet-coverage check),TechArticleJSON-LD from one controlled tag vocabulary, per-page Markdown twins, a live MCP server, and an agent-skills index — not a human console with agent access added on. Distinct from the capability differentiators; no existing value prop changed. -
Comparison adds a governance-control-plane / AI-gateway category. Frames
@pleach/coreagainst governed-proxy control planes (Portkey, Cloudflare AI Gateway, and the enterprise control planes above them) as altitude, not timing: a proxy governs the call at the HTTP boundary; core governs the agent's execution graph and writes theAuditableCallrow to a database you own. Relatedly, Landscape row 1 now notes that proxy-advertised "tamper-evident audit trails" live on the vendor's side, not as a hash-chained row you own. -
Five more
@pleach/corepublic exports documented (720a6e8a3/de4403b6a). Interrupts addsrewriteToolArguments— the natural-language → structured-args rewrite for approval-with-edit flows; it runs on theutilitycall class and never throws, resolving to the original arguments on every fallback path. Tools adds the standalonecreateDiscoverToolsTool/DISCOVER_TOOLS_TOOL_NAMEfactory for hand-rolled servers. Server addscreatePluginToolRegistry— the getter-backed registry behind/toolsand/tools/:name. Storage addscomposeDurableStore(build aDurableStorefrom adapters you already hold) plus the optionalblobmember andcreateMemoryBlobStore/MemoryBlobStore. Adoption paths names theBrownfieldRuntimeMenuoptions type; Prompts names the optionalPromptDescriptor({ title?, summary? }) surfaced byruntime.prompts.describe(). Upstream trunk, not yet published to npm. -
New Pricing math page. Documents the
@pleach/core/pricingsubpath —computeTurnCost,DEFAULT_PRICING_MATRIX,createPricingResolver, the OpenRouter fetch, andresolveCostEventUsd. -
React lab component kit documented. The full
@pleach/core/react/labsurface — PleachLab's composable panels plususeLatticeState/useEventLogCapture/useChannelSnapshot— with@pleach/core/react/labnamed as the canonical subpath. -
Three prompt- and context-management capabilities documented. Orchestrator middleware adds the optional
summaryProviderfield onSummarizationConfig— a callback supplying a higher-quality (e.g. LLM-generated) rolling summary in place of the default extractive char-slice summary, falling back to the extractive default when it returns an empty value or throws. Prompt builder adds the "Cache-stable prefix" section: thestability: "stable" | "volatile"tag onBudgetedSectionand thestableBoundaryIndexfield onComposedPrompt—composeBudgetedPrompthoistsstablesections into a contiguous prefix (untagged input stays byte-identical) and reports where the volatile suffix begins, so a consumer places its providercache_controlbreakpoint afterincluded[stableBoundaryIndex - 1]. Prompts adds "Persisting an agent's role" — put durable persona in thecore.role-templateslot viareplaceCore/prependPersonaand tag itstability: "stable". Upstream trunk, not yet published to npm. -
condenseTools.intentPriorityMapgiven its real type. Tools replaces theintentPriorityMapplaceholder withRecord<string, readonly string[]>— an intent name mapped to the tool names that keep their full schema when that intent is active. Upstream trunk, not yet published to npm. -
condenseTools+ the discovery meta-tool documented. Tools gains thecreatePleachRouteoption that trims thetools[]array above a threshold — keepingmaxSchemaToolsfull schemas and surfacing the rest as one-line names — plus the discovery meta-tool (metaToolName) the model calls to pull a dropped schema back. Distinct from the prompt-directiveweakToolSchemaBudgetPluginon the same page. Upstream trunk, not yet published to npm. -
Model-pipeline surface documented — two new pages plus eight section additions. Model hooks documents the
@pleach/core/hookspre/post-model seam (PreModelHook,PostModelHook,ModelProfile+historyTrimmerHook,lazyModelDefaultsHook,toolCallValidatorHook,repetitionDetectorHook, wired viaruntime.model.registerPreHook/registerPostHook). Orchestrator middleware documents@pleach/core/middleware(OrchestratorMiddleware,MiddlewareStack,ResultEvictionMiddleware,SummarizationMiddleware,LanguageModelMiddleware,CHARS_PER_TOKEN, wired viasetOrchestratorMiddlewareInit). Both join Subpath exports under a new "Model pipeline" category with@pleach/core/synthesis(SynthesisEmitter,enrichOffloadedToolPreviews). Sections added:finalizeAnswer+ the{ banner }return onpostSynthesisGuard(Plugin authoring);ProviderCatalogContractand theSLOW_COLD_START_PLANNER_FAMILIES/isSlowColdStartPlannerFamilygate (Providers);InterruptManager.requestApprovalWithId(Interrupts);runtime.abort(reason)/AbortCoordinator+TURN_ABORT_REASON(Session runtime); the durablesubagent.tool_usedaudit row (Subagents); the event-log owner-select per-user RLS policy + event-log service-role write bypass (Multi-tenant); andMemoryStoreas theconfig.storeship-a-default. Existing published@pleach/coresurface; upstream trunk, not yet on npm. -
Four runtime-behavior sections documented. Each mechanism shipped upstream but had no doc home. Tools gains
weakToolSchemaBudgetPlugin(@pleach/core/prompts) pluscreateWeakToolSchemaPredicate(@pleach/core/modelfamily) — the proactive tool-call budget for weak-tool-schema families (google/deepseek/moonshot, defaultsmaxBatch: 4/maxSameTool: 2), gated onPromptContext.family. Turn lifecycle documents the no-first-token dead-air hard-cut (reduceTurnDeadAir; upstreamd062ab24d5). Providers documents the stalled-rung cascade pivot, classedSYSTEM_ABORTnotUSER_ABORT(upstreame1fa3f1487). Fabrication detection documentsmetadata.uncoveredPlanStepsand the honest "not dispatched" note (upstreambb0f995fce,ca9dc86644). All from published subpaths or documented runtime behavior; upstream tree8f224cbf42on trunk, not yet published to npm. -
Standalone hosted-agent route family —
createPleachRoutes,createPleachAgent,DurableStore,MemoryEventLog.@pleach/corenow mounts the whole route family from one factory, not just the single execute leg.createPleachRoutesand the three-armcreatePleachAgent({ context, tools, db })façade (both@pleach/core/quickstart) mount sessions CRUD, execute+SSE, interrupts, checkpoints, rollback, events-recall, sync, and fork;createPleachAgentreturns{ fetch, nextRoutes(), nodeHttp(), store }.DurableStore+createMemoryDurableStore()(@pleach/core/store) unify storage, checkpointer, event-write, event-read, and recall behind one binding, andMemoryEventLog(@pleach/core/query) is the keyless in-memory recall ledger with anasQueryClient()shim — so recall works with no Supabase whendbis omitted.createHarnessServer({ runtime, storage, checkpointer?, events? })is the build-only auto-bind factory over the still- unpublished@pleach/core/serversubpath. Known limitation: the default interrupt resolver binds a per-request in-processInterruptManager; a durable multi-request deployment supplies its own viacreatePleachRoutes(...).capabilities.interrupts. Landed across API routes, Server, Quickstart, Storage, and Query. Upstream: pleachtui Track A,@pleach/core@0.1.0on trunk (Waves0b34ab8742,095d037933,add6562a15,2b20c9c4be) — on trunk, not yet published to npm. -
Runtime strategies documents the
resolveCallReasoningEfforthook. A new per-callSessionRuntimeConfigstrategy slot. The runtime consults it before every provider stream with the resolved{ callClass, family, modelId }; the returnedReasoningEffort("low" | "medium" | "high","none"to disable the budget,undefinedto leave it untouched) threads ontoStreamChatOptions.reasoningEffortand the adapter lowers it to the provider request. Capability-gated — a model that doesn't advertise reasoning control ignores the field, so an unsupported model never 400s on the param.ReasoningEffortis opaque to core: the host owns the policy of which call class on which family to cap. Unset ⇒ no field attached, request byte-identical. Fail-soft — a throwing resolver is caught and treated asundefined. Added to the "Newer injection hooks" table plus a per-call cadence note. -
Comparison gains a category for agent-memory & knowledge-graph substrates (a read-side category). Pins the read-vs-write delineation for
@pleach/core: memory layers and knowledge-graph engines (Letta, Mem0, Zep) are a read substrate — the graph exists so the agent can query it to decide;@pleach/coreis a write substrate — the ledger exists so every provider call is recorded, then read to account. Shared skeleton (append-only, content-addressed, causal chain, fork/replay); divergent object of record (the agent's knowledge/decisions vs. one provider call with model/tokens/cost). Compose-not-compete — a memory graph reads the same session theAuditableCallrow writes.
Changed
-
Replay-determinism claims reconciled from "byte-identical" to "deterministic; divergence-detected." Determinism, Comparison, and Migrating from Anthropic Enterprise no longer claim a recorded turn re-generates a live model call byte-for-byte. Deterministic replay reproduces the recorded response, tool-call sequence, and terminal state, and names any drift with
ReplayDivergenceError; a replay re-serves the recorded response, it does not re-run the provider. "Byte-identical" is kept only where it holds by construction — fold-based state hydration and deterministic channel reducers. Corrects a load-bearing over-claim; the property is reproducible control flow + attributable divergence, not byte-equality. Adds the serial-execution caveat to the replay claim: replay determinism holds only under serial graph execution (one node per superstep). -
Reasoning-only recovery documented as default-on for the packaged surface. Providers already documented the opt-in
SessionRuntimereasoningRecoveryDI; it now records thatcreatePleachRoutedefaults it on (opt out withrecoverReasoningOnly: false), so a reasoning model that emits only chain-of-thought gets one same-model re-elicitation instead of a false family-exhausted. Interrupts gains a pointer from "Cross-request approval" to theinterruptResolveroption (createInMemorySharedInterruptResolver()/ a store-backedDurableInterruptResolver).
Fixed
-
The query layer does not read only tables the runtime writes (
content/docs/query.mdx). The page claimed it "reads from the same tables the runtime writes to". The host's chat-message table is the exception: it is host-provided, no code in@pleach/corewrites it, and no DDL for it ships in the schema bundle — the three query readers (usage, tools, review) only.select(). The table now names the shipped.sqlfile per row and marks that oneNo — host-provided. Also recorded: a chat-manifest table and a manifest-refresh function ship in no SKU, sogetChatManifest,getManifestJobsByStatus,getConversationStateandgetSessionReviewrequire consumer-supplied schema. -
The Graph callout said seven symbols were unreachable; it is now six. Upstream published
@pleach/core/graph/defaultAgentGraphthe day after the callout was written, givingbuildDefaultAgentGrapha home. A documented defect has a shelf life exactly like a documented feature. The six that remain:START,END,DEFAULT_TURN_FLAGS,StateGraphNodeMetadata,AnnotationSchema,InferAnnotationState. -
The committed export-map snapshot was 32 entries stale one day after being committed. Upstream added 32 named
@pleach/coresubpaths and removed none between 2026-08-29 and 2026-08-30. Ten carry no previously-unreachable symbol — they narrow an already-reachable surface into a named entry rather than add capability, which is why they get no docs rows. -
The
@pleach/core/*wildcard section described a hatch that no longer exists (Subpath exports, with references on Versioning, Audit gates, and Publishing contract). The bare./*export was replaced upstream by the scoped./internal/*, so the page's "It works today" rule of thumb — and both worked examples,@pleach/core/graph/...and@pleach/core/replay/types— named paths that now throwERR_PACKAGE_PATH_NOT_EXPORTED. -
Graph and Graph node catalog taught import blocks that cannot compile. Both imported from
@pleach/core/graph, which is not a key in the publishedexportsmap. Seven of the thirteen symbols in the Graph example had no published import path at all:START,END,buildDefaultAgentGraph,DEFAULT_TURN_FLAGS,StateGraphNodeMetadata,AnnotationSchema,InferAnnotationState. Corrected to import only what resolves, with a callout naming the seven and the workaround. Fixing the path alone would have produced an import that resolves and still fails to bind. -
Hook-catalogue counts were stale by ~70% (Plugin contract, Runtime inspector). Both cited 41 hooks / 38 wired. Measured from the instrument the claim names, the upstream plugin-contract check: 70 hooks — 66 wired end-to-end, 3 baselined awaiting consumer, 1 declared without a collector (
contributeAuthEventSink).HarnessPlugindeclares 78 members. -
AuditRecordVersioncited as 19, now 25 (CI enforcement). Six additive versions landed since:outcome.why.stats.servingProvider, sub-agent attribution (parentTurnId/subagentId/subagentDepth),decision.lockedFamily, theprovider-exhaustedstatus,decision.fallbackChainbecoming additive-optional so an omission is an admission rather than a fabricated[], anddecision.rungOrdinal. -
@pleach/core/audit-ledgeris not a subpath (Attestation) — the published path is@pleach/core/audit.@pleach/observabilityis not a package (OTel observability) — the SKU is@pleach/observeand the shape is a destination.@pleach/core/schema/postgres(Schema) corrected to@pleach/core/schema/postgres/*.sql, the published.sqlasset glob. -
Subpath exports claimed to snapshot
@pleach/core@1.x. No@pleach/*SKU has shipped past0.1.0— the same version-epoch error corrected across nine files in the entry below, in a tenth file that pass missed. -
The site's contract check gained export-map drift. Every
@pleach/...specifier the docs teach is resolved against each package'sexportsmap, so a specifier that would throwERR_PACKAGE_PATH_NOT_EXPORTEDon a fresh install fails here. -
Model-resolution matrix — Google's fast tier was stale. Model resolution matrix listed
gemini-3-flash-previewfor the Googleconverseandutilityrungs; the live matrix resolves both togemini-3.5-flash-lite. A reader who saw the old id would have keyed a fingerprint or cost estimate off a model that no longer fires. -
Off-policy example term scrubbed from Prompts. Two
gatedPromptexamples keyed on a"modal"tool; both now key on the neutral"sandbox"capability. Example-only — no API or claim change. -
@pleach/coredoc corrections from a ~200-commit upstream sweep. Graph node catalog: core registry corrected 44 → 43 — two domain plugin nodes were listed as core, and the core nodesyntheticExpansionDetectorwas missing. Config manifest: added a partial-coverage caveat (only the plugin surface is content-hashed today). Fabrication detection: documented the ~13-detector grounding/offloaded-data cohort the exports table omitted. Air-gapped deployment: corrected from "v2+ roadmap item" to the shipped fail-closedairGappedenforcement. Adoption paths:createBrownfieldRuntime(@pleach/core/runtime) is shipped, no longer "proposed." -
Four broken root imports corrected to their real subpath. Five code blocks imported a symbol from
@pleach/corethat the root barrel does not re-export (verified against the packageexportsmap):SupabaseAdapter/createSupabaseAdapter(Research agent) →@pleach/core/sessions;withTenantHeader(Multi-tenant SaaS agent) →@pleach/core/tenant;computeFingerprint(Testing) →@pleach/core/fingerprint;EventLogWriter(Event log and Recipes) →@pleach/core/eventLog. Each would fail to resolve on copy-paste; the subpaths are public per Subpath exports. -
Two orphaned pages wired into the sidebar — Install (Get Started) and Cycle-break contract packages (Reference) existed but were reachable only by direct URL.
-
Adoption paths "Host adapters" card corrected — it promised "implement OrchestratorAdapter / StorageAdapter", but Host adapter documents the
setHarnessModuleLoadermodule-loader seam. Reworded to match. -
Stale
AuditRecordVersionclaim corrected —18→19. CI enforcement stated the locked row shape was "currently 18"; upstream shipped the additive bump to 19. A version claim is load-bearing — a reader who saw "18" needs this row to know it moved. The package's published value is the source of truth; this tracks the shipped bump. -
Hash-chain verifier home corrected to
@pleach/core/eventLog. Audit ledger (two spots) and Recipes saidverifyChainForChat/generateProof"ship in@pleach/replay@0.1.0". They are defined in@pleach/core/eventLog;@pleach/replayconsumes them. Corrected across Audit ledger (two spots), Recipes, Which SKU, and Regulated-domain agent; now consistent with Hash chain. -
Error-code range corrected to
1xxx–11xxx. The authoritative band table in Error codes defines10xxx(caller-auth) and11xxx(runtime/infra). Stale1xxx–9xxx(frontmatter + Troubleshooting ×2) and1xxx–7xxx(Contributing, Stream events) summaries now match the table. -
maxConcurrentSubagentsclamp claim corrected. Research agent said amaxConcurrentSubagentsaboveSUBAGENT_LIMITS.maxConcurrentis clamped to it. They are separate limits on separate paths (default4caps theSubagentManager;3caps the imperative spawn path), neither clamped to the other — now consistent with Subagents. -
Unknown safety-policy ids now throw at construction — even with no plugins. Safety promises "Construction throws
UnknownSafetyPolicyErrorif the config references an id no plugin registered — operator typos surface at boot, not on the first turn." Previously the enable/validate loop was gated behind the plugin block, so a plugin-lesscreatePleachRuntime({ enabledSafetyPolicies: ["typo"] })silently no-op'd the enable and the typo surfaced (or silently didn't) only at first turn. The enable loop now runs unconditionally (inSessionRuntime); theregister()loop stays plugin-gated, so a legitimately plugin-contributed id is registered before the enable finds it and valid constructions are unaffected. The impl now matches the documented guarantee. -
The chronological error trail (
errorCodesChronological) now captures every error class. A completed tool call carrying a structured_error_code(its status looks successful, so it tripped neither the failed-status nor the schema-validation branch) and a caught async-planner throw (AsyncPlannerHandler, previously console-only) now each persist anerror.coderow. A live turn with these errors previously persisted zero rows; the durable trail is now complete. (Direct-API tool errors were already covered by the host emit path.) -
Core-concept doc snippets reconciled with shipped signatures. Determinism — the ledger read used a non-existent
ledger.list({ sessionId }); the realAuditableCallQueryread is async positionalawait ledger.getSession(sessionId)(ProviderDecisionLedgerfrom@pleach/core/audit), and the "distinguishes three operating contracts" line corrected to five (theRuntimeModeunion — and the page's own table — lists five). OTel observability —executeMessageis positionalexecuteMessage(sessionId, "hello"), not the object formexecuteMessage({ sessionId, content })(SessionRuntime). Stream events — the LangGraph"values"mapping usedruntime.sessions.get(), whichRuntimeSessionsFacetdoes not expose; corrected toruntime.sessions.resume(sessionId).
Added
-
/docs/gate-failures— what a failed check looks like. A new Reference page maps each failure to its meaning and the fix. -
AuditRecordVersioncorrected14→18on CI enforcement to match the source (export type AuditRecordVersion = 18;) and the AuditableCall row. -
Extending Pleach — the gate-paired authoring map. Pairs each extension point with the interface, the registration call, and the audit gate that fails if the addition is wrong — nodes (the lattice check), event types via
contributeEventTypes(the event-producer check- the scrubber-coverage check),
scrubbers, plugin hooks
(the plugin-contract check), prompt blocks, and a custom
audit field via
pluginPayloads(the audit-row shape check — the structural column set is locked). Draws the host-extension vs upstream-contribution line, and adds an "Agent-driven self-extension" section: the gates as an autonomous write →audit:*→ read-failure → fix loop, plus injecting the extension contract into the operating agent's prompt viacontributeRuntimeAwarePrompts. Nodes, channels, and scrubbers gained a "What CI checks when you add one" footer linking into it.
- the scrubber-coverage check),
scrubbers, plugin hooks
(the plugin-contract check), prompt blocks, and a custom
audit field via
-
createPleachRoute({ demo })keyless first-run + demo-firstpleach initscaffold documented. Superseded: thedemooption, the demo stream and thex-pleach-modeheader are no longer published, and a no-key turn returns a typed HTTP 503 (no_provider_key). See the Unreleased "Changed" entry at the top of this page. The entry below is kept as it was written. Getting started, Quickstart, and Install now lead the wizard path with a keyless demo: with no provider key,createPleachRoute({ demo: process.env.NODE_ENV !== "production" })drives a real graph turn over canned model text and writes realAuditableCallrows, flaggedx-pleach-mode: demo. A resolved<PROVIDER>_API_KEYalways wins; demo never engages in a production build. The Next.js App Router scaffold adds an/auditview (app/audit/page.tsx+app/api/audit/route.ts) rendering the per-model-family rollup (family · rows · tokens · est. cost). The barecreatePleachRoute()no-key contract is unchanged (HTTP 503). -
engine/superstep scheduler named as an architecture piece +facets.mdxsynced to the shipped facet inventory (pkgclean 06 D7/D9). Architecture and Concept clusters now name theengine/scheduler (SuperstepRunner+ its primitives) as the deterministic superstep executor that runs the compiled graph. Facets gained the two shippedSessionRuntimeaccessors it omitted —runtime.observeandruntime.probes— plus the four per-stage graph introspection facetsgraph.anchor/graph.toolLoop/graph.synthesize/graph.postTurn. -
@pleach/core/skills+@pleach/core/agents/typesare real emitted subpaths. Skills updated to importSkillLoader,parseSkillFrontmatter,Skill, andSkillFrontmatterfrom the@pleach/core/skillsbarrel (the/loader,/parser,/typessub-subpaths do not exist); Agents prose corrected from "wildcard path" to a real emitted@pleach/core/agents/typessubpath.
Changed
-
@pleach/core/internal/…subpaths retired from the public docs surface (pkgclean 06 D8). streamSingleTurn and Subpath exports no longer document@pleach/core/internal/strategies/streamSingleTurn/helpers(+ its four direct helper entries) or@pleach/core/internal/tools/execution/registryResolvedToolsasstablepublic imports. Theinternal/segment marks implementation details, not a supported API; the copy-paste helper-barrel import is removed and both paths moved to a "Not a public import surface" section with their public alternatives —ToolDefinitionfrom@pleach/core/types/generic, and@pleach/core/tools/execution(which re-exports the resolved-tools registry functions). Nopackage.json:exportschange. -
core.mdxstale numbers corrected.auditRecordVersionupdated13 → 18(the realauditRecordVersion), and theHarnessPluginplugin-hook count updated~41 → 67contributeXhooks (counted from theHarnessPlugintype).
Fixed
-
More SKU doc-page snippets reconciled with the shipped signatures. Fabrication detection — the custom-detector example used a non-existent
ctx.toolArgsand returned{suspect, tier}; corrected to the realFabricationDetectorContextfields + theFabricationFindingshape ({detectorId, severity, reason, evidence?}), and thetier-routing bullet corrected (routing keys on the tool'ssafetyTier, not a finding'sseverity). Multi-tenant —getAggregateUsageis 3-positional ((client, store, filters)), has nogroupBy: "tenantId"value (session/agent/model/tool/day/week), nests dates underdateRange, and requiresuserId(it's single-user scoped; tenant rollups use the raw SQL). Determinism — the fingerprint round-trip read a non-existent.fingerprintaudit field (real:fingerprintComposite, a string) and compared a string to aFingerprintobject; corrected to a like-for-like comparison over a realFingerprintInput. These are the ctor-shape / call-arity / field-name classes the new doc-import check doesn't cover (import-resolution only). -
Event-log read side documented as store-agnostic —
eventReader/HarnessEventReader. Event-log projections saidruntime.events.iterate/.foldread event-log rows ordered by(chat_id, sequence number)and became live "on the Supabase backend in the first release" — store-specific claims that no longer match the shipped surface. Corrected: both accessors delegate to aHarnessEventReaderinjected as the runtime'seventReader(the read-side counterpart toeventLogWriter), so the host casts its own store into the reader at construction and@pleach/coreitself stays free of backing-store knowledge — Postgres, Supabase, SQLite/pglite, or an HTTP API back the same surface.iterate's options gaintenantId; the reader is required to read the durable log (no built-in reader, no implicit store fallback — a bare runtime yields nothing, matching theMemoryAdapterpath) and throws a typed error at the call site when absent. New Backing the reader section shows the one-method contract yieldingEventLogRow(the shapereconstructSessionStateand the shipped projections fold). Session runtime config table gainseventLogWriter+eventReaderrows; Storage grows the SQL test value-prop battery from four durable properties to nine — adding the@pleach/observepostgres()destination, time-travel fork, SQL-queryable audit ledger (the call ledger), tamper-evident hash chain, and@pleach/replaydeterministic replay over the injected reader. -
SKU doc pages reconciled with the shipped import/construction surface. Four doc-site pages drifted from the (correct) package READMEs: Building a chat UI advertised a fabricated
@pleach/reactchat-hook API (useChat/HarnessProviderfrom the root,useInterruptDecision,useChatVercelCompat,sendMessage) — corrected to the real surface (useSessionRuntime/useSessionMessageStream/useInterruptUIfrom@pleach/react;useChat→submitfrom@pleach/core/quickstart;HarnessProviderfrom@pleach/react/legacy/@pleach/core/react;useVercelAISDKCompatfrom@pleach/react/adapters/vercel-ai-sdk). LangChain —LangChainProvidertakes a POSITIONAL model arg and wires via the top-levelprovider:slot (not{ model }/host.strategies.provider). Base tools — the scratchpad is per-SESSION (chatId-scoped, not per-turn), its param isoperation(notop), and its value is a string. Coding agent — the four sandbox tools register via acontributeToolsHarnessPlugininplugins:(SessionRuntimeConfighas notools/contextfield). A new import-surface smoke test in@pleach/coreregression-locks the import-path half. -
Observability + gateway-cost docs corrected to the shipped exporter/cost surface.
@pleach/coreships no@opentelemetry/*dependency and never reads the global tracer provider — the documented NodeSDK + OTLP recipe captured zero pleach spans. OTel observability and Observability now show the real path: a host-suppliedOtelExporterbridge injected vianew SessionRuntime({ otelExporter })(default isNoopOtelExporter, which drops spans).runtime.spans.snapshot()returns{ inFlightCount, isShutdown }(exporter state) — to inspect emitted spans you wire aCapturingOtelExporterand read.captured(real fieldsstartTimeNs/endTimeNs/parentId). And Gateway cost events + the gateway OTel wiring:computeCostwas readingtenantId/family/callClass/byokActive/routingDecisionoffRouteChatCompletionOutput, which carries none of them (asTenantId(undefined)threw → zero CostEvents) — the example now reads only real output fields + host-supplied observation context, and flags thatrouteChatCompletionis currently a slice-2 stub (costUsd: 0). -
Subagents + async-tasks docs reconciled with the host-completion-required reality. Bare
@pleach/core's subagent surface is host-completion-required (the host suppliessubagentExecutor/ drivesSubagentManager); the docs presented it as substrate-delivered. Corrected in Subagents: removed the fabricatedspawnsSubagent: trueauto-escalation flag;LightweightRuntime→ the realLightweightSessionRuntimeimported from@pleach/core/subagents(not root) with its real constructor;fetchWorkspaceContext/formatWorkspaceContextPromptmoved to the@pleach/core/subagentssubpath; the concurrency model corrected (the runtime spawn path caps on the hardSUBAGENT_LIMITSconstant and FAILS over-cap rather than queueing — theSubagentManagerqueue/DAG is host-driven);context.variablesnoted as currently inert; plus a host-completion caveat. And Async tasks: the async-task tool-loop bridge is not wired in bare core (ASYNC_TASK_BRIDGE_NOT_WIRED), and the"subagent"/"sandbox_exec"task executors are host/plugin-supplied (the in-treeSubagentTaskExecutoris server-only), not "in-tree defaults". -
Abort + resume docs synced to the shipped runtime behavior. Aborting an in-flight turn now records
outcome.status: "user-aborted"(not"aborted"/ not lumped intoprovider-error) at BOTH the tool-loop decision call and the synthesis terminal, so cost rollups + compliance separate caller cancellation from provider failure — corrected across session lifecycle, SessionRuntime, turn lifecycle, and API routes. And resuming a session now describes the real three-layer rebuild: storage row → version-guarded checkpoint overlay (the crash-recovery path) → server-only event-log hydration of the ephemeral card-lifecycle state (interrupts/subagents/exports/user cards) onto a transientSession.hydratedHarnessStatefield — correcting the prior claim thathydrateFromEventsrebuilt messages/channel state. -
Model-resolution-matrix path corrected — it is host-supplied, not a
@pleach/coredir (pkgclean 06 D7). The docs cited the family-lock matrix at the fictionalmodelfamilydirectory (family-lock) and@pleach/core/ai/modelFamily/matrix.ts(quickstart, provider detection) — neither path exists in the package. The(family × callClass)matrix table is host-supplied and reached through theAgentAdapter.resolveModel<C>()seam; theProviderFamilyset is now pointed at the real@pleach/core/modelfamilyexport. The routing-decision seam's host-internal path was removed from routing decisions. -
Docs reconciled with the shipped
@pleach/coreruntime (value-prop-vs-impl audit). Corrected doc claims that diverged from the implementation:- Time travel —
forksetsparent_id: source.id(notnull). - Checkpointing — checkpoints write at message/event
boundaries (discriminated by
CheckpointMetadata.source), not stamped with a per-stagestageId;SupabaseSaverdurability is"replicated"; rollback writessource: "manual"+writes: ["rollback"]; theforksnippet takes a stringnewSessionId. - Session lifecycle — the checkpoint snapshot is authoritative on the live restore path; the event-log canonical reader is a flag-gated shadow today.
- Sync — interactive conflict resolution (
runtime.resolveConflict, thesync.conflictevent, the 3xxx code range) is enterprise-tier/planned; open-core usesSyncCoordinatorlast-writer-wins-on-push with a free-textlastError. - Query — dropped the non-existent
queryAuditableCalls; correctedgetChatUsage/lookupModelCost/getSessionReview/getInterruptChainsignatures + return shapes to the real@pleach/core/querysurface. - Memory — the production extraction path is the graph node
(
createMemoryExtractionNode), not thememoryExtractionHook→ queue pipeline;LearnedFact.sourceis a provenance string (+createdAt/lastConfirmedAt) on extractor facts, with the object form documented alongside. - Lineage — opt-in via
config.lineageTracker; the runtime records the session node + abranched_fromfork edge, the other relations are host-recorded;completeSessionis host-called.
- Time travel —
Added
- Opt-in tool-event preview enrichment for the manifest projection. New
runtimeQuirks.enrichToolEventPreviewsForReplayflag (default OFF) lets the host write compactargs_preview(tool.started) +output_preview(tool.completed) onto tool events;chatManifestProjectionfolds them into richer manifestparams/output, closing the projection's intentional lossiness vs. the live provider. The previews are scrub-allowlisted (the redaction chain processes them). OFF by default preserves thearguments_hash-only privacy posture. This makes the projection canonical-capable; the projection-canonical flip itself stays gated. See Replay. - TimeTravel surfaces the chat manifest (
StateSnapshot.manifest).getState/getStateHistory/fork/bulkUpdatenow carry the chat-manifest ledger AS-OF a checkpoint, for inspection (it does not feed the next generation — that runs throughrollbackToCheckpoint/resumeSessioninto the live provider). The snapshot rides the checkpointmetadata(round-tripped viaSupabaseSaver.metadata_extra; Memory/IndexedDB ride free), mirroring thependingTaskspattern. See Time travel. ProviderFamilyExhaustedErrorpromoted to the top-level@pleach/coresurface. The provider-family cascade terminal (raised when every in-family rung is exhausted) + itsisProviderFamilyExhaustedErrorguard are now public on@pleach/core— previously reachable only via the deep@pleach/core/graph/seams/providerExhaustionpath. Catch + narrow it from the top-level import.@pleach/core/cache— content-hash deriver.deriveContentHashKey,canonicalizeKeyInput, andContentHashKeyInputnow have their canonical home in@pleach/core/cache(relocated from@pleach/replay/cache, which re-exports them for back-compat). The move lets@pleach/corederive + stamp acacheKeyintotool.completed/turn.completedevents without the forbiddencore → replayimport. See Subpath exports.@pleach/core/manifest— reload-durability + the manifest as a projection. The chat-manifest ledger (the[Session Manifest]prompt block) now survives a process reload:SessionRuntime.saveSessionstamps the live snapshot into the persisted session state andresumeSessionrehydrates it (complementing the existing checkpoint rollback restore). NewchatManifestProjection/foldChatManifestfold the manifest deterministically from the event log (tool.*/job.*/model.upgraded), replayable viaruntime.events.foldand the@pleach/replaystepper — intentionally lossy vs. the live provider (the log carries hashes/sizes, not full params/output), measured by a flag-gated[UXParity:manifest-projection-divergence]shadow probe. See Subpath exports.tool.completed/turn.completed— optionalcacheKeypayload slot. Lets a deterministic replay consult the provider cache on the row (consumed by@pleach/replay'sReplayHandle). Host- /createCacheMiddleware-populated; core does not derive it (thecore → replayboundary forbids importingderiveContentHashKey). See Replay.
Added
- CI enforcement of the audit contract —
new Reference page indexing the audit-gate
catalog by the auditability and replayability
clause each gate enforces. Covers the
@pleach/coreevent-log gates (the audit-row shape check, the audit-row soak, the manifest-hash check, the three config-manifest checks, the scrubber-coverage check, the hash-chain check) and the CI jobs that carry them (graphnoderef,local-clone, per-SKUconsumer-rehearsal). Cross-linked from Audit gates. - Contribution namespaces — new page
documenting the nine namespaces every
HarnessPlugincontribution hook resolves to (prompts,stream,safety,audit,intent,tools,middleware,policy,lifecycle) — the canonical, CI-checked contract layout, with representative hooks per namespace and the rolling-out typed namespaced authoring form. Plugin contract gains a cross-link; Authoring a HarnessPlugin reframes its informal 12-bucket grouping as the scan view of these nine canonical namespaces. - Config manifest — new page documenting
the content-addressable substrate snapshot the runtime writes to
the config manifest table: one row per distinct
plugin/prompt/node/channel/filter set, keyed by a SHA-256 Merkle
roll-up (
pleach.manifest.v1prefix,0x1Fseparator, mirroring the hash chain'spleach.c9.v1canonicalization). Per-surface child hashes, the nullable config-manifest hash foreign reference on the event log, reference-counted retention (default forever), full-snapshot storage, and the canonical replay/audit query shapes. Markedin-flight— table and event-log column land as additive schema files during rollout. - What Pleach writes to your database —
new page mapping every
@pleach/coretable written to a buyer's database, what's default versus opt-in, and the destination-is-yours posture (no phone-home). - Config-manifest hash cross-references added to
Event log (stamping section +
EventLogRowfield) and Schema (rolling-out config-manifest table section). - OrchestratorClient — new
top-level page documenting the per-turn handle the runtime
threads through the stream body. Lifted from app-side into the
substrate; canonical import path is
@pleach/core/runtime/orchestratorClient. Covers the six user-facing facets (config,history,context,tools,model,prompts) and the_internal.graphsnapshot consumer code must not touch. - streamSingleTurn — new
top-level page documenting the canonical per-turn body. Lifted
into
@pleach/core/strategies/streamSingleTurn/with a stable helpers barrel re-exportingTurnAccumulator,ToolDefinition,OrchestratorMessage, andProviderFallbackConfig. - Subpath exports — adds two rows
to the Runtime + composition table:
@pleach/core/runtime/orchestratorClientand@pleach/core/strategies/streamSingleTurn. Both are now named subpath exports rather than wildcard-only reachable. - Subpath exports →
@pleach/core/quickstart— added under the Wire + tooling cluster. Lists the five LANDED deliverables —createPleachRoute(fetch-handler factory),useChat(Pleach-native React hook),<ChatBox />(unstyled, accessible),defaultPlugin(empty baseline),providerDetectionhelpers + constants — plus the benchmark-adjacentcreateBenchmarkPlugin. - Attestation — new top-level page on
the Ed25519-signed envelope substrate that sits on top of the
hash chain. Documents the
@pleach/core/attestationsubpath (signer, verifier, key-store interface), the two stub production adapters (AWS KMS, Vault Transit), and the file-backedattestation/testingadapter. - Architecture § Boundary rules —
adds a sixth row to the gate table:
the domain-string check forbids domain-specific literals
across the
@pleach/coresource in five pattern families. Pairs with the existing harness-boundary lint row, which forbids domain imports — the new gate covers domain strings. - Core "What you get" — new bullet "Composes under an existing Enterprise contract" after the AuditableCall ledger bullet.
Changed
- Family-lock page documents the host-internal planner carve-out.
family-lock.mdxgains a "Host-internal planner calls" section. The lock governs seam calls —synthesize/converse/reasoning/utilityon the provider seam — but a host'sanchor-planplanner cold-start can run on a pinned host-configured model that never consults the(family x callClass)matrix, so it sits outside the lock by construction, not as a leak. The row is identifiable bystage: "anchor-plan",callClass: "utility",payload.kind: "planGeneration"and carries nofallbackStep/family-exhausted/providerCascade. Guidance: alert on any other non-locked-family row; allow this planner row. - The tool-loop decision call is
utility-class on its own seam, not the synthesize seam (singleton-per-call-class). Five pages carried the prior claim that the synthesizer node and the tool-loopllmDecisionnode share oneProviderSeam<"synthesize">identity. The tool-loop continuation decision — "call another tool or finish?" — now runs on a dedicatedutilityseam, so the synthesize cap is structural: the synthesizer (and the recovery path) are the only consumers of the synthesize seam, and the decision node can't reach theTurnSynthesizeCounter. Corrected in Seams (the singleton section + the LangGraph callout'sProviderSeam<"utility">type), Graph, Graph node catalog (thellmDecisionrow'sacceptsSeamconverse→utility, the Stage 2 intro, and the singleton-invariant wire-check), Call classes (theutilityrow + section now name the tool-loop decision as the canonical utility call), and Multi-synthesize. A reader on the old "shared seam" model would have mis-predicted which node bumps the synthesize counter. - Graph lattice docs synced to the current
@pleach/coretopology across eight pages. TheNODE_STAGE_MAPregistry is 43 names, not 48.ALLOWED_EDGE_PATTERNScarries nine rows andFORBIDDEN_EDGE_PATTERNSseven, not eight/eight — thetool-loop → post-turnrecovery-dispatch edge moved from the forbidden table into the allowed table. Recovery shaping is no longer foursynthesize-stage graph nodes (recovery,refusalHint,retryNarration,garbleRecovery) plus arecoveryDispatchPredicatederivation node and ashouldContinueWithGarbleRoutewrapper; it is four post-turn stream filters (refusalHintFilter100,retryNarrationFilter200,garbleRecoveryFilter300,standardRecoveryFilter400) dispatched viaStreamObserverRegistryand locked by the recovery-dispatch check.synthesizeis now a true singleton — onlysynthesizer. Touched Graph, Node catalog, Edge catalog, Nodes, Architecture, Ownership boundaries, Plugin contract, and Audit gates. Node catalog also gains a "How the substrate source is organized" section documenting how the graph source is laid out (one file per node, per-stage registrars, the lattice topology layer, concern-split seams, predicates and strategies), with upstream-contributor steps for adding a node. - Config manifest foreign key corrected in
Config manifest. The
event-log config-manifest hash reference is a real foreign key
with
ON DELETE SET NULLand a load-bearingDEFERRABLE INITIALLY DEFERREDclause, not gate-only as the page previously claimed. Added thereference_countcolumn to the table DDL and cited the manifest foreign-key check and the manifest-integrity checks. - Schema description for
@pleach/coreamended to name the language-agnostic contract. Thedescriptionfield in the site's Organization + SoftwareApplication JSON-LD graph (inlined in<head>on every page) previously described@pleach/coreonly in TypeScript terms, contradicting both the marketing surface and the editorial position at/ai.txt. The description now names the wire shapes — HTTP+SSE,StreamEvent,AuditableCall,Checkpoint, version vector — as language-agnostic and clarifies that the npm package is the TypeScript reference distribution.programmingLanguage: ["TypeScript"]stays accurate — the npm package IS TypeScript; the language-agnosticism belongs to the contract, not the publishable artifact. See Language-agnostic contract for the full wire-shape inventory. - Cross-docs status-flip pass — rolling correction across
~55 docs pages tracking the alpha-ship of
@pleach/compliance,@pleach/gateway, and@pleach/replay. Touched pages include Audit ledger, Event log, Subpath exports, Seams, Prompts, Prompt builder, and Session runtime.
Fixed
- Family-lock lifetime claim corrected — the
page stated "switching family means a new session." The runtime
ships a sanctioned in-session re-lock path (
sessions.updateProviderModel, emitting asession-lock-resyncedevent), so switching family is an explicit operation, not a new-session requirement. The lock's real invariant is no silent mid-turn widen, not lifetime immutability. - AuditableCall row
AuditRecordVersioncorrected 13 → 14 — both the literal description and the version-log range (v8 through v14) now match the upstreamAUDIT_RECORD_VERSION_HISTORY, whose latest entry isto: 14(Cluster C: additiverewriteStatus?+tokenCost.callClass).
2026-06-08 — chat-pipeline lift into @pleach/core
Foundational lift bringing OrchestratorClient and
streamSingleTurn into the substrate. See the Unreleased section
above for the Added/Changed entries. The Pre-Merge Gate
the domain-string check landed alongside.
2026-06-08
Added
- New page Runtime inspector documenting
inspectRuntime()from@pleach/core/inspector— the typed read-only introspection surface, theInspectionReport/CapabilityReport/PluginReport/CapabilityDescriptorshapes, and the 38 known capabilities (29 modern + 9 deprecated). definePleachPlugin()factory section in Plugin contract covering the 8-keyPluginCapabilitiescluster and the_rawescape hatch.contributeFabricationGuardsection documenting the typedFabricationGuardImplhook (7 methods) that retires theorchestratorHotpath.fabricationGuarduntyped-bag entry.CreatePleachRuntimeConfig.host.{strategies, modules, raw}section in Host adapter with the 15-keyHostExtensionBundlelist and thehost.moduleslist (eventLogWriter,store,interrupt).- Hash-chain probe section in
Tamper-evident hash chain documenting
[UXParity:c9-hash-chain-row-stamp]and[UXParity:c9-hash-chain-verify]. @pleach/core/inspectorrow in Subpath exports.
Changed
- Packages table corrected to real published
version —
@pleach/core 1.1.0(was largely stale "Reserved · placeholder" framing).
Fixed
- Runtime inspector — replaced fictional
RuntimeInspection/CapabilityStatetypes with the realInspectionReport/CapabilityReport/PluginReport/CapabilityDescriptor. Corrected thestatusdiscriminator to"wired" | "deprecated-wired" | "unwired". - Plugin contract —
definePleachPlugincapability fields take values, not thunks. Corrected to the real 8 capability keys (prompts,runtimeAwarePrompts,safetyPolicies,fabricationDetectors,tools,streamObservers,intentToolMap,toolCouplingHints). - Host adapter —
host.modulescorrected to{ eventLogWriter, store, interrupt }.host.strategiespopulated with the real 15-keyHostExtensionBundlelist. - Tamper-evident hash chain — subpath corrected
from
@pleach/core/event-logto@pleach/core/eventLog(camelCase is the real export). - Event-log projections — subpath
corrected from
@pleach/core/event-log/projectionsto@pleach/core/eventLog(projections export from the./eventLogbarrel; there is no/projectionssubpath).
@pleach/compliance changelog
Release history for @pleach/compliance — site-docs entries that materially touched the @pleach/compliance surface, newest-first. Canonical runtime history lives upstream.
@pleach/eval changelog
Release history for @pleach/eval — site-docs entries that materially touched the @pleach/eval surface, newest-first. Canonical runtime history lives upstream.