Skip to content

AI Pipeline

How it works

An AI builds new screens from this system, and an automated gate keeps them inside it. The machine proposes, the human decides.

Five steps

  1. Describe

    A screen is described in plain language: who uses it, what they need to do, which states it has.

  2. Compose

    The AI reads CLAUDE.md and the manifest and builds the screen from components and patterns only. A missing piece is reported as a gap, not improvised.

  3. Check

    npm run check runs the gate: contrast, metadata, types, lint, build, axe, keyboard and layout tests, every declared state, and screenshots at two widths.

  4. Fix

    Every finding is fixed at its cause. Nothing is suppressed or excluded to get to green.

  5. Curate

    A person looks at the screenshots and decides. Gaps the AI reported become the next additions to the system.

Rounds

Every screen of every round: the brief as given, the screen, what the gate reported, and what changed in the system because of it. Real runs only.

Round 5, 2026-11-13: requests-inbox

Brief

Build a screen `requests-inbox` for a B2B tool in which a small agency handles incoming project requests. The screen is an application with a navigation on the left: Requests (current), Clients, Settings. Main content: page head "Requests" with the action "New request"; a search field and quick filters by status (New, In review, Answered, Declined); the number of results; a table with request title, client, received date, status and owner, sortable by received date, the title linking to the request's detail page `/ai-pipeline/screens/request-detail`. Show the states the data can be in: loading, failed to load with a way to retry, no requests at all, no match for the filters, and loaded. Twelve neutral placeholder requests.

Screen

The route as it is today: this round's build, adjusted by hand to later system changes (see the log). Open requests-inbox

Gate report

Check runs until green, requests-inbox, round 5
RunFindings
1invalid run: Git Bash rewrote the route
2 (route)none
3 (full)none
Routes in the full check
106
Declared states
loaded, loading, failed, empty, filtered, no-results, sorted
Patterns followed
Data table with filters, Async states, Empty state

Decision

Gaps the session reported

  • PageHead inside AppShell is indented and keeps the editorial top spacing.
  • “Clients” and “New request” have no target.
  • No decided demo control for the data states.

What changed in the system after round 5

  • PageHead md is the product head, with a status slot; AppShell spaces its regions.
  • SideNav match for detail pages; CheckboxGroup; Input readOnly; Form keeps to the reading width.
  • Required pattern states can carry a condition; Destructive confirmation shows the new state.
  • Patterns widened: Data management, Forms, new Record detail.

Commits: ad78d8b, 8737658

History

One row per round, from docs/generation-log.md. The generated screens are listed separately.
Generation rounds
RoundDateScreensCheck runs until green, per screenRoutes in the last full check
12026-11-12project-request, cases, user-managementproject-request: 2 · cases: 2 · user-management: 3104
22026-11-12project-request, user-managementproject-request: 2 · user-management: 2128
32026-11-12casescases: 2189
42026-11-12casescases: 2202
52026-11-13requests-inbox, request-detail, account-settingsrequests-inbox: 3 · request-detail: 2 · account-settings: 2106

Rules

What the generating session may and may not do, from CLAUDE.md.
  • Build from the system only. Change nothing in src/ds/, tokens/, scripts/ or generated/.
  • A missing component, variant or token is a gap: build the rest, report it, don't improvise.
  • Fix every finding at its cause. No eslint-disable, no relaxed rules, no exceptions in the check.
  • Done means CHECK GREEN in a full run, and the screen is logged with real numbers.
  • A person decides what the gaps change in the system; the next round tests the change.