← Back to docs

Contributing

Quality gates and conventions for extending Tetra Host.

Backend changes

  • Keep route handlers thin and move business logic into services.
  • Add or update pytest coverage for behavioral changes.
  • Run `uv run ruff check app tests` before opening a PR.

Frontend changes

  • Prefer Server Components for read-heavy pages.
  • Use the typed BFF routes for browser mutations.
  • Run `pnpm --filter web check` before opening a PR.