pi-mega-compact 0.20.61 → 0.20.62

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 (44) hide show
  1. package/dist/extensions/dashboard-server/routes-rag-settings-vector-cortex.js +2 -0
  2. package/dist/extensions/mega-events/context-handler/afterCompact.js +1 -0
  3. package/dist/src/cache-stripe-impl.js +2 -0
  4. package/dist/src/cache-stripe-score.js +2 -0
  5. package/dist/src/embedder.js +1 -0
  6. package/dist/src/vector-cortex/encoder/calibrate.js +2 -0
  7. package/dist/src/vector-cortex/encoder/heads.js +2 -0
  8. package/dist/src/vector-cortex/encoder/runtime-stub.js +2 -0
  9. package/dist/src/vector-cortex/encoder/runtime.js +2 -1
  10. package/dist/src/vector-cortex/platform/_cross-language-fixture.js +4 -1
  11. package/dist/src/vector-cortex/prompt-dag/_acceptance-shuffle.js +2 -0
  12. package/dist/src/vector-cortex/reconstruct/_acceptance-graphs.js +188 -0
  13. package/dist/src/vector-cortex/reconstruct/_acceptance-helpers.js +12 -187
  14. package/dist/src/vector-cortex/reconstruct/validate.js +11 -4
  15. package/dist/src/vector-cortex/residual/fixture-payload.js +2 -0
  16. package/dist/src/vector-cortex/setup-cortex-blockers-compute.js +26 -6
  17. package/dist/vector-cortex/encoder/calibrate.js +2 -0
  18. package/dist/vector-cortex/encoder/heads.js +2 -0
  19. package/dist/vector-cortex/encoder/runtime-stub.js +2 -0
  20. package/dist/vector-cortex/encoder/runtime.js +2 -1
  21. package/dist/vector-cortex/platform/_cross-language-fixture.js +4 -1
  22. package/dist/vector-cortex/prompt-dag/_acceptance-shuffle.js +2 -0
  23. package/dist/vector-cortex/reconstruct/_acceptance-graphs.js +188 -0
  24. package/dist/vector-cortex/reconstruct/_acceptance-helpers.js +12 -187
  25. package/dist/vector-cortex/reconstruct/validate.js +11 -4
  26. package/dist/vector-cortex/residual/fixture-payload.js +2 -0
  27. package/dist/vector-cortex/setup-cortex-blockers-compute.js +26 -6
  28. package/extensions/dashboard-server/routes-rag-settings-vector-cortex.ts +2 -0
  29. package/extensions/mega-events/context-handler/afterCompact.ts +1 -0
  30. package/package.json +2 -2
  31. package/src/cache-stripe-impl.ts +2 -0
  32. package/src/cache-stripe-score.ts +2 -0
  33. package/src/embedder.ts +1 -0
  34. package/src/vector-cortex/encoder/calibrate.ts +2 -0
  35. package/src/vector-cortex/encoder/heads.ts +2 -0
  36. package/src/vector-cortex/encoder/runtime-stub.ts +2 -0
  37. package/src/vector-cortex/encoder/runtime.ts +2 -1
  38. package/src/vector-cortex/platform/_cross-language-fixture.ts +4 -1
  39. package/src/vector-cortex/prompt-dag/_acceptance-shuffle.ts +2 -0
  40. package/src/vector-cortex/reconstruct/_acceptance-graphs.ts +194 -0
  41. package/src/vector-cortex/reconstruct/_acceptance-helpers.ts +14 -197
  42. package/src/vector-cortex/reconstruct/validate.ts +12 -4
  43. package/src/vector-cortex/residual/fixture-payload.ts +2 -0
  44. package/src/vector-cortex/setup-cortex-blockers-compute.ts +28 -6
@@ -68,11 +68,13 @@ export interface SetupCortexBlockerV1 {
68
68
  }
69
69
 
70
70
  /**
71
- * The four blockers VC9A reports. Enumerates the vc2-model-prep §6 items that
72
- * remain per the 2026-08-05 research. The opset re-export blocker (formerly
73
- * §6 #2) is NOT listed: onnx-community exports are opset 21, so it is removed.
74
- * This is the canonical BASE (all `status:"open"`); `computeSetupCortexBlockers`
75
- * derives the live list from it. Flag-off consumes this array verbatim.
71
+ * The six blockers VC9A reports. Enumerates the vc2-model-prep §6 items that
72
+ * remain per the 2026-08-05 research (HG-6/HG-7 registered by CONFORM-HYGIENE
73
+ * as the two manifest items that lacked HG ids). The opset re-export blocker
74
+ * (formerly §6 #2) is NOT listed: onnx-community exports are opset 21, so it is
75
+ * removed. This is the canonical BASE (all `status:"open"`);
76
+ * `computeSetupCortexBlockers` derives the live list from it. Flag-off consumes
77
+ * this array verbatim.
76
78
  */
77
79
  export const SETUP_CORTEX_BLOCKERS: readonly SetupCortexBlockerV1[] = [
78
80
  {
@@ -108,6 +110,22 @@ export const SETUP_CORTEX_BLOCKERS: readonly SetupCortexBlockerV1[] = [
108
110
  resolution:
109
111
  "149.2 MiB vs 150 MiB cap with run-to-run variance 119-149 MiB; considers capping mode A at 384 tokens or using the marginal-footprint accounting runtime.ts already implements.",
110
112
  },
113
+ {
114
+ id: "HG-6",
115
+ title: "4 threads mandatory for 512-token p95",
116
+ severity: "medium",
117
+ status: "open",
118
+ resolution:
119
+ "per vc2-model-prep §6 row 6: 2 threads → 44.3 ms (fails); low-core platforms may not qualify for mode A.",
120
+ },
121
+ {
122
+ id: "HG-7",
123
+ title: "Model card / dataset manifest / calibration",
124
+ severity: "blocker",
125
+ status: "open",
126
+ resolution:
127
+ "per vc2-model-prep §6 row 7: `model-card.json` comparison, `training/vector-cortex/dataset-manifest.json`, and frozen VC2C calibration thresholds all still required by spec.",
128
+ },
111
129
  ];
112
130
 
113
131
  /** Look up one blocker by id; undefined when unknown (defensive). */
@@ -192,7 +210,11 @@ export type SetupCortexActionKind = "fetch-model" | "bench" | "verify-asset";
192
210
  */
193
211
  const ACTION_GATE_CANDIDATES: Readonly<Record<SetupCortexActionKind, readonly string[]>> = {
194
212
  "fetch-model": ["HG-1", "HG-3"],
195
- bench: ["HG-1", "HG-3"],
213
+ // HG-6 (4-threads-mandatory) is a bench-time gate; it is declared as a bench
214
+ // candidate but is medium severity, so `setupCortexActionBlockers` (which only
215
+ // surfaces blocker-severity open ids) never returns it — inert intent, no
216
+ // behavior change. HG-7 is training work (no action in this set).
217
+ bench: ["HG-1", "HG-3", "HG-6"],
196
218
  "verify-asset": [],
197
219
  };
198
220