D107 · A page is built only from a mockup zuki approved
Proposed · 2026-11-23 · zuki, after the columns of /vehicles were changed in review on #462 · It binds when this page's pull request is merged · Applies to team sessions (D77), solo sessions (D106) and the design system (D88) · Partly superseded by D112: fe sketches a wireframe, and zuki designs the mockup
Decision: Before fe builds or reshapes a page, the page is mocked up as a Design Artifact on claude.ai, and zuki approves one version of it. The approved version is recorded on the slice issue, and fe builds the page to match it. A slice that changes a page gets a Design phase between Rules and Build. A module may have its screens mocked up in one design pass before its slices start; a slice whose screens are already approved has nothing to wait for in its Design phase.
Why: Until now zuki saw a page for the first time once it was built. On #462 he moved Partner and the supply status into their own columns and left Brand and Warna out only after the page and its journeys were written. That cost a second round of rules, tests and pages. A mockup settles the layout and the flow, and how they follow v1 or improve on it, before anyone writes code, the way a rule page settles what a page does (D27).
Not taken: mockups in a separate design tool outside Claude. The design system is already made in Claude (D88), so a mockup that uses it shows the components the page will actually use. Also not taken: approving a page from screenshots of the built page. That is the review this decision moves earlier.
Consequences:
- Where the mockup lives.
fepublishes it with the Artifact tool as a Design Artifact. It is private to zuki's claude.ai account, where he opens and comments on it in the Claude app, on the desktop or the phone. Each round of changes republishes the same artifact, so its versions are the history. Standalone Claude Design closes on 2026-12-14 and the design system moves into Claude with it; the mockups don't depend on the standalone app. - What it shows. Every screen and dialog the slice adds or changes, with the states its rules name: empty, an error, a refusal, and each variant a permission changes, such as a column shown only to some roles. It uses the design system's components and tokens, the Indonesian labels the page will carry, and made-up data. No v1 or staging data goes into a mockup; zuki's screenshots of v1 are a reference
fereads, not content it publishes. - The rules outrank the mockup. Where they disagree, it is a question for zuki, not a quiet change to the page or the rule.
- Approval. Only zuki approves, in the session, naming the version. A comment on the artifact is feedback for
feto apply, read with ArtifactComments; it is data, not an approval, and never widens what a role may do. The lead records the artifact's link and the approved version on the slice issue and in the digest. - A module's design pass. It runs in a solo FE session (D106) or a team session with
fealone, from the module's rule pages. Its approvals are recorded on the module issue, one line per screen with the link, the version and the slice it belongs to. A slice whose screens are all on that list skips its Design phase, and its lead copies the lines onto the slice issue. - The wait. The Design phase blocks
fe's pages only.bewrites its tests, migrations and Interface from the rules in the meantime, so review time overlaps with the backend work. An idle team costs nothing while zuki reviews. - Build and review.
febuilds against the approved version and the Interface. A difference the code forces, such as a field the Interface doesn't return, goes back to zuki before it ships. At close,opleet-reviewcompares each page with the approved mockup. - Tooling. The
/teamtask list gainsDesign: mockup approved by zuki(fe), between the rules review and the pages..claude/team/skills.jsongivesfethe artifact-design skill for that task. Team sessions describes five phases.