create-ailk 0.46.3 → 0.46.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,11 +17,11 @@ The component inventory of `@working-theory/ui` and the shells of `@working-theo
17
17
 
18
18
  Inventory: **335 component files** across 16 tiers — 61 sections, 112 blocks, 20 chrome, 82 primitives, 6 panels, 8 shells, 5 docs-blog-blocks, 1 docs-blog-chrome, 2 docs-blog-shells, 2 scheduling-sections, 6 scheduling-blocks, 5 signal-collectors-sections, 9 signal-collectors-blocks, 2 commerce-sections, 13 commerce-blocks, 1 commerce-panels. 332 distinct names: `SchedulerEmbed`, `Separator`, `Tabs` exist in more than one tier as genuinely different components, listed once per tier with its own source path.
19
19
 
20
- Description coverage: **331/335** components carry a capability description derived from source — 46 from the section registry's hand-authored when-to-use text, 250 from the component's own doc-comment header, 35 from its tier barrel's roster line. **4** have none; they are listed under [Undescribed components](#undescribed-components) rather than given a sentence invented from their name.
20
+ Description coverage: **331/335** components carry a capability description derived from source — 46 from the section registry's hand-authored when-to-use text, 251 from the component's own doc-comment header, 34 from its tier barrel's roster line. **4** have none; they are listed under [Undescribed components](#undescribed-components) rather than given a sentence invented from their name.
21
21
 
22
- Of those, **297** are *strong* — a capability sentence you could match a requirement against — and **34** are *weak*: either one short clause, or a long one that spends itself on wiring (client boundaries, class names, which primitives it composes) instead of on what the thing is for. Weak rows are marked `(weak)` and listed in full under [Weak descriptions](#weak-descriptions). Coverage is 99%, but **findable-without-luck coverage is 89%**.
22
+ Of those, **298** are *strong* — a capability sentence you could match a requirement against — and **33** are *weak*: either one short clause, or a long one that spends itself on wiring (client boundaries, class names, which primitives it composes) instead of on what the thing is for. Weak rows are marked `(weak)` and listed in full under [Weak descriptions](#weak-descriptions). Coverage is 99%, but **findable-without-luck coverage is 89%**.
23
23
 
24
- Per tier, strong out of total: **Sections** 60/61 · **Blocks** 103/112 · **Chrome** 11/20 · **Primitives** 67/82 (4 undescribed) · **Panels** 6/6 · **Shells** 7/8 · **Docs + Blog Blocks** 5/5 · **Docs + Blog Chrome** 1/1 · **Docs + Blog Shells** 0/2 · **Scheduling Sections** 2/2 · **Scheduling Blocks** 6/6 · **Signal-Collectors Sections** 5/5 · **Signal-Collectors Blocks** 8/9 · **Commerce Sections** 2/2 · **Commerce Blocks** 13/13 · **Commerce Panels** 1/1. A tier low on this line is a tier where a capability search is most likely to come up empty on something that exists.
24
+ Per tier, strong out of total: **Sections** 60/61 · **Blocks** 104/112 · **Chrome** 11/20 · **Primitives** 67/82 (4 undescribed) · **Panels** 6/6 · **Shells** 7/8 · **Docs + Blog Blocks** 5/5 · **Docs + Blog Chrome** 1/1 · **Docs + Blog Shells** 0/2 · **Scheduling Sections** 2/2 · **Scheduling Blocks** 6/6 · **Signal-Collectors Sections** 5/5 · **Signal-Collectors Blocks** 8/9 · **Commerce Sections** 2/2 · **Commerce Blocks** 13/13 · **Commerce Panels** 1/1. A tier low on this line is a tier where a capability search is most likely to come up empty on something that exists.
25
25
 
26
26
  That grade is **mechanical**. It counts what it can measure — how much a description adds beyond the component's own name, how much of it is spent on wiring, whether the extraction came out damaged — and it cannot tell a fluent paragraph about the wrong subject from a useful one. A person reading these tables will find more rows unusable than the weak count admits. Treat it as a floor on the problem, not a measurement of it, and read the source before concluding a capability is absent.
27
27
 
@@ -72,7 +72,7 @@ Import: `import { X } from "@working-theory/ui/sections";` (or from the `@workin
72
72
  | `BlogList` | A blog post list with pagination — use for the blog index page only. | MDX `type: blog-list` · `import { BlogList } from "@working-theory/ui/sections"` |
73
73
  | `BlogPost` | A single blog post body with TOC and related posts — use only on the blog-post chassis. | MDX `type: blog-post` · `import { BlogPost } from "@working-theory/ui/sections"` |
74
74
  | `Carousel` | An image carousel/slider — use for a sequential set of visual items in constrained space. | MDX `type: carousel` · `import { Carousel } from "@working-theory/ui/sections"` |
75
- | `ComparisonTable` | A general-purpose entity-vs-entity comparison — use for /vs pages, not tied to pricing plans. | MDX `type: comparison-table` |
75
+ | `ComparisonTable` | A comparison table whose columns are typed names or Stripe plans — use for /vs pages, and under a pricing page's cards. | MDX `type: comparison-table` |
76
76
  | `ContactChannels` | A support channel directory — use to list alternate ways to reach the team (icon + title + description + CTA). | MDX `type: contact-channels` · `import { ContactChannels } from "@working-theory/ui/sections"` |
77
77
  | `ContactForm` | A contact form with typed fields — use as the primary conversion action on Contact pages. | MDX `type: contact-form` · `import { ContactForm } from "@working-theory/ui/sections"` |
78
78
  | `ContentBlock` | Long-form prose with optional media — use for narrative explanation that doesn't fit a card grid. | MDX `type: content-block` |
@@ -133,7 +133,6 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
133
133
 
134
134
  | Component | What it does | How to use it |
135
135
  | --- | --- | --- |
136
- | `AddonCard` | Apollo.io-pattern add-on tile: header-area eyebrow+name+price, optional qualifier/CTA, titled or plain-string feature rows with a selectable checkmark tone (Pricing addons variant). | `import { AddonCard } from "@working-theory/ui/blocks"` |
137
136
  | `AddressFieldset` | The composite control for StepFlow's "address" field type. No such component existed in the library before this — built by composing the existing Field/Input/Select primitives, no bespoke markup, no new primitive. Mirrors PhoneNumberField's division of labor for the "tel" field type: this block renders the six named controls; the consuming section combines/reads them, it does no combining itself. | `import { AddressFieldset } from "@working-theory/ui/blocks"` |
138
137
  | `AgentContextCard` | Capability-bearing block that renders agent provenance. RSC note: no hooks or browser APIs — server-renderable by default. *(weak)* | `import { AgentContextCard } from "@working-theory/ui/blocks"` |
139
138
  | `ArticleHeaderAtoms` | They define the title / meta-line / tags / back-link / action-bar treatment ONCE so the docs and blog headers cannot drift. `DocsArticleHeader` (top layout) and `BlogPostHeader` (sticky-rail layout) are thin wrappers that COMPOSE these atoms — there is no `layout` switch or stack of `show*` booleans; the two arrangements differ only in which atoms each wrapper places and in what order. | `import { ArticleHeaderAtoms } from "@working-theory/ui/blocks"` |
@@ -154,7 +153,7 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
154
153
  | `Card` | The base surface-chrome block the section tier composes instead of hand-rolling `rounded + hairline border + surface + p-card` (7× duplicated at time). A block owns its visual identity: it looks the same everywhere it is composed, and a higher tier SELECTS a look via `variant` — it never patches via className. | `import { Card } from "@working-theory/ui/blocks"` |
155
154
  | `ChoiceCard` | Onboarding "Is this you?" disambiguation card — reimplements the ploy.ai persona-disambiguation capture: a researched candidate option vs a "none of these are me" option, confirmed by the user ("a human-input seam the user answers to orient the agent"). Purely presentational and props-driven: renders options + an optional "none of these" option + a confirm action, disabled until a selection is made. | `import { ChoiceCard } from "@working-theory/ui/blocks"` |
156
155
  | `CodeBlock` | Read-only code display with syntax highlighting. Modeled on the Claude docs code-block pattern. | `import { CodeBlock } from "@working-theory/ui/blocks"` |
157
- | `ComparisonMatrix` | Full feature × tier comparison matrix for the Pricing 'with-comparison-table' variant. Renders N collapsible ComparisonGroups, each containing M feature rows with per-tier values. | `import { ComparisonMatrix } from "@working-theory/ui/blocks"` |
156
+ | `ComparisonMatrix` | Full feature × column comparison matrix for the comparison-table section, its one caller. Renders N collapsible ComparisonGroups, each containing M feature rows with per-column values. | `import { ComparisonMatrix } from "@working-theory/ui/blocks"` |
158
157
  | `Composer` | The chat input, per the ploy.ai capture contract. | `import { Composer } from "@working-theory/ui/blocks"` |
159
158
  | `ConsentGroup` | The composite control for the `consent` field kind: one real checkbox per consent purpose, each with its statement and inline policy links, inside one fieldset. | `import { ConsentGroup } from "@working-theory/ui/blocks"` |
160
159
  | `ConsentSettingsButton` | Footer "Cookie settings" control. Lets a visitor who already accepted/declined change their mind later, from the footer, without reloading the page. Lives at the BLOCKS tier (not chrome) so `FooterBottomBar` (a block) can render it without an upward import; `BannerConsentIsland` (chrome) imports the exported event constant DOWNWARD, per the component tier hierarchy. | internal — compose from `packages/ui/src/blocks/ConsentSettingsButton.tsx` |
@@ -211,9 +210,11 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
211
210
  | `PostTeaser` | The featured post (`size="lg"`) and "Latest posts" grid card (`size="md"`); no cover renders no placeholder. Composes MediaFigure + PostMetaLine + primitives. No author byline (C7). RSC: no hooks or browser APIs. *(weak)* | `import { PostTeaser } from "@working-theory/ui/blocks"` |
212
211
  | `PricingExtraTierRow` | Compact horizontal extra-tier row for the Pricing 'two-tiers-with-extra-tier' variant. Renders plan name + description on the left and a CTA on the right. Structurally different from PricingTierCard (no price display in this variant). | `import { PricingExtraTierRow } from "@working-theory/ui/blocks"` |
213
212
  | `PricingTierCard` | Single pricing tier card (all 4 Pricing variants). Renders a single pricing tier: plan name + optional badge, description, price display, CTA button, and feature checklist. | `import { PricingTierCard } from "@working-theory/ui/blocks"` |
213
+ | `PricingTierCardFeatureRow` | One `li` of a pricing card's feature list, in one of three styles: plain — bullet + title (today's markup, exactly). detail — the same, then a muted body-sm detail under the title. opens — the bullet + title are a disclosure button; the detail is its panel. Instant open/close: no height or chevron transition, so a reduced-motion visitor sees what everyone sees. | `import { PricingTierCardFeatureRow } from "@working-theory/ui/blocks"` |
214
214
  | `PricingTierCardFeaturesDisclosure` | Phone-breakpoint (<md, 768px — the same phone/tablet step CardGrid's own mobile-stacking ramp uses) presentation of a tier card's feature list: collapsed behind a disclosure button so price + CTA (which render ABOVE this row, see PricingTierCard's row-slot ordering) fit the first card view on a phone — the wisprflow.ai/pricing pattern. `md` and up renders the SAME feature list, always expanded, in a second, non-interactive tree — desktop/tablet is unaffected by the collapse. | `import { PricingTierCardFeaturesDisclosure } from "@working-theory/ui/blocks"` |
215
215
  | `PricingTierCardLevelSwitch` | The level switch of a pricing card that sells one tier at several levels. It owns the chosen level and renders a fragment of direct grid children of the card: the track-1 cell (the card's title row, then the switch) and the chosen level's cells, which the parent PricingTierCard builds server-side and passes in as ReactNodes. | `import { PricingTierCardLevelSwitch } from "@working-theory/ui/blocks"` |
216
216
  | `PricingTierCardSeatControl` | Seat-count range picker for the Team tier card. Renders a Select primitive that lets the user choose an "Up to N seats" option from a caller-supplied list of numbers. The parent PricingTierCard stays a pure RSC; only this tiny island is hydrated. Pattern mirrors PageHeaderSwitcher.tsx: small "use client" island imported by an otherwise-server-rendered parent, keeping the client bundle minimal. *(weak)* | `import { PricingTierCardSeatControl } from "@working-theory/ui/blocks"` |
217
+ | `PricingWideSide` | The side of the wide lone card: none, one image, or rotating images, with or without a pull-quote under the media. It is not a card — no price, button or list. Composes the Image primitive, the Button primitive (dots, pause) and the TestimonialAside block. | `import { PricingWideSide } from "@working-theory/ui/blocks"` |
217
218
  | `PromptCaptureCard` | The chat-style prompt card: a multiline field carrying the authored placeholder, with a circular arrow submit control pinned bottom-right that stays muted (disabled) until the visitor has typed something. Enter submits; Shift+Enter inserts a newline — the chat-composer convention. | `import { PromptCaptureCard } from "@working-theory/ui/blocks"` |
218
219
  | `Prose` | The single typography wrapper both the docs route and blog render their compiled-MDX body inside. It styles every RAW markdown element a compiled document emits — h2–h6, p, ul/ol/li, blockquote, table parts, hr, a, inline code, pre, img, kbd, strong/em — via `@working-theory/theme` semantic tokens and type roles. No raw color or spacing literals; dark mode rides the semantic tokens (no `dark:` variants needed). | `import { Prose } from "@working-theory/ui/blocks"` |
219
220
  | `RecommendationCard` | "For you" proactive-recommendation tile: status + title + description + "Why this?" disclosure + context chip + action + dismiss (ploy-capture recomposition). The "For you" proactive-recommendation card captured off ploy.ai's Overview page (behavior spec: -2, — `overview-page` "For you" feed / rebuild-triage row "For you" recommendation card"). | `import { RecommendationCard } from "@working-theory/ui/blocks"` |
@@ -224,7 +225,6 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
224
225
  | `SectionActionRow` | The bottom-anchored, centered action row a section places BENEATH its own content, at the 44×44px target-size floor. It is the block form of the placement established for `stair-steps`: a bounded 1-2 action list rendered after the section body rather than inside the section header. | `import { SectionActionRow } from "@working-theory/ui/blocks"` |
225
226
  | `SectionHeader` | Alignment-parameterized section header (eyebrow/subtitle/description/supportLink). The same component serves two ranks (headingLevel="section" \| "subsection") and three alignments (align="start" \| "center" \| "end"). It knows nothing about columns/splits/carousels — it is width-flexible and fills whatever container the section places it in. | `import { SectionHeader } from "@working-theory/ui/blocks"` |
226
227
  | `ShareBar` | The reader-facing counterpart to DocsActionBar. Both surfaces share the same SplitButton *affordance + slot* (outline variant, right-justified on the post title row) but fill it with different actions: DocsActionBar carries the AI-ingestion set (Copy page + Open in …), ShareBar carries the social-share set (X · LinkedIn · Bluesky · Copy link). One primitive, two configs. | `import { ShareBar } from "@working-theory/ui/blocks"` |
227
- | `SinglePriceCard` | 2-column split card for the Pricing 'single-price-with-details' variant. *(weak)* | `import { SinglePriceCard } from "@working-theory/ui/blocks"` |
228
228
  | `SlideAdvance` | The deck's slide-advance control. One ghost Button holding a hairline chevron: a down chevron moves to the next slide, an up chevron to the first. A native button, so a click, Enter and Space all fire the same move, and nothing else listens: no wheel, touch, scroll or key handler is added, so native scroll-snap still settles every user scroll (the argument against a scroll-hijacking deck). | `import { SlideAdvance } from "@working-theory/ui/blocks"` |
229
229
  | `SocialIcons` | Horizontal row of social icon links. Renders brand icons (via Icon primitive + simple-icons paths) inside accessible Link primitives. Each platform link gets an aria-label. Shared by company-mission, simple-centered, and newsletter-below footer variants, and composed by TeamMemberCard for member social links. *(weak)* | `import { SocialIcons } from "@working-theory/ui/blocks"` |
230
230
  | `SortableList` | The one @dnd-kit/sortable reorder block: mouse, touch and keyboard drag behind a six-dot grip, announced, controlled. `@dnd-kit/sortable` wrapped ONCE behind our six-dot grip. The ONLY file in the monorepo that imports `@dnd-kit/*` — enforced by tests/architecture/no-dnd-kit-outside-sortablelist.test.ts (SD-2). | `import { SortableList } from "@working-theory/ui/blocks"` |
@@ -566,7 +566,7 @@ Import: `import { X } from "@working-theory/ui-commerce";` (or from the `@workin
566
566
 
567
567
  ## Weak descriptions
568
568
 
569
- These 34 components have a description that is accurate but does not do the job well: too short to match against, or long but spent on implementation. A capability search reaches them only if the searcher's word happens to be in it, so they are the most likely place for this catalog to repeat the failure it was built to fix. Read the source before concluding the capability is absent — and if you own one of these components, its header is the fix.
569
+ These 33 components have a description that is accurate but does not do the job well: too short to match against, or long but spent on implementation. A capability search reaches them only if the searcher's word happens to be in it, so they are the most likely place for this catalog to repeat the failure it was built to fix. Read the source before concluding the capability is absent — and if you own one of these components, its header is the fix.
570
570
 
571
571
  | Component | Tier | What the source gives us |
572
572
  | --- | --- | --- |
@@ -577,7 +577,6 @@ These 34 components have a description that is accurate but does not do the job
577
577
  | `PostCard` | blocks | Same props as PostRow, a vertical arrangement. A single linked blog-index card (cover · date · reading time · title · excerpt · "Read more"). Tier 3 block; composes MediaFigure + primitives. RSC default. |
578
578
  | `PostTeaser` | blocks | The featured post (`size="lg"`) and "Latest posts" grid card (`size="md"`); no cover renders no placeholder. Composes MediaFigure + PostMetaLine + primitives. No author byline (C7). RSC: no hooks or browser APIs. |
579
579
  | `PricingTierCardSeatControl` | blocks | Seat-count range picker for the Team tier card. Renders a Select primitive that lets the user choose an "Up to N seats" option from a caller-supplied list of numbers. The parent PricingTierCard stays a pure RSC; only this tiny island is hydrated. Pattern mirrors PageHeaderSwitcher.tsx: small "use client" island imported by an otherwise-server-rendered parent, keeping the client bundle minimal. |
580
- | `SinglePriceCard` | blocks | 2-column split card for the Pricing 'single-price-with-details' variant. |
581
580
  | `SocialIcons` | blocks | Horizontal row of social icon links. Renders brand icons (via Icon primitive + simple-icons paths) inside accessible Link primitives. Each platform link gets an aria-label. Shared by company-mission, simple-centered, and newsletter-below footer variants, and composed by TeamMemberCard for member social links. |
582
581
  | `TopicChips` | blocks | "All" plus one chip per tag, each a real server-rendered link — never a client-side filter — with the current page's chip marked `aria-current="page"` / `data-current="true"` in the served HTML. Composes Button (asChild) + Link; RSC, no client state. |
583
582
  | `Banner` | chrome | Site-wide announcement and consent banner chrome. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ailk",
3
- "version": "0.46.3",
3
+ "version": "0.46.4",
4
4
  "description": "Scaffolder for AI Launch Kit — `pnpm create ailk@latest <dir>` produces a starter repo consuming @working-theory/* from npm (per ADR 0007).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "tar": "^7.5.21"
29
29
  },
30
30
  "devDependencies": {
31
- "@working-theory/schema": "0.77.0",
32
- "@working-theory/templates": "0.77.0"
31
+ "@working-theory/schema": "0.78.0",
32
+ "@working-theory/templates": "0.78.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -681,9 +681,9 @@ key), so the page names none. It renders one of three pages:
681
681
  Live row's status menu, `PUT /v1/workspaces/:workspaceId/offerings`'s
682
682
  Recommended body). Two Stripe Product metadata keys are the seller's own
683
683
  card text, shown as written: `ailk_cta`, a plan's or add-on's button label
684
- (absent → the translated `cta`), and `ailk_eyebrow`, an add-on tile's
684
+ (absent → the translated `cta`), and `ailk_eyebrow`, an add-on card's
685
685
  eyebrow (the recommended add-on keeps the Recommended label); an add-on's
686
- `ailk_note` is its tile's note line, as a plan's is its `priceSubhead`. Copy
686
+ `ailk_note` is its card's `priceSubhead`, as a plan's is. Copy
687
687
  comes from the `pricingOfferings` namespace.
688
688
  - **A section says where its plans come from (#12140).** A `pricing`
689
689
  section may set `source: offerings | written`; with no `source` anywhere
@@ -691,22 +691,20 @@ key), so the page names none. It renders one of three pages:
691
691
  the section to the shown set: it is mapped alone, for its own
692
692
  `offeringPlans` else the page's `plans`, in the layout its own `variant`
693
693
  names (`offeringsPricing`'s `layout`, one mapping per layout). The toggle
694
- layout is the default; `with-comparison-table`, `two-tiers-with-extra-tier`
695
- and `band-hero` get centred cards and no toggle (they show monthly prices
696
- only); `single-price-with-details` gets the first card alone; an `addons`
697
- section gets the add-on tiles. In `features-and-plans`, one product with a
694
+ layout is the default; `two-tiers-with-extra-tier` and `band-hero` get
695
+ centred cards and no toggle (they show monthly prices only);
696
+ `single-price-with-details` gets the first card alone; an `addons` section
697
+ gets the add-on tiles. In `features-and-plans`, one product with a
698
698
  monthly and a yearly Price (and no `requires`) becomes two blocks — the
699
699
  monthly one keyed by the plan slug, the yearly one by its lookup key and
700
700
  carrying the terms note — each linking its own Price's checkout, and a
701
701
  lone product's marketing features fill the left column as title-only rows
702
702
  unless the section writes its own `features`. A bound section keeps its
703
- copy, `source`, band parts and `comparisonGroups` — values matched to the
704
- cards by plan slug, each cell's `link` dropped — and never an authored
705
- plan, `extraTier` or cell link; the plans it lists are left out of the
706
- unbound plans slot. `written` keeps the section's own plans where it
707
- sits, minus every card, extra tier, add-on tile and comparison-cell link
708
- that links `/api/offerings/checkout`
709
- in any URL form (percent-encoded included), and on a connected page takes
703
+ copy, `source` and band parts, and never an authored plan or `extraTier`;
704
+ the plans it lists are left out of the unbound plans slot. `written` keeps
705
+ the section's own plans where it sits, minus every card, extra tier and
706
+ add-on tile that links `/api/offerings/checkout` in any URL form
707
+ (percent-encoded included), and on a connected page takes
710
708
  `?plan=` only for a `{plan}`-grammar value (the "as written" states keep
711
709
  #8842's rule). The
712
710
  plans and add-ons slots are chosen among sections with no `source`, and a
@@ -728,7 +726,7 @@ key), so the page names none. It renders one of three pages:
728
726
  no card. The groups' plans are left out of the unbound plans slot, and a
729
727
  `?plan=` naming one of them highlights its card. `writtenPlans` (one to
730
728
  three written cards) go after the Offerings cards in the same grid — only
731
- in the toggle, `with-comparison-table` and `band-hero` layouts, which
729
+ in the toggle and `band-hero` layouts, which
732
730
  render every card — minus any that links `/api/offerings/checkout`, as a
733
731
  written section's cards are; when no group yields a card, the written
734
732
  cards stand alone and the section stays. `levelSwitchPlacement:
@@ -752,8 +750,8 @@ key), so the page names none. It renders one of three pages:
752
750
  `pricingOfferings.custom` in the price slot, `ailk_cta` on its button, and
753
751
  its URL as the link (internal for a same-origin single-slash path, no card
754
752
  for a same-origin `/api/` path or one that will not decode, else a new
755
- tab); it publishes no `Offer`. A lone plan card or add-on tile spans the
756
- section as the split card; every pricing surface takes its corners from
753
+ tab); it publishes no `Offer`. A lone card spans the section (one rule
754
+ since #12241, below); every pricing surface takes its corners from
757
755
  `--radius-card`. The toggle opens on Annually, a per-month price from a
758
756
  yearly one is whole dollars, and `hideBillingToggle` turns the toggle off
759
757
  (a stored `billingToggle: false` on a bound section still hides nothing).
@@ -815,6 +813,102 @@ key), so the page names none. It renders one of three pages:
815
813
  reading that workspace has taken this release with or before its hub: an
816
814
  older site's strict shown-set readers refuse such a product and show the
817
815
  contact email in place of its Stripe cards.
816
+ - **A comparison table's plan columns (#12246).** A `comparison-table`
817
+ column is a typed name (`{ key, name }`) or a Stripe plan named by its slug
818
+ (`{ key, plan }`, `name` optional and winning when set), and one table
819
+ mixes both. On every Pricing page `pricingSections` runs `withPlanColumns`
820
+ after the three-state choice: on the shown path each plan column the shown
821
+ set shows (`planColumnSlugs`: a `plan` product's slugs, less a product
822
+ another one `requires`) gets the render-time `offering` that
823
+ `offeringsPlanColumns` builds from the card `planCard` / `bundleCard` would
824
+ give it — its title (`ailk_name ?? name`), price, checkout link and the
825
+ shown set's Recommended — whatever the page's `plans` lists. A table with a
826
+ plan column takes the render-time `billingPeriod` its page's cards open on:
827
+ `?billing=`, else `pricingOpensOn` for a first plans section in the toggle
828
+ layout (annual with a shown or hidden toggle), else monthly — the only
829
+ period any other layout shows. Neither is ever authored:
830
+ `withoutRenderTimeFields` strips both first. The plan bar's `price` and `button` (off by default) show a
831
+ plan column's price and checkout button in its header cell and nothing in
832
+ a typed one's; a toggle on any pricing section of the page announces each
833
+ choice as the `ailk:billing-period` window event, which the table follows.
834
+ A plan column the page cannot resolve — not shown, the contact path, an
835
+ unconnected site, a page that is not a Pricing page — renders its typed
836
+ name or its slug, and the hub's page report carries a
837
+ `plan-column-unresolved` advisory finding naming it whenever the hub can
838
+ tell — never on a Pricing page with a stale shown set or an undetermined
839
+ claim. Every comparison table on a Pricing page drops a cell `link` that
840
+ reaches `/api/offerings/checkout` in any URL form.
841
+ - **The retired `with-comparison-table` (#12246 D7).** The pricing section's
842
+ `with-comparison-table` variant, `comparisonGroups` and `comparisonPlanBar`
843
+ are gone: a new section carrying the variant is refused, and a stored one
844
+ is read (`PageSectionsSchema`'s `migrateRetiredSections`) as a
845
+ `three-tiers-with-toggle` pricing section followed by a `comparison-table`
846
+ section `<id>-comparison` holding its groups and bar — written cards as
847
+ typed columns, a bound section's plans as plan columns, its cell links
848
+ dropped. No store is backfilled; every read migrates.
849
+ - **The price on a Stripe-built card (#12242).** A Stripe-built card shows
850
+ its amount and its unit as two elements: the mapper keeps every `price`
851
+ phrase and adds a render-time `priceParts` (`{ amount, unit }` per side) that
852
+ `PricingTierCard` reads through `tierPriceParts` (the wide lone card too, #12241)
853
+ — the amount in the price heading, the unit in the small muted unit slot, and
854
+ no "/month" line. The unit is `pricingOfferings.perMonth` (or `perYear` for a
855
+ yearly-only product) joined to the product's Stripe `unit_label` by the one
856
+ site pattern `pricingOfferings.unitWithLabel` (default `{period}/{label}`, so
857
+ "/mo/seat"); with no unit label it is the period word alone. The card's
858
+ `priceUnit` stays the plain noun. A site rewords these from its own
859
+ `messages/site/<locale>.json`: `pricingOfferings` is the one namespace where
860
+ the locale's OWN overlay replaces the catalog's strings (`i18n/request.ts`'s
861
+ `SITE_OVERRIDE_NAMESPACES`; the English fallback stays add-only), and
862
+ `create-ailk update` keeps that file. A site rewording a period rewords
863
+ `perMonth` for the card's unit and `monthly` for every one-string surface (the
864
+ plan bars, compact blocks, select details). A bound section picks the line
865
+ under a yearly price with `annualPriceLine` — `billed` (the default),
866
+ `savings` (`pricingOfferings.savings`, `1 − yearly ÷ (12 × monthly)` rounded,
867
+ shown only at 1 % or more in one currency) or `none` — and with
868
+ `annualStrikePrice: true` shows the standard monthly price struck beside a
869
+ lower per-month price on the yearly side, `aria-hidden`, with a screen-reader
870
+ sentence (`pricingOfferings.regularPrice`) naming both. Both are refused off
871
+ `source: offerings` and read before mapping, never placed. `priceAmountSize`
872
+ (`sm`–`xl`), `priceAmountTone`, `priceUnitSize` (`xs`–`md`) and
873
+ `priceUnitTone` (every text tone but `brand`) size and tone the amount and the
874
+ unit on any pricing section, and a Stripe section keeps them. An authored
875
+ `priceParts` never reaches a section. Every option unset, a written section,
876
+ every non-card surface and the JSON-LD render as before.
877
+ - **One card for plans and add-ons (#12241).** Every card a `pricing`
878
+ section draws is a `PricingTierCard`; `AddonCard` and `SinglePriceCard` are
879
+ retired. An `addons` section renders as the toggle layout does and takes
880
+ every card setting a plans section takes, its billing toggle included: on a
881
+ bound section the mapper's add-on fragment is
882
+ `{ variant: "addons", billingToggle, plans }`, each add-on its plan card
883
+ (description, both prices, `annualPriceNote`, both checkout links) plus its
884
+ `ailk_eyebrow` — the recommended add-on's is the Recommended label, and it is
885
+ never highlighted, so the pill, the filled button and `?plan=` stay
886
+ plans-only; an `addons` section publishes no `Offer`. A written section's
887
+ tiles convert to cards at render, nothing stored changes, and `addonLayout`
888
+ is no longer read. **The lone card:** one rule, `loneCard: wide | column`
889
+ (default `wide`), for every lone card — a plan, an add-on, a level card, a
890
+ contact card, built from Stripe or written; `column` keeps the one-column
891
+ grid. A wide card follows the section's toggle, and
892
+ `single-price-with-details` gets the toggle (its fragment carries
893
+ `billingToggle`). **Three properties, each off by default:**
894
+ `levelSwitchDetail` takes `none`, `price` and `text`, a second line under
895
+ each segment (the level's price for the shown period, or its `detail`); a
896
+ page's `featureDetails` (a row's text, its detail, an optional `plan`)
897
+ matches a list row by its text — trimmed, NFC, case-insensitive — and
898
+ `featureRowStyle` shows it under the title (`detail`, the default), hides it
899
+ (`plain`) or opens it (`opens`), so a renamed Stripe feature needs its entry
900
+ retyped; `wideSide` puts one image or rotating images, with or without a
901
+ quote, beside a wide lone card (the page's images, else the card's Stripe
902
+ images). A bound section keeps all four. **Two Stripe keys:** a plan
903
+ product's Price `ailk_detail` (24 characters) is a Stripe level's `detail`,
904
+ and a `plan` or `addon` Product with `ailk_images: on` carries its Stripe
905
+ images (`https:`, at most eight) to its card. A seller sets either only
906
+ after every site and MCP server reading that workspace has taken this
907
+ release with or before its hub: an older site's strict shown-set readers
908
+ refuse a Price carrying `detail` or a product carrying `images` and show the
909
+ contact email in place of its Stripe cards. Neither key reaches the
910
+ Offerings tab, MCP or JSON-LD, and an authored `images` never reaches a
911
+ section.
818
912
  - **Rollout of the two keys (#12103 D8).** A site's strict shown-set readers
819
913
  refuse a product carrying `ctaLabel` or `eyebrow` until they take this
820
914
  release, and such a site then shows the contact email in place of its
@@ -1020,7 +1114,13 @@ A list page whose frontmatter sets `navOnly: true` (valid on a registry list typ
1020
1114
  - Don't reach into `apps/api` or `apps/mcp` from `apps/web`. They're peer apps — talk via HTTP/MCP.
1021
1115
  - Don't commit images to `screenshots/` — only the `.gitkeep` is tracked.
1022
1116
 
1023
- Last updated: 2026-11-22 — § Pricing page: several prices on one Stripe product — price points, their levels, labels and `detail`, slug matching, one `Offer` per point and the shown-period rule (#12210) — verified against `lib/offerings-pricing.ts`, `packages/api/src/services/offerings/{catalog,index}.ts` and `packages/validation/src/schemas/offerings.ts`.
1117
+ Last updated: 2026-11-23 — § Pricing page: a comparison table's plan columns — the plan column, `withPlanColumns`, `offeringsPlanColumns`, the start period and the billing event, the unresolved column and its advisory finding, the checkout cell-link rule — and the retired `with-comparison-table` read as a pricing section and a comparison table (#12246) — verified against `lib/pricing-page.ts`, `lib/offerings-pricing.ts`, `packages/validation/src/schemas/{page-sections,offerings}.ts`, `packages/ui/src/blocks/PlanBar.tsx` and `packages/ui/src/sections/ComparisonTable.tsx`.
1118
+
1119
+ Prior: 2026-11-23 — § Pricing page: one card for plans and add-ons — the retired tile and split card, the `addons` section as the toggle layout, the `loneCard` rule, the wide card's toggle, `levelSwitchDetail`, `featureDetails` / `featureRowStyle`, `wideSide` and the `ailk_detail` and `ailk_images` keys (#12241) — verified against `lib/offerings-pricing.ts`, `lib/pricing-page.ts`, `packages/ui/src/sections/Pricing.tsx` and `packages/api/src/services/offerings/catalog.ts`.
1120
+
1121
+ Prior: 2026-11-23 — § Pricing page: the price on a Stripe-built card — `priceParts`, the five `pricingOfferings` unit words, the overridable namespace, `annualPriceLine`, `annualStrikePrice` and the four price look fields (#12242) — verified against `lib/offerings-pricing.ts`, `lib/pricing-page.ts`, `i18n/request.ts`, `packages/ui/src/blocks/{PricingTierCard,SinglePriceCard}.tsx` and `packages/validation/src/schemas/page-sections.ts`.
1122
+
1123
+ Prior: 2026-11-22 — § Pricing page: several prices on one Stripe product — price points, their levels, labels and `detail`, slug matching, one `Offer` per point and the shown-period rule (#12210) — verified against `lib/offerings-pricing.ts`, `packages/api/src/services/offerings/{catalog,index}.ts` and `packages/validation/src/schemas/offerings.ts`.
1024
1124
 
1025
1125
  Prior: 2026-11-22 — § Pricing page: the level card's settings — the select control, the four placements and their container-query fallback, helper text and `ailk_helper`, the level heading, the annual-only yearly line, 20 levels and `separateTiers` (#12209) — verified against `lib/pricing-page.ts`, `lib/offerings-pricing.ts`, `packages/validation/src/schemas/page-sections.ts` and `packages/ui/src/blocks/PricingTierCard.tsx`.
1026
1126
 
@@ -1066,7 +1066,13 @@ export default async function LocaleLayout({
1066
1066
  )
1067
1067
  }
1068
1068
  >
1069
- {page}
1069
+ {/* #12248 D11 — with no site header, a railed pricing page
1070
+ shows its rows in place; `contents` adds no box. */}
1071
+ {pageChrome.header === "none" ? (
1072
+ <div className="ailk-no-site-header contents">{page}</div>
1073
+ ) : (
1074
+ page
1075
+ )}
1070
1076
  </MarketingShell>
1071
1077
  )}
1072
1078
  {/*
@@ -11,6 +11,10 @@
11
11
  // has keeps the template's value. The merge builds new objects, descends only
12
12
  // into plain objects, takes only string leaves and skips prototype keys, so
13
13
  // it can neither mutate the imported catalog nor pollute `Object.prototype`.
14
+ // One namespace is the exception (#12242 D3): in `SITE_OVERRIDE_NAMESPACES`
15
+ // (`pricingOfferings`) a string leaf of the locale's OWN overlay replaces the
16
+ // catalog's, so a site rewords its pricing cards from its own file; the
17
+ // English fallback overlay stays add-only there too.
14
18
  //
15
19
  // A page package's catalog (#11219, ADR 0040 rule 5) is added the same way,
16
20
  // before the overlay: `@working-theory/account` ships the `account` keys its
@@ -51,34 +55,53 @@ const UNSAFE_KEYS: ReadonlySet<string> = new Set([
51
55
  "prototype",
52
56
  ]);
53
57
 
58
+ /** The namespaces a site's own-locale overlay may reword (#12242 D3). */
59
+ const SITE_OVERRIDE_NAMESPACES: ReadonlySet<string> = new Set(["pricingOfferings"]);
60
+
54
61
  type Catalog = Record<string, unknown>;
55
62
 
56
63
  function isCatalog(value: unknown): value is Catalog {
57
64
  return typeof value === "object" && value !== null && !Array.isArray(value);
58
65
  }
59
66
 
60
- /** `base` with every key of `overlay` it lacks added — new objects, never a mutation. */
61
- function mergeAddOnly(base: Catalog, overlay: Catalog): Catalog {
67
+ /**
68
+ * `base` with every key of `overlay` it lacks added — new objects, never a
69
+ * mutation. With `replace`, a string leaf also replaces a string leaf `base`
70
+ * already has (#12242 D3).
71
+ */
72
+ function mergeAddOnly(base: Catalog, overlay: Catalog, replace = false): Catalog {
62
73
  const out: Catalog = { ...base };
63
74
  for (const [key, value] of Object.entries(overlay)) {
64
75
  if (UNSAFE_KEYS.has(key)) continue;
65
76
  const has = Object.prototype.hasOwnProperty.call(base, key);
66
77
  if (typeof value === "string") {
67
- if (!has) out[key] = value;
78
+ if (!has || (replace && typeof base[key] === "string")) out[key] = value;
68
79
  } else if (isCatalog(value)) {
69
- if (!has) out[key] = mergeAddOnly({}, value);
70
- else if (isCatalog(base[key])) out[key] = mergeAddOnly(base[key], value);
80
+ if (!has) out[key] = mergeAddOnly({}, value, replace);
81
+ else if (isCatalog(base[key])) out[key] = mergeAddOnly(base[key], value, replace);
71
82
  }
72
83
  }
73
84
  return out;
74
85
  }
75
86
 
76
- async function loadSiteOverlay(locale: string): Promise<Catalog> {
77
- const mod =
78
- (await import(`../messages/site/${locale}.json`).catch(() => null)) ??
79
- (await import(`../messages/site/${DEFAULT_LOCALE}.json`).catch(() => null));
87
+ /** The site overlay merged over `base`: add-only, but `own` rewords the override namespaces (#12242 D3). */
88
+ function mergeSiteOverlay(base: Catalog, overlay: Catalog, own: boolean): Catalog {
89
+ const out = mergeAddOnly(base, overlay);
90
+ if (!own) return out;
91
+ for (const namespace of SITE_OVERRIDE_NAMESPACES) {
92
+ const words = Object.prototype.hasOwnProperty.call(overlay, namespace) ? overlay[namespace] : undefined;
93
+ const catalog = base[namespace];
94
+ if (isCatalog(words) && isCatalog(catalog)) out[namespace] = mergeAddOnly(catalog, words, true);
95
+ }
96
+ return out;
97
+ }
98
+
99
+ /** The locale's own overlay (`own`), else the English one, else nothing. */
100
+ async function loadSiteOverlay(locale: string): Promise<{ overlay: Catalog; own: boolean }> {
101
+ const mine = await import(`../messages/site/${locale}.json`).catch(() => null);
102
+ const mod = mine ?? (await import(`../messages/site/${DEFAULT_LOCALE}.json`).catch(() => null));
80
103
  const overlay: unknown = mod ? (mod.default ?? mod) : null;
81
- return isCatalog(overlay) ? overlay : {};
104
+ return isCatalog(overlay) ? { overlay, own: mine !== null } : { overlay: {}, own: false };
82
105
  }
83
106
 
84
107
  export default getRequestConfig(async ({ requestLocale }) => {
@@ -130,9 +153,9 @@ export default getRequestConfig(async ({ requestLocale }) => {
130
153
  docsAndBlog,
131
154
  );
132
155
 
133
- const overlay = await loadSiteOverlay(locale);
156
+ const { overlay, own } = await loadSiteOverlay(locale);
134
157
  return {
135
158
  locale,
136
- messages: mergeAddOnly(withPackages, overlay) as AbstractIntlMessages,
159
+ messages: mergeSiteOverlay(withPackages, overlay, own) as AbstractIntlMessages,
137
160
  };
138
161
  });