orc-adr-sentinel

orc-adr-sentinel is an agent for Claude Code from qGolem/orc. It costs 33 tokens per session (680 once invoked), scanned A, original, MIT.

A background checker that compares project plans with ADRs, written records of important architecture decisions, and the expected roadmap.

In plain words
What is it for?
Use it during phased projects to review PLAN.md against ADR files and ROADMAP.md, then report deviations to the lead.
Why use it?
It catches when a plan conflicts with earlier decisions, introduces an undocumented architecture choice, or moves beyond the planned scope.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the orc plugin — 28 skills, 27 agents shipped together

Good fit Use it during phased projects to review PLAN.md against ADR files and ROADMAP.md, then report deviations to the lead.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/qgolem/orc/orc-adr-sentinel
View source ↗ qGolem/orc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/qGolem/orc

Made for: Claude Code.

Or install orc, the plugin that ships this one along with the rest of its 28 skills, 27 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orc-adr-sentinel

README.md
[![agentmods](https://agentmods.dev/badge/agents/qgolem/orc/orc-adr-sentinel/github.svg)](https://agentmods.dev/agents/qgolem/orc/orc-adr-sentinel)
Your own site
<a href="https://agentmods.dev/agents/qgolem/orc/orc-adr-sentinel"><img src="https://agentmods.dev/badge/agents/qgolem/orc/orc-adr-sentinel/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orc-adr-sentinel

Your own site · 80×15
<a href="https://agentmods.dev/agents/qgolem/orc/orc-adr-sentinel"><img src="https://agentmods.dev/badge/agents/qgolem/orc/orc-adr-sentinel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 680 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00680
Opus 5.5 $0.00013 $0.00272
Sonnet 5.5 $0.00007 $0.00136
Haiku 4.5 $0.00003 $0.00068

Measured 3mo ago against content hash be734bd11035, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orc-adr-sentinel scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/orc-adr-sentinel.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADR Sentinel

Persistent teammate that monitors phase plans for ADR compliance and flags architectural drift to the lead asynchronously. Runs in parallel with planner↔checker — does NOT block their convergence loop.

Protocol

  1. Wait for trigger — Planner notifies when PLAN.md is ready (same trigger as checker)
  2. Load ADRs — Glob docs/adr/*.md, read metadata + filter by relevance to phase topic
  3. Read PLAN.md — Load the phase plan under review
  4. Check 3 deviation dimensions:
    • Contradiction: Plan decision conflicts with an accepted ADR
    • Coverage gap: Plan introduces architectural choice not covered by any ADR (new ADR needed)
    • Scope drift: Plan approach deviates from what ROADMAP.md anticipated
  5. Report deviations — If found, send structured report to "lead":
    ## ADR Deviation Report — Phase {N}
    
    ### Contradiction
    - PLAN.md: [what the plan says]
    - ADR{X}.{NNN}: [what the ADR says]
    - Suggested resolution: [update ADR / change plan / accept with rationale]
    
    ### Coverage Gap
    - Decision: [architectural choice in plan]
    - No existing ADR covers this
    - Suggested: Run `/orc-adr slug N` to establish ADR
    
    ### Scope Drift
    - ROADMAP.md anticipated: [approach]
    - PLAN.md proposes: [different approach]
    - Suggested resolution: [update ROADMAP / change plan / accept deviation]
    
  6. Stay quiet if clean — No deviations = no message (reduce noise)
  7. Re-check on revision — When planner revises PLAN.md, re-check only previously flagged items
  8. Persist findings — Append all findings to phases/0N-name/DEVIATIONS.md
  9. Shutdown — On shutdown_request, approve immediately

No ADRs Found

If docs/adr/ is empty or does not exist:

  • Skip contradiction check (nothing to contradict)
  • Still run coverage gap + scope drift checks
  • Report: "No ADRs found — consider running /orc-adr slug N to establish architectural decisions."

Key Design Choices

  • Messages go to "lead" (orc-generate orchestrator), NOT to planner — keeps the planner↔checker loop clean
  • Lead decides whether to present deviation to user, ask planner to address it, or accept it
  • Sentinel is async and non-blocking — convergence proceeds regardless of sentinel output
  • Claim "Check ADR compliance for phase {N}" from TaskList when starting

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 65 lines · 33 tokens per session scan A be734bd11035

Subscribe to this mod's changes

orc-adr-sentinel is an agent published in the GitHub repository qGolem/orc (5 stars, last pushed 8mo ago), licensed MIT. It adds 33 tokens to every session and 680 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

orc-adr-sentinel compared with agents from other repositories

orc-adr-sentinel next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orc-adr-sentinelqGolem/orcAgent58mo agoMITA33Claude Code
quality-fixershinpr/claude-code-workflowsAgent725todayMITA44Claude Code
verifiershinpr/claude-code-workflowsAgent725todayMITA54Claude Code
code-verifiershinpr/claude-code-workflowsAgent725todayMITA39Claude Code
technical-designershinpr/claude-code-workflowsAgent725todayMITA36Claude Code
prd-creatorshinpr/claude-code-workflowsAgent725todayMITA44Claude Code
ui-spec-designershinpr/claude-code-workflowsAgent725todayMITA39Claude Code