Skip to content
Toolkit

Job 003: extensibility

Status: DONE Owner: @work, the routine

Phase: CLOSE — all six phases met their charter bars · Status: DONE · Updated: 2026-08-28 · Close-out: ./reports/CLOSE.md

This file stays as the record. The open items below are live work nobody deleted: they are listed on ROADMAP under Standing repairs as "003's residue" and described here, once. The Blockers and the upstream feed are the owner's and the kit's respectively, not this track's to close. Scoreboard: phase 00 CLOSED (check:catalogue: 0 declared, was 15). Phase 01 CLOSED — 85/85 arms classified in .station/jobs/003-extensibility/analysis/renderer-arm-census.md: 41 declarative / 9 logic / 35 one-off, of which 24 "embeds" are a label-only link template — 76% of arms are pure templates; gaps for the kit evaluation: service iframe (8), repeat-over-items (5), deep-link (2), sanitized HTML (1). Phase 02 (a) CLOSED — definitive kit gap list .station/jobs/003-extensibility/analysis/kit-gap-list.md. Phase 02 (b) CLOSED — packages/block-model shipped (ADR-0055): check:block-model reports 79 of 85 arms rendered by the render spec (72 spec + 7 server-url + 6 bespoke) — spec should only go up. Phase 02 (c) CLOSED — check:block-registry widened to case OR render spec (ADR-0056). Phase 02 (d) CLOSED — thirty-three slices landed: scoreboard 6 by case, 79 by render spec (was 85/0). The six cases left are exactly the bespoke rows with no kit counterpart, which is that disposition's definition, so the migration queue is empty and the number cannot fall further without the kit growing (ADR-0066). Phase 03 CLOSED — a registry entry may carry its own RenderSpec, served with the page, and the render path prefers it (ADR-0067); demonstrated end to end on a running stack — one type registered in block_types.go, reaching palette, form, canvas and public page, whole diff one file under apps/api (evidence .station/jobs/003-extensibility/evidence/phase-03-running-stack-2026-08-27.md). Phase 04 IN PROGRESS — a registry entry carries a Collect spec (accepted keys + sink, data by default) and the submission handler reads it, so which types collect and what they collect are registry data, not a switch and a struct (ADR-0068); the collector blocks draw the form those fields declare and submit it (ADR-0069), so the endpoint has a caller and a collector registered server-side collects end to end. Remaining: a second sink. Phase 05 CLOSED — the extension model is written down: no plugin loader, ever; extending the product is registry data and extending the deployment is composition, and "plugin" names neither (ADR-0071). The page is rebuilt against that rather than archived, and the surface now says Modules at /admin/modules — heading, nav label, glossary, with /admin/plugins redirecting and the endpoint and Plugin types unmoved (ADR-0071 §4). check:plugin-parity gained rule C, which holds both strings.

Start conditions, as verified by the 2026-08-22 review .station/jobs/002-renaissance/review/track-002-verification-2026-08-22.md: (1) 002's phase 02 tail (Input, Button, Card) merged — met (ADR-0032/0033/0034, npm run verify green on main); (2) the owner's Cardsite fork of the Linkbio kit (ADR-0031) — met 2026-08-23: the forked draft lives at .archives/removal-safe/references/linkbio/neue-linkbio-draft.zip .archives/removal-safe/references/linkbio/README.md (its README carries the snapshot's contents and the first-pass evaluation against the census). The upstream remains in development on its own design system (Neue) and will be published and maintained separately from Cardsite, per ADR-0031; when it publishes, record the URL here and retire the snapshot. Both start conditions are met — phase 02 is unblocked. Charter: ./README.md. Routine: ./ROUTINE.md (2026-08-22 revision — batch loop, claim refs claim/003-*, budgets). Merge policy: the standing policy on ROADMAP.md.

Log discipline (same as 002): Completed entries ≤ 8 lines, linking the ADR/PR that carries the narrative; ≤ 3 new open-item rows per run; Completed keeps the newest 5 entries — older ones roll into .archives/removal-safe/.ops/projects/003-extensibility/status/SESSION-completed-2026-08-23.md.

Objective

The outcome the charter states: README.md.

Completed

  • 2026-08-31 — cashapp/venmo's currency; the sweep is drained (standing repair). Both descriptors bind settings.currency || '$' beside the suggested amount and neither field spec collected the key, so $ was the only unit either block could ever show — wrong for a Cash App account taking pounds, and unfixable from the form. Both now collect the fText("currency", "Currency") their three payment siblings in the same category already ship: the figure is a suggestion the author typed, and so is its unit. The default is unchanged, so nothing rendering today moved. check:settings-reach: 133 of 135 → 135 of 135, the ledger empty, and S1 watched failing once from that empty state, which is where a rule that used to lean on rows has to be re-proved.

  • 2026-08-31 — linkedin_profile's headline and image (standing repair). The profile card drew a description slot and a figure beside it off settings.headline and settings.image while its field spec collected a URL, a title and a corner radius — so every LinkedIn card ever placed drew a bare title. The slot belongs to the featured-link family, whose four other members all bind settings.description, so the key follows the family and the label follows the platform: fTextarea("description", "Headline") and fImage("image", "Profile Image"). Nothing had ever been written under headline, so the rebinding moves no stored value. check:settings-reach: 131 of 135 → 133 of 135.

  • 2026-08-31 — the unreachable-settings sweep, 42 → 4 (standing repair). Four slices, four shapes. #483 dropped eight reads that sat behind a key the form does collect, so no rendered byte could move. #484 gave twenty-six card-link types the fText("name", "Title") their descriptors already read and seven siblings — youtube, paypal, cta, cashapp, venmo, featured_link, big_link — already ship, so an embed is labelled by its author rather than by its own type name (ADR-0142). #485 collected image_comparison's two alt texts, which had always fallen back to the words drawn as the captions beside them. #486 gave cta and featured_link the description their identical sibling big_link collects. Every added field is optional and unseeded, so nothing rendering today changed. check:settings-reach: 101 of 143 → 131 of 135.

  • 2026-08-28 — phase05-modules-surface (phase 05 — the phase closes). The retired word leaves the screen. The heading, the admin rail entry and the glossary say Modules; /admin/modules is the route and /admin/plugins redirects, so an operator's bookmark survives the word that named a loader this product does not have (ADR-0071 §4). The endpoint, the Plugin types and this page's own file name keep plugin on purpose — a breaking API change goes under /api/v2/, and the audit trail names that file. check:plugin-parity gained rule C over both strings, watched failing on a reverted heading and label: the live spec that asserts them needs a running stack, so it cannot be the only thing holding a two-string rename.

  • 2026-08-28 — phase05-plugin-definition (phase 05, first slice). The word the port inherited and never earned. Four phases answered the question the glossary deferred to this track: extension of the product is registry data (a served entry with its field, render and collect specs), extension of the deployment is composition (a compiled service the composition root builds from config, ADR-0014), and nothing third-party executes — so "plugin" names neither seam and promises a third (ADR-0071). The page is rebuilt against that, not archived. Remaining in the phase: the surface rename.

  • 2026-08-28 — phase04-submission-message (phase 04, third slice). The last compiled fact about a collect. formatSubmissionMessage switched on block type, named two of the three collectors, and dropped the third into a default that joined the payload in Go's randomised map order — so a contact form's notification read differently on every send. The spec's declared field order phrases it now: first filled field as the subject, the rest in parentheses (ADR-0070). The collect path has no type switch left in it.

  • 2026-08-28 — phase04-collect-form (phase 04, second slice). The endpoint ADR-0068 built had no caller: the collector blocks drew a headline and a line of prose, so the free-plan blocks whose purpose is a mailing list had never collected an address. The capture-prompt kind draws one control per field the block's served collect spec declares, in its order, and posts exactly those keys (ADR-0069); nothing in apps/web names a collector. An unrecognised key is asked for as text rather than declined, or a new collector would need a deploy to be answerable. The page slug is what makes a form live — the canvas passes none, draws the same form, posts nothing — and thank_you_url, collected since before the registry, finally has a moment to mean something.

  • 2026-08-27 — phase04-collect-spec (phase 04, first slice). Which types may submit, which keys they may send and where those land were a switch, a request struct and an assumption in form_submission.go; they are a BlockCollectSpec on the registry entry now, served on the block-types catalogue and read by the handler (ADR-0068). The switch had drifted: it accepted form, a type the registry does not define. data stays the default and only sink; a spec naming another is declined, not stored elsewhere.

Older entries: rolled to .archives/removal-safe/.ops/projects/003-extensibility/status/SESSION-completed-2026-08-23.md.

Active

Open items

None in flight. Residue handed back to the owner is listed here, once:

  • The generic-link fallback in BiolinkBlockRenderer's default arm prints block.type with underscores swapped for spaces, not the served type_name it is handed. Closed as a standing repair: the fallback reads the served label, then the editor's typeName prop, and mints one from the wire's type only when neither exists — the last place in this renderer that invented a label instead of reading the one the server owns (ADR-0057). The two tests that documented the defect asserted the lowercased type and now assert the served label, so the suite fails against the pre-fix tree.

  • heading's field spec still offers H1, which the kit's outline bound resolves to 2 (ADR-0066). Closed as a standing repair (#480): the option is gone from optHeadingType and migration 000044 rewrites the stored h1 rows to the h2 they have always rendered as, so the collected vocabulary is the served one. The render bound stays — nothing refuses heading_type on the write path, so a stored value is not a validated one. Watched failing on the pre-fix registry.

  • The code block's code_language … select is collected by the editor and drawn by nothing. Closed as a standing repair: language binds in the crosswalk, and the kind emits the language-* class every highlighter keys off plus the frame's stated language — the stored value, not a display label, because the registry's option labels are server-side and a map of fourteen names in the renderer would be a second vocabulary (ADR-0030). Watched failing with the binding removed.

  • theme stays drawn by nothing, and it is a product call rather than a repair. Two of its four options (dracula, monokai) are palettes this design system does not have, and dark/light are the viewer's surface here, not the author's choice. Options: (a) mint the palettes app-side, as ADR-0041 kept the colour picker's; (b) narrow the field spec to what the system can express, which is a vocabulary change over stored blocks — the same shape as heading's H1 row, so a small migration; (c) leave it collected and undrawn. Recommendation: (b).

  • donation is a Pro-plan block that cannot take a donation: its amounts, both toggles, payment_processors_ids, the three thank-you fields, the email flag and the webhook reach no surface, and the only checkout in apps/api sells Cardsite plans to signed-in users. Building it is a product call, not a repair (ADR-0062) — the twin of the row below.

  • appointment_calendar is an Ultimate-plan block that cannot book: its timezone, allowed_scheduling_days_ahead, email_placeholder and phone_placeholder settings reach no surface, and the button has no handler. Building the scheduler is a product call, not a repair.

  • @csxbase/studio-react exports VisuallyHidden from index.js but declares it in neither index.d.ts nor the parity ledger, so no TypeScript consumer can reach it; the countdown kind uses Studio's .visually-hidden class instead. A 002 row, not a render slice.

  • The unreachable-settings finding is counted: forty-two reads across 35 of the 85 types, held by npm run check:settings-reach (S1–S3, in verify, watched failing three ways) over scripts/settings-reach-ledger.json (ADR-0141, #482). The gate fixes nothing — landing forty-two behaviour changes unproved would be worse than the finding — but a row leaves only when the read becomes reachable, so 101 of 143 can only rise. Two shapes: a binding naming the same idea under a word the form does not use (cta reads title where the form collects name), and an idea nothing collects at all (image_comparison's two alt texts). The seven found by hand — heading's text_color, review's five *_color reads, cashapp's username, socials' top-level shape, the two feed blocks and social_proof — are in the ADRs that closed them (0060/0061/0063/0064/0066), not restated here. What remains is closing rows, one slice per PR: each changes what a page draws, so each carries its own proof. All forty-two are closed (#483–#486, #488, #489) and the count stands at 135 of 135, nothing unreachable. The ledger is empty, so S1 alone stands: an unreachable read added from here on has no row to hide in and fails the build.

Blockers

  • Phase 04's second sink needs a product call. A sink is where the record lands, and data is the only destination the product has: webhook, email, Slack and eight more are already notification_handlers, dispatched from this same handler, so implementing them as sinks duplicates a shipped feature. Naming a second destination means one of: a new collector type (new palette surface), moving an existing collector's storage (changes where live submissions land), or an owner-chosen sink per block (widens ADR-0068's one-sink-per-type model). Each is the owner's decision, not a repair — the precedent is donation/appointment_calendar above.

  • The fork-absent blocker cleared 2026-08-23 (see Completed).

Decisions

Upstream feed (ADR-0031 — never patched into the snapshot)

Rows the phase 02 (a)/(b) evaluation surfaced. Rides here until the upstream publishes.

  1. Clarify page.json vs theme.json status — only theme.json evaluates style/rules; page.json reads as the superseded form with nothing saying so.
  2. Form/document-height variant of the video-embed facade (google_form, calendly, typeform are tall forms, not video).
  3. Business-hours table component — kit availability is a status card, not an hours grid.
  4. Payment apps in the messaging-apps-style handle map (cashapp, venmo are absent from the kit; Cardsite derives their URLs today).
  5. coupon-banner has no image prop (code/title/description/expires/ href/ctaLabel only) and the Cardsite arm draws one above the offer.
  6. booking-widget assumes a slot list: its call to action lives on each slot, so there is no single-CTA form for a widget that hands the whole booking to an external scheduler — and, like coupon-banner, no cover image prop.
  7. featured-link has no prop for a trailing figure — its count is a click count — and Cardsite's external_item draws a price there.
  8. testimonials has no prop for a line under its section heading — Cardsite's social_proof collects a description and the kind draws it as presentation.
  9. donation-widget has no image prop — Cardsite's donation collects one and draws it above the invitation.
  10. tip-jar has no prop for the account name a tip is going to — Cardsite's cashapp/venmo draw the handle under the label.
  11. bio's align enum is center | left; Cardsite's paragraph collects right as well, and the kind draws it.

Files changed

Named per phase in the close-out and the pull requests it cites.

Verification

What was run and what it returned is recorded in the close-out and in evidence/.

Next actions

  1. Phase 04 — the second sink (BLOCKED on a product call, see Blockers). The form (ADR-0069) and the phrasing (ADR-0070) landed; what remains is a destination other than data, and the webhook/email/list transports this row imagined are already the notification handlers' job — every collector fans out to eleven of them today. A real second sink therefore needs a destination and a type naming it, which is the owner's call.
  2. The track handoff — done 2026-08-28: 004-entitlements is chartered and carries the front. Nothing further is claimed under claim/003-*; work this track surfaced is claimed from ROADMAP's standing repairs.

Source: .station/jobs/003-extensibility/SESSION.md

Library