@catalyst-cloud/schema 0.1.57 → 0.1.58

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.57",
3
+ "version": "0.1.58",
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",
@@ -2121,6 +2121,15 @@ export interface TelemetryEventSpec {
2121
2121
  * time CTC-1510 read it — re-measure before citing it, don't re-derive it from this text.
2122
2122
  */
2123
2123
  export const telemetryEventTypes = {
2124
+ "telemetry.ingest.tenant-forged": {
2125
+ reason:
2126
+ "CTC-2788 — a gateway payload named a tenant other than its token's on `account_id` or " +
2127
+ "`catalyst.tenant`, and the gateway overwrote it. Rare by construction: a current runner image " +
2128
+ "emits `catalyst.tenant` equal to its own tenant, so this fires only on a stale or wrong token, " +
2129
+ "or on a deliberate forgery. Each occurrence is independently actionable (which tenant held the " +
2130
+ "token, which tenant was claimed, which signal), so it is never sampled away.",
2131
+ sampling: { kind: "always" },
2132
+ },
2124
2133
  "account.ratelimit.sampled": {
2125
2134
  reason: "A periodic provider rate-limit budget reading — a gauge, not a state transition.",
2126
2135
  },