Prove the happy path
- Can compose a shell from reusable patterns
- Can model all UI states
- Can choose server/client boundaries
- Can verify basic accessibility and responsive behavior
This is the transfer exercise for Phase 20: Production Application UI. The detailed lessons are now closed-book reference material. Your task is to prove that the phase outcome can be reproduced from requirements, repository evidence, and debugging—not by copying a finished implementation.
Target artifact TaskFlow responsive shell with navigation, workspace context, task screens, loading/empty/error states, and accessible interactions.
Acceptance criteria - Write the behavior and constraints before implementation. - Identify the owning layer and every boundary crossed. - Implement the smallest complete vertical slice. - Verify the happy path from outside the implementation. - Demonstrate at least one expected failure path. - Run the phase-relevant quality checks. - Review the diff for accidental duplication, leaked responsibilities, missing validation/authorization, and hidden environment assumptions.
Evidence packet Save the command/request used, expected result, actual result, one failure reproduction, the fix, and a short explanation of why the final responsibility belongs where it does. This packet is more valuable than a screenshot of a green page because it demonstrates repeatable engineering reasoning.
Stretch Change one requirement after the first implementation. Measure which files must change. If a tiny domain change causes unrelated layers to move, use that evidence to discuss coupling before adding another abstraction.
A guided lesson proves you can follow. A capstone proves you can transfer the model to a requirement with fewer cues.
Design the application shell first: sidebar/topbar/main content/mobile navigation.
Create reusable primitives for page header, panel/card, empty state, loading skeleton, and error state.
Build workspace/board/task navigation with active state derived from routing rather than duplicated local state.
Compose Server and Client Components so interactive islands remain small.
Test keyboard focus, labels, landmarks, reduced-motion expectations, and narrow widths.
Exercise all non-happy states by forcing no data, slow data, error, and forbidden responses.
Run the phase mastery checklist without looking at the provided implementation.
Perform a short architecture review and document one trade-off you consciously accepted.
Requirement -> implementation diff -> verification -> controlled failure -> diagnosis -> final proofDo not copy this as a finished answer. Predict what each boundary does, type the smallest useful slice, run it, then compare the result with your prediction.
Return to the mental model and acceptance criteria. Rebuild one smaller slice from first principles before reopening the source.
Choose an external observer: HTTP client, browser, database query, test runner, health endpoint, or deployment log, and capture deterministic evidence.
Extend the phase artifact with one requirement not used in the guided example while preserving the same ownership rules and verification strategy.
Compose Server and Client Components so interactive islands remain small.
Use the smallest change that demonstrates this lesson. Stop after it works and capture evidence.Mobile layout treated as desktop squeezed smaller
Predict the symptom before causing the failure. Then locate the earliest boundary where reality diverges from expectation.Why does this responsibility live here, what input does it trust, what output proves success, and what would go wrong if another layer owned it?
If your explanation is vague, repeat the boundary trace before moving on.Close the reference. Reproduce the core idea from memory or explain the exact request/data flow aloud. Then check your diff or notes for accidental shortcuts that bypass validation, authorization, error handling, or verification earned in earlier phases.