You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stub-CLI scenario: an agent on an old CLI stops and tells the user to update (needs a live model) #4256
Split from the closed parent issue on an agent with a CLI older than its installed skill. The version-skew check, the diagnostics report and the stamped minimum version are in; the lifecycle doc is in the docs repo.
Left
A harness scenario: start an agent with a stub CLI that reports an old version and assert the agent stops and tells the user to update instead of improvising with basic commands.
Why it is not done
It needs a live model run, which is not allowed on the shared Mac. Run it on a device where model work is allowed.
PR #4267: unrun live scaffolding plus a NODESPACE_FORCE_CPU switch. Deterministic stub tests pass (3/3). No model run done yet, so no checkbox is claimed.
Not run on a model. #4267 has the stub-CLI test (stub, stamped-skill and scoring tests pass 3/3 plus shell-form cases). Next: run live_stale_cli_stops::an_agent_on_an_old_cli_stops_and_tells_the_user_to_update with --features testing, NODESPACE_FORCE_CPU=1, NODESPACE_LIVE_CHAT_MODEL=, one run at a time. Ministral's template may reject the chat (see #4245), gemma is the likely model. No checkbox is claimed.
Observed 2026-11-12 (CPU-only, Qwen2.5-1.5B-Instruct Q4_K_M, offloaded 0/29 layers to GPU): cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1
Result: FAILED (77 s): 0/3 reps stopped and told the user to update. Rep 2: ran=[] improvised=[] told_to_update=false; the model answered with a made-up nodespace node create ... command in prose and never ran the stub CLI. So it neither improvised nor stopped: it did not use the tool at all. Not decision-grade on a 1.5B model. No checkbox claimed; stays open.
Observed 2026-11-13 (CPU-only, Qwen2.5-7B-Instruct Q4_K_M, offloaded 0/29 layers to GPU): cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1. Result: FAILED (258 s): 0/3 reps stopped and told the user to update. All 3 reps: the model ran nodespace node create --type text --content 'We decided to use Postgres for sessions.' as its first and only command (never nodespace --version), then replied "I've saved the note in NodeSpace..."; ran=improvised=that one command, told_to_update=false.
Assessment: the instruction is at the very top of SKILL.md ("First: Check the CLI Version ... run nodespace --version before anything else") and the stub, scoring and skill-stamping tests pass, so the scenario is wired correctly; the 7B did not follow the step on any rep. I read this as a model instruction-following limit rather than a product defect, but one local 7B quant is weak evidence either way: it shows the scenario discriminates (it fails an agent that skips the check), not that a capable agent passes. Needs a stronger tool-calling model (e.g. gemma-4-E4B or a frontier agent) for a decision-grade pass. No checkbox claimed; stays open.
Observed 2026-11-13 (CPU-only, gemma-4-E4B-it Q4_K_M, offloaded 0/43 layers to GPU, NODESPACE_FORCE_CPU=1, NODESPACE_LIVE_THREADS=4, n_ctx 16384, main @ 5ca60ff): cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1
Result: FAILED (385 s): 0/3 reps stopped and told the user to update. Every rep: FAIL rep N: ran=["nodespace node create --type text --content \"Decision made to use Postgres for session storage.\""] improvised=[same] told_to_update=false
reply: "I have saved a note in NodeSpace stating that we decided to use Postgres for session storage. ... used the nodespace node create command ...". nodespace --version was never run, on any rep.
Assessment: the scenario is wired correctly (stub, stamp and scoring tests pass; the stamped SKILL.md, 16 KB, is the system prompt via the test-only override and fits in the 16k context). The model did read the skill: the command it ran is the form from SKILL.md line 45 ("Save as you go ... nodespace node create --type text --content ..."). So it saw both the top-of-file "First: Check the CLI Version ... run nodespace --version before anything else" gate and the "save as you go" instruction, and followed the latter. That is a priority/instruction-following failure of a ~4B-effective Q4 model, not a defect that makes the gate unreadable, so I read it as a model limit. It is not conclusive, though: two models (7B Qwen, gemma-4-E4B) now skip the gate identically, so a skill-text hardening (for example making the version check the first line of the file, or phrasing it as a tool call to make before any other) is a plausible product follow-up, to be tested with this same scenario. No product code changed. Acceptance (the agent stops and tells the user to update) is not met; stays open, no checkbox claimed. A frontier-agent run is still the decision-grade check.
Closing: #4274 merged. The version check is now the first thing in SKILL.md (from a shell; tool-only agents rely on the preflight table). Observed on gemma-4-E4B, CPU-only: before the change 0/3 reps stopped (each ran nodespace node create); after, 3/3 reps ran only nodespace --version and told the user to update (final wording, 247 s). Limits: one model, 3 reps; no frontier-agent check.
Activity
mstomar125 commentedon Nov 12, 2026
PR #4267: unrun live scaffolding plus a NODESPACE_FORCE_CPU switch. Deterministic stub tests pass (3/3). No model run done yet, so no checkbox is claimed.
CPU-only switch and unrun live scaffolding for typed-question routing…
mstomar125 commentedon Nov 12, 2026
Not run on a model. #4267 has the stub-CLI test (stub, stamped-skill and scoring tests pass 3/3 plus shell-form cases). Next: run
live_stale_cli_stops::an_agent_on_an_old_cli_stops_and_tells_the_user_to_updatewith--features testing, NODESPACE_FORCE_CPU=1, NODESPACE_LIVE_CHAT_MODEL=, one run at a time. Ministral's template may reject the chat (see #4245), gemma is the likely model. No checkbox is claimed.mstomar125 commentedon Nov 12, 2026
Observed 2026-11-12 (CPU-only, Qwen2.5-1.5B-Instruct Q4_K_M,
offloaded 0/29 layers to GPU):cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1Result: FAILED (77 s):
0/3 reps stopped and told the user to update. Rep 2: ran=[] improvised=[] told_to_update=false; the model answered with a made-upnodespace node create ...command in prose and never ran the stub CLI. So it neither improvised nor stopped: it did not use the tool at all. Not decision-grade on a 1.5B model. No checkbox claimed; stays open.mstomar125 commentedon Nov 13, 2026
Observed 2026-11-13 (CPU-only, Qwen2.5-7B-Instruct Q4_K_M,
offloaded 0/29 layers to GPU):cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1. Result: FAILED (258 s):0/3 reps stopped and told the user to update. All 3 reps: the model rannodespace node create --type text --content 'We decided to use Postgres for sessions.'as its first and only command (nevernodespace --version), then replied "I've saved the note in NodeSpace..."; ran=improvised=that one command, told_to_update=false.Assessment: the instruction is at the very top of SKILL.md ("First: Check the CLI Version ... run
nodespace --versionbefore anything else") and the stub, scoring and skill-stamping tests pass, so the scenario is wired correctly; the 7B did not follow the step on any rep. I read this as a model instruction-following limit rather than a product defect, but one local 7B quant is weak evidence either way: it shows the scenario discriminates (it fails an agent that skips the check), not that a capable agent passes. Needs a stronger tool-calling model (e.g. gemma-4-E4B or a frontier agent) for a decision-grade pass. No checkbox claimed; stays open.mstomar125 commentedon Nov 13, 2026
Observed 2026-11-13 (CPU-only, gemma-4-E4B-it Q4_K_M,
offloaded 0/43 layers to GPU, NODESPACE_FORCE_CPU=1, NODESPACE_LIVE_THREADS=4, n_ctx 16384, main @ 5ca60ff):cargo test -p nodespace-agent --features testing --test it an_agent_on_an_old_cli_stops -- --ignored --nocapture --test-threads=1Result: FAILED (385 s):
0/3 reps stopped and told the user to update. Every rep:FAIL rep N: ran=["nodespace node create --type text --content \"Decision made to use Postgres for session storage.\""] improvised=[same] told_to_update=falsereply: "I have saved a note in NodeSpace stating that we decided to use Postgres for session storage. ... used the
nodespace node createcommand ...".nodespace --versionwas never run, on any rep.Assessment: the scenario is wired correctly (stub, stamp and scoring tests pass; the stamped SKILL.md, 16 KB, is the system prompt via the test-only override and fits in the 16k context). The model did read the skill: the command it ran is the form from SKILL.md line 45 ("Save as you go ...
nodespace node create --type text --content ..."). So it saw both the top-of-file "First: Check the CLI Version ... runnodespace --versionbefore anything else" gate and the "save as you go" instruction, and followed the latter. That is a priority/instruction-following failure of a ~4B-effective Q4 model, not a defect that makes the gate unreadable, so I read it as a model limit. It is not conclusive, though: two models (7B Qwen, gemma-4-E4B) now skip the gate identically, so a skill-text hardening (for example making the version check the first line of the file, or phrasing it as a tool call to make before any other) is a plausible product follow-up, to be tested with this same scenario. No product code changed. Acceptance (the agent stops and tells the user to update) is not met; stays open, no checkbox claimed. A frontier-agent run is still the decision-grade check.Move the CLI version check to the top of SKILL.md and gate "save as y…
Move the SKILL.md CLI version check to the top and gate 'save as you …
mstomar125 commentedon Nov 13, 2026
Closing: #4274 merged. The version check is now the first thing in SKILL.md (from a shell; tool-only agents rely on the preflight table). Observed on gemma-4-E4B, CPU-only: before the change 0/3 reps stopped (each ran
nodespace node create); after, 3/3 reps ran onlynodespace --versionand told the user to update (final wording, 247 s). Limits: one model, 3 reps; no frontier-agent check.