@skill-map/cli 0.20.1 → 0.22.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.
- package/dist/cli/tutorial/sm-tutorial.md +93 -14
- package/dist/cli.js +7660 -6354
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1244 -1065
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +300 -194
- package/dist/kernel/index.js +1244 -1065
- package/dist/kernel/index.js.map +1 -1
- package/dist/migrations/001_initial.sql +13 -0
- package/dist/ui/chunk-25AWRVIC.js +965 -0
- package/dist/ui/chunk-GETTEQ3S.js +123 -0
- package/dist/ui/{chunk-4NLC7QD2.js → chunk-GXRWH2VL.js} +1 -1
- package/dist/ui/chunk-HC6PNQMW.js +251 -0
- package/dist/ui/chunk-HJHWJTFH.js +1 -0
- package/dist/ui/chunk-MF2M6GYF.js +1 -0
- package/dist/ui/{chunk-EZZF5RL5.js → chunk-MPMBTIUR.js} +2 -2
- package/dist/ui/{chunk-6GUHSAP5.js → chunk-OPPQMCMQ.js} +1 -1
- package/dist/ui/chunk-V3SZQETX.js +61 -0
- package/dist/ui/{chunk-E4ALROJS.js → chunk-VVOEPDQD.js} +1 -1
- package/dist/ui/{chunk-6BZZQV42.js → chunk-W2EFGI3J.js} +1 -1
- package/dist/ui/index.html +2 -10
- package/dist/ui/main-Q2WC254P.js +2 -0
- package/dist/ui/media/fa-brands-400-AHOAZHCU.woff2 +0 -0
- package/dist/ui/media/fa-regular-400-VRZYIBIZ.woff2 +0 -0
- package/dist/ui/media/fa-solid-900-MDEYK55F.woff2 +0 -0
- package/dist/ui/media/fa-v4compatibility-ETEVP6IB.woff2 +0 -0
- package/dist/ui/styles-M2FETVAG.css +1 -0
- package/migrations/001_initial.sql +13 -0
- package/package.json +6 -5
- package/dist/ui/chunk-FWX4RRDF.js +0 -125
- package/dist/ui/chunk-GGMXMGRJ.js +0 -1
- package/dist/ui/chunk-K5PULFK7.js +0 -1
- package/dist/ui/chunk-OJ6W6OIB.js +0 -61
- package/dist/ui/chunk-PTCD42GB.js +0 -247
- package/dist/ui/chunk-ZSRIBCAW.js +0 -965
- package/dist/ui/main-5FJWWH5I.js +0 -1
- package/dist/ui/styles-VJ5Q6D2X.css +0 -1
|
@@ -267,11 +267,24 @@ CREATE TABLE scan_meta (
|
|
|
267
267
|
-- requiring a full cache invalidation. Replace-all on every persist:
|
|
268
268
|
-- obsolete rows (extractor uninstalled since the last scan) disappear
|
|
269
269
|
-- automatically and cannot mask a stale cache hit.
|
|
270
|
+
--
|
|
271
|
+
-- `sidecar_annotations_hash_at_run` participates in the cache key
|
|
272
|
+
-- alongside `body_hash_at_run`. Without it the cache silently reused
|
|
273
|
+
-- prior contributions after a `.sm`-only edit (`core/stability`,
|
|
274
|
+
-- `core/annotations`, any other sidecar-reading extractor). The column
|
|
275
|
+
-- is NOT NULL — every emitter writes the SHA-256 of the canonical-form
|
|
276
|
+
-- `node.sidecar.annotations` (`'{}'` when the sidecar is absent or
|
|
277
|
+
-- carries no annotations). The cache decision consults the hash
|
|
278
|
+
-- unconditionally; an author-facing opt-in flag was rejected because
|
|
279
|
+
-- forgetting it produces silent stale-data bugs and the cost of
|
|
280
|
+
-- universal invalidation (one extractor re-run on `.sm` edits) is
|
|
281
|
+
-- negligible.
|
|
270
282
|
|
|
271
283
|
CREATE TABLE scan_extractor_runs (
|
|
272
284
|
node_path TEXT NOT NULL,
|
|
273
285
|
extractor_id TEXT NOT NULL,
|
|
274
286
|
body_hash_at_run TEXT NOT NULL,
|
|
287
|
+
sidecar_annotations_hash_at_run TEXT NOT NULL,
|
|
275
288
|
ran_at INTEGER NOT NULL,
|
|
276
289
|
PRIMARY KEY (node_path, extractor_id)
|
|
277
290
|
);
|