Commit 882c2f8
fix(ci): dogfood calm-guard-dogfood against this commit, not stale npm
Root cause of the real CI failure on 887c2f0: action.yml's default
`version: latest` installs whatever's last published to npm (0.5.0),
but `guard` landed in 9773d41 -- AFTER that npm tag -- so the dogfood
job 404'd on `error: unrecognized subcommand 'guard'`. Any external
user following README's one-line-CI instructions right now hits the
same wall; this only fixes the CI symptom, not that underlying gap
(tracked by not yet cutting a new release -- see below).
calm-guard-dogfood now builds calm-cli from source and aliases it as
`calm-mcp` on PATH (skip-install: true), so it dogfoods the actual
commit's own wiring instead of a release that may not contain it yet.
action.yml gains a `skip-install` input for this exact pattern.
Also bumps workspace version 0.5.0 -> 0.6.0 (Cargo.toml,
plugins/calm/.claude-plugin/plugin.json) in preparation for the next
release -- this commit does NOT tag or trigger release.yml. Release is
intentionally deferred: `calm fitness-check`'s hotspot_risk gate fails
on this exact commit (crates/calm-server/src/tools/common.rs, 0.95 vs
0.80 max -- same file split once before at 81f7315 for the same gate,
since regrown). A same-session attempt to re-split it hit this repo's
own high-risk edit-safety gate (>10-caller hub, requires a live
elicitation approval); the elicitation round-trip was tested twice
this session and both times auto-declined fail-closed (no approval UI
in this environment) -- confirmed not a timing issue by retrying with
elicit_timeout_secs raised to 120s. Splitting common.rs properly is
left for a session with real human-reviewed-PR capability rather than
routing around the gate.
Full workspace verification (fmt --check, clippy --workspace
--all-targets -D warnings, cargo test --workspace incl. calm-server
--lib 341/341) green on this exact commit.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent b5b91ab commit 882c2f8
5 files changed
Lines changed: 41 additions & 6 deletions
File tree
- .github/workflows
- plugins/calm/.claude-plugin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
54 | 75 | | |
| 76 | + | |
| 77 | + | |
55 | 78 | | |
56 | 79 | | |
57 | 80 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
48 | 59 | | |
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
52 | 63 | | |
| 64 | + | |
53 | 65 | | |
54 | 66 | | |
55 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments