Workstream 001 — Renaissance
Status: DONE · Updated: 2026-09-02 · Phase: CLOSED (2026-08-20; the undelivered remainder was absorbed by 003–006, see ROADMAP → COMPLETED)
Take the system Cardsite already is and make it the best version of itself: reclaim what the PHP era did well, finish what the Go port left half-built, and set foundations the next generation of features can be built on without another rewrite.
Working state: SESSION.md.
Product progress: /ROADMAP.md — not this file.
Problem
Four audits (.archives/removal-safe/AUDITS-081226.md) found problems
that look unrelated and are not:
- The word "links" names both the collection and one product, so the collection has no name and the catalogue has no home (Audits 01, 04).
- The plugin framework did not survive the port. Every former plugin is now permanent schema, and per-plan gating cannot be expressed at all (Audit 02).
feature_flags, i18n, the blockplan_levelbadges and the admin Plugins page are all built, shipped, and wired to nothing (Audits 02, 03).- The surface is ~24 creatable products presented through three taxonomies that disagree (Audit 04).
Each is a symptom of the same thing: capability was ported without the concept that organised it. A backlog of fixes closes the symptoms and leaves the cause.
Objectives
- Name the catalogue and make it findable — one vocabulary, one registry, one navigation source, one place a user sees every product.
- Make entitlement expressible — an operator can say what a plan includes, from the Admin Portal, and the server enforces it.
- Close the extensibility gap — a new block ships without a frontend deploy, or the reason it cannot is written down and accepted.
- Retire what is shipped-but-dead — every user-visible control either works or is removed.
- Make people able to work together — presence, live document state and comments on the gateway that already exists.
Principles
- Reclaim, don't reinvent. Start from what the previous system did well
and what this codebase already proves works — the parity-gate pattern, the
server-driven block registry, the channelled realtime gateway, the
Library · …kicker taxonomy. Finishing something already begun beats inventing. - Solidify before extending. A feature built on a decorative gate, a dead flag system or a nameless collection inherits the defect.
- Prove it or it isn't done. Every phase ships an automated gate that makes its regression impossible to reintroduce silently. The repo has five such gates and they work; add to them rather than relying on review.
Phases
Each phase is a plan file. Each is independently shippable and revertible.
| # | Phase | Status | Objective | Plan |
|---|---|---|---|---|
| 00 | Heritage | PLANNED | What the previous system did well, and what to reclaim | .station/jobs/001-renaissance/plans/00-heritage.md |
| 01 | Library | PLANNED | The catalogue: what it is, what it is called, where it is found | .station/jobs/001-renaissance/plans/01-library.md |
| 02 | Entitlements | PLANNED | What a plan is, and how a capability is granted or withheld | .station/jobs/001-renaissance/plans/02-entitlements.md |
| 03 | Extensibility | PLANNED | How a new block or collect ships without a redeploy | .station/jobs/001-renaissance/plans/03-extensibility.md |
| 04 | System integrity | PLANNED | What is hardcoded, duplicated or dead — and what stops it recurring | .station/jobs/001-renaissance/plans/04-system-integrity.md |
| 05 | Collaboration | PLANNED | How people work in the same workspace at the same time | .station/jobs/001-renaissance/plans/05-collaboration.md |
Sequencing
00 Heritage ─┬─> 01 Library ──────┬─> 03 Extensibility ─> 05 Collaboration
└─> 02 Entitlements ─┘ ▲
│
04 System integrity ───────┘ (parallel; unblocks 03 and 05)
- 00 first, and briefly — days, not weeks. Its output feeds 01 and 02.
- 01 and 02 are independent of each other and can run in parallel.
- 03 needs both: an extension model needs a vocabulary for what is being extended (01) and a way to gate it (02).
- 04 runs alongside everything. Its i18n and navigation work is a prerequisite for 01's catalogue surface; its component-library decision is a prerequisite for 05's UI.
- 05 is last by dependency, not by importance. Presence and comments land on the existing SSE gateway, but need the vocabulary (01) and settled primitives (04) to avoid being built twice.
Deliverables
| Deliverable | Phase | Shape |
|---|---|---|
| Heritage report | 00 | reports/HERITAGE.md — reconstructed model, reclaim/replace/drop table, mapping to existing mechanisms |
Type-filtered /links | 01 | One-line repository change + live spec. Correct under every naming decision |
| Product registry covering all ~24 products | 01 | Extension of packages/link-model, parity-gated |
| One navigation source | 01 / 04 | Sidebar, breadcrumbs and palette rendered from the registry |
| Catalogue surface | 01 | The launcher CREATABLE_LINK_TYPES was written for |
| Vocabulary rollout | 01 | Kickers, titles, empty states, OpenAPI tags per /docs/GLOSSARY.md |
| Wired feature flags | 02 | Evaluation helper, useFeatureFlag, one real consumer |
| Capabilities | 02 | Registry-defined booleans resolved per plan, enforced on write |
| Admin plan controls | 02 | Quotas and capabilities editable in the portal |
| Block classification | 03 | reports/BLOCK-CLASSIFICATION.md — the go/no-go for phases 2–3 |
| Declarative render spec | 03 | A block type shipped with no apps/web change |
| i18n resolution | 04 | Either the switcher is unmounted or the strings are extracted |
| Presence · live state · comments | 05 | On the existing SSE gateway |
Dependencies and constraints
- Six open decisions need an operator call:
.station/jobs/001-renaissance/decisions/README.md. None blocks everything — phase 01's first task is correct under every possible answer. - Schema changes are announced in a phase plan before the migration is
written. Next free migration number is in
/ROADMAP.md; never guess it. - Vocabulary changes land in
/docs/GLOSSARY.mdfirst. No phase renames a user-facing concept unilaterally. - Redis is optional (AGENTS.md §4). Every phase must work, degraded, without it.
Verification criteria
The workstream closes when all six phases meet the definition of done in
../../standards/workstream.md, and:
- Every phase's named CI gate exists, is wired in, and has been observed failing once on a deliberately broken input.
- Live E2E covers every new user-facing surface.
- No user-visible control ships wired to nothing — the audit findings that motivated this workstream cannot be restated about its own output.
-
/ROADMAP.mdreflects what shipped, ticked and moved to COMPLETED. - Decisions of consequence are ADRs in
/docs/decisions/. -
reports/CLOSE.mdexists andSESSION.mdis current.
Source: .station/jobs/001-renaissance/README.md