@catalyst-cloud/schema 0.1.34 → 0.1.35
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 +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@catalyst-cloud/schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
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
|
@@ -605,42 +605,42 @@ export const durableEventTypes = {
|
|
|
605
605
|
},
|
|
606
606
|
"phase.dispatch.claim-lost": {
|
|
607
607
|
rationale:
|
|
608
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): a dispatch claim was lost to a concurrent race — a real coordination fact about who owns the work.",
|
|
608
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): a dispatch claim was lost to a concurrent race — a real coordination fact about who owns the work. PRODUCER (CTC-1365, ADR-0070): apps/mirror/src/do/MirrorDO.ts's handleWorkAcquire, on a lease_held refusal that reliably names the winning holder+generation.",
|
|
609
609
|
ingestVerb: "coordination.publish",
|
|
610
610
|
wakes: false,
|
|
611
611
|
entity: "ticket",
|
|
612
612
|
},
|
|
613
613
|
"phase.dispatch.escalated": {
|
|
614
614
|
rationale:
|
|
615
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase escalated to a human.",
|
|
615
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase escalated to a human. PRODUCER (CTC-1365, ADR-0070): apps/mirror/src/do/runner-start-dispatch.ts, once per failure episode, on the attempt where its backoff ladder saturates.",
|
|
616
616
|
ingestVerb: "coordination.publish",
|
|
617
617
|
wakes: { consumerClass: "host-channel" },
|
|
618
618
|
entity: "ticket",
|
|
619
619
|
},
|
|
620
620
|
"phase.dispatch.failed": {
|
|
621
621
|
rationale:
|
|
622
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported failure.",
|
|
622
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase reported failure. PRODUCER (CTC-1365, ADR-0070): both apps/mirror/src/do/runner-start-dispatch.ts (a container never came to exist, scope:'container') and MirrorDO.ts's handleWorkAcquire (a post-claim routing/slot failure, scope:'assignment').",
|
|
623
623
|
ingestVerb: "coordination.publish",
|
|
624
624
|
wakes: false,
|
|
625
625
|
entity: "ticket",
|
|
626
626
|
},
|
|
627
627
|
"phase.dispatch.launched": {
|
|
628
628
|
rationale:
|
|
629
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase's worker actually started running.",
|
|
629
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): the phase's worker actually started running. PRODUCER (CTC-1365, ADR-0070): apps/mirror/src/do/MirrorDO.ts's handleWorkAcquire, on every successful POST /work/acquire claim — carries the SAME nonce the terminal phase.<p>.complete/.failed event carries.",
|
|
630
630
|
ingestVerb: "coordination.publish",
|
|
631
631
|
wakes: { consumerClass: "dispatcher" },
|
|
632
632
|
entity: "ticket",
|
|
633
633
|
},
|
|
634
634
|
"phase.dispatch.requested": {
|
|
635
635
|
rationale:
|
|
636
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): work became eligible for dispatch — the phase was requested.",
|
|
636
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): work became eligible for dispatch — the phase was requested. PRODUCER (CTC-1365, ADR-0070): apps/mirror/src/do/runner-start-dispatch.ts's createNextSupervisorEpisode, once per supervisor episode, attributed to the team's head-of-queue eligible unit with an explicit nonce: null — no lease exists yet.",
|
|
637
637
|
ingestVerb: "coordination.publish",
|
|
638
638
|
wakes: { consumerClass: "dispatcher" },
|
|
639
639
|
entity: "ticket",
|
|
640
640
|
},
|
|
641
641
|
"phase.dispatch.runaway": {
|
|
642
642
|
rationale:
|
|
643
|
-
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): a dispatch safety guard fired (runaway detection) — a real operational fact.",
|
|
643
|
+
"ADR-0039 durable-fact example ('a phase started, completed, failed, or was preempted'): a dispatch safety guard fired (runaway detection) — a real operational fact. PRODUCER (CTC-1365, ADR-0070): apps/mirror/src/do/runner-start-dispatch.ts, when a waiting/unknown supervisor is superseded past its start grace window with zero live leases held by its dispatch key.",
|
|
644
644
|
ingestVerb: "coordination.publish",
|
|
645
645
|
wakes: false,
|
|
646
646
|
entity: "ticket",
|