Skip to content

Reference

The pages in this section are the truth the handbook leans against. Several are generated from code at build time and cannot drift.

Generated from code

PageSourceWatched paths
RBAC matrixpackages/auth/src/rbac.tsrbac.ts
Validation rulespackages/domain/src/payroll/rules/validation-rules.tsvalidation-rules.ts
Notifications catalogpackages/notifications/src/templates/ (curated metadata)templates/*.ts

If the underlying code changes, these pages refresh on the next build. CI watches these paths and rebuilds automatically.

Status machines

DomainDiagram
Payroll cycle16 states, PLANNED → ARCHIVED
Journal batch5 states, DRAFT → CLOSED
Journal entry5 states, DRAFT → APPROVED/REJECTED/ESCALATED
Reconciliation run6 states, PENDING → COMPLETE

SOPs (upstream authority)

These are the source of truth for what the platform should do. The handbook is the source of truth for how to do it in the app.

Architecture

Internal use only — BreezyCorp