Skip to content
Toolkit

003-extensibility — one registry, and blocks that ship without a deploy

Status: PLANNED · Phase: DEFINE · Chartered: 2026-08-20 · Starts: when 002's phase 02 tail (Input, Button, Card) is merged and the owner's Cardsite fork of the Linkbio kit exists (ADR-0031)

Problem

Two halves of the same gap — the product's identity and its rendering are both hardcoded where they should be data:

  1. The registry covers 15 of ~24 creatable products. The rest are literals in apps/web/src/lib/catalogue.ts with a registryNote each. Until one registry defines every product's name, family, icon, routes, storage backing and addressability, everything downstream (capabilities, navigation, extensibility) builds on duplicated literals. This was the critical-path item on the previous ROADMAP.
  2. A new block type takes two deploys in two languages. BiolinkBlockRenderer.tsx is an 848-line switch with 85 arms; a type without an arm renders nothing. Block metadata and settings forms are already fully server-driven — rendering is the last compile-time seam. Full problem statement: .station/jobs/001-renaissance/plans/03-extensibility.md (this track supersedes that plan's tracking; the analysis stands).

Also absorbed: a links row of type splash_page is listed nowhere (ADR-0008) — a product call that belongs to whoever finishes the registry.

Objective

One registry defines every creatable product, consumed everywhere via fromRegistry() — and a new block type registered server-side appears in the picker and renders on a public page without touching apps/web.

Phases

PhaseWhatDone when
00 — RegistryWiden the registry into packages/product-model (ADR-0030) covering all ~24 products; replace catalogue.ts literals one product at a timecheck:catalogue's success line counts 0 registryNote literals; the splash_page call is decided and recorded
01 — CharacteriseClassify all 85 renderer arms: declarative layout / real logic / one-off. Output is a table, not a prototypeThe table exists with counts; the count decides phase 02's shape
02 — Render specpackages/block-model (ADR-0030): block descriptors + declarative layout as language-neutral JSON, evaluated against the Linkbio kit's page.json schema (ADR-0031) — "what can it not express?" — never designed as a rival; bespoke blocks keep their caseParity gate reads "case or render spec"; the declarative majority migrated; every schema gap fed back to the kit or recorded
03 — Prove itRegister a new block type server-side onlyIt appears in the picker and renders publicly with zero apps/web changes
04 — CollectsConfigurable submission destination in the block spec; data stays the default sinkDestination is data, not a route in main.go
05 — Define "plugin"Write down the extension model; rebuild or archive the Plugins page against itAn ADR exists — "no plugin loader" is a legitimate result

The Linkbio kit — the owner's separate open-source link-in-bio design system (https://crd.onl/Linkbio-Editor/, docs: https://crd.onl/Linkbio-Editor/docs/getting-started.html) — is this track's render-spec counterpart per ADR-0031: zero-build web components in a scoped --lb- namespace, a whole page as one JSON document (dist/schemas/page.json), token theming. It stays a separate repository permanently; the owner forks and adapts it for Cardsite before this track starts; phase 02 evaluates its schema rather than designing a competing one; inside Cardsite its semantic tokens alias to Studio's via a bridge layer. It is not a Studio target and nothing in 002 references it.

Out of scope

Third-party/untrusted code execution; a marketplace; migrating all 85 existing blocks onto the spec (the path exists, migration is opportunistic); capabilities and plan_level (track 004, which consumes this registry); dynamic code loading in Go — plugin/.so and subprocess-RPC plugins are rejected by ADR-0030; hand-authored React or Swift ports of the Linkbio kit (React is generated from the schema, iOS renders the kit in a webview — ADR-0031).

Verification

Existing gates hold throughout: check:catalogue, check:block-registry, check:link-types, and the rest of npm run verify. Phase 03 is the track's own bar and is demonstrated end-to-end, not asserted. Merge policy: the standing policy on ROADMAP.md.

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

Library