@indexnetwork/protocol 13.1.0-rc.465.1 → 13.2.0-rc.466.1

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/CHANGELOG.md CHANGED
@@ -20,6 +20,16 @@ went 6.7.1 → 8.0.2 with no 7.x in between because the whole 7.x line shipped a
20
20
  prereleases between the two promotions. To track every change, read `rc`; to
21
21
  pin a supported release, use `latest`.
22
22
 
23
+ ## 13.2.0 - 2026-08-16
24
+
25
+ ### Added
26
+
27
+ - `retired_mode` to `QuestionVoidedReasonSchema`, marking rows whose generating
28
+ mode was removed. Written only by the one-time
29
+ `0127_dismiss_retired_discovery_questions` migration — no runtime path emits
30
+ it, since a retired mode produces nothing by definition. The marker makes the
31
+ cleanup auditable and exactly reversible.
32
+
23
33
  ## 13.0.0 - 2026-08-13
24
34
 
25
35
  ### Removed
@@ -730,7 +730,7 @@ export declare const QuestionRecoverySnapshotSchema: z.ZodObject<{
730
730
  rejectedNegotiationCount?: number | undefined;
731
731
  }>;
732
732
  /** Internal reason a pending question was voided. */
733
- export declare const QuestionVoidedReasonSchema: z.ZodEnum<["pool_drift", "intent_edit", "recovery_drift", "negotiation_stale"]>;
733
+ export declare const QuestionVoidedReasonSchema: z.ZodEnum<["pool_drift", "intent_edit", "recovery_drift", "negotiation_stale", "retired_mode"]>;
734
734
  /** Permanent reasons that terminalize an unclaimed proactive push request. */
735
735
  export declare const QuestionPoolPushRequestReasonSchema: z.ZodEnum<["question_lifecycle", "intent_lifecycle", "malformed_source", "malformed_actor", "malformed_pool", "malformed_cycle", "visited", "pool_size", "voi", "cycle_budget"]>;
736
736
  export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
@@ -1117,7 +1117,7 @@ export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
1117
1117
  failure?: string | undefined;
1118
1118
  }>>;
1119
1119
  /** Internal reason this question was voided after pool or intent drift. */
1120
- voidedReason: z.ZodOptional<z.ZodEnum<["pool_drift", "intent_edit", "recovery_drift", "negotiation_stale"]>>;
1120
+ voidedReason: z.ZodOptional<z.ZodEnum<["pool_drift", "intent_edit", "recovery_drift", "negotiation_stale", "retired_mode"]>>;
1121
1121
  /** Authoritative successful-delivery ledger timestamp. Internal only. */
1122
1122
  pushedAt: z.ZodOptional<z.ZodString>;
1123
1123
  }, "strip", z.ZodTypeAny, {
@@ -1212,7 +1212,7 @@ export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
1212
1212
  pushRequestStatus?: "suppressed" | "requested" | undefined;
1213
1213
  pushRequestReason?: "voi" | "question_lifecycle" | "intent_lifecycle" | "malformed_source" | "malformed_actor" | "malformed_pool" | "malformed_cycle" | "visited" | "pool_size" | "cycle_budget" | undefined;
1214
1214
  pushRequestSuppressedAt?: string | undefined;
1215
- voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | undefined;
1215
+ voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | "retired_mode" | undefined;
1216
1216
  pushedAt?: string | undefined;
1217
1217
  }, {
1218
1218
  mode: "chat" | "intent" | "negotiation" | "negotiation_inflight" | "pool_discovery";
@@ -1306,7 +1306,7 @@ export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
1306
1306
  pushRequestStatus?: "suppressed" | "requested" | undefined;
1307
1307
  pushRequestReason?: "voi" | "question_lifecycle" | "intent_lifecycle" | "malformed_source" | "malformed_actor" | "malformed_pool" | "malformed_cycle" | "visited" | "pool_size" | "cycle_budget" | undefined;
1308
1308
  pushRequestSuppressedAt?: string | undefined;
1309
- voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | undefined;
1309
+ voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | "retired_mode" | undefined;
1310
1310
  pushedAt?: string | undefined;
1311
1311
  }>, {
1312
1312
  mode: "chat" | "intent" | "negotiation" | "negotiation_inflight" | "pool_discovery";
@@ -1400,7 +1400,7 @@ export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
1400
1400
  pushRequestStatus?: "suppressed" | "requested" | undefined;
1401
1401
  pushRequestReason?: "voi" | "question_lifecycle" | "intent_lifecycle" | "malformed_source" | "malformed_actor" | "malformed_pool" | "malformed_cycle" | "visited" | "pool_size" | "cycle_budget" | undefined;
1402
1402
  pushRequestSuppressedAt?: string | undefined;
1403
- voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | undefined;
1403
+ voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | "retired_mode" | undefined;
1404
1404
  pushedAt?: string | undefined;
1405
1405
  }, {
1406
1406
  mode: "chat" | "intent" | "negotiation" | "negotiation_inflight" | "pool_discovery";
@@ -1494,7 +1494,7 @@ export declare const QuestionDetectionSchema: z.ZodEffects<z.ZodObject<{
1494
1494
  pushRequestStatus?: "suppressed" | "requested" | undefined;
1495
1495
  pushRequestReason?: "voi" | "question_lifecycle" | "intent_lifecycle" | "malformed_source" | "malformed_actor" | "malformed_pool" | "malformed_cycle" | "visited" | "pool_size" | "cycle_budget" | undefined;
1496
1496
  pushRequestSuppressedAt?: string | undefined;
1497
- voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | undefined;
1497
+ voidedReason?: "pool_drift" | "intent_edit" | "recovery_drift" | "negotiation_stale" | "retired_mode" | undefined;
1498
1498
  pushedAt?: string | undefined;
1499
1499
  }>;
1500
1500
  export declare const QuestionActorSchema: z.ZodObject<{
@@ -262,6 +262,10 @@ export const QuestionVoidedReasonSchema = z.enum([
262
262
  "intent_edit",
263
263
  "recovery_drift",
264
264
  "negotiation_stale",
265
+ // The generator that produced the row was retired, so the question can no
266
+ // longer lead anywhere. Written once by a one-time migration, never by
267
+ // runtime code — nothing produces a retired mode by definition.
268
+ "retired_mode",
265
269
  ]);
266
270
  /** Permanent reasons that terminalize an unclaimed proactive push request. */
267
271
  export const QuestionPoolPushRequestReasonSchema = z.enum([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "13.1.0-rc.465.1",
3
+ "version": "13.2.0-rc.466.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",