<< All versions

Skill v1.0.1

Automated scan100/100
jtaroreh/agystack/interrogate

+5 new

──Details
PublishedOctober 25, 2026 at 04:12 AM
Content Hashsha256:59ff381a9610d062...
Git SHAd2ccb0a77e3a
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 4.3 KB)
SKILL.md4.3 KBactive
SKILL.md · 87 lines · 4.3 KB

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:

SubagentDefault model tier
Reviewer Apro
Reviewer Bflash
Reviewer Cinherit

For each reviewer:

  • TypeName: research (or self)
  • Role: Adversarial Reviewer (<model tier>)
  • Model: configured tier (or pro, flash, inherit)
  • Workspace: inherit

Fill references/reviewer-prompt.md with:

  1. Stated intent
  2. Diff or file contents
  3. Rubric from references/rubric.md
  4. Code-quality lens from references/code-quality-review.md
  5. System {PARENT_CONVERSATION_ID} for return routing

Reactive Dispatch & Watchdog Protocol

  1. Turn 1 (Dispatch & Arm Watchdog): Dispatch all reviewers via invoke_subagent and arm an unconditional watchdog deadline:

schedule(DurationSeconds: 300..600, Prompt="Watchdog: adversarial reviewers timed out", TimerCondition: "never")

  1. Turn 2 (Yield Turn): Output a status update and call ZERO tools (tool_calls: []). Never run busy-wait polling loops (manage_subagents(list)).
  2. 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.
  3. Full Arrival: When all reviewers report, cancel the timer via manage_task(Action: "kill", TaskId: <timer_task_id>) and proceed to Step 4.
  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.
← v1.0.0All versionsv1.0.2 →