Skill v1.0.1
Automated scan100/100+5 new
version: "1.0.1" name: interrogate description: "Use for \"interrogate\", \"adversarial review\", \"multi-model review\", \"challenge this\", \"stress test this code\", \"find blind spots\", or \"tear this apart\". Multiple LLM reviewers challenge changes from independent angles."
Interrogate
Spawn one reviewer per configured model to adversarially review code changes. Independent models evaluate code across thinking budgets (pro, flash, inherit) to surface blind spots. Consensus across models represents high-confidence signal; lone-model findings are lower-confidence but worth noting.
The deliverable is a synthesized verdict. Do not auto-apply edits.
Step 1. Determine Scope
Identify target files or changesets:
- Specific files or explicit diff from user prompt
- Full feature branch changeset via
git diff main...HEAD(or appropriate base)
Package the diff and necessary surrounding context files.
Step 2. State the Intent
State what the code attempts to accomplish based on commit messages, PR descriptions, and code context. Reviewers evaluate whether the implementation achieves this intent without regressions, not whether the intent itself is valid.
Step 3. Spawn Reviewers
Launch all reviewers in a single turn using invoke_subagent. Simulating reviewer personas in-context is strictly prohibited.
Use the interrogate reviewers list from ~/.gemini/config/plugins/agystack/rules/agystack-models.md when present, or fall back to defaults:
| Subagent | Default model tier | |
|---|---|---|
| Reviewer A | pro | |
| Reviewer B | flash | |
| Reviewer C | inherit |
For each reviewer:
TypeName:research(orself)Role:Adversarial Reviewer (<model tier>)Model: configured tier (orpro,flash,inherit)Workspace:inherit
Fill references/reviewer-prompt.md with:
- Stated intent
- Diff or file contents
- Rubric from
references/rubric.md - Code-quality lens from
references/code-quality-review.md - System
{PARENT_CONVERSATION_ID}for return routing
Reactive Dispatch & Watchdog Protocol
- Turn 1 (Dispatch & Arm Watchdog): Dispatch all reviewers via
invoke_subagentand arm an unconditional watchdog deadline:
schedule(DurationSeconds: 300..600, Prompt="Watchdog: adversarial reviewers timed out", TimerCondition: "never")
- Turn 2 (Yield Turn): Output a status update and call ZERO tools (
tool_calls: []). Never run busy-wait polling loops (manage_subagents(list)). - Partial Wakeups: On child
send_message, record findings. If reviewers remain pending, yield immediately with ZERO tools (tool_calls: []). Do NOT alter the watchdog timer. - Full Arrival: When all reviewers report, cancel the timer via
manage_task(Action: "kill", TaskId: <timer_task_id>)and proceed to Step 4. - Watchdog Timeout Fallback: If the watchdog fires, inspect
manage_subagents(Action: "list"), terminate unresponsive workers (manage_subagents(Action: "kill", ConversationIds: [<id>])), and synthesize surviving findings.
Step 4. Synthesize
- Parse reviewer findings
- Identify multi-model consensus (highest confidence)
- Isolate lone-model findings (lower confidence)
- Deduplicate overlapping issues
- Highlight direct disagreements between models
Step 5. Lead Judgment
Classify findings using the framework in references/lead-judgment.md:
- Act on. Critical defects in correctness, security, or maintainability that block landing.
- Consider. Valid tradeoffs worth operator attention.
- Noted. Context-dependent, premature optimization, or low impact.
- Dismissed. False positives or missing context, with brief rationale.
Output Format
Write the complete categorized review, rationales, and agreement map to <appDataDir>/brain/<conversation-id>/adversarial_review.md (or review_verdict.md) with ArtifactMetadata: { Summary: "...", UserFacing: true, RequestFeedback: false }. Present an executive summary in chat and link to the artifact.
Structure:
- Intent. Stated goal of the change.
- Reviewers. One bullet per reviewer (model, finding count).
- Act On. Findings requiring resolution.
- Consider. Tradeoffs to evaluate.
- Noted. Low-priority items.
- Dismissed. Rejected findings with justification.
- Agreement Map. Consensus patterns and divergences.