Practice integration-first TDD in this repo (Svelte + TS + Playwright). Write step-by-step user-interaction story tests with immutable “intent” comments and flexible implementation. When expectations are unclear or contradictory, switch to a focused Q&A mode and only change intent text with explicit user approval.