@gamaze/hicortex 0.27.4 → 0.28.0

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.
Files changed (92) hide show
  1. package/assets/dashboard.html +361 -100
  2. package/dist/backfill-privacy.d.ts +68 -45
  3. package/dist/backfill-privacy.js +236 -145
  4. package/dist/calibration.d.ts +67 -68
  5. package/dist/calibration.js +75 -78
  6. package/dist/capture-health.d.ts +2 -2
  7. package/dist/capture-health.js +2 -2
  8. package/dist/classification.d.ts +141 -12
  9. package/dist/classification.js +214 -27
  10. package/dist/classify-domains.d.ts +1 -1
  11. package/dist/classify-domains.js +2 -2
  12. package/dist/cli-args.d.ts +5 -3
  13. package/dist/cli-args.js +7 -3
  14. package/dist/cli.d.ts +2 -0
  15. package/dist/cli.js +64 -16
  16. package/dist/cluster.d.ts +12 -9
  17. package/dist/cluster.js +9 -6
  18. package/dist/consolidate.d.ts +93 -43
  19. package/dist/consolidate.js +255 -119
  20. package/dist/dashboard.d.ts +48 -5
  21. package/dist/dashboard.js +55 -3
  22. package/dist/db.js +27 -6
  23. package/dist/dedup.d.ts +2 -3
  24. package/dist/dedup.js +2 -3
  25. package/dist/distill-queue.d.ts +36 -4
  26. package/dist/distill-queue.js +80 -18
  27. package/dist/distiller.d.ts +1 -1
  28. package/dist/distiller.js +13 -12
  29. package/dist/domain-classify.d.ts +8 -9
  30. package/dist/domain-classify.js +6 -7
  31. package/dist/graph.d.ts +15 -5
  32. package/dist/graph.js +46 -13
  33. package/dist/hermes-transcript-reader.d.ts +1 -1
  34. package/dist/hermes-transcript-reader.js +1 -1
  35. package/dist/init.d.ts +2 -2
  36. package/dist/init.js +3 -3
  37. package/dist/llm.d.ts +1 -1
  38. package/dist/llm.js +5 -5
  39. package/dist/mcp-server.js +323 -59
  40. package/dist/memory-instructions.d.ts +2 -2
  41. package/dist/memory-instructions.js +2 -2
  42. package/dist/nightly.d.ts +1 -1
  43. package/dist/nightly.js +64 -5
  44. package/dist/nofit.d.ts +2 -2
  45. package/dist/nofit.js +2 -2
  46. package/dist/observed-agents.d.ts +54 -0
  47. package/dist/observed-agents.js +78 -0
  48. package/dist/project-canonicalize.d.ts +6 -5
  49. package/dist/project-canonicalize.js +6 -5
  50. package/dist/prompts.d.ts +29 -8
  51. package/dist/prompts.js +39 -16
  52. package/dist/quality-scoreboard.d.ts +1 -1
  53. package/dist/recall-hook-cli.d.ts +1 -1
  54. package/dist/recall-hook-cli.js +2 -2
  55. package/dist/recall-index.d.ts +28 -14
  56. package/dist/recall-index.js +22 -10
  57. package/dist/recall-precision.d.ts +3 -3
  58. package/dist/recall-precision.js +5 -4
  59. package/dist/reconcile-projects.d.ts +2 -2
  60. package/dist/reconcile-projects.js +2 -2
  61. package/dist/reconsolidation.d.ts +9 -2
  62. package/dist/reconsolidation.js +48 -31
  63. package/dist/relink.d.ts +2 -2
  64. package/dist/relink.js +4 -4
  65. package/dist/rescore-importance.d.ts +2 -2
  66. package/dist/rescore-importance.js +22 -3
  67. package/dist/retrieval.d.ts +14 -0
  68. package/dist/retrieval.js +11 -11
  69. package/dist/schema-prototypes.d.ts +1 -1
  70. package/dist/schema-prototypes.js +1 -1
  71. package/dist/seed-lesson.js +4 -2
  72. package/dist/spaces-api.d.ts +104 -0
  73. package/dist/spaces-api.js +193 -0
  74. package/dist/spaces-cli.d.ts +90 -0
  75. package/dist/spaces-cli.js +245 -0
  76. package/dist/spaces.d.ts +187 -0
  77. package/dist/spaces.js +360 -0
  78. package/dist/storage.d.ts +47 -10
  79. package/dist/storage.js +74 -17
  80. package/dist/sweep-volatile.d.ts +2 -2
  81. package/dist/sweep-volatile.js +2 -2
  82. package/dist/telemetry-cli.d.ts +1 -1
  83. package/dist/telemetry-cli.js +1 -1
  84. package/dist/type-classify.d.ts +1 -1
  85. package/dist/type-classify.js +1 -1
  86. package/dist/type-labels.d.ts +1 -1
  87. package/dist/type-labels.js +1 -1
  88. package/dist/types.d.ts +43 -20
  89. package/dist/wrapper-prompt.d.ts +2 -2
  90. package/dist/wrapper-prompt.js +2 -2
  91. package/package.json +1 -1
  92. package/server.json +2 -2
@@ -46,8 +46,8 @@ export declare const DECAY_HALF_LIFE_DAYS = 365;
46
46
  */
47
47
  export declare const PROMOTION_RATE = 0.033;
48
48
  /**
49
- * Lower bound on the promotion formula's S input (#453 review Minor finding,
50
- * owner decision 2026-09-16). base_strength 0.0 is a writable value (legacy
49
+ * Lower bound on the promotion formula's S input (#453 review Minor finding).
50
+ * base_strength 0.0 is a writable value (legacy
51
51
  * rows, operator edits), and S^(−0.3) has a zero-singularity: unfloored, one
52
52
  * access on a 0.0 row computed delta = 0.033 × (1 − 0/0.95) × 0^−0.3 =
53
53
  * Infinity, and the ceiling clamp turned that into a leap straight to 0.95.
@@ -65,17 +65,18 @@ export declare const RECENT_LIMIT = 12;
65
65
  /** searchRecent() candidate window, days. #192. */
66
66
  export declare const RECENT_WINDOW_DAYS = 180;
67
67
  /** Top-k slots reservable for never-accessed memories (cold exposure). #192:
68
- * recall was too passive (88% of memories never accessed) — the long tail
69
- * gets guaranteed slots instead of waiting for the strength clock. */
68
+ * recall was too passive (the large majority of memories went never
69
+ * accessed) — the long tail gets guaranteed slots instead of waiting for
70
+ * the strength clock. */
70
71
  export declare const COLD_EXPOSURE_SLOTS = 2;
71
72
  /** Blend weight of the session-intent centroid in the recall search vector
72
73
  * (#192, 0.15.3): query = (1-w)·prompt + w·centroid. The kill-switch is the
73
74
  * configureSessionIntent(0) seam (eval-only); production always ships 0.33. */
74
75
  export declare const SESSION_INTENT_WEIGHT = 0.33;
75
76
  /** Relevance-gate floor for vector-only /recall-index candidates. 0.62
76
- * (raised from 0.55 on 2026-08-03 per a 0.01-step floor sweep on the
77
- * rewritten corpus): steady ~3:1 noise:signal removal with no knee; sits
78
- * below the 0.63 local pessimum. FTS-matched candidates pass regardless. */
77
+ * (raised from 0.55 after a 0.01-step floor sweep): steady ~3:1
78
+ * noise:signal removal with no knee; sits below the 0.63 local pessimum.
79
+ * FTS-matched candidates pass regardless. */
79
80
  export declare const RECALL_MIN_SIMILARITY = 0.62;
80
81
  /**
81
82
  * Cross-project recall fence bar (#566) — a memory from a DIFFERENT project
@@ -83,31 +84,30 @@ export declare const RECALL_MIN_SIMILARITY = 0.62;
83
84
  * into recall/search results; same-project and no-scope candidates keep the
84
85
  * RECALL_MIN_SIMILARITY floor above, byte-identical.
85
86
  *
86
- * Measured 2026-10-28 on the #565 WS2 snapshot bar sweep: at 0.72 a
87
- * scope-conditional bar keeps ~18% of today's cross-project admissions
88
- * (projected multi-project cross-share ~29%, audit target ≤35%); a GLOBAL
89
- * 0.72 floor would kill 91% of same-project admissions, which is why the bar
90
- * is scope-conditional. Owner ruling 2026-10-28: 0.72 now, 0.75 (the stricter
91
- * option, keeps ~7.5%) one config edit away.
87
+ * Bar-sweep evidence (#565): a scope-conditional 0.72 bar trims most of
88
+ * today's cross-project admissions, while a GLOBAL 0.72 floor would kill the
89
+ * large majority of same-project admissions — which is why the bar is
90
+ * scope-conditional. 0.72 now; 0.75 (the stricter option) one config edit
91
+ * away.
92
92
  *
93
93
  * Unlike every other constant in the recall family, this one KEEPS a config
94
94
  * override (`recallCrossProjectMinSimilarity`, resolved once at server boot)
95
95
  * — the ONE deliberate #408 exception, on the DEFAULT_FIRST_RUN_LOOKBACK_DAYS
96
- * precedent: a posture dial the owner tunes per install, not corpus
96
+ * precedent: a posture dial the operator tunes per install, not corpus
97
97
  * calibration. 0 or any value ≤ the recall floor (0.62) disarms the fence
98
98
  * (today's scope-blind behavior).
99
99
  */
100
100
  export declare const CROSS_PROJECT_MIN_SIMILARITY = 0.72;
101
- /** Max lines in the pushed recall index. 5 (lowered from 6 on 2026-08-03):
102
- * per-slot decomposition at floor 0.62 showed slot 6 gives NO prompt its
103
- * first relevant memory. The K-sweep is monotone toward 4, but the 4-vs-5
104
- * distinction rests on 5 of 98 prompts — 5 hedges with coverage. */
101
+ /** Max lines in the pushed recall index. 5 (lowered from 6): per-slot
102
+ * decomposition at floor 0.62 showed slot 6 gives NO prompt its first
103
+ * relevant memory. The K-sweep is monotone toward 4, but the 4-vs-5
104
+ * distinction rests on a handful of prompts — 5 hedges with coverage. */
105
105
  export declare const RECALL_MAX_ITEMS = 5;
106
106
  /** Prompts shorter than this skip the recall index (continuations, "yes"). */
107
107
  export declare const RECALL_MIN_PROMPT_CHARS = 20;
108
108
  /** Chars of a memory's first line shown in an index entry. 100 (reverted
109
- * from 150 on 2026-08-03): the full-corpus relevance eval found 100 vs 150
110
- * statistically identical (full CI overlap at N=40); 100 saves ~13% tokens. */
109
+ * from 150): the relevance eval found 100 vs 150 statistically identical
110
+ * (full CI overlap); 100 saves ~13% tokens. */
111
111
  export declare const RECALL_TITLE_CHARS = 100;
112
112
  /** Slots of RECALL_MAX_ITEMS guaranteed to the pure-prompt (unblended)
113
113
  * search's top passing hit(s) — the #324 novelty floor. 2 mirrors
@@ -117,14 +117,14 @@ export declare const NOVELTY_FLOOR_SLOTS = 2;
117
117
  * it may reappear in the pushed index (#192 turn-based dedup). */
118
118
  export declare const RECALL_RESHOW_TURNS = 30;
119
119
  /** uses_per_showing below this reads Low on the console band.
120
- * PROVISIONAL (owner anchor 2026-09-13, #426). */
120
+ * PROVISIONAL (#426). */
121
121
  export declare const RECALL_USES_LOW_MAX = 0.05;
122
122
  /** uses_per_showing below this (and ≥ RECALL_USES_LOW_MAX) reads Normal.
123
- * PROVISIONAL (owner anchor 2026-09-13, #426). */
123
+ * PROVISIONAL (#426). */
124
124
  export declare const RECALL_USES_NORMAL_MAX = 0.25;
125
125
  /** Display-axis maximum for the console band (the marker clamps here).
126
- * PROVISIONAL (owner anchor 2026-09-13, #426) — chosen so Overfetching
127
- * keeps a visible span, not a measured bound. */
126
+ * PROVISIONAL (#426) — chosen so Overfetching keeps a visible span, not a
127
+ * measured bound. */
128
128
  export declare const RECALL_USES_AXIS_MAX = 0.3;
129
129
  /**
130
130
  * Retention horizon for the recall_pushes/recall_events sidecar tables AND the
@@ -153,10 +153,10 @@ export declare const MEMORY_PRECISION_REDUNDANT_ABOVE = 0.8;
153
153
  */
154
154
  export declare const MEMORY_PRECISION_DIVERGENCE_MIN_SHOWN = 5;
155
155
  /**
156
- * Cap on the prompt excerpt persisted per recall_pushes row (Option A,
157
- * owner-blessed 2026-09-19: the first-ever server-side persistence of raw
158
- * prompt text, bounded to 256 chars and pruned at the retention horizon —
159
- * the same trust boundary as /distill's denoised conversation text).
156
+ * Cap on the prompt excerpt persisted per recall_pushes row (Option A:
157
+ * the first-ever server-side persistence of raw prompt text, bounded to
158
+ * 256 chars and pruned at the retention horizon — the same trust boundary
159
+ * as /distill's denoised conversation text).
160
160
  */
161
161
  export declare const MEMORY_PRECISION_PROMPT_EXCERPT_CHARS = 256;
162
162
  /**
@@ -219,7 +219,7 @@ export declare const QUALITY_CONTESTED_CONFIDENCE = 0.7;
219
219
  */
220
220
  export declare const QUALITY_USEFUL_SCORE = 0.5;
221
221
  /**
222
- * Kill-switch for the deterministic volatility gate (#489, owner decision 5):
222
+ * Kill-switch for the deterministic volatility gate (#489, decision 5):
223
223
  * false disables isVolatileStatusEntry's use in the distill path (entries
224
224
  * keep flowing as before) AND the sweep's candidacy rule — one release-managed
225
225
  * constant, no config knob (#408 discipline: moving it is a release decision,
@@ -251,9 +251,8 @@ export declare const SCORE_CONNECTIONS_WEIGHT = 0.15;
251
251
  * the ABSOLUTE undirected-degree scale k — full at k = K, exactly +0 at
252
252
  * k = 0 (unlinked rows score bit-identically to the linear term they
253
253
  * replace). Provenance: p99 of the REAL undirected degree distribution
254
- * (read-only audit 2026-09-17 of the canonical wave snapshot, 18,798
255
- * memories / 14,600 linked: p50 = 4, p90 = 8, p95 = 9, p99 = 15, p99.9 =
256
- * 28.4, max = 40; 135 memories ≥ 16 links = 0.92% of linked) — so the top
254
+ * (read-only audit of a production snapshot: p50 = 4, p90 = 8, p95 = 9,
255
+ * p99 = 15, p99.9 = 28.4, max = 40) — so the top
257
256
  * ~1% of hubs tie at full credit and everything below differentiates
258
257
  * modestly. Shape grounded in the #449 research base: ACT-R fan saturation
259
258
  * (Anderson & Reder 1999 — activation falls with the LOG of fan), SAM's
@@ -314,7 +313,7 @@ export declare const RRF_VECTOR_WEIGHT = 1;
314
313
  /**
315
314
  * Additive boost for candidates the TWO retrieval channels AGREE on
316
315
  * (vector KNN AND BM25 FTS both matched — computeScore option
317
- * `bothChannel`). #425 (owner decision D3, 2026-09-13): the two-channel
316
+ * `bothChannel`). #425 (decision D3): the two-channel
318
317
  * signal is the genuine-match signature and is immune to FTS-only token
319
318
  * collisions, which is why the boost lives in the composite score, not in
320
319
  * the RRF FTS weight (raising that re-opens the #205 cross-scope collision
@@ -323,30 +322,30 @@ export declare const RRF_VECTOR_WEIGHT = 1;
323
322
  * shipped simWeight 0.50, 0.10 gives that property 2x headroom (a rival
324
323
  * needs >0.20 more similarity).
325
324
  *
326
- * SIZING (the #425 sweep, 2026-09-13, production snapshot copy: case-1
327
- * planted fixture + a 30-query real battery vs the boost-0 baseline): every
328
- * value in {0.05, 0.10, 0.15} passed the hard gates (exact-match rank-1,
329
- * no-match byte-stability, zero both-channel exact-match losses, the
330
- * Sirnäs flip) with IDENTICAL battery stability (96.7% top-1 ex-promotions
331
- * — every raw change was a both-channel exact match displacing a
332
- * single-channel row, the property firing); they differed only in case-1
333
- * margin (0.021 / 0.061 / 0.101) and per-id top-3 churn. 0.10 chosen:
334
- * 0.05's margin is within one embedder revision of flipping, 0.15 churns
335
- * more for no gate benefit. Weight rebalances measured WORSE (sim .55/str
336
- * .15 → 93.3%; sim .60/str .10 → 86.7%, fails the 90% gate) — the
337
- * SCORE_*_WEIGHT values stay as shipped. ZERO-boost neutral (never a
338
- * penalty): graph-only and single-channel candidates add nothing.
325
+ * SIZING (#425 sweep on a production snapshot copy: case-1 planted
326
+ * fixture + a real-query battery vs the boost-0 baseline): every value in
327
+ * {0.05, 0.10, 0.15} passed the hard gates (exact-match rank-1, no-match
328
+ * byte-stability, zero both-channel exact-match losses, the planted
329
+ * cross-scope flip) with IDENTICAL battery stability — every raw change
330
+ * was a both-channel exact match displacing a single-channel row, the
331
+ * property firing; they differed only in case-1 margin (0.021 / 0.061 /
332
+ * 0.101) and per-id top-3 churn. 0.10 chosen: 0.05's margin is within one
333
+ * embedder revision of flipping, 0.15 churns more for no gate benefit.
334
+ * Weight rebalances measured WORSE (both swept alternatives failed the
335
+ * battery's stability gate) — the SCORE_*_WEIGHT values stay as shipped.
336
+ * ZERO-boost neutral (never a penalty): graph-only and single-channel
337
+ * candidates add nothing.
339
338
  */
340
339
  export declare const BOTH_CHANNEL_BOOST = 0.1;
341
340
  export declare const BM25_WEIGHT_BODY = 1;
342
341
  export declare const BM25_WEIGHT_PROJECT = 2;
343
342
  export declare const BM25_WEIGHT_DOMAIN = 2;
344
343
  /**
345
- * Write cap on base_strength / importance (#425, owner decision D2
346
- * 2026-09-13: cap 0.95). The decay model's rate is `1 − BASE_DECAY·(1 −
344
+ * Write cap on base_strength / importance (#425, decision D2: cap 0.95).
345
+ * The decay model's rate is `1 − BASE_DECAY·(1 −
347
346
  * importance)` — at importance exactly 1.0 the rate is exactly 1.0 and the
348
- * row NEVER decays (measured on the production snapshot: ~14% of live rows
349
- * pegged at ≥0.999, 1838/17399 at exactly 1.0). The cap kills the
347
+ * row NEVER decays (measured on a production snapshot: a meaningful share
348
+ * of live rows pegged at ≥0.999, many at exactly 1.0). The cap kills the
350
349
  * immortality cliff at every write site (stageImportance, enrich, hub
351
350
  * boost) while keeping a multi-year half-life for the top band (0.95 →
352
351
  * ~13 years). effectiveStrength ALSO clamps the read side, so legacy
@@ -368,12 +367,12 @@ export declare const IMPORTANCE_SETTLE_WINDOW_DAYS = 3;
368
367
  /** Deterministic merge ceiling of the unified resolution pass (#392): pairs
369
368
  * at/above this cosine merge LLM-free; [CORRECTION_MIN_SIMILARITY, this)
370
369
  * get the one verdict call. 0.92 — measured on the #191 mechanical audit
371
- * corpus (89 clusters / 110 excess rows; data/audit-20260729). */
370
+ * corpus. */
372
371
  export declare const DEDUP_AUTO_MERGE_THRESHOLD = 0.92;
373
372
  /** Minimum cosine for a reconsolidation correction pair (#384). Deliberately
374
373
  * wide: a retraction often rides inside an otherwise unrelated memory; the
375
374
  * verdict + confidence gate carry the precision. (The retired Stage 3.7
376
- * supersession scan's 0.80 floor — #206-B, owner decision 6 — is subsumed:
375
+ * supersession scan's 0.80 floor — #206-B, decision 6 — is subsumed:
377
376
  * 3.8 scans all shapes from this wider floor.) */
378
377
  export declare const CORRECTION_MIN_SIMILARITY = 0.75;
379
378
  /** Minimum verdict confidence for the REWRITE (and #392 merge-apply) fork
@@ -381,28 +380,28 @@ export declare const CORRECTION_MIN_SIMILARITY = 0.75;
381
380
  * recoverable, a weak rewrite is corruption. */
382
381
  export declare const CORRECTION_REWRITE_MIN_CONFIDENCE = 0.8;
383
382
  /** Minimum cosine(memory embedding, best domain prototype) for a no-fit
384
- * memory to earn a WEAK primary instead of decaying (owner amendment
385
- * 07.07). Starting point for bge-small-en-v1.5. */
383
+ * memory to earn a WEAK primary instead of decaying (spec 2026-07-07
384
+ * amendment). Starting point for bge-small-en-v1.5. */
386
385
  export declare const WEAK_PRIMARY_FLOOR = 0.45;
387
386
  /**
388
387
  * Console stage bands (#409/#421) — TWO #408-contract calibrations:
389
388
  *
390
- * (1) 2026-09-13 (PR #424 fix round) against the INFLATED distribution:
389
+ * (1) The #424 fix round, against the INFLATED distribution:
391
390
  * effectiveStrength p25 = 0.599, p50 = 0.788, p86 = 0.900, ~14%
392
391
  * saturated at exactly 1.000 → edges 0.40/0.60/0.90 targeting a rendered
393
392
  * split ≈ 10/15/61/14 (fading/forming/belief/truth).
394
393
  *
395
394
  * (2) This release (#425) against the POST-FIX distribution: the importance
396
395
  * recalibration (re-anchored prompt + 0.95 cap) plus the
397
- * rescore-importance backfill re-spread the same 17,399-row store to
396
+ * rescore-importance backfill re-spread the store to
398
397
  * base_strength median 0.40 / p90 0.60 / max 0.90 (zero rows ≥ 0.999);
399
398
  * measured effectiveStrength on the backfilled copy: p25 ≈ 0.296,
400
- * p50 ≈ 0.397, p75 ≈ 0.497, p86 ≈ 0.585, max ≈ 0.900. The stale 2026-09-13
399
+ * p50 ≈ 0.397, p75 ≈ 0.497, p86 ≈ 0.585, max ≈ 0.900. The stale
401
400
  * edges rendered that store as 58.5/37.2/4.2/0 — no Truth left. These
402
401
  * edges (0.20/0.30/0.58) re-derive the same ≈ 10/15/61/14 split intent
403
402
  * against the honest distribution and render 11.8/25.6/47.7/14.9 (the
404
403
  * scorer emits one-decimal scores, so the mass clusters at exact atoms —
405
- * 0.20/0.30/0.60 — and the 0.60 atom alone holds ~12% of the store; the
404
+ * 0.20/0.30/0.60 — and the 0.60 atom alone holds a large share of the store; the
406
405
  * truth edge therefore sits at 0.58, just under the atom, rather than on
407
406
  * the round number that would strand it). Evidence: the #425
408
407
  * post-backfill band-stats photo (backfilled copy, deriveStage math via
@@ -417,8 +416,8 @@ export declare const WEAK_PRIMARY_FLOOR = 0.45;
417
416
  export declare const STAGE_FADING_DAYS = 120;
418
417
  /**
419
418
  * Effective-strength ceiling of the living bands: below this the memory is
420
- * Fading (the measured weak cluster + the recency-gated rim, together ~12% of
421
- * the post-#425 store) even when recently touched.
419
+ * Fading (the measured weak cluster + the recency-gated rim, together a
420
+ * meaningful slice of the post-#425 store) even when recently touched.
422
421
  */
423
422
  export declare const STAGE_FADING_STRENGTH = 0.2;
424
423
  /** The Forming/Belief edge: [FADING, this) → forming, ≥ this → belief. */
@@ -440,11 +439,11 @@ export declare const ENRICH_STRENGTH_DELTA = 0.1;
440
439
  * Days of session history a FIRST nightly run discovers (the first-run
441
440
  * watermark is now − this many days, not the epoch).
442
441
  *
443
- * Owner ruling (2026-09-14, #436): full-history first-run ingestion is not
444
- * feasible — "if everybody signing up ingests their full history, we will
445
- * pay millions in tokens during the trial period before customers pay us
446
- * anything." Cloud needs a very short window; the local/installable version
447
- * uses the SAME default.
442
+ * Design ruling (#436): full-history first-run ingestion is not
443
+ * feasible — if everybody signing up ingests their full history, the
444
+ * service pays millions in tokens during the trial period before
445
+ * customers pay anything. Cloud needs a very short window; the
446
+ * local/installable version uses the SAME default.
448
447
  *
449
448
  * Unlike every other constant in this module, this one KEEPS a config
450
449
  * override (`firstRunLookbackDays`, read at the capture call sites): it
@@ -498,10 +497,10 @@ export declare function resolveOllamaFlushEvery(): number;
498
497
  export declare function resolveOllamaFlushWaitMs(): number;
499
498
  /**
500
499
  * Re-check interval (ms) while the drain's yield signal reports the LLM
501
- * endpoint busy (#529 owner ruling 05.10.2026: interactive use always
502
- * yields). The drain waits one interval between probe re-checks instead of
500
+ * endpoint busy (#529 ruling: interactive use always yields). The drain
501
+ * waits one interval between probe re-checks instead of
503
502
  * polling in a tight loop; 30 s is short enough that the run resumes within
504
- * half a minute of the owner going idle, long enough not to hammer the
503
+ * half a minute of interactive use ending, long enough not to hammer the
505
504
  * signal endpoint while a long interactive session runs.
506
505
  */
507
506
  export declare const DRAIN_YIELD_POLL_MS = 30000;
@@ -58,8 +58,8 @@ exports.DECAY_HALF_LIFE_DAYS = 365;
58
58
  */
59
59
  exports.PROMOTION_RATE = 0.033;
60
60
  /**
61
- * Lower bound on the promotion formula's S input (#453 review Minor finding,
62
- * owner decision 2026-09-16). base_strength 0.0 is a writable value (legacy
61
+ * Lower bound on the promotion formula's S input (#453 review Minor finding).
62
+ * base_strength 0.0 is a writable value (legacy
63
63
  * rows, operator edits), and S^(−0.3) has a zero-singularity: unfloored, one
64
64
  * access on a 0.0 row computed delta = 0.033 × (1 − 0/0.95) × 0^−0.3 =
65
65
  * Infinity, and the ceiling clamp turned that into a leap straight to 0.95.
@@ -77,17 +77,18 @@ exports.RECENT_LIMIT = 12;
77
77
  /** searchRecent() candidate window, days. #192. */
78
78
  exports.RECENT_WINDOW_DAYS = 180;
79
79
  /** Top-k slots reservable for never-accessed memories (cold exposure). #192:
80
- * recall was too passive (88% of memories never accessed) — the long tail
81
- * gets guaranteed slots instead of waiting for the strength clock. */
80
+ * recall was too passive (the large majority of memories went never
81
+ * accessed) — the long tail gets guaranteed slots instead of waiting for
82
+ * the strength clock. */
82
83
  exports.COLD_EXPOSURE_SLOTS = 2;
83
84
  /** Blend weight of the session-intent centroid in the recall search vector
84
85
  * (#192, 0.15.3): query = (1-w)·prompt + w·centroid. The kill-switch is the
85
86
  * configureSessionIntent(0) seam (eval-only); production always ships 0.33. */
86
87
  exports.SESSION_INTENT_WEIGHT = 0.33;
87
88
  /** Relevance-gate floor for vector-only /recall-index candidates. 0.62
88
- * (raised from 0.55 on 2026-08-03 per a 0.01-step floor sweep on the
89
- * rewritten corpus): steady ~3:1 noise:signal removal with no knee; sits
90
- * below the 0.63 local pessimum. FTS-matched candidates pass regardless. */
89
+ * (raised from 0.55 after a 0.01-step floor sweep): steady ~3:1
90
+ * noise:signal removal with no knee; sits below the 0.63 local pessimum.
91
+ * FTS-matched candidates pass regardless. */
91
92
  exports.RECALL_MIN_SIMILARITY = 0.62;
92
93
  /**
93
94
  * Cross-project recall fence bar (#566) — a memory from a DIFFERENT project
@@ -95,31 +96,30 @@ exports.RECALL_MIN_SIMILARITY = 0.62;
95
96
  * into recall/search results; same-project and no-scope candidates keep the
96
97
  * RECALL_MIN_SIMILARITY floor above, byte-identical.
97
98
  *
98
- * Measured 2026-10-28 on the #565 WS2 snapshot bar sweep: at 0.72 a
99
- * scope-conditional bar keeps ~18% of today's cross-project admissions
100
- * (projected multi-project cross-share ~29%, audit target ≤35%); a GLOBAL
101
- * 0.72 floor would kill 91% of same-project admissions, which is why the bar
102
- * is scope-conditional. Owner ruling 2026-10-28: 0.72 now, 0.75 (the stricter
103
- * option, keeps ~7.5%) one config edit away.
99
+ * Bar-sweep evidence (#565): a scope-conditional 0.72 bar trims most of
100
+ * today's cross-project admissions, while a GLOBAL 0.72 floor would kill the
101
+ * large majority of same-project admissions — which is why the bar is
102
+ * scope-conditional. 0.72 now; 0.75 (the stricter option) one config edit
103
+ * away.
104
104
  *
105
105
  * Unlike every other constant in the recall family, this one KEEPS a config
106
106
  * override (`recallCrossProjectMinSimilarity`, resolved once at server boot)
107
107
  * — the ONE deliberate #408 exception, on the DEFAULT_FIRST_RUN_LOOKBACK_DAYS
108
- * precedent: a posture dial the owner tunes per install, not corpus
108
+ * precedent: a posture dial the operator tunes per install, not corpus
109
109
  * calibration. 0 or any value ≤ the recall floor (0.62) disarms the fence
110
110
  * (today's scope-blind behavior).
111
111
  */
112
112
  exports.CROSS_PROJECT_MIN_SIMILARITY = 0.72;
113
- /** Max lines in the pushed recall index. 5 (lowered from 6 on 2026-08-03):
114
- * per-slot decomposition at floor 0.62 showed slot 6 gives NO prompt its
115
- * first relevant memory. The K-sweep is monotone toward 4, but the 4-vs-5
116
- * distinction rests on 5 of 98 prompts — 5 hedges with coverage. */
113
+ /** Max lines in the pushed recall index. 5 (lowered from 6): per-slot
114
+ * decomposition at floor 0.62 showed slot 6 gives NO prompt its first
115
+ * relevant memory. The K-sweep is monotone toward 4, but the 4-vs-5
116
+ * distinction rests on a handful of prompts — 5 hedges with coverage. */
117
117
  exports.RECALL_MAX_ITEMS = 5;
118
118
  /** Prompts shorter than this skip the recall index (continuations, "yes"). */
119
119
  exports.RECALL_MIN_PROMPT_CHARS = 20;
120
120
  /** Chars of a memory's first line shown in an index entry. 100 (reverted
121
- * from 150 on 2026-08-03): the full-corpus relevance eval found 100 vs 150
122
- * statistically identical (full CI overlap at N=40); 100 saves ~13% tokens. */
121
+ * from 150): the relevance eval found 100 vs 150 statistically identical
122
+ * (full CI overlap); 100 saves ~13% tokens. */
123
123
  exports.RECALL_TITLE_CHARS = 100;
124
124
  /** Slots of RECALL_MAX_ITEMS guaranteed to the pure-prompt (unblended)
125
125
  * search's top passing hit(s) — the #324 novelty floor. 2 mirrors
@@ -128,25 +128,23 @@ exports.NOVELTY_FLOOR_SLOTS = 2;
128
128
  /** Turns an already-shown memory stays suppressed in the same session before
129
129
  * it may reappear in the pushed index (#192 turn-based dedup). */
130
130
  exports.RECALL_RESHOW_TURNS = 30;
131
- // Recall-uses band (console) — PROVISIONAL zone edges. Owner anchor
132
- // 2026-09-13 (#426 final ruling): the console renders uses-per-showing on a
133
- // red→green→red band with three zones (Low / Normal / Overfetching; owner
134
- // confirmed "3 bands is fine"). The owner's calibration state is explicit —
135
- // "we have no clue on how to calibrate yet" — so these edges are provisional
136
- // anchors from #426's owner-anchor record, NOT measured boundaries; fleet
131
+ // Recall-uses band (console) — PROVISIONAL zone edges (#426): the console
132
+ // renders uses-per-showing on a red→green→red band with three zones (Low /
133
+ // Normal / Overfetching). There are no measured boundaries yet, so these
134
+ // edges are provisional anchors from #426, NOT calibrated thresholds; fleet
137
135
  // telemetry is expected to move them (the console marks the band
138
136
  // "provisional" and renders no edge numerics). They position zone boundaries
139
137
  // on the console's gradient and classify the marker's zone word; they gate
140
138
  // nothing server-side.
141
139
  /** uses_per_showing below this reads Low on the console band.
142
- * PROVISIONAL (owner anchor 2026-09-13, #426). */
140
+ * PROVISIONAL (#426). */
143
141
  exports.RECALL_USES_LOW_MAX = 0.05;
144
142
  /** uses_per_showing below this (and ≥ RECALL_USES_LOW_MAX) reads Normal.
145
- * PROVISIONAL (owner anchor 2026-09-13, #426). */
143
+ * PROVISIONAL (#426). */
146
144
  exports.RECALL_USES_NORMAL_MAX = 0.25;
147
145
  /** Display-axis maximum for the console band (the marker clamps here).
148
- * PROVISIONAL (owner anchor 2026-09-13, #426) — chosen so Overfetching
149
- * keeps a visible span, not a measured bound. */
146
+ * PROVISIONAL (#426) — chosen so Overfetching keeps a visible span, not a
147
+ * measured bound. */
150
148
  exports.RECALL_USES_AXIS_MAX = 0.30;
151
149
  // Memory-precision family (#476) — the console card's deterministic proxies.
152
150
  // All four are release-managed per this module's evolution contract: no config
@@ -180,10 +178,10 @@ exports.MEMORY_PRECISION_REDUNDANT_ABOVE = 0.8;
180
178
  */
181
179
  exports.MEMORY_PRECISION_DIVERGENCE_MIN_SHOWN = 5;
182
180
  /**
183
- * Cap on the prompt excerpt persisted per recall_pushes row (Option A,
184
- * owner-blessed 2026-09-19: the first-ever server-side persistence of raw
185
- * prompt text, bounded to 256 chars and pruned at the retention horizon —
186
- * the same trust boundary as /distill's denoised conversation text).
181
+ * Cap on the prompt excerpt persisted per recall_pushes row (Option A:
182
+ * the first-ever server-side persistence of raw prompt text, bounded to
183
+ * 256 chars and pruned at the retention horizon — the same trust boundary
184
+ * as /distill's denoised conversation text).
187
185
  */
188
186
  exports.MEMORY_PRECISION_PROMPT_EXCERPT_CHARS = 256;
189
187
  /**
@@ -243,7 +241,7 @@ exports.QUALITY_USEFUL_SCORE = 0.5;
243
241
  // store sweep that reuses the same gate.
244
242
  // ---------------------------------------------------------------------------
245
243
  /**
246
- * Kill-switch for the deterministic volatility gate (#489, owner decision 5):
244
+ * Kill-switch for the deterministic volatility gate (#489, decision 5):
247
245
  * false disables isVolatileStatusEntry's use in the distill path (entries
248
246
  * keep flowing as before) AND the sweep's candidacy rule — one release-managed
249
247
  * constant, no config knob (#408 discipline: moving it is a release decision,
@@ -280,9 +278,8 @@ exports.SCORE_CONNECTIONS_WEIGHT = 0.15;
280
278
  * the ABSOLUTE undirected-degree scale k — full at k = K, exactly +0 at
281
279
  * k = 0 (unlinked rows score bit-identically to the linear term they
282
280
  * replace). Provenance: p99 of the REAL undirected degree distribution
283
- * (read-only audit 2026-09-17 of the canonical wave snapshot, 18,798
284
- * memories / 14,600 linked: p50 = 4, p90 = 8, p95 = 9, p99 = 15, p99.9 =
285
- * 28.4, max = 40; 135 memories ≥ 16 links = 0.92% of linked) — so the top
281
+ * (read-only audit of a production snapshot: p50 = 4, p90 = 8, p95 = 9,
282
+ * p99 = 15, p99.9 = 28.4, max = 40) — so the top
286
283
  * ~1% of hubs tie at full credit and everything below differentiates
287
284
  * modestly. Shape grounded in the #449 research base: ACT-R fan saturation
288
285
  * (Anderson & Reder 1999 — activation falls with the LOG of fan), SAM's
@@ -343,7 +340,7 @@ exports.RRF_VECTOR_WEIGHT = 1.0;
343
340
  /**
344
341
  * Additive boost for candidates the TWO retrieval channels AGREE on
345
342
  * (vector KNN AND BM25 FTS both matched — computeScore option
346
- * `bothChannel`). #425 (owner decision D3, 2026-09-13): the two-channel
343
+ * `bothChannel`). #425 (decision D3): the two-channel
347
344
  * signal is the genuine-match signature and is immune to FTS-only token
348
345
  * collisions, which is why the boost lives in the composite score, not in
349
346
  * the RRF FTS weight (raising that re-opens the #205 cross-scope collision
@@ -352,19 +349,19 @@ exports.RRF_VECTOR_WEIGHT = 1.0;
352
349
  * shipped simWeight 0.50, 0.10 gives that property 2x headroom (a rival
353
350
  * needs >0.20 more similarity).
354
351
  *
355
- * SIZING (the #425 sweep, 2026-09-13, production snapshot copy: case-1
356
- * planted fixture + a 30-query real battery vs the boost-0 baseline): every
357
- * value in {0.05, 0.10, 0.15} passed the hard gates (exact-match rank-1,
358
- * no-match byte-stability, zero both-channel exact-match losses, the
359
- * Sirnäs flip) with IDENTICAL battery stability (96.7% top-1 ex-promotions
360
- * — every raw change was a both-channel exact match displacing a
361
- * single-channel row, the property firing); they differed only in case-1
362
- * margin (0.021 / 0.061 / 0.101) and per-id top-3 churn. 0.10 chosen:
363
- * 0.05's margin is within one embedder revision of flipping, 0.15 churns
364
- * more for no gate benefit. Weight rebalances measured WORSE (sim .55/str
365
- * .15 → 93.3%; sim .60/str .10 → 86.7%, fails the 90% gate) — the
366
- * SCORE_*_WEIGHT values stay as shipped. ZERO-boost neutral (never a
367
- * penalty): graph-only and single-channel candidates add nothing.
352
+ * SIZING (#425 sweep on a production snapshot copy: case-1 planted
353
+ * fixture + a real-query battery vs the boost-0 baseline): every value in
354
+ * {0.05, 0.10, 0.15} passed the hard gates (exact-match rank-1, no-match
355
+ * byte-stability, zero both-channel exact-match losses, the planted
356
+ * cross-scope flip) with IDENTICAL battery stability — every raw change
357
+ * was a both-channel exact match displacing a single-channel row, the
358
+ * property firing; they differed only in case-1 margin (0.021 / 0.061 /
359
+ * 0.101) and per-id top-3 churn. 0.10 chosen: 0.05's margin is within one
360
+ * embedder revision of flipping, 0.15 churns more for no gate benefit.
361
+ * Weight rebalances measured WORSE (both swept alternatives failed the
362
+ * battery's stability gate) — the SCORE_*_WEIGHT values stay as shipped.
363
+ * ZERO-boost neutral (never a penalty): graph-only and single-channel
364
+ * candidates add nothing.
368
365
  */
369
366
  exports.BOTH_CHANNEL_BOOST = 0.10;
370
367
  // ---------------------------------------------------------------------------
@@ -381,11 +378,11 @@ exports.BM25_WEIGHT_DOMAIN = 2.0;
381
378
  // correctionRewriteMinConfidence, weakPrimaryFloor)
382
379
  // ---------------------------------------------------------------------------
383
380
  /**
384
- * Write cap on base_strength / importance (#425, owner decision D2
385
- * 2026-09-13: cap 0.95). The decay model's rate is `1 − BASE_DECAY·(1 −
381
+ * Write cap on base_strength / importance (#425, decision D2: cap 0.95).
382
+ * The decay model's rate is `1 − BASE_DECAY·(1 −
386
383
  * importance)` — at importance exactly 1.0 the rate is exactly 1.0 and the
387
- * row NEVER decays (measured on the production snapshot: ~14% of live rows
388
- * pegged at ≥0.999, 1838/17399 at exactly 1.0). The cap kills the
384
+ * row NEVER decays (measured on a production snapshot: a meaningful share
385
+ * of live rows pegged at ≥0.999, many at exactly 1.0). The cap kills the
389
386
  * immortality cliff at every write site (stageImportance, enrich, hub
390
387
  * boost) while keeping a multi-year half-life for the top band (0.95 →
391
388
  * ~13 years). effectiveStrength ALSO clamps the read side, so legacy
@@ -407,12 +404,12 @@ exports.IMPORTANCE_SETTLE_WINDOW_DAYS = 3;
407
404
  /** Deterministic merge ceiling of the unified resolution pass (#392): pairs
408
405
  * at/above this cosine merge LLM-free; [CORRECTION_MIN_SIMILARITY, this)
409
406
  * get the one verdict call. 0.92 — measured on the #191 mechanical audit
410
- * corpus (89 clusters / 110 excess rows; data/audit-20260729). */
407
+ * corpus. */
411
408
  exports.DEDUP_AUTO_MERGE_THRESHOLD = 0.92;
412
409
  /** Minimum cosine for a reconsolidation correction pair (#384). Deliberately
413
410
  * wide: a retraction often rides inside an otherwise unrelated memory; the
414
411
  * verdict + confidence gate carry the precision. (The retired Stage 3.7
415
- * supersession scan's 0.80 floor — #206-B, owner decision 6 — is subsumed:
412
+ * supersession scan's 0.80 floor — #206-B, decision 6 — is subsumed:
416
413
  * 3.8 scans all shapes from this wider floor.) */
417
414
  exports.CORRECTION_MIN_SIMILARITY = 0.75;
418
415
  /** Minimum verdict confidence for the REWRITE (and #392 merge-apply) fork
@@ -420,18 +417,18 @@ exports.CORRECTION_MIN_SIMILARITY = 0.75;
420
417
  * recoverable, a weak rewrite is corruption. */
421
418
  exports.CORRECTION_REWRITE_MIN_CONFIDENCE = 0.80;
422
419
  /** Minimum cosine(memory embedding, best domain prototype) for a no-fit
423
- * memory to earn a WEAK primary instead of decaying (owner amendment
424
- * 07.07). Starting point for bge-small-en-v1.5. */
420
+ * memory to earn a WEAK primary instead of decaying (spec 2026-07-07
421
+ * amendment). Starting point for bge-small-en-v1.5. */
425
422
  exports.WEAK_PRIMARY_FLOOR = 0.45;
426
423
  // ---------------------------------------------------------------------------
427
424
  // Console presentation family (#409/#421) — stage thresholds for the
428
425
  // /dashboard console. The STAGE BANDS are calibrated per release against the
429
- // MEASURED distribution (2026-09-13 against the inflated store; this release
426
+ // MEASURED distribution (first against the inflated store; this release
430
427
  // re-derived against the post-#425 backfilled store — see the block JSDoc
431
428
  // immediately below). The recall-grade zones that used to
432
- // live here are REMOVED per the owner semantics ruling 2026-09-13 (#426):
433
- // recall depends only on the conversation — "if the index is good enough for
434
- // the context needed, it does not have to be fetched" — so a graded
429
+ // live here are REMOVED per the #426 semantics ruling:
430
+ // recall depends only on the conversation — if the index is good enough for
431
+ // the context needed, it does not have to be fetched — so a graded
435
432
  // Low/Medium/Good/Excellent scale is the wrong instrument (higher is not a
436
433
  // target that exists). The console shows the raw uses-per-showing ratio + a
437
434
  // trend; the reference expectations for reading that number live on #426,
@@ -442,22 +439,22 @@ exports.WEAK_PRIMARY_FLOOR = 0.45;
442
439
  /**
443
440
  * Console stage bands (#409/#421) — TWO #408-contract calibrations:
444
441
  *
445
- * (1) 2026-09-13 (PR #424 fix round) against the INFLATED distribution:
442
+ * (1) The #424 fix round, against the INFLATED distribution:
446
443
  * effectiveStrength p25 = 0.599, p50 = 0.788, p86 = 0.900, ~14%
447
444
  * saturated at exactly 1.000 → edges 0.40/0.60/0.90 targeting a rendered
448
445
  * split ≈ 10/15/61/14 (fading/forming/belief/truth).
449
446
  *
450
447
  * (2) This release (#425) against the POST-FIX distribution: the importance
451
448
  * recalibration (re-anchored prompt + 0.95 cap) plus the
452
- * rescore-importance backfill re-spread the same 17,399-row store to
449
+ * rescore-importance backfill re-spread the store to
453
450
  * base_strength median 0.40 / p90 0.60 / max 0.90 (zero rows ≥ 0.999);
454
451
  * measured effectiveStrength on the backfilled copy: p25 ≈ 0.296,
455
- * p50 ≈ 0.397, p75 ≈ 0.497, p86 ≈ 0.585, max ≈ 0.900. The stale 2026-09-13
452
+ * p50 ≈ 0.397, p75 ≈ 0.497, p86 ≈ 0.585, max ≈ 0.900. The stale
456
453
  * edges rendered that store as 58.5/37.2/4.2/0 — no Truth left. These
457
454
  * edges (0.20/0.30/0.58) re-derive the same ≈ 10/15/61/14 split intent
458
455
  * against the honest distribution and render 11.8/25.6/47.7/14.9 (the
459
456
  * scorer emits one-decimal scores, so the mass clusters at exact atoms —
460
- * 0.20/0.30/0.60 — and the 0.60 atom alone holds ~12% of the store; the
457
+ * 0.20/0.30/0.60 — and the 0.60 atom alone holds a large share of the store; the
461
458
  * truth edge therefore sits at 0.58, just under the atom, rather than on
462
459
  * the round number that would strand it). Evidence: the #425
463
460
  * post-backfill band-stats photo (backfilled copy, deriveStage math via
@@ -472,8 +469,8 @@ exports.WEAK_PRIMARY_FLOOR = 0.45;
472
469
  exports.STAGE_FADING_DAYS = 120;
473
470
  /**
474
471
  * Effective-strength ceiling of the living bands: below this the memory is
475
- * Fading (the measured weak cluster + the recency-gated rim, together ~12% of
476
- * the post-#425 store) even when recently touched.
472
+ * Fading (the measured weak cluster + the recency-gated rim, together a
473
+ * meaningful slice of the post-#425 store) even when recently touched.
477
474
  */
478
475
  exports.STAGE_FADING_STRENGTH = 0.20;
479
476
  /** The Forming/Belief edge: [FADING, this) → forming, ≥ this → belief. */
@@ -498,11 +495,11 @@ exports.ENRICH_STRENGTH_DELTA = 0.10;
498
495
  * Days of session history a FIRST nightly run discovers (the first-run
499
496
  * watermark is now − this many days, not the epoch).
500
497
  *
501
- * Owner ruling (2026-09-14, #436): full-history first-run ingestion is not
502
- * feasible — "if everybody signing up ingests their full history, we will
503
- * pay millions in tokens during the trial period before customers pay us
504
- * anything." Cloud needs a very short window; the local/installable version
505
- * uses the SAME default.
498
+ * Design ruling (#436): full-history first-run ingestion is not
499
+ * feasible — if everybody signing up ingests their full history, the
500
+ * service pays millions in tokens during the trial period before
501
+ * customers pay anything. Cloud needs a very short window; the
502
+ * local/installable version uses the SAME default.
506
503
  *
507
504
  * Unlike every other constant in this module, this one KEEPS a config
508
505
  * override (`firstRunLookbackDays`, read at the capture call sites): it
@@ -594,10 +591,10 @@ function resolveOllamaFlushWaitMs() {
594
591
  // ---------------------------------------------------------------------------
595
592
  /**
596
593
  * Re-check interval (ms) while the drain's yield signal reports the LLM
597
- * endpoint busy (#529 owner ruling 05.10.2026: interactive use always
598
- * yields). The drain waits one interval between probe re-checks instead of
594
+ * endpoint busy (#529 ruling: interactive use always yields). The drain
595
+ * waits one interval between probe re-checks instead of
599
596
  * polling in a tight loop; 30 s is short enough that the run resumes within
600
- * half a minute of the owner going idle, long enough not to hammer the
597
+ * half a minute of interactive use ending, long enough not to hammer the
601
598
  * signal endpoint while a long interactive session runs.
602
599
  */
603
600
  exports.DRAIN_YIELD_POLL_MS = 30_000;
@@ -18,7 +18,7 @@
18
18
  * agent (posts / sessions / bytes / held / retried), bytes DESC.
19
19
  *
20
20
  * - readCaptureHealthWindow(db) — the same grouping over the ROLLING
21
- * capture window (#409 fix round 7, owner ruling 2026-09-14: the card
21
+ * capture window (#409 fix round 7: the card
22
22
  * shows the normal 30 days like the band's other cards). The newest
23
23
  * night's rows stay on the payload too (secondary info: the card's
24
24
  * "tonight" suffix); the window sums are the card's face.
@@ -75,7 +75,7 @@ export interface CaptureHealth {
75
75
  }
76
76
  /** The rolling capture window the console's card shows, in days — ALSO the
77
77
  * retention horizon for distill_activity (the recorder prunes past it).
78
- * Owner ruling 2026-09-14: the capture card shows the normal 30 day like
78
+ * #409 fix round 7: the capture card shows the normal 30 day like
79
79
  * the band's other cards, so the store must retain enough nights to sum
80
80
  * one. ONE constant feeds both the window aggregate and the prune: the card
81
81
  * can never claim a window the store no longer has rows for. */