@mindrian_os/cli 1.15.3-beta.42 → 1.15.3-beta.44

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 (2) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ ## [1.15.3-beta.44] - 2026-07-23
2
+
3
+ ### Added
4
+ -
5
+
6
+ ### Fixed
7
+ - **Every Stop hook turn showed a raw Claude Code hook JSON validation error
8
+ ("Hook JSON output validation failed: - : Invalid input") instead of the intended calm
9
+ systemMessage, whenever `scripts/check-card-fire.cjs` force-blocked a turn to demand an
10
+ AskUserQuestion card fire.** Root cause: Claude Code's Stop-hook output schema does not
11
+ define a `hookSpecificOutput` variant for the Stop event at all (the union covers only
12
+ PreToolUse, UserPromptSubmit, and PostToolUse); including the key on a Stop envelope
13
+ rejects the WHOLE envelope (`additionalProperties: false`), not just that key, silently
14
+ replacing the carefully-set `decision`/`reason`/`systemMessage` with a raw schema-error
15
+ dump. This is the 4th live occurrence of the same defect class: fixed once in
16
+ `scripts/on-stop` (v1.10.9 -> v1.10.10, 2026-04-15), then reintroduced in
17
+ `scripts/feynman-minto-guardian.cjs` (under a since-corrected comment that had the rule
18
+ backwards), reintroduced again as a regression inside `scripts/on-stop` itself (the
19
+ Phase 198-09 MCP-first thin-adapter branch), and hit live by a real user via
20
+ `scripts/check-card-fire.cjs` today. Fixed at all 3 sites: `hookSpecificOutput` removed
21
+ outright (and removed from `check-card-fire.cjs`'s own envelope-key allowlist so it can't
22
+ silently slip back in); the calm, human-facing `decision`/`reason`/`systemMessage` fields
23
+ each branch already set are unaffected. New structural regression gate:
24
+ `scripts/check-hook-schema-compatibility.cjs` (previously unwired and, worse, encoding the
25
+ opposite/wrong rule) is corrected and wired into `scripts/verify-release` (section 16) --
26
+ it enumerates every script Claude Code registers as a Stop hook straight off
27
+ `hooks/hooks.json`, follows one level of subprocess invocation, and fails the release if
28
+ any of them would emit a Stop-shaped `hookSpecificOutput` again. Full RCA:
29
+ `.planning/debug/resolved/stop-hook-invalid-hookspecificoutput-schema.md`.
30
+
1
31
  ## [1.15.3-beta.42] - 2026-07-23
2
32
 
3
33
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindrian_os/cli",
3
- "version": "1.15.3-beta.42",
3
+ "version": "1.15.3-beta.44",
4
4
  "description": "Install MindrianOS into Claude Code with one command -- `npx @mindrian_os/cli`. Ships the MindrianOS plugin (Larry + PWS methodology + Data Room) plus a setup/diagnostics CLI (install/doctor/update).",
5
5
  "scripts": {
6
6
  "mcp": "node bin/mindrian-mcp-server.cjs",