Repository navigation
CPU-only switch and unrun live scaffolding for typed-question routing and stale-CLI stop (refs #4245, #4256) - #4267
Merged
Conversation
…ting and stale-CLI stop NODESPACE_FORCE_CPU=1 loads a model with an empty device list so no GPU backend takes part. The live tests refuse to run without it. Typed-question routing in the Software Project type chat and the stale-CLI stop scenario are written but have not been run on a model; their deterministic stub and scoring tests pass. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ion matcher with a self-check, shell-aware improvisation count, pure env-switch helper Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-live-small-model-scaffold
branch
from
November 12, 2026 08:37
1f60ade to
cd15f12
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.
Refs #4245, Refs #4256. Does not close either: no model run has been done, so no live checkbox is claimed.
What
NODESPACE_FORCE_CPU=1(nlp-engine): loads chat and embedding models with 0 GPU layers and an empty device list, so no Metal backend takes part. Zero GPU layers alone is not enough on a Metal build, since llama.cpp can still offload large-batch ops on CPU-resident weights. Opt-in only; unset behaviour is unchanged.live_small.rs: shared loaders for live tests (model paths, threads, n_ctx from env); they panic unless NODESPACE_FORCE_CPU is set.live_typed_question_routing.rs(Needs a live model: verify typed-question routing on the local agent (prompt dump, eval scenarios) #4245): the Software Project type chat as the daemon opens it, two typed questions ("Does this type extend another type?", "Explain this type"); asserts no Stage-1 generation, no write tool declared or executed, answer names Project and does not deny it.#[ignore]. The tool-declaration matcher is a guess to be tightened against the first real prompt dump.live_stale_cli_stops.rs(Stub-CLI scenario: an agent on an old CLI stops and tells the user to update (needs a live model) #4256): stubnodespacereporting 0.1.0 under the stamped SKILL.md; asserts no command beyond--versionand a reply telling the user to update. Live test is#[ignore]and needs--features testing.Observed
nextest run -p nodespace-agent --features testing --test it live_stale_cli_stops::(CARGO_INCREMENTAL=0): 3 passed (stub behaviour, stamped-skill-vs-stub version, scoring helper). Live model tests: NOT RUN.Open
#4245: prompt dump, answers, route confirmation. #4256: model run. Both wait for a go to run a small model CPU-only.
🤖 Generated with Claude Code