@pleach/replay changelog
Release history for @pleach/replay — site-docs entries that materially touched the @pleach/replay surface, newest-first. Canonical runtime history lives upstream.
This page collects the site-content changelog entries that
materially touched the @pleach/replay docs
surface or named a @pleach/replay symbol. It is not the runtime
changelog — the canonical record of @pleach/replay runtime
behavior lives in the upstream package
CHANGELOG.md and on
npmjs.org/package/@pleach/replay.
See the combined site changelog at
/docs/changelog/combined for the
chronological unified view across every SKU.
Unreleased
Added
-
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. -
The glossary states the replay limit (2026-11-09).
content/docs/glossary.mdxdefined "replay" and "determinism" without it. Both entries now say a replay re-serves the recorded response rather than re-running the provider, that bit-for-bit re-execution against a hosted model provider is not achievable, and that the strict gate checks determinism rather than fidelity to the record. Each links to Replay rather than restating it.
Fixed
- Replay wording.
content/docs/regulated-domain-agent.mdxsaid a replay returned the same final text. Replay re-serves the record and doesn't run the model again. 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.
Fixed
- Hash chain → Verifying a chain
documents verification as live. The "preview"
pleach-replay verify-chainCLI and itssession_id/record_idSQL are replaced byverifyChainIntegrityandverifyChainForChat. Replay no longer promises a CLI wrapper; the package ships no binary.
Fixed
- Landscape row 2 describes strict replay as it ships. It
said strict mode throws
ReplayDivergenceError. Strict mode returns{ deterministic: false, firstDivergenceAt }; only a request the record can't serve throws, asReplayCacheMissErrorwith itssequenceNumber.
Fixed
- Replay no longer promises byte-identical output. A live model
can't guarantee it. Eval and replay renames
"Verifying byte-identical replay" to "Checking a replay for
divergence", and
deterministic: truenow reads as "no step diverged in this check". The glossary, FAQ, and comparison tables say what ships: replay re-serves the recorded stream and drift raisesReplayDivergenceError. - 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.
Fixed
-
Region-pinned agent replay snippet corrected to the shipped
ReplayRuntimeshapes.createReplayRuntimetakessessionRuntime, notliveRuntime(ReplayRuntimeConfig={ tenantId (required), sessionRuntime?, cacheReadMode?, clock?, eventSource? }).replayTurninput is{ chatId, tenantId, messageId }—turnId→messageId,modeis not a field, andtenantIdis required (ReplayTurnInput). Its output is{ chatId, tenantId, messageId, state, sequenceNumberRange }— there is no.difffield, so the cross-family parity read was rewritten to compare the returnedstateyourself, with a pointer to the hash-chainverifyIntegrityverdict ({ valid, brokenAt? }) for tamper-evidence. -
@pleach/replayeval-coupling snippet corrected. The DI example constructednew EvalSuite({ replay }), butEvalSuiteOptionshas noreplayfield and requiressuiteId; the real cross-wire issuite.setReplayClient(client). Corrected tonew EvalSuite({ suiteId, runtime })+suite.setReplayClient(replay)(the source doc comment was likewise corrected).
Added
- Replay Cache adapters section.
Documents
createDiskCacheProvider,createRedisCacheProvider, andcreateS3CacheProvider(@pleach/replay/cache/adapters/*) — the backing stores forcreateCacheMiddleware. /docs/replay—createStrictHandleReplaydeterminism gate. New@pleach/replay/strictexport (re-exported at the root) that walks N independent handles over the same(chatId, tenantId, window)and byte-compares the folded per-step state, returning{ deterministic, steps, firstDivergenceAt? }. Documented in the Status section, a new "Determinism gate" subsection, and the Roadmap. Sibling ofcreateStrictReplay(which gates theReplayRuntime.replayTurnsurface)./docs/replay—cacheKeyreplay slot.@pleach/core'stool.completed/turn.completedevents gained an optionalcacheKeypayload field; theReplayHandleconsults a wiredcacheBackendfor rows that carry it (percacheReadMode). The "What's NOT" list notes core does not populate it (thecore → replayboundary forbids importingderiveContentHashKey) — host- /createCacheMiddleware- populated.
Changed
/docs/replay—ReplayHandlestepper documented as wired.step()/seek()/replayTurn()no longer throwNotImplementedError; they walk the event log viaruntime.events.iterateand fold throughhydrateFromEvents. Updated the Status section, theReplayHandlemember table (all six members Live), thestep()/seek()/replayTurn()behavior section, the determinism contract (one shared reducer →seek(N)== N steps == a full fold), the error-hierarchy note onNotImplementedError, and the "What's NOT in this package" list (now: noStrictReplaydiff over the handle, no automatic cache-key derivation from rows). Mirrored the one-line status flip on/docs/eval-and-replay.
Added
<StatusBadge>reference adoption —/docs/replayadopts an in-flight status badge under its Status heading as the reference adoption of the new first-party enterprise-shape component.
Changed
/docs/replayerror hierarchy diagram — the ASCII tree renderingReplayError/ReplayDivergenceError/ReplayCacheMissError/ReplayUnknownEventError/NotImplementedErroris now a mermaidclassDiagramwith inheritance arrows and per-class fields. Matches the established mermaid idiom used on/docs/overviewand elsewhere.- Cross-docs status-flip pass —
@pleach/replay'sReplayRuntimeinvokes the@pleach/core/eventLoghash-chain verifier (verifyChainForChat/generateProoflive in@pleach/core/eventLog), with writer-side stamping in@pleach/core/eventLogbehindc9PhaseBEnabled. Touched the Replay and Hash chain pages.
2026-06-08
Changed
- Packages table corrected to real published
version —
@pleach/replay 0.7.0(was largely stale "Reserved · placeholder" framing). - @pleach/replay note now distinguishes
the landed
replayTurnbody from the still-throwingfromSnapshot/fork/multiTenantAggregate.
@pleach/recipes changelog
Release history for @pleach/recipes — site-docs entries that materially touched the recipes surface, newest-first. Canonical runtime history lives upstream.
@pleach/sandbox changelog
Release history for @pleach/sandbox — site-docs entries that materially touched the @pleach/sandbox surface, newest-first. Canonical runtime history lives upstream.