@catalyst-cloud/schema 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/events/registry.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@catalyst-cloud/schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Typed Drizzle schema = single source of truth for the per-tenant Mirror DO SQLite store (CTC-13 / ADR-0002). Shared by the mirror Worker, the host-sync replica, and the browser OPFS replica.",
|
|
6
6
|
"license": "MIT",
|
package/src/events/registry.ts
CHANGED
|
@@ -1728,6 +1728,20 @@ export const durableEventTypes = {
|
|
|
1728
1728
|
ingestVerb: "coordination.publish",
|
|
1729
1729
|
wakes: false,
|
|
1730
1730
|
},
|
|
1731
|
+
"environment.check.override.granted": {
|
|
1732
|
+
rationale:
|
|
1733
|
+
"CTC-1171 Phase 4 — an operator granted a short-lived, exact-hash, audited bypass of the declaration gate (readEnvironmentGate, consulted for implement/pr). MirrorDO-native, same category as runner.start.failed: the audit ledger's own atomic record of the mutation, written in the SAME transaction as the override grant. NOT wake-eligible — granting an override does not itself create new eligible work; the next scan simply reads a different classifier verdict.",
|
|
1734
|
+
ingestVerb: "coordination.publish",
|
|
1735
|
+
wakes: false,
|
|
1736
|
+
entity: "team",
|
|
1737
|
+
},
|
|
1738
|
+
"environment.check.override.revoked": {
|
|
1739
|
+
rationale:
|
|
1740
|
+
"CTC-1171 Phase 4 — the paired revocation fact to environment.check.override.granted, written atomically with the override row's revoked_at_ms. NOT wake-eligible for the same reason as the grant: a revoke only narrows a future classifier read, it never itself creates new eligible work.",
|
|
1741
|
+
ingestVerb: "coordination.publish",
|
|
1742
|
+
wakes: false,
|
|
1743
|
+
entity: "team",
|
|
1744
|
+
},
|
|
1731
1745
|
} as const satisfies Record<string, DurableEventSpec>;
|
|
1732
1746
|
|
|
1733
1747
|
/** Why a heartbeat-shaped signal updates mutable NOW instead of the immutable history, and which
|