Skip to content

Agent Flow: shell searches (grep/rg via Bash) show no probes and 0 matches #457

Backlog

Description

@aMonteSl

Bug found in Adrián's manual test of #323 (search verb), Code-XR IDE, 3-dec.

When the agent searches through the shell (grep -n "backend\.utils\.valida..." via Bash), the scene shows the radar rings but no probes on the matched buildings, and the legend reads search: 0 matches. The probes only appeared for Claude Code's Grep/Glob tools, which list their hits in toolUseResult.filenames.

Causes

  • A shell search's hits were never read from what it printed: the Bash stdout (Claude Code) and the shell output (Codex) were ignored.
  • The grep pattern was taken for a file operand when it contained dots (backend\.utils\.validation).
  • The Grep tool in content mode lists no filenames; its lines name the files.

Acceptance criteria

  • grep -rn, grep -l, rg, git grep, find/fd run through Bash (Claude Code) or the shell (Codex) light the probes on every matched building, and the legend counts them.
  • A grep over one file (no filename in its output) marks that file.
  • cd dir && grep ... resolves the hits inside dir; Windows paths keep their drive.
  • Counts (-c) and searches piped into another command (| wc -l) add no hits.
  • The pattern is never shown as a file.
  • Works in the VS Code extension and in the Code-XR IDE (shared core in src/core/agent-flow).

Generated by Claude Code

Activity

  1. self-assigned this
    on Dec 3, 2026
  2. added
    bug
    tfm
    area: ide
    area: extension
    on Dec 3, 2026
  3. added a commit that references this issue on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: extensionarea: idebugstream: agent-flowtfm

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions