Repository navigation
Move the SKILL.md CLI version check to the top and gate 'save as you go' on it - #4274
Merged
Merged
Conversation
…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]>
mstomar125
force-pushed
the
fix/4256-skill-version-gate
branch
from
November 13, 2026 10:46
0b4d325 to
3a5c53a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
skill_mdtests (14, including version-check section order and checked_in_skill_md_is_up_to_date): pass.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 --versionfirst, but thenodespacetool refuses--version, so a tool-only agent could never satisfy it. The gate now starts "From a shell, ...", says that through thenodespacetool 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_mdCLI 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 repran=["nodespace --version"] ... told_to_update=true. Limits: one model, 3 reps; no frontier-agent check yet.