architecture-drift-rev…
AgentRead-only checkpoint reviewer. Surfaces drift between the codebase and accepted ADRs in .codearbiter/decisions/. Informational —…
Dispatched when a database migration file is added or modified. Reviews migrations for safety, data-classification tagging, and immutability against .codearbiter/security-controls.md.
Claude Code
> /plugin marketplace add arbiterForge/codeArbiter
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: migration-reviewer description: Dispatched when a database migration file is added or modified. Reviews migrations for safety, data-classification tagging, and immutability against .codearbiter/security-controls.md. tools: Read, Bash, Grep classification: reviewer pi-skills: [] model: inherit
For every security policy reference below, follow `{{PLUGIN_ROOT}}/includes/knowledge.md` ("Read security policy before a security decision"): select the repository's context format, read the complete policy from exact `CTX-SECURITY-CONTROLS` records in HTML mode or the full Markdown controls in Markdown mode, and read operative scope blocks when applicable. Required policy that is missing or unreadable blocks a security decision; scope blocks alone are not full policy.
Read-only. Review every migration added or modified. Produce findings. Do not modify files.
Select the context format with `{{PLUGIN_ROOT}}/includes/knowledge.md`. The Markdown tech-stack path below applies only in Markdown mode; in HTML mode, read the corresponding exact knowledge records and declared commands.
Dispatched when a diff contains:
Flag no-rollback migrations as **HIGH**. Flag irreversible destructive operations as **CRITICAL** unless justified by a linked ADR.
For every table created or modified:
**BLOCK if a classification annotation is missing from a table holding sensitive data.** Definitions of sensitive categories: `security-controls.md`.
Flag any edit to an already-committed migration as **CRITICAL**: "Modifying a committed migration causes schema divergence across environments."
Flag as **MEDIUM** — not blockers, but address before production.
Per `{{PLUGIN_ROOT}}/includes/reviewer-contract.md`, with `**File:** <path>` (no line number — findings are per migration file).
The review output template in `reviewer-contract.md`, with `<Role>` = Migration.
Open-source governance and hard gates for AI coding agents across Claude Code, Codex CLI, and Pi.
Read-only checkpoint reviewer. Surfaces drift between the codebase and accepted ADRs in .codearbiter/decisions/. Informational —…
Reviews authentication, cryptography, key handling, and secrets against {{PROJECT_DIR}}/.codearbiter/security-controls.md. Hard…
INTERNAL independent reviewer for structured-artifact spec and quality review on Claude Code. Launched only through an armed…
Implement backend/server-side code with scoped verification, input validation, framework conventions, and ORM usage. Reads tech…
Persists a complete verdict-aggregator output under the selected dated checkpoint filename in .codearbiter/checkpoints/. Writer,…
Dispatched by the tdd skill (Phase 4) to audit test coverage against TDD obligations. Identifies untested source files, coverage…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…