Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+4
-4
@@ -5,15 +5,15 @@ Use this when moving feature logic into the reusable boilerplate layer or when t
|
||||
## Ownership Rules
|
||||
|
||||
- Runtime apps may orchestrate requests, headers, sessions, and responses.
|
||||
- Shared business rules belong in `packages/*`, preferably `@toolctrl/foundation` for pure policy and `@toolctrl/db` for schema-backed server boundaries.
|
||||
- Shared business rules belong in `packages/*`, preferably `@hivegrid/foundation` for pure policy and `@hivegrid/db` for schema-backed server boundaries.
|
||||
- UI and route modules must not reach around package boundaries for tenant-scoped persistence.
|
||||
- Foundation exports must stay generic. Do not add product-specific roles, flags, templates, adapters, or catalog entries.
|
||||
|
||||
## Required Checks
|
||||
|
||||
- Audit writes use `@toolctrl/db/audit-events.server`.
|
||||
- Idempotency keys use `@toolctrl/db/idempotency-keys.server` or the API idempotency store bridge.
|
||||
- API usage limits use `@toolctrl/db/usage.server`; API routes should not recompute subscription feature math locally.
|
||||
- Audit writes use `@hivegrid/db/audit-events.server`.
|
||||
- Idempotency keys use `@hivegrid/db/idempotency-keys.server` or the API idempotency store bridge.
|
||||
- API usage limits use `@hivegrid/db/usage.server`; API routes should not recompute subscription feature math locally.
|
||||
- Notification deliveries use `sourceKey` whenever a producer can derive a stable event key, so DB upsert prevents duplicate delivery records.
|
||||
- Feature flags resolve in this order: explicit override, user scope, tenant scope, global scope, default.
|
||||
|
||||
|
||||
Reference in new issue
Block a user