<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
manoj402kumar/antigravity-skills/agent-review
──Details
PublishedOctober 22, 2026 at 02:26 PM
Content Hashsha256:9aa3f11b45caec61...
Git SHAc0b5cb5452b8
──Files
Files (1 file, 3.3 KB)
SKILL.md3.3 KBactive
SKILL.md · 55 lines · 3.3 KB

version: "1.0.0" name: agent-review description: >- Initializes and executes the Autonomous Multi-Agent Review Framework. Triggers automatically when invoked via /agent skill or when asked to perform a codebase audit. This framework utilizes a 9-step Directed Acyclic Graph (DAG) including AST Transitive Closure Context Routing, Adversarial Debate Protocols, Root Cause Clustering, Dynamic ROI-Based Priority Scoring, and Sandboxed Autonomous Remediation.


Autonomous Multi-Agent Review Skill (/agent-review)

System Capability Overview (Pipeline Topology v4.0)

This skill defines a first-class system capability for autonomous, deterministic, hybrid AST-LLM code analysis. Upon invocation, it initializes the Multi-Agent Review Framework located in backend/review/.

The engine has shifted from a static, read-only analyzer to a self-correcting engine featuring bounded-execution topologies, adversarial multi-agent debate, and closed-loop telemetry.

9-Step DAG Execution Workflow

When this skill is invoked, the Orchestrator executes strictly in the following topological order:

  1. Incremental Ingestion & Boundary Computation (B):
  • Replaces global context reading with Transitive Closure bounds:

B = Delta_diff U Callers(Delta_diff) U DataFlow(Delta_diff) U Interfaces(Delta_diff)

  • Computes programmatic source-to-sink taint tracking paths (P_taint) via AST parsing.
  1. Context Routing: Domain-specific projections of the execution boundary are injected via the ICapabilityPlugin SDK. (e.g., Security receives P_taint, Performance receives Loop Topologies).
  2. SDK-Bound Parallel Execution: Auto-discover and trigger all 8 capability review agents bounded strictly by their isolated subgraphs.
  3. Semantic Validation & Deterministic Sandbox Gate (V):
  • Candidate patch diffs undergo isolated containerized validation:
  • Syntax/AST compilation checks.
  • Static Linting validations.
  • Dynamic Test Matrix verification against Tests(C_scope).
  1. Adversarial Debate Protocol:
  • For high-severity candidate findings, a Mediator Agent evaluates structural counter-evidence generated by an Adversary Agent. Findings are dropped if structurally disproven.
  1. Cross-Agent Evidence Resolution & Priority Amplification:
  • Correlates micro-findings along the Data Flow Graph into Vulnerability Chains (V_c).
  • Mutates priority dynamically based on chain multipliers.
  1. Root Cause Clustering (K-Reduction):
  • Collapses localized, symptomatic findings into singular architectural root-cause matrices (F).
  1. Dynamic Priority Scoring & Policy Enforcement:
  • Shifts to an ROI-based debt model factoring in Fix-Cost Modifiers.
  • Applies hierarchical Policy Masks to mute findings prior to triage.
  1. Telemetry Export & Report Synthesis:
  • Exports the Telemetry Vector (T) containing FPR for closed-loop learning. If FPR > 0.20, rule strictness dynamically decays.
  • Outputs the Merge-Ready Diff and final validated Compliance Report.

Invocation Protocol

Programmatic CLI Execution:

Run the CLI entry point from the terminal:

bash
python -m review.cli --mode Standard

or with custom targets:

bash
python -m review.cli --mode Production --format sarif --output backend/reports/review_latest.json
All versions