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
Describe
A screen is described in plain language: who uses it, what they need to do, which states it has.
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.
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.
Fix
Every finding is fixed at its cause. Nothing is suppressed or excluded to get to green.
Curate
A person looks at the screenshots and decides. Gaps the AI reported become the next additions to the system.
Rounds
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
| Run | Findings |
|---|---|
| 1 | invalid run: Git Bash rewrote the route |
| 2 (route) | none |
| 3 (full) | none |
- 106
- loaded, loading, failed, empty, filtered, no-results, sorted
- 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
| Round | Date | Screens | Check runs until green, per screen | Routes in the last full check |
|---|---|---|---|---|
| 1 | 2026-11-12 | project-request, cases, user-management | project-request: 2 · cases: 2 · user-management: 3 | 104 |
| 2 | 2026-11-12 | project-request, user-management | project-request: 2 · user-management: 2 | 128 |
| 3 | 2026-11-12 | cases | cases: 2 | 189 |
| 4 | 2026-11-12 | cases | cases: 2 | 202 |
| 5 | 2026-11-13 | requests-inbox, request-detail, account-settings | requests-inbox: 3 · request-detail: 2 · account-settings: 2 | 106 |
Rules
- 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.