@catalyst-cloud/schema 0.1.32 → 0.1.33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catalyst-cloud/schema",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
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",
@@ -1670,6 +1670,13 @@ export const durableEventTypes = {
1670
1670
  wakes: { consumerClass: "dispatcher" },
1671
1671
  entity: "ticket",
1672
1672
  },
1673
+ "relay.phase.wip.recorded": {
1674
+ rationale:
1675
+ "CTC-1096 — a shutting-down runner published a partial artifact and recorded a resume point for (ticket, phase) in the tenant DO's own relay_phase_wip. A durable fact about work that was preserved, not work that completed: it never advances relay_phase_state. NOT wake-eligible — the lease release that follows it in the same shutdown sequence already makes the unit immediately reclaimable, so waking the dispatcher on this too would double-drive the same successor.",
1676
+ ingestVerb: "artifacts.event",
1677
+ wakes: false,
1678
+ entity: "ticket",
1679
+ },
1673
1680
  "runner.container.stopped": {
1674
1681
  rationale:
1675
1682
  "CTC-1118 D4 — RunnerDispatchDO observed its own Container stop (activity expiry, a platform rollout SIGTERM, or an orderly exit) and reported it to the tenant DO. A positive observation ('a container stopped'), never an inferred absence — the entitlement plane's epistemic rule (entitlement.ts's RevokeRequest.observation). NOT wake-eligible: the report only collapses a held lease's deadline (existence-plane, never ownership — ADR-0037 Amendment 7), it does not itself create new eligible work for the dispatcher.",