create-ailk 0.46.2 → 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.
@@ -15,13 +15,13 @@ The component inventory of `@working-theory/ui` and the shells of `@working-theo
15
15
  3. Check the Primitives, Panels and Shells tables too — a low-level control, a collapsible layout container, or a route-level frame lives there, not under Sections or Blocks.
16
16
  4. Only then build. If you do build, you are declaring the capability is genuinely absent.
17
17
 
18
- Inventory: **334 component files** across 16 tiers — 60 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. 331 distinct names: `SchedulerEmbed`, `Separator`, `Tabs` exist in more than one tier as genuinely different components, listed once per tier with its own source path.
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: **330/334** components carry a capability description derived from source — 45 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, **296** 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** 59/60 · **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
 
@@ -53,7 +53,7 @@ The left column is search vocabulary — how a person phrases the need. It is ha
53
53
 
54
54
  ---
55
55
 
56
- ## Sections (60)
56
+ ## Sections (61)
57
57
 
58
58
  Page-level content bands. Most are MDX-driven (authored by `type` in page frontmatter and dispatched by `SectionRenderer`); a few are composed directly in a route.
59
59
 
@@ -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` |
@@ -98,6 +98,7 @@ Import: `import { X } from "@working-theory/ui/sections";` (or from the `@workin
98
98
  | `ItemsFilterIsland` | A search box and facet selects over an items section's cards. Items (a Server Component) renders every card on the server and wraps each in an `ItemsFilterSlot`; the island only decides which slots show. So every card is in the server HTML, and before hydration (or with no JavaScript) every slot is visible. | internal — compose from `packages/ui/src/sections/ItemsFilterIsland.tsx` |
99
99
  | `ItemsTileLinkIsland` | Makes a whole linked tile card its link's click target. | internal — compose from `packages/ui/src/sections/ItemsTileLinkIsland.tsx` |
100
100
  | `LogoCloud` | A customer/partner logo wall — use for trust-by-association social proof. | MDX `type: logoCloud` · `import { LogoCloud } from "@working-theory/ui/sections"` |
101
+ | `MagnetSection` | A stored magnet inside an ordinary page — the magnet's own title card (its landing title, description, Start button and time line), whose Start opens the magnet's walk over the page with its own steps, scoring and ending, recording the same lead as the magnet's own page. Use it to build a landing page (headline, proof, FAQ) around a multi-step magnet. | MDX `type: magnet` |
101
102
  | `MDXContent` | The keystone the docs route and blog both render their compiled MDX through. | `import { MDXContent } from "@working-theory/ui/sections"` |
102
103
  | `MediaBand` | A single full-width image band — use for the 1-up visual moment Gallery's 2-column minimum can't express (e.g. between pricing plan columns); renders a labeled placeholder until a real image is supplied. | MDX `type: media-band` · `import { MediaBand } from "@working-theory/ui/sections"` |
103
104
  | `ModuleAbsent` | What a slice section renders when its module is not here. The oss dispatch table must name a component for every `SectionName`, and `booker`'s real component strips with the scheduling slice. This is the entry it names instead; a slice that IS installed registers over it through `registerSliceRenderer`. | internal — compose from `packages/ui/src/sections/ModuleAbsent.tsx` |
@@ -132,7 +133,6 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
132
133
 
133
134
  | Component | What it does | How to use it |
134
135
  | --- | --- | --- |
135
- | `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"` |
136
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"` |
137
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"` |
138
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"` |
@@ -153,7 +153,7 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
153
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"` |
154
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"` |
155
155
  | `CodeBlock` | Read-only code display with syntax highlighting. Modeled on the Claude docs code-block pattern. | `import { CodeBlock } from "@working-theory/ui/blocks"` |
156
- | `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"` |
157
157
  | `Composer` | The chat input, per the ploy.ai capture contract. | `import { Composer } from "@working-theory/ui/blocks"` |
158
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"` |
159
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` |
@@ -210,9 +210,11 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
210
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"` |
211
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"` |
212
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"` |
213
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"` |
214
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"` |
215
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"` |
216
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"` |
217
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"` |
218
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"` |
@@ -223,7 +225,6 @@ Import: `import { X } from "@working-theory/ui/blocks";` (or from the `@working-
223
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"` |
224
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"` |
225
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"` |
226
- | `SinglePriceCard` | 2-column split card for the Pricing 'single-price-with-details' variant. *(weak)* | `import { SinglePriceCard } from "@working-theory/ui/blocks"` |
227
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"` |
228
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"` |
229
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"` |
@@ -457,7 +458,7 @@ Import: `import { X } from "@working-theory/ui-scheduling";` (or from the `@work
457
458
  | Component | What it does | How to use it |
458
459
  | --- | --- | --- |
459
460
  | `Booker` | The custom booker — use on a scheduling page where the whole see-days/pick-slot/confirm transaction should land in the page itself rather than a provider iframe (the `scheduler-embed` alternative). Authors supply only `calLink` plus optional eyebrow/headline framing; duration, meeting type, and timezone are DERIVED from the calendar via /v1/schedule/availability and can never be typed into content. | MDX `type: booker` · `import { Booker } from "@working-theory/ui-scheduling"` |
460
- | `BookerIsland` | The island owns exactly two things: the state machine, and the two calls across the scheduling seam. It talks to `/v1/schedule/availability` and `/v1/schedule/book` — never to a provider — so the day this deploy flips to the self-hosted engine, nothing in this file changes. | internal — compose from `packages-paid/ui-scheduling/src/sections/BookerIsland.tsx` |
461
+ | `BookerIsland` | The island owns exactly two things: the state machine, and the two calls across the scheduling seam. It talks to `/v1/schedule/availability` and `/v1/schedule/book` — never to a provider — so the day this deploy flips to the self-hosted engine, nothing in this file changes. | `import { BookerIsland } from "@working-theory/ui-scheduling"` |
461
462
 
462
463
  ---
463
464
 
@@ -565,7 +566,7 @@ Import: `import { X } from "@working-theory/ui-commerce";` (or from the `@workin
565
566
 
566
567
  ## Weak descriptions
567
568
 
568
- 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.
569
570
 
570
571
  | Component | Tier | What the source gives us |
571
572
  | --- | --- | --- |
@@ -576,7 +577,6 @@ These 34 components have a description that is accurate but does not do the job
576
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. |
577
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. |
578
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. |
579
- | `SinglePriceCard` | blocks | 2-column split card for the Pricing 'single-price-with-details' variant. |
580
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. |
581
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. |
582
582
  | `Banner` | chrome | Site-wide announcement and consent banner chrome. |
package/dist/surfaces.js CHANGED
@@ -102,7 +102,7 @@ const SITE_PAGES_PREFIXES = [
102
102
  "working-agreement",
103
103
  ];
104
104
  const SITE_PAGES_PAGES = [
105
- "(authed)/leads", "[slug]", "[slug]/[detail]", "about", "about/[slug]", "alternatives",
105
+ "(authed)/leads", "[slug]", "[slug]/[detail]", "[slug]/[detail]/[...rest]", "about", "about/[slug]", "alternatives",
106
106
  "careers", "careers/[slug]", "careers/[slug]/[action]", "case-studies", "case-studies/[slug]",
107
107
  "clients", "contact", "courses", "courses/[slug]", "events", "events/[slug]", "faq", "features",
108
108
  "features/[slug]", "for", "for/[slug]", "glossary", "how-to", "how-to/[slug]", "integrations",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ailk",
3
- "version": "0.46.2",
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.76.0",
32
- "@working-theory/templates": "0.76.0"
31
+ "@working-theory/schema": "0.78.0",
32
+ "@working-theory/templates": "0.78.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -68,7 +68,7 @@ Don't ship a page after one render. The expected per-page loop:
68
68
 
69
69
  ## Where the base pages live
70
70
 
71
- **The base website's pages ship in `@working-theory/site-pages` (#11259, ADR 0040 phase 4).** The home page and the 62 pages under the 38 base directories (`[slug]`, `about`, … `working-agreement`, `(authed)/leads`) — with the actions, loaders and libs only they read (`hub-children`, `route-family`, `service-listing`, `template-listing`, `meet-placeholder`, `posting-title`, `lead-write`) and their tests — live in `packages/site-pages/src/{pages,lib}/`, at the paths they had here. This app's `app/[locale]/` holds only the 63 route files `create-ailk routes --write` generates from the package's `routes.json` — never hand-edited, pinned by `routes --check` — plus the module routes under those directories (`careers/apply` and `careers/[slug]/apply`, generated from `@working-theory/ui-signal-collectors` since #11657; `projects/apply`) and `contact/error.tsx`. The package reads the site through one typed file, `site-pages.config.tsx`, whose `site` export answers the `@working-theory/site-pages/site` seam (`next.config.mjs` and `jest.config.cjs` alias it); no page takes a customization option. The ten namespaces those pages read ship in the package (`sitePagesMessages`), merged under this app's catalog by `i18n/request.ts`; a key in `messages/en.json` is an override. `lib/site-contact-email.ts` and `lib/site-contact-lines.ts` (the `_site.mdx` readers the layout and the module pages share) stay the site's. The sections below name the pages by their old `app/[locale]/` place.
71
+ **The base website's pages ship in `@working-theory/site-pages` (#11259, ADR 0040 phase 4).** The home page and the 64 pages under the 39 base directories (`[slug]`, `about`, … `working-agreement`, `(authed)/leads`) — with the actions, loaders and libs only they read (`hub-children`, `route-family`, `service-listing`, `template-listing`, `meet-placeholder`, `posting-title`, `lead-write`) and their tests — live in `packages/site-pages/src/{pages,lib}/`, at the paths they had here. This app's `app/[locale]/` holds only the 65 route files `create-ailk routes --write` generates from the package's `routes.json` — never hand-edited, pinned by `routes --check` — plus the module routes under those directories (`careers/apply` and `careers/[slug]/apply`, generated from `@working-theory/ui-signal-collectors` since #11657; `projects/apply`) and `contact/error.tsx`. The package reads the site through one typed file, `site-pages.config.tsx`, whose `site` export answers the `@working-theory/site-pages/site` seam (`next.config.mjs` and `jest.config.cjs` alias it); no page takes a customization option. The ten namespaces those pages read ship in the package (`sitePagesMessages`), merged under this app's catalog by `i18n/request.ts`; a key in `messages/en.json` is an override. `lib/site-contact-email.ts` and `lib/site-contact-lines.ts` (the `_site.mdx` readers the layout and the module pages share) stay the site's. The sections below name the pages by their old `app/[locale]/` place.
72
72
 
73
73
  ## The `(auth)` route group — which predicate an affordance keys on
74
74
 
@@ -556,6 +556,49 @@ Every multi-step magnet is a page pair (#8840), rendered by one module,
556
556
  (#8840)` marker, which `lib/__tests__/structured-data.test.tsx` exempts
557
557
  from its `renderPage` check. A site adds a magnet by binding a pair to a
558
558
  slug, never by copying stepper code.
559
+ - **An owner-chosen address (#12204).** A magnet whose `landingPage` is an
560
+ address — `magnetAddressOf` (`@working-theory/validation`): one or two
561
+ lower-case kebab segments, no reserved first segment, not a listicle's list
562
+ page and not a built-in page that mounts it (`/contact`, `/newsletter`,
563
+ `/trial`, `/careers`) — is served there: its cover at `/<address>`, its walk
564
+ at `/<address>/start` (chrome-free by `isMagnetWalkPath`'s `start` rule), its
565
+ verify page and its `results/<payload>`. `lib/magnet-addresses.ts` is the one
566
+ reader of the hub's table, `GET /v1/flow-addresses` (`flows.addresses()`):
567
+ shared per instance for 15 seconds, a failed read held for that window and
568
+ answered with the last good table, an older hub's 404 read as none, and no
569
+ read at all on a site without `@working-theory/ui-signal-collectors`. It
570
+ serves an address only when nothing on the site claims it first — a static
571
+ route, a reserved segment, an enabled locale, the docs or services base, a
572
+ renamed family, a `LandingPage` or `BlogList` at its first segment, or,
573
+ under the database adapter, a recorded page redirect. The `[slug]`,
574
+ `[slug]/[detail]` and `[slug]/[detail]/[...rest]` pages ask
575
+ `site.magnetAddress` (`site-pages.config.tsx`) only after their own reads
576
+ miss, so a content page always wins. `/flows/<slug>` and its children
577
+ forward to the same child under the address, query kept
578
+ (`site.servedMagnetAddress`, `signal-collectors.config.tsx`); the cover's
579
+ canonical is the address; `/sitemap.xml` and both `/llms.txt` copies list
580
+ it, the hub-listed (visitor) magnets only, and never `/flows/<slug>`
581
+ (`getMagnetAddresses`, default `servedAddresses`). A changed address 404s at
582
+ its old path once the window passes; `/flows/<slug>` always leads to the
583
+ current one.
584
+ - **A magnet inside a page (#12205).** A page section `{ type: "magnet",
585
+ data: { slug } }`, on any page type that takes sections, shows that magnet's
586
+ title card (its landing title, description, Start and time line) between
587
+ the page's own sections; Start opens the magnet's walk — `FlowStepperClient`,
588
+ as `/flows/<slug>/start` mounts it, booking calendar included — in the
589
+ takeover window over the page, at the page's URL, with every other child of
590
+ `<body>` inert, and Esc or the exit closes it in place. Its ending,
591
+ thank-you page and lead are the magnet's own. `renderPage` asks the renderer
592
+ `lib/in-page-magnet.ts` registers (`setMagnetSectionRenderer`) once per slug
593
+ and puts its node into the section through `sectionSlots`; that renderer
594
+ reads the magnet through `readServedMagnet` (15 s share, 2,000 ms deadline;
595
+ page-renderer's backstop is 3,000 ms) and loads `MagnetSectionClient` and
596
+ `bookingStepElement` through `loadUiSignalCollectors()`. A missing, draft or
597
+ deliverable magnet, a body that is not a served flow, a site without the
598
+ package, or any failure removes the section — never a broken form — and a
599
+ page with no `magnet` section reads nothing. The hub refuses a save naming
600
+ a slug the workspace has no magnet at (a slug the draft already holds is
601
+ not re-checked).
559
602
  - **The recommender's landing (#9071).** A recommending flow with an offer
560
603
  carrying `lookupKey` (an Offerings recommender, such as the standard
561
604
  `recommender` magnet the Admin's Offerings page opens) never renders its
@@ -638,9 +681,9 @@ key), so the page names none. It renders one of three pages:
638
681
  Live row's status menu, `PUT /v1/workspaces/:workspaceId/offerings`'s
639
682
  Recommended body). Two Stripe Product metadata keys are the seller's own
640
683
  card text, shown as written: `ailk_cta`, a plan's or add-on's button label
641
- (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
642
685
  eyebrow (the recommended add-on keeps the Recommended label); an add-on's
643
- `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
644
687
  comes from the `pricingOfferings` namespace.
645
688
  - **A section says where its plans come from (#12140).** A `pricing`
646
689
  section may set `source: offerings | written`; with no `source` anywhere
@@ -648,22 +691,20 @@ key), so the page names none. It renders one of three pages:
648
691
  the section to the shown set: it is mapped alone, for its own
649
692
  `offeringPlans` else the page's `plans`, in the layout its own `variant`
650
693
  names (`offeringsPricing`'s `layout`, one mapping per layout). The toggle
651
- layout is the default; `with-comparison-table`, `two-tiers-with-extra-tier`
652
- and `band-hero` get centred cards and no toggle (they show monthly prices
653
- only); `single-price-with-details` gets the first card alone; an `addons`
654
- 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
655
698
  monthly and a yearly Price (and no `requires`) becomes two blocks — the
656
699
  monthly one keyed by the plan slug, the yearly one by its lookup key and
657
700
  carrying the terms note — each linking its own Price's checkout, and a
658
701
  lone product's marketing features fill the left column as title-only rows
659
702
  unless the section writes its own `features`. A bound section keeps its
660
- copy, `source`, band parts and `comparisonGroups` — values matched to the
661
- cards by plan slug, each cell's `link` dropped — and never an authored
662
- plan, `extraTier` or cell link; the plans it lists are left out of the
663
- unbound plans slot. `written` keeps the section's own plans where it
664
- sits, minus every card, extra tier, add-on tile and comparison-cell link
665
- that links `/api/offerings/checkout`
666
- 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
667
708
  `?plan=` only for a `{plan}`-grammar value (the "as written" states keep
668
709
  #8842's rule). The
669
710
  plans and add-ons slots are chosen among sections with no `source`, and a
@@ -685,7 +726,7 @@ key), so the page names none. It renders one of three pages:
685
726
  no card. The groups' plans are left out of the unbound plans slot, and a
686
727
  `?plan=` naming one of them highlights its card. `writtenPlans` (one to
687
728
  three written cards) go after the Offerings cards in the same grid — only
688
- in the toggle, `with-comparison-table` and `band-hero` layouts, which
729
+ in the toggle and `band-hero` layouts, which
689
730
  render every card — minus any that links `/api/offerings/checkout`, as a
690
731
  written section's cards are; when no group yields a card, the written
691
732
  cards stand alone and the section stays. `levelSwitchPlacement:
@@ -693,6 +734,181 @@ key), so the page names none. It renders one of three pages:
693
734
  only). An unconnected page renders the authored `plans` and reads neither
694
735
  field. The schema refuses both fields on a section that is not
695
736
  `source: offerings`.
737
+ - **Cards built from Stripe (#12193).** A bound section that names no plans
738
+ — no `offeringPlans`, no `offeringGroups` — builds its cards from Stripe
739
+ metadata alone: plain plans sharing an `ailk_tier` become one level card
740
+ titled with the tier, each level labelled by its `ailk_level`, ordered by
741
+ `ailk_order` and described by its own Stripe description (a level with none
742
+ shows none); a plan with no tier is titled `ailk_name ?? name`, on every
743
+ plan card and add-on tile, while checkout and the Admin keep the Stripe
744
+ name. `offeringCollection` (a plans or `addons` section) shows every shown
745
+ product whose `ailk_collection` matches it, lowercased, and those plans
746
+ leave the unbound slot. A **contact** — a plan or add-on product with no
747
+ Price, an `https:` Stripe URL and an `ailk_plan` slug, switched on in Stripe
748
+ products and shown from its Offerings row — renders in a collection
749
+ section as a contact card or tile: `ailk_price_text` or the translated
750
+ `pricingOfferings.custom` in the price slot, `ailk_cta` on its button, and
751
+ its URL as the link (internal for a same-origin single-slash path, no card
752
+ for a same-origin `/api/` path or one that will not decode, else a new
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
755
+ `--radius-card`. The toggle opens on Annually, a per-month price from a
756
+ yearly one is whole dollars, and `hideBillingToggle` turns the toggle off
757
+ (a stored `billingToggle: false` on a bound section still hides nothing).
758
+ `?plan=<slug>` opens that level and `?billing=monthly|annual` that period
759
+ in the server HTML, through the render-time `selectedPlan` and
760
+ `billingPeriod`; the JSON-LD lists one `Offer` per level and period from
761
+ the render-time `offerPrices`, each with its billing duration and a
762
+ `?plan=` / `&billing=` URL. No authored copy of a render-time field reaches
763
+ a section. A site and its MCP server take this release with or before
764
+ their hub; a priceless product shows only once it carries `ailk_plan`.
765
+ - **The level card's settings (#12209).** A level card's switch is
766
+ segments (the default) or the Select primitive: `levelSwitchControl` on
767
+ the section, on a written card, or on an `offeringGroups` entry, the card's
768
+ winning; a card with more than four levels takes the select whatever it
769
+ says, and the schema refuses five or more levels on a card whose control
770
+ resolves to segments. A card takes up to 20 levels, and a selecting bound
771
+ section whose `levelSwitchControl` is `select` keeps up to 20 of a tier's
772
+ plans (four otherwise). `levelSwitchPlacement` adds `beside-price` (the end
773
+ of the price line) and `above-button`; a card too narrow for its
774
+ `beside-price` control (under 28rem) or its `title-row` select (under 24rem)
775
+ shows it in its own row through CSS container queries, never a script.
776
+ `levelSwitchDetail: "price"` puts each select item's price for the shown
777
+ period on its row, and a written level's `detail` is its own secondary
778
+ label. Helper text under the switch is page text on a written card
779
+ (`plans[].levelHelper`, a level's `helper` over it) and the plan product's
780
+ Stripe `ailk_helper` (40 characters, read on a plan only) on a card built
781
+ from Stripe; one helper for every level of a Stripe tier card means the same
782
+ `ailk_helper` on each of its products. It is never the unit label.
783
+ `showLevelHeading` shows the chosen level's label and description under the
784
+ line that follows the price in place of row 2, and that line — "billed …
785
+ yearly" — now shows only under an annual price. `separateTiers: true` on a
786
+ selecting bound section shows every plan as its own card, whatever its
787
+ `ailk_tier`. The section keeps `levelSwitchControl`, `levelSwitchDetail` and
788
+ `showLevelHeading`; `separateTiers` is read before mapping and never placed.
789
+ A seller sets `ailk_helper` only after every site and MCP server reading
790
+ that workspace has taken this release with or before its hub: an older
791
+ site's strict shown-set readers refuse a product carrying `switchHelper`
792
+ and show the contact email in place of its Stripe cards. Rolling the hub
793
+ back past this release after a snapshot with the key was written reads
794
+ that snapshot as empty until the bounded refresh rewrites it.
795
+ - **Several prices on one Stripe product (#12210).** A `plan` product may
796
+ carry several prices for one billing period, each a price point with its
797
+ own `{plan}` slug (its lookup key's `{plan}`, so the grammar is unchanged);
798
+ the normalizer keeps up to 20, ordered by period then amount, and reads
799
+ each price's `nickname` (24 characters, on such a product only) as the
800
+ point's label. `lib/offerings-pricing.ts` turns each point into a level of
801
+ the existing level card: its amount, label (the nickname, else its price
802
+ phrase) and checkout link come from the price, its title, description and
803
+ features from the product, and the price phrase is the select item's
804
+ `detail`. A product with points is one card, a tier may mix products and
805
+ points, a card holds at most 20 levels and one with points and more than
806
+ four takes the select. A product is matched by any of its slugs, so
807
+ `plans`, `offeringPlans`, `offeringGroups` and `?plan=` may name any point;
808
+ a bundle requiring a point's slug gives no card. The JSON-LD lists one
809
+ `Offer` per point and period. A shown period shows every point of that
810
+ period, so a price added in Stripe shows and sells with no page edit, Admin
811
+ action or deploy. A product with one price per period renders exactly as
812
+ before. A seller adds a second slug only after every site and MCP server
813
+ reading that workspace has taken this release with or before its hub: an
814
+ older site's strict shown-set readers refuse such a product and show the
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.
696
912
  - **Rollout of the two keys (#12103 D8).** A site's strict shown-set readers
697
913
  refuse a product carrying `ctaLabel` or `eyebrow` until they take this
698
914
  release, and such a site then shows the contact email in place of its
@@ -898,7 +1114,23 @@ A list page whose frontmatter sets `navOnly: true` (valid on a registry list typ
898
1114
  - Don't reach into `apps/api` or `apps/mcp` from `apps/web`. They're peer apps — talk via HTTP/MCP.
899
1115
  - Don't commit images to `screenshots/` — only the `.gitkeep` is tracked.
900
1116
 
901
- Last updated: 2026-11-22 — § Pricing page: a bound section's `offeringGroups` level cards, its `writtenPlans` and `levelSwitchPlacement` (#12174) — verified against `lib/pricing-page.ts` and `lib/offerings-pricing.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`.
1124
+
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`.
1126
+
1127
+ Prior: 2026-11-22 — § Magnet pages: a magnet inside a page — the `magnet` section, its renderer seam, the walk over the host page and its fallbacks (#12205) — verified against `lib/in-page-magnet.ts`, `packages/page-renderer/src/magnet-sections.ts` and `packages-paid/ui-signal-collectors/src/pages/flows/[slug]/MagnetSectionClient.tsx`.
1128
+
1129
+ Prior: 2026-11-22 — § Pricing page: cards built from Stripe — tier cards, `ailk_name` titles, `offeringCollection`, contact cards and tiles, the lone wide card, annual first, `hideBillingToggle`, `?billing=` and one `Offer` per level and period (#12193) — verified against `lib/pricing-page.ts`, `lib/offerings-pricing.ts` and `packages/sections-registry/src/contributions.ts`.
1130
+
1131
+ Prior: 2026-11-22 — § Magnet pages: an owner-chosen address — the hub's address table, the shadow rule, the catch-all serving, the `/flows/<slug>` forward and the discovery entries; § Where the base pages live: 65 generated route files (#12204) — verified against `lib/magnet-addresses.ts`, `lib/served-pages.ts`, `site-pages.config.tsx`, `signal-collectors.config.tsx`, `app/{sitemap.xml,llms.txt}/route.ts`, `lib/slices/docs-blog/llms-route.ts` and `packages/site-pages/routes.json`.
1132
+
1133
+ Prior: 2026-11-22 — § Pricing page: a bound section's `offeringGroups` level cards, its `writtenPlans` and `levelSwitchPlacement` (#12174) — verified against `lib/pricing-page.ts` and `lib/offerings-pricing.ts`.
902
1134
 
903
1135
  Prior: 2026-11-21 — § Pricing page: a section's `source` — bound sections in the layout their `variant` names, the `features-and-plans` two-block split, the kept comparison grid, written sections, and the 0.74.0 page with no `source` (#12140) — verified against `lib/pricing-page.ts` and `lib/offerings-pricing.ts`.
904
1136
 
@@ -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
  {/*
@@ -24,12 +24,24 @@
24
24
  * the packages arrive from the registry. The node_modules path resolves in both
25
25
  * trees — a workspace symlink here, a real install there — so one directive
26
26
  * serves both (#4090 item 1).
27
+ *
28
+ * The four paid UI packages (the `paidSectionsPackage` of each module slice in
29
+ * packages/create-ailk/src/module-architecture.ts) render through
30
+ * node_modules too, so each needs its own line, or the classes only it uses
31
+ * are purged: the booker's meta row, card inset and confirm gap in
32
+ * ui-scheduling (#12202). A site without a module has no such directory, and
33
+ * Tailwind v4 skips an @source path that does not exist, so one static list
34
+ * serves every module set.
27
35
  */
28
36
 
29
37
  @import "tailwindcss";
30
38
 
31
39
  @source "../node_modules/@working-theory/ui/dist";
32
40
  @source "../node_modules/@working-theory/templates/dist";
41
+ @source "../node_modules/@working-theory/ui-docs-blog/dist";
42
+ @source "../node_modules/@working-theory/ui-scheduling/dist";
43
+ @source "../node_modules/@working-theory/ui-signal-collectors/dist";
44
+ @source "../node_modules/@working-theory/ui-commerce/dist";
33
45
 
34
46
  @import "@working-theory/theme/tokens.css";
35
47
  @import "@working-theory/theme/tailwind-preset/index.css";
@@ -44,6 +44,10 @@ jest.mock("next/cache", () => ({
44
44
  unstable_cache: (fn: () => Promise<unknown>) => fn,
45
45
  }));
46
46
 
47
+ // #12204 D8 — no magnet address, so no hub read and the bodies are unchanged.
48
+ // eslint-disable-next-line no-restricted-syntax -- #507: the address table's one reader; mocked so no case reads a hub or loads the paid package (#12204)
49
+ jest.mock("../../../lib/magnet-addresses", () => ({ servedAddresses: async () => [] }));
50
+
47
51
  type Route = typeof import("../route");
48
52
 
49
53
  const BASE = "https://example.com";
@@ -32,6 +32,10 @@
32
32
  * Agent contact (#11423): on a site that serves `/contact` (`MARKETING_PAGES`),
33
33
  * the body ends with `agentContactLines` — the operator's decision of
34
34
  * 2026-11-11 on #11423.
35
+ *
36
+ * Magnet addresses (#12204 D8): after the content pages, one entry per
37
+ * default-locale address the site serves and the hub lists, never
38
+ * `/flows/<slug>` (`getMagnetAddresses`, default `servedAddresses`).
35
39
  */
36
40
 
37
41
  import {
@@ -44,6 +48,7 @@ import {
44
48
  listedPath,
45
49
  type SiteListing,
46
50
  } from "@working-theory/page-renderer";
51
+ import { magnetAddressLine, type FlowAddressItem } from "@working-theory/validation";
47
52
 
48
53
  import {
49
54
  adapterDocsUrl,
@@ -51,6 +56,7 @@ import {
51
56
  listDocsPages,
52
57
  type DocsIndexPage,
53
58
  } from "../../lib/docs-index";
59
+ import { servedAddresses } from "../../lib/magnet-addresses";
54
60
  import { MARKETING_PAGES, PUBLIC_PAGES } from "../../lib/modules.generated";
55
61
  import { resolveSiteBrand } from "../../lib/site-brand";
56
62
  import { SITE_LISTING } from "../../lib/site-listing";
@@ -83,6 +89,8 @@ export interface LlmsHandlerDeps {
83
89
  getSiteListing?: () => SiteListing;
84
90
  /** Whether this site serves /contact (#11423). Defaults to `MARKETING_PAGES`. */
85
91
  hasContactPage?: () => boolean;
92
+ /** The magnet addresses served in a locale (#12204 D8). Defaults to `servedAddresses`. */
93
+ getMagnetAddresses?: (locale: string) => Promise<readonly FlowAddressItem[]>;
86
94
  }
87
95
 
88
96
  /**
@@ -96,6 +104,7 @@ export function createLlmsHandler(deps: LlmsHandlerDeps = {}) {
96
104
  const isDiscoverable = deps.discoverable ?? siteLive;
97
105
  const resolveSiteListing = deps.getSiteListing ?? (() => SITE_LISTING);
98
106
  const resolveHasContactPage = deps.hasContactPage ?? (() => MARKETING_PAGES);
107
+ const resolveMagnetAddresses = deps.getMagnetAddresses ?? servedAddresses;
99
108
 
100
109
  return async function llmsGET(): Promise<Response> {
101
110
  // #10040 decision 7 — no public page, no content index: 404 before the adapter.
@@ -142,6 +151,19 @@ export function createLlmsHandler(deps: LlmsHandlerDeps = {}) {
142
151
  }
143
152
  }
144
153
 
154
+ // #12204 D8 — the magnet addresses the site serves and the hub lists, at
155
+ // their one URL; title and purpose collapsed to one line again here
156
+ // (SEC-12204-1), whatever the hub sent.
157
+ const addresses = await resolveMagnetAddresses(defaultLocale).catch(() => []);
158
+ for (const item of addresses) {
159
+ if (!item.listed) continue;
160
+ lines.push(`- Title: ${magnetAddressLine(item.title)}`);
161
+ lines.push(` URL: ${baseUrl}${item.path}`);
162
+ const purpose = magnetAddressLine(item.purpose);
163
+ if (purpose) lines.push(` Description: ${purpose}`);
164
+ lines.push("");
165
+ }
166
+
145
167
  // Fumadocs blog corpus — blog index entry first, then per-post entries.
146
168
  // blogSource.getPages() returns pages ordered by Fumadocs; the index page
147
169
  // (/blog) sorts first naturally because its slug array is empty.