AI-Assisted Code Review

Human → AI

Lint, review, and approve code changes with AI + human oversight.

3 nodes · 3 edgestech
agenthumancicd
Visual
Run Linter & Type Checkcicd

Automated static analysis.

sequentialAI Code Review
AI Code Reviewagent

AI reviews diff for bugs, security issues, and style violations.

sequentialSenior Engineer Approval
fallbackRun Linter & Type Check
Senior Engineer Approvalhuman

Human reviews AI findings and approves merge.

uc-code-review.osop.yaml
osop_version: "1.0"
id: "ai-code-review"
name: "AI-Assisted Code Review"
description: "Lint, review, and approve code changes with AI + human oversight."

nodes:
  - id: "lint"
    type: "cicd"
    subtype: "test"
    name: "Run Linter & Type Check"
    description: "Automated static analysis."

  - id: "review"
    type: "agent"
    subtype: "llm"
    name: "AI Code Review"
    description: "AI reviews diff for bugs, security issues, and style violations."
    security:
      risk_level: "low"

  - id: "approve"
    type: "human"
    subtype: "review"
    name: "Senior Engineer Approval"
    description: "Human reviews AI findings and approves merge."
    security:
      approval_gate: true

edges:
  - from: "lint"
    to: "review"
    mode: "sequential"
  - from: "review"
    to: "approve"
    mode: "sequential"
  - from: "review"
    to: "lint"
    mode: "fallback"
    label: "Lint failures found by AI"