# @pleach/recipes changelog (/docs/changelog/recipes)



This page collects the **site-content changelog entries** that
materially touched the [`@pleach/recipes`](/docs/recipes-pleach-recipes)
docs surface, the [Recipes](/docs/recipes) cookbook page, or any
of the per-recipe deep-dive pages under
[`/docs/recipes/`](/docs/recipes/simple-chatbot). It is not the
runtime changelog — the canonical record of `@pleach/recipes`
runtime behavior lives in the upstream package
[`CHANGELOG.md`](https://www.getpleach.com/docs/contributing).
`@pleach/recipes` isn't on npm yet, so there's no package page
to link.

See the combined site changelog at
[`/docs/changelog/combined`](/docs/changelog/combined) for the
chronological unified view across every SKU.

## Unreleased [#unreleased]

### Changed [#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 [#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](/docs/use-cases/education/ferpa-coppa) and
  [Education](/docs/use-cases/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`](/docs/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](/docs/recipes/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](/docs/packages) on why `^0.1.0` doesn't do what it
  looks like). No SKU has shipped a `1.x`. See the
  [combined view](/docs/changelog/combined) for the full
  version-epoch correction pack.

### Changed [#changed-1]

* **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 [#fixed-1]

* **Air-gapped empty-allowlist behavior corrected on
  [Government](/docs/use-cases/government) and
  [Air-gapped architecture](/docs/use-cases/government/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 [#added]

* **[Clerk org → permitted families recipe](/docs/recipes#11-clerk-org--permitted-families).**
  Documents `@pleach/recipes/clerk` `getPermittedFamiliesFromOrg` —
  maps a Clerk org's `publicMetadata.permittedFamilies` to the
  `allowedFamilies` allowlist.
* **[Agent instrumentation recipe](/docs/recipes/agent-instrumentation)
  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](/docs/recipes/observable-chatbot)
  (recipe-wrapper path) and
  [BYOK observability](/docs/recipes/byok-observability) (no-`@pleach/core`
  brownfield path). `observable-chatbot` gained a "Live lifecycle
  events" section linking to it. See the
  [combined view](/docs/changelog/combined) for the full entry.

### Fixed [#fixed-2]

* **Schema `codeRepository` + `sameAs` for
  [`@pleach/recipes`](/docs/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](/docs/changelog/combined) for the full
  cross-SKU pack.

### Added [#added-1]

* **Rank-2 per-recipe deep-dive pages** — four additional pages
  under [`/docs/recipes/`](/docs/recipes/simple-chatbot)
  covering the recipes excluded from the prior six because their
  peer SKUs were outside the first-publish wave:
  [`observableChatbot`](/docs/recipes/observable-chatbot)
  (composes `@pleach/observe`),
  [`instrumentedCodingAgent`](/docs/recipes/instrumented-coding-agent)
  (composes `@pleach/coding-agent` + `@pleach/sandbox` +
  `@pleach/observe`),
  [`enterpriseAgent`](/docs/recipes/enterprise-agent) (composes
  `@pleach/compliance` + `@pleach/observe`, surfaces the
  procurement-visible `ENTERPRISE_PERMITTED_FAMILIES_TAG`
  envelope), and [`evalLab`](/docs/recipes/eval-lab) (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/`](/docs/recipes/simple-chatbot)** — six new
  pages covering the first-publish wave (`@pleach/core`,
  `@pleach/tools`, `@pleach/compliance`, `@pleach/gateway`) and
  the brownfield observability SDK:
  [`simpleChatbot`](/docs/recipes/simple-chatbot),
  [`ragChatbot`](/docs/recipes/rag-chatbot),
  [`compliantChatbot`](/docs/recipes/compliant-chatbot),
  [`verticalAgent`](/docs/recipes/vertical-agent),
  [`subagentSwarm`](/docs/recipes/subagent-swarm), and
  [`BYOK observability`](/docs/recipes/byok-observability).
  Each carries a quickstart, the runtime composition the recipe
  wires, a TypeScript config interface, common gotchas, and
  cross-links.

### Changed [#changed-2]

* **[`/docs/recipes`](/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`](/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 [#2026-06-08--page-level-restructuring]

### Added [#added-2]

* **[Platform & operations recipes](/docs/platform-recipes)** —
  extracts four platform-team recipes from
  [Recipes](/docs/recipes) (long-running async jobs, multi-step
  [interrupts](/docs/interrupts), per-call cost reporter,
  OpenTelemetry wiring) into a dedicated page under the
  Operations sidebar group. Lets a consumer reader on
  [`/docs/recipes`](/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 [#changed-3]

* **Sidebar reorder in the Start group:**
  [Getting started](/docs/getting-started) →
  [Agent shapes](/docs/agent-shapes) →
  [Recipes](/docs/recipes) →
  [Reference apps](/docs/reference-apps) →
  [Comparison](/docs/comparison).
* **[Recipes](/docs/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](/docs/platform-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.
