Load PR object
Classify changed files by quality impact before reasoning.
Context TriageQuality Engineering Demo
A QE review agent that triages PR files, attaches team standards, routes review depth, and emits gated comments.

Clickable pattern simulator
This simulator does not replace the CLI run, but it makes each step, state, log, gate and final output visible in the browser.
Classify changed files by quality impact before reasoning.
Context TriagePin team coding rules and project conventions.
Hierarchical RetentionFast path for lint-like issues, deeper path for risk-bearing changes.
Complexity RoutingEmit concise review comments with file, severity and rationale.
Prompt ChainingBlock only when quality or release risk crosses the threshold.
Approval GateShow file route, rule source, score and gate reason.
Observability Harness
| Pattern | Design role |
|---|---|
| Context Triage | Large PRs need file priority before review judgment. |
| Hierarchical Retention | Team standards should be stable context, not repeated prompt text. |
| Complexity Routing | Different review questions deserve different model depth. |
| Approval Gate | The system comments freely but blocks cautiously. |
Most bad code review agents fail before reasoning, because the wrong files enter the context.
A team style guide should behave like pinned memory, otherwise every PR starts from zero.
A review agent can be useful without owning merge authority.
cd workshops/workshop1-code-review
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python src/main.py
open visual/index.htmlworkshops/workshop1-code-review/README.mdimages/training/visual/workshop1-code-review-blueprint.png