Skip to content

feat: /scout-scan slash command (T2.8)#55

Merged
tejaswirajgit merged 3 commits into
mainfrom
feat/scout-scan-command
Jul 8, 2026
Merged

feat: /scout-scan slash command (T2.8)#55
tejaswirajgit merged 3 commits into
mainfrom
feat/scout-scan-command

Conversation

@tejaswirajgit

Copy link
Copy Markdown
Member

What

Adds commands/scout-scan.md — the human-facing entry point inside Claude Code once the plugin (#54) is installed. Agent-triggered scanning already works via the MCP scan_path tool; this is the manual convenience.

  • /scout-scan [path] scans the given path (default: cwd), preferring the scan_path MCP tool, falling back to scout scan --format ai-prompt.
  • Then: summarize by severity → propose fix → apply with confirmation → re-scan to verify. That's the positioning loop (Scout finds; your AI fixes; Scout re-verifies) as a command.

Auto-discovered from commands/ by the plugin — no manifest change needed. .md is Claude Code's native command format (deliberately not ponytail's cross-host .toml).

Verification

🤖 Generated with Claude Code

Prompt command auto-discovered from commands/ when the plugin (T2.7) is
installed. Prefers the scan_path MCP tool; falls back to the CLI with
--format ai-prompt. Walks findings by severity with a fix -> confirm ->
re-scan loop.

.md is Claude Code's native command format (deliberately not a
cross-host .toml). No Python changed.
…commands/)

Flat-layout auto-discovery treats the plugin's new top-level commands/
dir as a package candidate and refuses to build ('Multiple top-level
packages discovered'). Explicit include keeps the wheel scout*-only;
commands/ ships via the repo (the plugin reads it from the marketplace
checkout, not the wheel).
@tejaswirajgit

Copy link
Copy Markdown
Member Author

CI failure root-caused: setuptools flat-layout auto-discovery saw commands/ as a second top-level package and refused to build. Fixed by pinning discovery to scout* in pyproject ([tool.setuptools.packages.find] include) — the wheel never needed commands/; the plugin reads it from the repo checkout. Editable install + full suite verified locally.

@tejaswirajgit tejaswirajgit merged commit f1f6134 into main Jul 8, 2026
17 checks passed
@tejaswirajgit tejaswirajgit deleted the feat/scout-scan-command branch July 8, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant