← Back to Studio

Agent · 2026

Auditor

PR-scoped drift and coherence detector

A pull-request-triggered agent that reads the diff and flags architectural drift — a component that bypasses an existing data layer, a rebuilt feature that quietly drops working UI, a file orphaned by a refactor — before the PR merges.

Auditor issue flagging component drift in a pull requestAuditor issue flagging component drift in a pull request
component_drift: a PR reintroduces direct Prisma calls instead of the existing actions layer.
Auditor issue flagging an orphaned file with zero importsAuditor issue flagging an orphaned file with zero imports
orphans: a hand-rolled checkbox left with zero imports after a PR inlined its own version.
GitHub issues feed showing Auditor and Ledger findings side by sideGitHub issues feed showing Auditor and Ledger findings side by side
Auditor's drift findings running alongside Ledger's daily pipeline-gap checks.

Why it matters

  • Caught component_drift (a PR reintroducing direct Prisma calls instead of the existing actions layer) and ia_drift (a rebuilt data layer that silently dropped the FilterBar UI) in the same week.
  • Flags orphaned files too — a hand-rolled checkbox left with zero imports once a PR inlined its own version instead of reusing the shared one.
  • The second agent extracted through Moirai, and the harder test of the protocol: PR-triggered rather than scheduled, writes to an inbox sink rather than filing issues.
View Auditor on GitHub