@pleach/observe changelog
Release history for @pleach/observe — site-docs entries that materially touched the @pleach/observe surface, newest-first. Canonical runtime history lives upstream.
This page collects the site-content changelog entries that
materially touched the @pleach/observe docs
surface or named a @pleach/observe symbol. It is not the
runtime changelog — the canonical record of @pleach/observe
runtime behavior lives in the upstream package
CHANGELOG.md.
@pleach/observe isn't on npm yet, so there's no package page
to link.
See the combined site changelog at
/docs/changelog/combined for the
chronological unified view across every SKU.
Unreleased
Added
-
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 observe-brownfield diagram is corrected and placed (2026-11-09). It now renders on Adoption paths; it had never been registered in
components/mdx.tsx, so it had never rendered anywhere. Its embedded sample called astartTurn()/turn.end()per-turn handle API that@pleach/observedoes not export. It now uses theinit+recordCall+costAttributionsurface the page documents, notes thatrecordCallis synchronous, and drops an unverifiable "about fifteen lines" count for the two calls a reader actually writes. The four destination chips move to the sage data colour, since the destination is the reader's own storage. The placement carries a plain-MDX caption line, so the page's.mdtwin says what the diagram shows rather than carrying a bare component tag. Its 11px labels moved from 55% to 70% opacity: at 55% they measured 3.6:1 against the card on the light theme, under the 4.5:1 floor for text that size.
Changed
-
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. -
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.
Fixed
-
This page no longer links an npm page that doesn't exist. The opener said
@pleach/observe's canonical runtime history also lived on npm and linked it, but the name isn't on the registry, so the link 404'd. The opener now says the package isn't on npm yet. -
Observe drops "not yet verified" from the OpenAI Agents SDK and Mastra rows. Both integrations run smoke tests against the real packages (
@openai/agents0.21.0,@mastra/core1.81.0). The Agents SDK row adds that a runner retry (modelSettings.retry) is a row per attempt, a retry inside the OpenAI client is not, and rows from a multi-model-call turn carry no tokens and are taggedunsplit-turn. -
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.
Fixed
AuditableCallv31 across the@pleach/observepages. Observe, Adoption paths, Packages, and the BYOK observability and agent instrumentation recipes said v30. v31 adds the optionaltoolName, the tool whose execution caused the call.ObserveRowdoesn't populate it and stays a strict subset.
Added
- Packages names
@pleach/observe/resource-meter.measureResourcesmeters CPU, memory, event loop, and fetch counts per scope (upstream6c0354f0a8).
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.
Fixed
-
The
ObserveRowsubset claim named a stale parent-schema version.@pleach/observesaidObserveRowis a strict subset ofAuditableCallv13; the canonical row page says 19, verified against the upstream core package on 2026-07-02. Corrected here and on the two recipe pages that mirrored it. -
The page claimed the row does not carry "the fingerprint payload". Adding
ObserveRow.fingerprintfalsified the sentence directly beneath the shape. Reworded: the row carries its own narrowerfp_v1:hash over{family, model, callClass, input}, computed by the SDK rather than lifted from the v13 record, while the fullRoutingDecision, cascade walk history, and attestation hashes do stayundefined. -
Subpath count corrected from three to six. The API-surface table said "Three publishable subpaths"; the package exports six, adding
@pleach/observe/integrations/{ledger-decorator,cost-emit,cost-event-emit}(withObserveEmit,createCostEmitter,projectGatewayCostEventToObserveRow). -
@pleach/observesurface reconciled with the shipped recorder.getRecorder()returnsObserveRecorderand throws if called beforeinit(it never returnsundefined); a secondinitthrows (singleton-per-process, not a warn-and-return no-op); aredactorthat throws is now documented as fail-closed — the SDK swallows, warns via[Observe:redactor-threw], and drops the row (the raw pre-redaction row is never written). The OTel destinationCalloutcorrected to the real envelope: span name`<family>.<callClass>`(e.g.anthropic.synthesize) withgen_ai.*attributes pluspleach.observe.{turn_id,provider_id, cost_usd}/pleach.observe.tag.*(was the fictionalpleach.audit.call/pleach.turn_idset).BUILT_IN_MATCHERSships email + phone + SSN only (dropped the "credit card" claim). Checked against the shipped recorder, OTel destination and redaction code. -
Schema
codeRepository+sameAsfor@pleach/observecorrected in the site's Organization + SoftwareApplication JSON-LD@graph(inlined in<head>on every page). Both fields now point athttps://github.com/pleachhq/observe(washttps://github.com/pleachhq, a leftover from when the SKU schemas were drafted against an upstream monorepo). Load-bearing becausesameAsis the field AI search engines use for entity reconciliation across the npm ↔ GitHub ↔ docs boundary. See the combined view for the full cross-SKU pack.
Added
-
Reading rows back — the read side was entirely undocumented.
query(filter)on the Memory, Postgres, and Supabase destinations, with the two boundary rules a consumer needs before aggregating: the window is half-open[since, until)so adjacent windows tile without double-counting, and both bounds compare againststartedAtrather thancompletedAt, so a long call is attributed to the window it began in.QueryNotSupportedErroris thrown rather than returning[], because an empty array is indistinguishable from "no rows matched". Also the opt-inpersistFingerprintcolumn andisRecorderInitialized(). -
ObserveRow.byokFailureChainandObserveRow.fingerprintadded to the documented row shape.byokFailureChaincarries a four-characterkeyHintand never the key itself, so the row stays safe to ship to a dashboard your key-holders don't control.isCostAttributionKey/extractCostAttributionTagsadded to Cost attribution. -
@pleach/observe/testing— the destination conformance harness.assertObserveDestinationConformancethrows on the first failed check;runObserveDestinationConformancereturns aConformanceReportfor a suite that wants every failure in one pass. TheObserveDestinationinterface constrains shape; the harness constrains behaviour. The API-surface table moves from six subpaths to seven. -
@pleach/observe— new top-level page for the brownfield audit-row SDK. Documents the five-entry facade surface (init,startTurn,flush,recordCall,subagent,getRecorder), theObserveRowshape as a strict subset of theAuditableCallv7 schema, the four destinations (Postgres, Supabase, OTel, Memory) on the./destinationssubpath, the custom-destination interface (write+ optionalflush), the hookable-vs-not-hookable split against the runtime, and composition with@pleach/corewhen both surfaces run in the same process. Status callout makes the design-target stance explicit —@pleach/observe@0.1.0-alpha.0is scoped, not yet on npm; publishing is the next step. -
Per-recipe deep-dive pages —
BYOK observability,observableChatbot,instrumentedCodingAgent, andenterpriseAgentall compose@pleach/observe. -
Packages — added the
@pleach/observematrix row in the Reserved tier with the row note0.0.1 · Reserved · 0.1.0-alpha.0 scoped, and reworked the Reserved bullet to distinguish@pleach/trust-pack(placeholder, no contract published) from@pleach/observe(contract locked, scoped under FSL-1.1-Apache-2.0). -
Homepage — new "Keep your stack" block makes
@pleach/observea top-level surface on the marketing home. The brownfield path now sits between "Should you stay where you are?" and "Already paying the lab": wrap an existing Vercel AI SDK / LangChain / hand-rolled loop in ~15 lines. Its diagram (components/observe-brownfield-diagram.tsx) shows theinit+ per-turn recorder + destination-plug hook fanning out to the four destinations —postgres(),supabase(),otel(),memory()— over the BYOK code shape (init,startTurn,recordCall,end). TheObserveRow-is-a-strict-subset-of-AuditableCallrunway claim is the figure caption. Cross-links adoption paths and BYOK observability. Block states@pleach/observeis in alpha; the SDK layer stays free.
Changed
-
The proxy comparison's "Adoption cost" row now credits the brownfield SDK.
/docs/comparisonread "model your agent inside the runtime" against a governed proxy's one-URL swap — accurate before@pleach/observeshipped, stale after. The cell now reads ~15 LoC around the loop you already run, and a new paragraph bounds the claim: the SDK closes the distance on the audit row, not on family-lock, replay, or checkpoints, which need the runtime to drive the loop. -
Pricing rewrites — audit rows ship where you point them — Postgres, Supabase, OTel collector into Datadog / Honeycomb / Grafana / your existing OTLP backend, or a custom destination; the enterprise integration is the bridge from
@pleach/observeinto the review surface your team already runs. -
Pricing — "Hosted Observe at enterprise scope" named as a paid enterprise product alongside Hosted Gateway and compliance attestation services.
@pleach/mcp changelog
Release history for @pleach/mcp — site-docs entries that materially touched the @pleach/mcp surface, newest-first. Canonical runtime history lives upstream.
@pleach/rbac-contract changelog
Release history for @pleach/rbac-contract — site-docs entries that materially touched the @pleach/rbac-contract surface, newest-first. Canonical runtime history lives upstream.