instar 1.3.1111 → 1.3.1112
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/dist/core/PostUpdateMigrator.js +1 -1
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/core/cartographerDetect.d.ts +7 -1
- package/dist/core/cartographerDetect.d.ts.map +1 -1
- package/dist/core/cartographerDetect.js +73 -2
- package/dist/core/cartographerDetect.js.map +1 -1
- package/dist/data/standards-guard-index.json +1 -1
- package/dist/data/standards-guard-index.meta.json +2 -2
- package/dist/data/standards-registry.meta.json +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +4 -1
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +63 -63
- package/src/data/standards-guard-index.json +1 -1
- package/src/data/standards-guard-index.meta.json +2 -2
- package/src/data/standards-registry.meta.json +1 -1
- package/upgrades/1.3.1112.md +25 -0
- package/upgrades/side-effects/cartographer-non-git-structural-snapshot.md +84 -0
|
@@ -6066,7 +6066,7 @@ setTimeout(() => process.exit(0), 2000);
|
|
|
6066
6066
|
// snapshot; freshnessSweep.framework is the supported off-Claude routing knob.
|
|
6067
6067
|
// Keyed on its OWN marker so it is idempotent and independent of the blocks above.
|
|
6068
6068
|
if (!content.includes('serves a cached snapshot')) {
|
|
6069
|
-
content += `\n### Cartographer event-loop safety (fix instar#1069)\n\nThe cartographer never runs a whole-tree walk on the server's event loop: zero-cost boot population and the freshness sweep's "what's stale?" detect run outside request handling, and every \`/cartographer/*\` read route **serves a cached snapshot** instead of recomputing live.\n- \`GET /cartographer/health\` + \`GET /cartographer/stale\` carry \`snapshot\` (\`present\`/\`absent\`/\`detect-failing\`), \`generatedAt\`, \`headSha\`, \`snapshotStale\`, and \`lastDetectStatus\`. \`absent\` means boot population has not completed — not a fabricated empty/fresh tree. \`/stale\` is a bounded sample with a \`total\` + \`truncated\` flag.\n- The off-Claude model is selected by \`cartographer.freshnessSweep.framework\` (default \`codex-cli\`) — a manual \`sessions.componentFrameworks\` override is no longer required. The boot log line \`Cartographer sweep routing: <fw> (source: …)\` shows what resolved.\n- Rollback knob: \`cartographer.freshnessSweep.detectInWorker: false\` runs the SAME bounded sweep detect synchronously (still never the old full walk).\n`;
|
|
6069
|
+
content += `\n### Cartographer event-loop safety (fix instar#1069)\n\nThe cartographer never runs a whole-tree walk on the server's event loop: zero-cost boot population and the freshness sweep's "what's stale?" detect run outside request handling, and every \`/cartographer/*\` read route **serves a cached snapshot** instead of recomputing live.\n- \`GET /cartographer/health\` + \`GET /cartographer/stale\` carry \`snapshot\` (\`present\`/\`absent\`/\`detect-failing\`), \`generatedAt\`, \`headSha\`, \`snapshotStale\`, and \`lastDetectStatus\`. \`absent\` means boot population has not completed — not a fabricated empty/fresh tree. A filesystem root without a Git HEAD publishes a usable \`present\` snapshot with \`lastDetectStatus: structural-only\`, the real hierarchy count, and \`freshRatio: null\`; the paid authoring sweep still refuses without Git. \`/stale\` is a bounded sample with a \`total\` + \`truncated\` flag.\n- The off-Claude model is selected by \`cartographer.freshnessSweep.framework\` (default \`codex-cli\`) — a manual \`sessions.componentFrameworks\` override is no longer required. The boot log line \`Cartographer sweep routing: <fw> (source: …)\` shows what resolved.\n- Rollback knob: \`cartographer.freshnessSweep.detectInWorker: false\` runs the SAME bounded sweep detect synchronously (still never the old full walk).\n`;
|
|
6070
6070
|
patched = true;
|
|
6071
6071
|
result.upgraded.push('CLAUDE.md: added Cartographer event-loop-safety section');
|
|
6072
6072
|
}
|