Print a runnable lsp-probe command in the evidence explain text #1716
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1716
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The explain text of
bin/evidenceprintslsp-probecommands thatlsp-proberejects. A person or an agent who pastes the printed command gets an unknown-option error and cannot repeat the lookup.Observed
plugins/os-sdlc/lib/os_sdlc/evidence/probe/lsp/lookup.rb:62builds"bin/lsp-probe symbols #{@method_name} --root #{@root}". Line 66 builds"bin/lsp-probe refs #{path} #{line} #{column} --root #{@root}". Inplugins/os-sdlc/lib/os_sdlc/daemon/navigation.rb,check_unknown_options!is set at line 11. The commandsdefs,refs,symbols, andoutline(lines 21-41) declare norootoption. Onlystop,serve, andwarmdeclare--root(lines 48, 55, 61).plugins/os-sdlc/skills/lsp-navigate/SKILL.md:30says that the query commands take no--rootand find the root from the current directory. The printed command was not run; the finding comes from the code.Reproduce
n/a: found by reading the code; the command was not run.
Origin
--root←Evidence::Probe::Lsp::Lookupbuilds the text by hand (lookup.rb:62,66) ← the query commands ofDaemon::Navigationtake the root from the current directory and declare no--root(navigation.rb:11,21-41) ← DESIGN (skills/lsp-navigate/SKILL.md:30)plugins/os-sdlc/lib/os_sdlc/evidence/probe/lsp/lookup.rbVERDICT: CREATE
REASON: The code confirms the defect.
lookup.rb:62,66print--rootonsymbolsandrefs, andDaemon::Navigationrejects that option, so the printed command cannot be pasted and run. The origin chain ends in DESIGN with no improvisation. No open ticket names this fault.