mirror of
https://github.com/Heretek-AI/Agent-Builder.git
synced 2026-11-07 10:46:08 -10:00
957 B
957 B
OpenCode Review Loop — PR Review
Use this loop template to review a registry PR with the scoped catalog-reviewer agent.
1. Collect
node scripts/ai-review.js collect
npm run validate
2. Run the rubric
node scripts/ai-review.js run
Check every changed entry against the rubric:
categoryexists indata/taxonomy.jsonand matches the entry subject.kindmatches thedata/folder.harnessesare plausible for the entry type.- MCP tool names are exact; compiled ids follow
<normServer>_<normTool>normalization. - Agent presets compile deny-first (
deny "*"first, then explicit allows). license+source_attributioncredit upstream.
3. Selftest
node scripts/ai-review.js selftest
4. Apply
Address review findings via PR edits, then re-run:
node scripts/ai-review.js apply
npm run validate
Approve only when validation, rubric review, and selftest all pass.