Section 11

PR checklist

0 of 0 done
  • Does only what the task asked; no speculative props, options or layers (P1)
  • No refactor or reformat of untouched code (P7)
  • Plan posted first if more than 5 files changed (A4)

Structure

  • New code lives in its feature folder; nothing domain-specific added to shared/ (S1, P6)
  • No imports of another feature’s internals (S3)
  • No new abstraction with fewer than 3 real uses (P2)

Dependencies

  • No new dependency, or one approved by the human with the vetting table (A3, V1–V8)
  • APIs used were checked against the installed version’s docs (A5)

State, effects, data

  • Server data read from the query cache, not copied into state (ST1)
  • No useEffect that only derives or reacts to user actions (SE1, SE2)
  • Memoization only where the table allows (P4, MZ1–MZ5)
  • No secrets, tokens or personal data in storage, logs or the bundle (ST9, AP7, AP8)

UI

  • Loading, error, empty and success states for every query (EB5)
  • Screen has an error boundary (EB2)
  • Tokens only, no hex values or magic numbers (SY1)
  • Pressables have roles and labels; font scaling left on (C6)
  • Links and notification taps go through the router, with params validated (DL2, DL4, PN5)
  • Notification permission asked in context; no sensitive data in notification text (PN2, PN7)

Checks

  • Type check, lint and tests pass, and the commands run are listed (D1, TL1)
  • New screen or bug fix has its test (T3)
  • Native change? New build planned instead of an OTA update (R2)
  • Nothing shipped to users without explicit approval (R6)
  • No new import cycle; no feature imports its own index.ts (CI1)
  • Tests follow the naming, query and factory conventions (TW1–TW5)
  • Perf test added for list rows, heavy screens or claimed speed-ups; budgets not exceeded (CI2, CI3)

Report

  • Assumptions listed (D2)
  • Every guardrail exception listed with its rule ID and reason (D2)
  • Next scale trigger noted if one showed up (Anti-patterns & scale triggers)