AI Patch Assistant

Draft requests, human review, and controlled handoff

Pilot Scope

Review-Only Workspace - Human Approval Required

The AI Patch Assistant records controlled draft requests for human review. It does not generate code, apply files, write to a repository, or deploy changes.

AI Gateway Preview

Preview only. No live AI provider connected.

Human review required

Policy status

SAFE_FALLBACK_PREVIEW

Blocked / safe for preview

false / true

Preview mode

previewOnly=true

Review gate

humanReviewRequired=true

Access mode

readOnly=true

Review controls

Risk flags: None

Redactions applied: None

Mock preview response

Safe static preview is available for review while live preview status is unavailable.

Safe fallback preview

Create Draft Request

Prepare a review-only request for a controlled human decision.

Human review required

2

Review Examples

2

Pending Review

0

Example Records

85%

Example Confidence

Illustrative Review Examples

Examples only. Runtime review artifacts for the active draft appear in the review-only workspace above.

Fix null pointer in ASIC driver init

medium risk

Detected potential null pointer dereference in driver initialization sequence

92% confidenceHuman Required
src/drivers/barefoot/init.c
Example Change
@@ -156,7 +156,9 @@
 static int bf_driver_init(struct device *dev)
 {
     struct bf_context *ctx = dev_get_drvdata(dev);
-    ctx->config = load_config(dev);
+    if (!ctx)
+        return -EINVAL;
+    ctx->config = load_config(dev);
     return bf_setup_ports(ctx);
 }
Example owner: Code Reviewer Agent

Optimize EVPN route lookup performance

low risk

Identified inefficient loop in route table lookup that can be optimized with hash lookup

78% confidenceHuman Required
src/routing/evpn/lookup.py
Example Change
@@ -89,10 +89,8 @@
 def find_route(route_table, prefix):
-    for route in route_table:
-        if route.prefix == prefix:
-            return route
-    return None
+    return route_table.get(prefix)
Example owner: Code Reviewer Agent