mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
Align project docs with current behavior using progressive disclosure and bilingual deep-dive guides. Add per-page admin screenshots with consistent page-* naming to make UI documentation clearer.
47 lines
989 B
Markdown
47 lines
989 B
Markdown
# Review Engines
|
|
|
|
## Overview
|
|
|
|
The system supports two engines:
|
|
|
|
- `agent`: native staged review pipeline
|
|
- `codex`: Codex CLI-backed review pipeline
|
|
|
|
Engine is selected by `REVIEW_ENGINE` runtime configuration.
|
|
|
|
## Agent engine
|
|
|
|
Agent engine classifies changes and dispatches specialist tasks.
|
|
|
|
### Review modes
|
|
|
|
- `skip`: low-risk changes may bypass specialist review
|
|
- `light`: minimal specialist checks for low-risk code changes
|
|
- `full`: full specialist review for risky or larger changes
|
|
|
|
### Size policy
|
|
|
|
`small`/`medium`/`large` thresholds are used by triage to choose mode and token budgets.
|
|
|
|
## Codex engine
|
|
|
|
Codex engine runs review through Codex CLI with independent runtime settings:
|
|
|
|
- `CODEX_API_URL`
|
|
- `CODEX_API_KEY`
|
|
- `CODEX_MODEL`
|
|
- `CODEX_TIMEOUT_MS`
|
|
- `CODEX_REVIEW_PROMPT`
|
|
|
|
## Event support
|
|
|
|
Both engines process:
|
|
|
|
- Pull request webhook events
|
|
- Commit status webhook events
|
|
|
|
## Output
|
|
|
|
- PR/commit summary comment
|
|
- Line-level findings with confidence and severity
|