docs(roadmap): add #452 — claw models/list/help/--help falls through to prompt dispatch (prompt misdelivery, sibling of #78)#3065
Open
Yeachan-Heo wants to merge 1 commit into
Conversation
…to prompt dispatch (prompt misdelivery, sibling of #78)
This was referenced May 24, 2026
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.
ROADMAP pinpoint #452 — prompt misdelivery
Dogfooded for the 2026-05-24 05:00 Clawhip pinpoint nudge (message 1507971434704797716).
Repro (fully clean isolated env: HOME=/tmp/iso2/home with
{}settings, fresh /tmp/iso2/proj git-init'd workspace, stdin=/dev/null)The
missing_credentialsenvelope comes from the Anthropic provider path — proving that the stringmodels listwas dispatched to the LLM as a user prompt instead of being handled locally.With credentials present, every spelling (
models list, baremodels,models help,models --help) shows only the LLM "Thinking…" spinner ANSI on stdout and never returns within an 8s budget:Code evidence
modelsdispatch is grep-clean acrossrust/crates/:So
modelsis the analogous unrouted command exactly the waypluginswas before #78 landed.Why distinct from existing items
claw pluginsonly (same failure mode, different surface).modelsin--output-format jsonmode → silent zero-byte JSON deadlock.missing_credentialsfor an Anthropic prompt) when operator meant model registry inspection."models list"to Claude./modelsREPL command either, so claws have no recovery path.Why it matters
models listis the canonical model-registry discovery spelling across competing CLIs (gh models list,openai api models.list,codex models). A claw or operator who reaches for it before deciding--model <alias>cannot discover what models exist, cannot validate an alias before paying for a prompt, and — worst case — burns provider tokens on a meaningless completion. The cost-of-doing-nothing is real spend, not just opacity.Required fix shape (full detail in ROADMAP entry)
(a) Add
CliAction::Models { action: ModelsAction }withList,Show,Helpvariants inparse_argsnext toCliAction::Plugins; (b) implementmodels listto return resolved provider registry merged from built-ins +modelProviders.*profiles; (c) static bounded help formodels --help/models help; (d) mirror/modelsREPL command; (e) regression coverage (parses_models_subcommand) proving every spelling resolves toCliAction::Modelsand never toCliAction::Prompt.—
[repo owner's gaebal-gajae (clawdbot) 🦞]