Skip to content
pleach
ReferenceChangelog

@pleach/recipes changelog

Release history for @pleach/recipes — site-docs entries that materially touched the recipes surface, newest-first. Canonical runtime history lives upstream.

This page collects the site-content changelog entries that materially touched the @pleach/recipes docs surface, the Recipes cookbook page, or any of the per-recipe deep-dive pages under /docs/recipes/. It is not the runtime changelog — the canonical record of @pleach/recipes runtime behavior lives in the upstream package CHANGELOG.md. @pleach/recipes 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

Changed

  • Breaking type and construction changes are called out where readers meet them (2026-11-23). TokenCostRecord.reasoningTokensReported is now required (record version 49); a reported 0 counts as reported. content/docs/typed-records.mdx and content/docs/observe.mdx say how the observe mapping sets it. content/docs/query.mdx says the sub-agent and export counts on TranscriptJsonResult are optional, so strict consumers must accept their absence. content/docs/recipes/compliant-chatbot.mdx says compliantChatbot({ profile: "hipaa" }) without supabase now throws at construction when the scrubber chain doesn't load. Tracks upstream e4c4ec59ce, d60654b506, 333f2cc20d.

  • SEC and FINRA grades name two trade scenarios, and four more pages split their lists (2026-11-15). content/docs/compliance/sec-finra.mdx now 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, because resolveGateReviewer binds 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 on content/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.mdx moves SBOM and provenance for your deployment from duties to setup. content/docs/use-cases/financial-services.mdx follows the order-record ruling. content/docs/worm.mdx, content/docs/air-gapped-deployment.mdx, content/docs/region-pinned-agent.mdx and content/docs/cloud-routed-agent.mdx split their lists into duties, setup and "Not in Pleach yet".

  • Regulatory pages separate firm duties, setup and Pleach gaps (2026-11-15). Each page's "What you provide" content mixed three kinds of work: duties a rule places on the organization, setup any deployment does, and things Pleach doesn't do yet. They are now separate. content/docs/compliance/sec-finra.mdx and content/docs/compliance/part-11-alcoa.mdx replace the single column with Your firm's part (or Your QMS's part) and Gap in Pleach. content/docs/use-cases/financial-services.mdx, government.mdx, education.mdx and education/ferpa-coppa.mdx split their lists into duties, setup and "Not in Pleach yet". The SEC and FINRA page adds a Firm duty grade and states that neither setup nor firm duties lower a grade. A grade now comes from the gap column alone. The split grades ("Partial. Not provided for order records…") are now a single grade. Two investment-adviser grades changed under that rule. Written communications moves from Partial to Supports, since archiving other channels is the firm's duty. Duplicate copy moves from Not provided to Firm duty. Every other grade is unchanged. Two Part 11 items moved from "your QMS provides" to gaps in Pleach. One is a reason-for-change field. The other is an implementation of @pleach/rbac-contract, which has no shipped implementer yet.

  • Summary-level mechanism text (2026-11-06). The government and education landings describe each mechanism in plain words and link to its canonical page. No limit changed.

Fixed

  • This page no longer links an npm page that doesn't exist. The opener said @pleach/recipes'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.

  • Air-gapped rejection timing. content/docs/use-cases/government.mdx said an empty allowlist fails at runtime construction. @pleach/core checks each outbound URL when the call is made, so the first outbound call is rejected with AirGappedHostRejectedError.

  • SEC mapping: corrections and regrades (2026-11-06). content/docs/compliance/sec-finra.mdx said the broker-dealer order-records rule doesn't mention automated entry. The rule does address orders entered on an electronic system, and the row now says so. Three other rows now match the rule text. The non-rewriteable-storage row moves from Partial to Not provided, because the triggers can be disabled. Three AI agent rows move from Supports to Partial. The page now says which items come from FINRA's general Gen AI monitoring text, and that an unanswered gate refuses the call. A row for the broker-dealer risk-controls rule (Not provided), a note on a FINRA notice and a Regulation S-P note are new.

  • AI role in the grades. sec-finra.mdx and content/docs/use-cases/financial-services.mdx now say AI tools helped draft and check them, and that this isn't legal, regulatory or audit review. No lawyer, regulator, auditor or registered firm has reviewed them.

  • Finance overclaims. content/docs/worm.mdx no longer leaves the non-rewriteable-storage limit implicit. content/docs/recipes.mdx no longer says redaction avoids violating data-handling policies. The audit-trail blog post no longer calls the five questions a defensible trail.

  • Undeclared event types. content/docs/scrubbers.mdx now says a type that omits scrubbableFields is stored as written and fires [C8:unscrubbed-event-type].

  • FERPA / COPPA scope and Education dropped their adequacy limit. A 2026-11-04 rewrite removed the sentence. Both pages again say the gdpr substitution is not full FERPA or COPPA adequacy.

  • @pleach/compliance dropped its regex coverage limit. The same rewrite removed it. The page again says international tax IDs, EU formats and sector-specific identifiers aren't in the bundled regex set, and names KeyedRegexScrubber for them.

  • Eval lab quickstart passes provider and model. The example now uses provider: new AnthropicSdkProvider(...), kind: "expected" cases and report.runId. Each case runs in a fresh session and is graded on the model's reply. With no provider wired, lab.run() rejects with NoProviderConfiguredError. orchestratorConfig is now the advanced path and needs setOrchestratorAdapterCtor() from @pleach/core/runtime at boot.

  • Install example corrected from ^1.1.0/^1.0.0 caret ranges to the exact 0.1.0 pin every @pleach/* SKU needs pre-1.0 (see Packages on why ^0.1.0 doesn't do what it looks like). No SKU has shipped a 1.x. See the combined view for the full version-epoch correction pack.

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.
  • Internal persona codes removed from the recipe and use-case pages. The private planning codes (P0–P18, P-RAG, P-Eval, P-Code) and references to a private "persona doc" leaked into the shipped docs. Each recipe page's Persona fit: line is now Best fit: with the plain audience descriptor kept; the persona: frontmatter field is gone. Audience meaning is unchanged — only the internal codes were removed.

Fixed

  • Air-gapped empty-allowlist behavior corrected on Government and Air-gapped architecture. Both pages claimed the governmentAgent recipe validates at construction and throws PersonaFactoryNotYetImplementedError (with an internal personaId field). That class is real but is the unimplemented-stub error, not an allowlist guard. The real enforcement is in @pleach/core: an empty allowlist fails closed at the first provider-URL resolution via AirGappedHostRejectedError. Reframed to that behavior; dropped the construction-time claim and the personaId field.

Added

  • Clerk org → permitted families recipe. Documents @pleach/recipes/clerk getPermittedFamiliesFromOrg — maps a Clerk org's publicMetadata.permittedFamilies to the allowedFamilies allowlist.
  • Agent instrumentation recipe added for the do-it-yourself instrumentation path — bare runtime.events.on(kind, handler) lifecycle subscription plus the observeSink({ destinations }) bridge from @pleach/observe. It sits alongside observable-chatbot (recipe-wrapper path) and BYOK observability (no-@pleach/core brownfield path). observable-chatbot gained a "Live lifecycle events" section linking to it. See the combined view for the full entry.

Fixed

  • Schema codeRepository + sameAs for @pleach/recipes corrected in the site's Organization + SoftwareApplication JSON-LD @graph (inlined in <head> on every page). Both fields now point at https://github.com/pleachhq/recipes (was https://github.com/pleachhq, a leftover from when the SKU schemas were drafted against an upstream monorepo). Load-bearing because sameAs is 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

  • Rank-2 per-recipe deep-dive pages — four additional pages under /docs/recipes/ covering the recipes excluded from the prior six because their peer SKUs were outside the first-publish wave: observableChatbot (composes @pleach/observe), instrumentedCodingAgent (composes @pleach/coding-agent + @pleach/sandbox + @pleach/observe), enterpriseAgent (composes @pleach/compliance + @pleach/observe, surfaces the procurement-visible ENTERPRISE_PERMITTED_FAMILIES_TAG envelope), and evalLab (composes @pleach/eval + @pleach/replay via DI-callback factories). Each page mirrors the prior six-page convention — best fit, quickstart, runtime composition, TypeScript config interface, common gotchas, cross-links.
  • Per-recipe deep-dive pages under /docs/recipes/ — six new pages covering the first-publish wave (@pleach/core, @pleach/tools, @pleach/compliance, @pleach/gateway) and the brownfield observability SDK: simpleChatbot, ragChatbot, compliantChatbot, verticalAgent, subagentSwarm, and BYOK observability. Each carries a quickstart, the runtime composition the recipe wires, a TypeScript config interface, common gotchas, and cross-links.

Changed

  • /docs/recipes jump-link table — 10-row index inserted after the lead so a reader scanning for one recipe doesn't sift through ~1,000 lines. Each row names the recipe's central primitive (@pleach/react + createPleachRoute, ProviderDecisionLedger, etc.) in 3-8 words.
  • /docs/recipes lead — count flipped Nine → Ten and the inline name list extended to include the regulated-host end-to-end recipe.

2026-06-08 — page-level restructuring

Added

  • Platform & operations recipes — extracts four platform-team recipes from Recipes (long-running async jobs, multi-step interrupts, per-call cost reporter, OpenTelemetry wiring) into a dedicated page under the Operations sidebar group. Lets a consumer reader on /docs/recipes skip patterns a platform team owns; lets a platform reader land directly on the four ops recipes without scrolling past chat/storage/BYOK.

Changed

  • Sidebar reorder in the Start group: Getting started → Agent shapes → Recipes → Reference apps → Comparison.
  • Recipes lead rewritten to reflect the consumer-facing split (chat, tools, storage, BYOK, moderation, multi-tenant, compliance, projections, hash chain) and to point at Platform & operations recipes for the platform-team patterns. Recipes 10–13 (multi-tenant, compliance, projection, hash-chain) renumbered to 6–9; anchor URLs for those four sections shift accordingly.