Update architecture baseline for sync, sharing, and gateways
All checks were successful
CI / Backend (push) Successful in 26s
CI / Frontend (push) Successful in 11s
CI / Contracts and repository policy (push) Successful in 4s
CI / Container (push) Successful in 27s

This commit is contained in:
Elijah 2026-07-16 18:40:12 -07:00
parent 9e01df5d64
commit 099c53badf
7 changed files with 200 additions and 102 deletions

View file

@ -18,6 +18,8 @@
- Every metadata mutation and its change event must commit in one PostgreSQL transaction.
- Committed blobs are immutable. All transfers stream and all sizes/offsets use 64-bit types.
- Do not add endpoints outside `api/openapi.yaml` or queries outside `db/queries/`.
- Preserve the baseline/change guarantees in ADR-0008; cursors, scoped projections, and resulting-state events are one contract.
- External gateways follow ADR-0009 and may never access managed objects or repositories directly.
- Do not edit generated files directly. Regenerate them and commit source and output together.
- Do not add dependencies or change architecture without owner approval and an ADR.
- Keep frontend features isolated. Never create a global event bus, central extension switch, or all-purpose file-manager component.