Pokemon Infinite Fusion Nuzlocke tracker with strict run-state invariants.
- Use
pnpmfor all package operations.
- Framework/runtime: Next.js 16 + React 19.
- State management: Valtio for app run-state, TanStack Query for server/cache state.
- Validation and schemas: Zod for runtime data boundaries.
- Keep repo-wide policy guidance minimal; put directory rules in local
AGENTS.mdfiles. - For targeted testing workflows, run the smallest relevant checks first before broader validation.
- When work touches game-rule behavior or run-state logic, read relevant domain docs listed in
docs/agents/domain/README.mdand localAGENTS.mdreferences. - Keep new guidance failure-mode-driven: prefer local
AGENTS.mdfor path scope and narrow skills for repeated non-obvious implementation errors. - Validation workflow for changed work: run
pnpm type-check, thenpnpm test:run, thenpnpm validatewhen scope is broad/cross-cutting.