You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4 files currently wear REFERENCE PATTERN: markers: email_verification_mailer.rb, DashboardApp.tsx, projects_controller.rb, registrations_controller.rb. AI agents grep for these markers to find the canonical example per pattern. Several pattern categories aren't yet marked. Add the missing ones so AGENTS.md can point at a complete index.
Acceptance criteria
Audit: identify pattern categories the kit demonstrates (form, mailer, controller, model with validations, factory, request spec, system spec, TanStack route, TanStack Query usage, TanStack Table column, RSC component, client-component island, CSRF helper, etc.)
For each category, pick exactly ONE file as canonical (if multiple instances exist, pick the cleanest)
Add a comment header to each canonical file: # REFERENCE PATTERN: <pattern-name> — see AGENTS.md (Ruby) or // REFERENCE PATTERN: <pattern-name> — see AGENTS.md (TS)
Verify no file wears the marker for a pattern where another file would be a better canonical
Update AGENTS.md (coordinate with the AGENTS.md issue) with the full list
Context
4 files currently wear
REFERENCE PATTERN:markers:email_verification_mailer.rb,DashboardApp.tsx,projects_controller.rb,registrations_controller.rb. AI agents grep for these markers to find the canonical example per pattern. Several pattern categories aren't yet marked. Add the missing ones soAGENTS.mdcan point at a complete index.Acceptance criteria
# REFERENCE PATTERN: <pattern-name> — see AGENTS.md(Ruby) or// REFERENCE PATTERN: <pattern-name> — see AGENTS.md(TS)AGENTS.md(coordinate with the AGENTS.md issue) with the full listFiles likely touched
Files likely to receive new markers:
app/models/user.rb(model with validations)app/models/project.rb(associated model)spec/factories/projects.rb(factory pattern)spec/requests/projects_spec.rb(request spec pattern)spec/system/*.rb(system spec pattern)app/javascript/src/Dashboard/<TanStack route file>(route pattern, if extracted)app/javascript/src/Dashboard/<query hook file>(TanStack Query pattern, if extracted)app/javascript/lib/csrf.tsor similar (CSRF helper pattern)app/javascript/src/HelloServer/HelloServer.tsx(RSC pattern — if it's kept and integrated)Notes / gotchas
Wave + dependencies
Part of the 2026-06-03 HN launch — see
internal/planning/3357-react-on-rails-starter-launch.md.