Skip to content

Move the SKILL.md CLI version check to the top and gate 'save as you go' on it - #4274

Merged
mstomar125 merged 2 commits into
mainfrom
fix/4256-skill-version-gate
Nov 13, 2026
Merged

mstomar125 merged 2 commits into
mainfrom
fix/4256-skill-version-gate

Conversation

@mstomar125

@mstomar125 mstomar125 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What

In packages/skill/SKILL.md the "First: Check the CLI Version" section now directly follows the title (before the intro), opens with a bold imperative (first action is nodespace --version; run no other nodespace command, save or search nothing until it passes), and the "Save as you go" item now says it applies once the version check has passed. Net +216 bytes (16321 -> 16537).

Why

Live runs on #4256 showed both Qwen2.5-7B and gemma-4-E4B skipping the gate and running the nodespace node create ... example from "Save as you go" as their first command.

Observed live result (gemma-4-E4B Q4_K_M, CPU-only, FORCE_CPU=1, 4 threads, an_agent_on_an_old_cli_stops)

Before (from #4256): 0/3, every rep ran=["nodespace node create --type text --content ..."] improvised=[same] told_to_update=false.
After: 3/3, every rep PASS rep N: ran=["nodespace --version"] improvised=[] told_to_update=true (243 s). First wording, no iteration needed.

Checks

  • packages/cli skill_md tests (14, including version-check section order and checked_in_skill_md_is_up_to_date): pass.
  • packages/skill vitest: 312 pass.
  • skill_confusion_matrix digest covers seeded titles/use_for/not_for and request text, not the SKILL.md body; unchanged, nothing re-recorded.

Limits

One model, 3 reps, one scenario; Qwen2.5-7B not re-run after the change. Not a frontier-agent check.

Refs #4256

🤖 Generated with Claude Code

Update (0b4d325): the first version told every agent to run nodespace --version first, but the nodespace tool refuses --version, so a tool-only agent could never satisfy it. The gate now starts "From a shell, ...", says that through the nodespace tool the check is skipped and the preflight table catches an old CLI by its error, and the save-as-you-go gate holds for both paths. Re-checked: skill_md CLI tests 14/14, skill vitest 312/312, and the gemma-4-E4B live test on the final wording, CPU-only (0 of 43 layers on GPU), 3/3 passed in 247 s, each rep ran=["nodespace --version"] ... told_to_update=true. Limits: one model, 3 reps; no frontier-agent check yet.

mstomar125 and others added 2 commits November 13, 2026 11:46
…ou go" on it

The "First: Check the CLI Version" section now follows the title directly,
opens with an imperative first action (run `nodespace --version`, run
nothing else until it passes), and the "Save as you go" step says it applies
once the version check has passed.

Refs #4256

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…preflight table

The first-line version gate told every agent to run nodespace --version before
anything else, but the nodespace tool refuses --version, so a tool-only agent
could never satisfy it. The gate now applies from a shell and says tool-only
agents skip it and rely on the preflight table, and the save-as-you-go gate
holds for both.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant