One line per lesson
Each lesson adds one layer to the product and one habit to the workflow.
- 1 · Backend to product UI Correctness now includes the browser and DevTools; the backend still owns the rules.
- 2 · Set up the assistant Setup is done when a route summary checks out against app/main.py.
- 3 · Kanban board Layers in order; drag-and-drop last, with PATCH and an honest revert.
- 4 · Create/edit modal Trim before sending, keep the modal open on 422, clear on every exit.
- 5 · Safe refactor Contract, commit, one selected section, read the diff, re-check.
- 6 · Test and debug One test at a time, proven by breakage; fix the source, never the test.
- 7 · Pitfalls and deliverables Recover by narrowing; deliver a working UI plus evidence.
Deliverables and their evidence
Tick each only when the evidence exists, not when the feature seems to work.
- VS Code and Copilot open on the right repo, with one answer verified against app/main.py.
- frontend/index.html with three columns, priority sorting, fetch/render and all four UI states.
- Drag-and-drop that persists valid moves through PATCH and reverts with a message on rejection.
- A create/edit modal with title trimming, POST/PATCH, server 422 handling and four dismissal paths.
- An eight-item behavior contract that passed before and after the refactor, with a pre-refactor commit.
- New PATCH edge-case tests, at least one proven through deliberate source breakage.
- A four-line debugging log and a short reflection, including a brief comparison of the AI tools and workflows used so far.
The chain the module builds
Each step relies on the one before it being verified.
- Verified setupRoute summary checked
- BoardLayers, states, PATCH
- ModalTrim, POST/PATCH, 422
- Contract + refactor8 items before and after
- Proven testsFail on breakage
- Debugging logEvidence and decision