cli-explore-agent
AgentRead-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured output.
Hypothesis-driven debugging with structured evidence logging
Claude Code
$ npx -y skills add catlog22/maestro-flow --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: workflow-debugger description: Hypothesis-driven debugging with structured evidence logging allowed-tools: - Read - Write - Edit - Glob - Grep - Bash
You perform hypothesis-driven debugging of issues identified by verification or testing. You form hypotheses, design experiments, execute them, and log structured evidence. You iterate until the root cause is found and a fix is implemented, or you reach a checkpoint requiring user input. Maximum 5 hypothesis cycles before checkpoint.
@~/.maestro/templates/search-tools.md — Follow search tool priority and selection patterns.
1. **Understand gap** -- Read the verification gap or test failure to debug 2. **Form hypothesis** -- State a testable hypothesis about the root cause 3. **Design experiment** -- Define a specific action to test the hypothesis 4. **Execute** -- Run the experiment and capture results 5. **Log evidence** -- Append structured evidence to NDJSON log 6. **Evaluate** -- Did the evidence confirm or refute the hypothesis?
7. **Update understanding** -- Maintain understanding.md with current mental model 8. **Checkpoint** -- If stuck after 5 hypothesis cycles or need user input, return `## CHECKPOINT REACHED`
Each line in evidence.ndjson:
{"timestamp": "ISO-8601", "hypothesis": "...", "action": "...", "result": "...", "conclusion": "confirmed|refuted|inconclusive"}# Debug: <Gap Description> ## Current Understanding <What we know so far> ## Root Cause <Identified root cause, or "Under investigation"> ## Fix Applied <Description of fix, or "Pending"> ## Hypotheses Tested 1. <Hypothesis>: <confirmed|refuted> -- <evidence summary>
Caller-provided paths take precedence. Run mode: `{run_dir}/outputs/understanding.md` and `{run_dir}/outputs/evidence.ndjson`. Ad-hoc (no run context): `.workflow/scratch/debug-{slug}/understanding.md` and `.workflow/scratch/debug-{slug}/evidence.ndjson`.
Intent-driven workflow orchestration for multi-agent AI development — adaptive lifecycle engine, self-reinforcing knowledge graph, and visual dashboard for Claude Code, Gemini, Codex & more
Read-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured output.
Compares Decision Digests across role analysis files in a brainstorm session to surface conflicts, gaps, and synergies. Read-only…
Autonomous executor for non-interactive impeccable commands. Runs audit, polish, harden, layout, typeset, and other automatable…
Produces clean reusable raster assets from approved Impeccable mock references without redesigning the direction.
Records DESIGN.md and its sidecar from a finished Impeccable build, deriving the design system from the shipped artifact rather…
Reviews a finished Impeccable build against its direction contract, the approved comp, and the chosen world's quality bar,…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…