@holmes-lab/holmes-kit 0.3.2 โ†’ 0.3.3

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/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+ <!-- @implements A-SPEC-209 -->
8
+ ## [0.3.3] - 2026-08-31
9
+
10
+ Docs-only: the README the npm page shows catches up with 0.3.x.
11
+
12
+ ### Changed
13
+
14
+ - README rewritten to 0.3.x: the 3-tier semantic layer (consent ladder + measured recalls), the
15
+ graded impact surface and its pre-registered baselines, the measured-not-claimed grading against
16
+ the modeled-human band (independent blind-judge P 0.727 = 81% of the band), approval-dialog
17
+ expiry visibility, the corrected Codex wiring path (`.codex/config.toml`), the Windows row
18
+ corrected from a CI claim to the 2026-08-31 field validation, a zero-install `npx` one-shot row,
19
+ and the stale-global-shim shadowing warning (field-measured dual global roots on Windows).
20
+ No code changes.
21
+
7
22
  <!-- @implements A-SPEC-209 -->
8
23
  ## [0.3.2] - 2026-08-31
9
24
 
package/README.md CHANGED
@@ -14,11 +14,15 @@
14
14
 
15
15
  ---
16
16
 
17
- ### ๐Ÿ›ก๏ธ Currently Supported Features (v0.1.x Production Features)
17
+ ### ๐Ÿ›ก๏ธ Currently Supported Features (v0.3.x Production Features)
18
18
 
19
19
  - ๐Ÿ“‹ **Requirements & Specification Governance**: Strict **"No Spec, No Code"** enforcement with 4-tier spec chain traceability (`REQ โž” H-SPEC โž” A-SPEC โž” T-SPEC`) and `// @implements A-SPEC-XXX` line 1 code anchors.
20
+ - ๐Ÿง  **3-Tier Semantic Layer** *(new in 0.3.0)*: knowledge-graph semantic search with an explicit consent ladder โ€” `none` (default, **zero egress**), `local` (bge-m3, no egress, optional module), `cloud` (gemini-embedding-001, opt-in via `GEMINI_API_KEY`). Measured on 305 traceability cases: recall 0.486 (lexical) โ†’ 0.667 (local) โ†’ **0.887 (cloud)**; on lexical-zero requests: 0% โ†’ 52% โ†’ **92%**. Surfaced only additively โ€” rerank, evidence (`semCos`), and `semanticAlternates` โ€” never as a hard filter.
21
+ - ๐ŸŽฏ **Graded Impact Surface** *(new in 0.3.0)*: `rankedImpact` (personalized-PageRank over the spec/code graph) beat its pre-registered naive baseline on **both recall and precision across 3 corpora (ร—1.6โ€“ร—17)** โ€” the necessary condition for any better-than-a-person phrasing, measured before claimed.
20
22
  - ๐Ÿž **Causal Defect Localization & CPG**: AST Code Property Graph (CPG) & Dataflow Taint reachability analysis across 7 languages (TS/JS, Python, Go, Rust, Java, C/C++, C#).
21
- - ๐Ÿงช **Self-Healing & Diagnostic Doctor**: Automated integrity checks and self-healing auto-fix remediation (`holmes-kit doctor --fix` & `spec_remediate`).
23
+ - ๐Ÿ“ **Measured, Not Claimed** *(new in 0.3.x)*: performance is judged against a pre-registered modeled-human band (R 0.67โ€“0.78 / P โ‰ˆ0.9ยฑ). Current official grade: **band entry on recall; division-of-labor precision 0.727 = 81% of the modeled human โ€” reproduced by an independent context-free judge on a fresh blind window.** No superhuman claims until both metrics exceed the band.
24
+ - ๐Ÿงช **Self-Healing & Diagnostic Doctor**: Automated integrity checks and self-healing auto-fix remediation (`holmes-kit doctor --fix` & `spec_remediate`) โ€” wiring-handshake checks run on Windows natively as of 0.3.2.
25
+ - ๐Ÿ”” **Approval UX** *(new in 0.3.1)*: in-session approval dialogs forewarn their 120s deadline and, on expiry, the refusal says exactly where the decision went (`npx holmes-kit approve` out-of-band queue) โ€” no more silently dead dialogs.
22
26
  - ๐Ÿšฆ **CI/CD Governance Gate Runner**: Non-interactive headless CI/CD build gate (`holmes-kit ci`) for GitHub Actions and GitLab CI pipelines.
23
27
  - ๐Ÿ“Š **Automated RTM & Taint Heatmap**: Interactive standalone HTML/SVG report generation (`generateRtmHeatmap`) for spec coverage and security dataflow reachability.
24
28
  - ๐Ÿค– **CLI-First AI Harness Matrix**: Native process hook gating for Claude Code, Antigravity CLI (AGY), Codex CLI, and Google Antigravity SDK.
@@ -42,7 +46,7 @@ Holmes-Kit prioritizes **CLI-based AI Coding Agents** where OS-level process hoo
42
46
  | :--- | :--- | :--- |
43
47
  | ๐Ÿค– **Claude Code CLI** | ๐Ÿฅ‡ Tier 1 (Native) | OS PreToolUse & Stop hooks (`.claude/settings.local.json`), MCP server (`.mcp.json`) |
44
48
  | ๐Ÿš€ **Antigravity CLI (AGY)** | ๐Ÿฅ‡ Tier 1 (Native) | AGY Hooks (`hooks.json`), MCP config (`.agents/mcp_config.json`), Governance Skills |
45
- | ๐Ÿ’ป **Codex CLI / Agentic Shell** | ๐Ÿฅ‡ Tier 1 (Native) | Codex MCP integration (`.codex/mcp_config.json`), Subshell Isolation Gates |
49
+ | ๐Ÿ’ป **Codex CLI / Agentic Shell** | ๐Ÿฅ‡ Tier 1 (Native) | Codex MCP integration (`.codex/config.toml`), plugin-packaged gate hooks (installed via Codex plugin marketplace) |
46
50
  | ๐Ÿงฉ **Google Antigravity SDK** | ๐Ÿฅ‡ Tier 1 (Native) | Autonomous Agent SDK bindings and cryptographic provenance verification |
47
51
 
48
52
  > **Note**: Holmes-Kit focuses strictly on CLI-based autonomous agents to guarantee 100% deterministic OS hook gating (`deny` enforcement) before file modifications occur.
@@ -69,10 +73,18 @@ Add `-DryRun` to see what it would do without installing. Exit codes: `0` ok / a
69
73
  | Which situation are you in? | Privileges | Command |
70
74
  |---|---|---|
71
75
  | **Using it in one project** (most people) | none | `npm install --save-dev @holmes-lab/holmes-kit` |
76
+ | **Zero-install one-shot** (try it first) | none | `npx -y @holmes-lab/holmes-kit init` โ€” npx fetches and runs, nothing to install beforehand |
72
77
  | Company-managed PC / restricted account | none | same โ€” no system directory is touched |
73
78
  | CI / container | none | same, plus `--prefer-online` right after a release |
74
79
  | CLI across many projects (`-g`) | depends | run `npm config get prefix` first โ€” see below |
75
80
 
81
+ **Stale global shadowing** *(field-measured on Windows, 2026-08-31)*: an old global install makes the
82
+ bare `holmes-kit` command run the OLD version while `npx holmes-kit` runs the local one โ€” and
83
+ Windows has TWO global roots (`C:\Program Files\nodejs` and `%APPDATA%\npm`), so `npm uninstall -g`
84
+ against one root can leave a live shim in the other. If `holmes-kit --version` and
85
+ `npx holmes-kit --version` disagree, run `where.exe holmes-kit` (Windows) / `which -a holmes-kit`
86
+ and remove the stale shim; prefer the `npx` form day-to-day.
87
+
76
88
  **Before `npm install -g`**: if `npm config get prefix` names a protected directory
77
89
  (`C:\Program Files\nodejs`, `/usr/local`), `-g` dies with `EPERM` **before any package file
78
90
  arrives** โ€” no package version can fix that, and elevation is the wrong fix (it runs native
@@ -96,7 +108,7 @@ npx holmes-kit init # drop the npx prefix if you installed with -g
96
108
  ? Select the AI Agent harnesses to wire into this project:
97
109
  [X] ๐Ÿค– Claude Code (.claude/settings.local.json, .mcp.json)
98
110
  [X] ๐Ÿš€ Antigravity CLI (AGY) (.agents/mcp_config.json, hooks.json, skills)
99
- [ ] ๐Ÿ’ป Codex CLI (.codex/mcp_config.json)
111
+ [ ] ๐Ÿ’ป Codex CLI (.codex/config.toml)
100
112
  ```
101
113
 
102
114
  ### 3. Verify Health
@@ -181,7 +193,7 @@ Holmes-Kit embeds native AST & Code Property Graph (D-CPG) analyzers to track ca
181
193
  | **macOS** | Apple Silicon (arm64) / Intel (x64) | โœ… Tier 1 | macOS 12+ (Full hook enforcement) |
182
194
  | **Linux** | x86_64 / arm64 | โœ… Tier 1 | Ubuntu, Debian, Fedora, Arch, RHEL |
183
195
  | **Windows (WSL2)** | x86_64 | โœ… Tier 1 | WSL2 Ubuntu/Debian recommended |
184
- | **Windows Native** | x86_64 | โœ… Tier 1 | Windows 10/11 (Node.js 20+ with C++ build tools). Gate parity verified from CI โ€” see [ADR-015](.ax/decisions/ADR-015_platform-tier-is-decided-by-executed-verification.md) for the graduation criteria and the residual risks (NTFS 8.3 names, reserved device names, 260-char paths) |
196
+ | **Windows Native** | x86_64 | โœ… Tier 1 | Windows 10/11 (Node.js 20+; prebuilt natives, no build tools needed in the common case). **Field-validated 2026-08-31** on a real user machine: registry install, natives (better-sqlite3 + 7 tree-sitter grammars), both OS gates, MCP handshake (30 tools), interactive init TUI, out-of-band approval channel (doctor 25 PASS; the 4 false FAILs it also showed were doctor's own win32 spawn bug, fixed in 0.3.2). See [ADR-015](.ax/decisions/ADR-015_platform-tier-is-decided-by-executed-verification.md) for tier criteria and residual risks (NTFS 8.3 names, reserved device names, 260-char paths; no Windows CI yet) |
185
197
 
186
198
  > **Runtime Requirement**: Node.js `>= 20.0.0` (LTS recommended)
187
199
  >
package/dist/.build-id CHANGED
@@ -1 +1 @@
1
- 5010ff8-mthc0xla
1
+ 8c7f0ed-mthde5yw
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "//": "@implements A-SPEC-209",
3
3
  "name": "@holmes-lab/holmes-kit",
4
- "version": "0.3.2",
4
+ "version": "0.3.3",
5
5
  "description": "Holmes-Kit โ€” deterministic Agentic Software Engineering (ASE) harness with causal traceability (spec chain + D-CPG + RTM + phase guardrail)",
6
6
  "main": "dist/holmes/mcp/server.js",
7
7
  "types": "dist/holmes/mcp/server.d.ts",