Files
community-rule/docs/README.md
T
adilallo b4d0d085d3 Record the retention and hosting facts the privacy policy still has in brackets.
Login links work for 60 minutes, unused rows are gone within a day, logs last 14 days, and backups are 30 days on MEDLab Cloudron in the United States. Live /privacy stays on the current page until counsel reads this text.
2026-11-10 15:34:35 -07:00

2.5 KiB

Documentation

User-facing docs. Implementation conventions live in .cursor/rules/.

Canonical references

  • create-flow.md — Custom create-rule wizard: stages, URLs, persistence. Source of truth for product/eng alignment.
  • testing-guide.md — Testing philosophy, layer coverage, and Prisma migration smoke before merge.
  • privacy-policy-facts.md — Periods and hosting facts for the privacy policy counsel will read. Live /privacy stays on the current page until that review.
  • figma-component-registry.md — Figma Community Rule System file ↔ app/components/ (and route-colocated admin UI) map.

Author guides (guides/)

Temporary backend planning

These will be deleted once the backend services are stood up:

Cursor rules

Implementation contracts are enforced by .cursor/rules/*.mdc:

Rule Scope
component-structure.mdc 4-file split (container/view/types/index).
component-props.mdc Lowercase enum prop convention + Figma traceability.
tailwind-styling.mdc Token usage and class composition.
localization.mdc messages/ bundles and useMessages().
testing.mdc Test layout, helpers, required imports.
storybook.mdc Story location and argTypes patterns.
hooks.mdc Custom hook authoring + TSDoc as the API reference.
create-flow.mdc Wizard step / screen registry conventions.
api-routes.mdc API route handler conventions.