@massu/core 2.2.0 → 2.3.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/cli.js +251 -251
  3. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -10,6 +10,53 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
10
10
  > redistributed under the **Apache License 2.0**. Full license + NOTICE:
11
11
  > `packages/core/assets/embedder/MODEL-LICENSE`.
12
12
 
13
+ ## [2.3.1] - 2026-07-23
14
+
15
+ ### Fixed
16
+
17
+ - **Anti-vacuity verification repairs — seven registered gates were listed as proven-can-fail
18
+ while exercising nothing.** A full DEFEAT sweep (the first to run to completion in some time)
19
+ found seven `gate-registry.json` plants whose patterns no longer matched their target source, so
20
+ the "planted defect" mutated nothing and the guarded test stayed green under it. Causes were
21
+ benign source edits the plants were never updated for: a retuned timeout constant, an engines
22
+ floor bump, an import gaining a symbol, a check being renamed, and a version pinned as a literal
23
+ (which rots every release by design). All seven re-derived as rot-proof patterns (character
24
+ classes, `\d` groups, `\g<0>` back-references) and individually DEFEAT-proven.
25
+ - **New `gate-plant-liveness-drift-guard`** asserts every plant pattern still matches its target,
26
+ so this rot fails in `npm test` in ~23ms instead of an hour into CI — and only against
27
+ git-tracked targets, since build artifacts are legitimately absent on a fresh checkout.
28
+ - **`.git/hooks/pre-push` now runs the 22-gate battery.** It was previously manual: `.git/hooks/`
29
+ held only `*.sample`, so nothing invoked `scripts/pre-push-light.sh` on `git push` and gate
30
+ `[20/22] Incident Coverage` (CR-62) never ran. Incident:
31
+ `docs/incidents/2026-07-23-unenforced-pre-push-gates-and-guard-validated-against-local-state.md`.
32
+
33
+ No runtime behaviour of `@massu/core` changes in this release; it is verification-infrastructure
34
+ only. Published because CR-64 forbids commits sitting on top of a published, tagged release.
35
+
36
+ ## [2.3.0] - 2026-07-23
37
+
38
+ ### Fixed
39
+
40
+ - **Corrected the `node:sqlite` Node floor `22.13.0 → 22.16.0` — the true version where the
41
+ built-in engine gains FTS5 AND `DatabaseSync.isTransaction`.** `2.0.0` (CR-69) made Node's
42
+ built-in `node:sqlite` the default DB engine and set the floor to `>=22.13.0` on the belief
43
+ that FTS5 was available there. It is not: `node:sqlite` is flag-free from 22.13.0, but Node
44
+ enabled the `SQLITE_ENABLE_FTS5` compile flag **and** added `DatabaseSync.prototype.isTransaction`
45
+ in the **same release, 22.16.0** (22.15.1 has neither; identical bundled SQLite 3.49.1 — a Node
46
+ build-config change). Below 22.16 the memory DB's `observations_fts` virtual table cannot be
47
+ created (`no such module: fts5`) and the nested-savepoint adapter throws `cannot start a
48
+ transaction within a transaction`. **Installs on Node 22.13–22.15 never had a working default DB
49
+ engine.** This release raises `engines.node` to `>=22.16.0` in `@massu/core` and both adapters
50
+ (`@massu/adapter-rails` / `@massu/adapter-spring` → `1.1.0`, CR-71 coherence), moves every CI pin
51
+ to the true floor (`22.16.0`, tested AT the real floor — not latest-22.x), and adds a real
52
+ can-fail capability drift-guard (`node-sqlite-capability-floor.test.ts`) that exercises FTS5 +
53
+ `isTransaction` at the pinned floor Node so a future floor drop fails loudly. Also repairs 6
54
+ `windows-latest`-only node-bootstrap test-fixtures from the 2.2.0 work (glob-separator,
55
+ none-found isolation, remedy-regex, re-exec stdin fidelity). Semver: MINOR (a floor *correction*
56
+ — no working support in 22.13–22.15 is removed). Incident:
57
+ `docs/incidents/2026-07-23-node-sqlite-fts5-floor-wrong.md`.
58
+ (plan-2026-07-23-node-sqlite-fts5-floor-correction)
59
+
13
60
  ## [2.2.0] - 2026-07-22
14
61
 
15
62
  ### Added