Print a runnable lsp-probe command in the evidence explain text #1716

Open
opened 2026-11-12 19:18:11 +00:00 by jared · 0 comments
Owner

Problem

The explain text of bin/evidence prints lsp-probe commands that lsp-probe rejects. 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:62 builds "bin/lsp-probe symbols #{@method_name} --root #{@root}". Line 66 builds "bin/lsp-probe refs #{path} #{line} #{column} --root #{@root}". In plugins/os-sdlc/lib/os_sdlc/daemon/navigation.rb, check_unknown_options! is set at line 11. The commands defs, refs, symbols, and outline (lines 21-41) declare no root option. Only stop, serve, and warm declare --root (lines 48, 55, 61). plugins/os-sdlc/skills/lsp-navigate/SKILL.md:30 says that the query commands take no --root and 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

  • Trigger: an inventory of the AST and LSP interfaces in os-sdlc on 2026-11-12, for the House Explore work.
  • Improvised this session: none
  • Chain: the printed command has --root ← Evidence::Probe::Lsp::Lookup builds the text by hand (lookup.rb:62,66) ← the query commands of Daemon::Navigation take the root from the current directory and declare no --root (navigation.rb:11,21-41) ← DESIGN (skills/lsp-navigate/SKILL.md:30)
  • Root candidate: none found; searched lsp-probe, lookup.rb, Probe::Lsp, evidence explain, --root, symbols_command, refs_command
  • Where: plugins/os-sdlc/lib/os_sdlc/evidence/probe/lsp/lookup.rb
  • Session: 5aee9255-7fc4-41bc-8166-9473b8d19d71
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os-plugins-os-sdlc/5aee9255-7fc4-41bc-8166-9473b8d19d71.jsonl

VERDICT: CREATE
REASON: The code confirms the defect. lookup.rb:62,66 print --root on symbols and refs, and Daemon::Navigation rejects 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.

## Problem The explain text of `bin/evidence` prints `lsp-probe` commands that `lsp-probe` rejects. 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:62` builds `"bin/lsp-probe symbols #{@method_name} --root #{@root}"`. Line 66 builds `"bin/lsp-probe refs #{path} #{line} #{column} --root #{@root}"`. In `plugins/os-sdlc/lib/os_sdlc/daemon/navigation.rb`, `check_unknown_options!` is set at line 11. The commands `defs`, `refs`, `symbols`, and `outline` (lines 21-41) declare no `root` option. Only `stop`, `serve`, and `warm` declare `--root` (lines 48, 55, 61). `plugins/os-sdlc/skills/lsp-navigate/SKILL.md:30` says that the query commands take no `--root` and 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 - Trigger: an inventory of the AST and LSP interfaces in os-sdlc on 2026-11-12, for the House Explore work. - Improvised this session: none - Chain: the printed command has `--root` ← `Evidence::Probe::Lsp::Lookup` builds the text by hand (`lookup.rb:62,66`) ← the query commands of `Daemon::Navigation` take the root from the current directory and declare no `--root` (`navigation.rb:11,21-41`) ← DESIGN (`skills/lsp-navigate/SKILL.md:30`) - Root candidate: none found; searched lsp-probe, lookup.rb, Probe::Lsp, evidence explain, --root, symbols_command, refs_command - Where: `plugins/os-sdlc/lib/os_sdlc/evidence/probe/lsp/lookup.rb` - Session: 5aee9255-7fc4-41bc-8166-9473b8d19d71 - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os-plugins-os-sdlc/5aee9255-7fc4-41bc-8166-9473b8d19d71.jsonl VERDICT: CREATE REASON: The code confirms the defect. `lookup.rb:62,66` print `--root` on `symbols` and `refs`, and `Daemon::Navigation` rejects 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1716
No description provided.