manage-issue-discover
community[command]
Discover issues via multi-perspective analysis
$
/plugin install maestro-flowdetails
<purpose>
Automated issue discovery via multi-perspective codebase analysis (8 perspectives) or prompt-driven exploration. Discovers issues, deduplicates findings, and records them in `.workflow/issues/issues.jsonl`.
- Default (no args): Interactive mode selection — choose multi-perspective or prompt-driven.
multi-perspective: 8-perspective parallel agent scan — security, performance, reliability, maintainability, scalability, UX, accessibility, compliance.by-prompt "...": Prompt-driven — CLI delegate plans exploration strategy, agents explore iteratively with cross-dimension analysis.
For CRUD operations (create, list, update, close, link), use /manage-issue.
After discovery, use /maestro-analyze --gaps <ISS-ID> to perform root cause analysis on individual findings.
</purpose>
<required_reading> @~/.maestro/workflows/issue-discover.md </required_reading>
<deferred_reading>
- issue.json template — read when creating issue records from findings (Step 6/11)
- search-tools — search tool priority, passed to agents via workflow </deferred_reading>
Modes:
- (empty) -- interactive mode selection (AskUserQuestion)
multi-perspective-- 8-perspective parallel agent scanby-prompt "..."-- prompt-driven iterative agent exploration (CLI-planned)
Flags:
-y/--yes-- auto mode, skip confirmations--scope=<pattern>-- file scope (default:**/*)--depth=standard|deep-- exploration depth (by-prompt only, default:standard)
State files:
.workflow/issues/issues.jsonl-- issues appended here (setsource: "discover"on each row so concurrent writers likemanage-harvestwithsource: "harvest"can be distinguished and deduplicated).workflow/issues/discoveries/{SESSION_ID}/-- session artifacts
Pre-load specs
- Debug specs: Run
maestro spec load --category debugto load known antipatterns, root causes, and gotchas. Informs discovery perspectives with prior findings. - Optional — proceed without if unavailable. </context>
Follow '~/.maestro/workflows/issue-discover.md' completely. </execution>
<error_codes>
| Code | Severity | Condition | Recovery |
|---|---|---|---|
| E_NO_PROJECT | error | .workflow/ does not exist | Prompt user to run /maestro-init first |
| E_DISCOVERY_FAILED | error | CLI analysis returned no results | Retry with different tool or report partial findings |
| E_EMPTY_PROMPT | warning | by-prompt used without prompt text | Interactive prompt with suggested options |
| </error_codes> |
<success_criteria>
- Discovery mode correctly determined from arguments
- All perspectives analyzed (multi-perspective) or dimensions explored (by-prompt)
- Findings deduplicated before issue creation
- Issues appended to issues.jsonl with correct schema
- Discovery session fully traceable via session directory
- Next step routing:
/maestro-analyze --gaps <ISS-ID>for root cause analysis, or/manage-issue listto review all issues </success_criteria>
technical
- github
- catlog22/maestro-flow
- stars
- 340
- license
- unspecified
- contributors
- 1
- last commit
- 2026-05-25T02:58:12Z
- file
- .claude/commands/manage-issue-discover.md