PatchPatrol Docs

Quick Start

Start with the supported public path and get to your first PatchPatrol review with confidence.

Quick Start

PatchPatrol helps teams run the first AI-assisted review using the supported GitLab artifact-first workflow.

Use this page to jump directly into the path you need:

GitLab CI example

# .gitlab-ci.yml (excerpt)
ai-review:
  image: ghcr.io/aistack-projects/patchpatrol:vX.Y.Z
  script:
    - ai-review run --mode mr
  variables:
    AI_REVIEW_OUTPUT_DIR: .ai-review
    AI_REVIEW_FEEDBACK_MODE: artifact-only
    AI_REVIEW_PROVIDER: openai
    AI_REVIEW_MODEL: gpt-4o-mini
  artifacts:
    paths:
      - .ai-review/ai-review.md
      - .ai-review/ai-review.json
  rules:
    - if: $CI_MERGE_REQUEST_IID
# quick validation before the first review run
ai-review test --gitlab-readiness

Keep AI_REVIEW_FEEDBACK_MODE set to artifact-only for your first rollout. Supported public path: GitLab artifact-first

If you need the shared role and optional feedback follow-ups:

If the first run fails, artifacts are missing, or GitLab delivery does not match the expected artifact-first baseline, go straight to Troubleshooting before widening the rollout.

FAQ

Learn More

Need help or want a guided follow-up?

Contact and policy:

On this page