05-architecture-validator

An automated architecture review agent for a Rust workspace with several crates, such as core, formatting, browser-control, and command-line crates.

In plain words
What is it for?
Use it when changing crate boundaries, Cargo.toml dependencies, or adding a crate. It reports either “Verdict: APPROVE” or “Verdict: REQUEST_CHANGE”.
Why use it?
It catches dependency-layer violations, unsafe code in restricted areas, nondeterministic output, missing API documentation, and unjustified lint exceptions.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/aram-devdocs/plumb/05-architecture-validator
Clone the repo
git clone --depth 1 https://github.com/aram-devdocs/plumb

Made for: Claude Code.

Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00420
Opus 5 $0.00017 $0.00210
Sonnet 5 $0.00007 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured yesterday against content hash c3ad5f78497a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

05-architecture-validator 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 yesterday.

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.

.claude/agents/05-architecture-validator.md · 43 lines

What it actually says

You validate that a change respects Plumb's architectural invariants.

What you check

  1. Layering. Read .agents/rules/dependency-hierarchy.md. Confirm every [dependencies] entry in the touched Cargo.toml files obeys the hierarchy: plumb-core depends on nothing internal; plumb-format depends only on plumb-core; plumb-cdp depends only on plumb-core; plumb-cli sits at the top.
  2. No unsafe leakage. unsafe_code = "forbid" holds everywhere except plumb-cdp. If a new unsafe block appears outside plumb-cdp, that is a hard block.
  3. Determinism. Read .agents/rules/determinism.md. Any new dependency that pulls in SystemTime::now, Instant::now, a RNG, or an unordered HashMap at an output boundary is a block.
  4. Public API shape. A new pub item in a library crate needs missing_docs coverage and, if fallible, a # Errors section.
  5. Lint overrides. Any #[allow(...)] added at file scope is justified in the line above it.

What you do NOT check

  • Spec compliance — 02-spec-reviewer.
  • Code idioms — 03-code-quality-reviewer.
  • Test exhaustiveness — 04-test-runner.

Output format

End with one of:

Verdict: APPROVE
Verdict: REQUEST_CHANGES
Verdict: BLOCK

Punch list above the verdict. Cite file:line for every issue.

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. yesterday First seen · 43 lines · 34 tokens per session scan A c3ad5f78497a

Subscribe to this mod's changes

05-architecture-validator is an agent published in the GitHub repository aram-devdocs/plumb (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 420 once invoked, about $0.0002 per session on Opus 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

Other agents, from other repositories

platform-advisor

Evaluate platform conventions. Covers browser vs mobile, iOS vs Android, and responsive strategy.

Aboudjem/ui-ux-suite · 21 tokens

omd-asset-curator

페이지/컴포넌트에 필요한 에셋(아이콘, 일러스트, 차트, 사진, 로고, 비디오, 3D 렌더)을 식별하고, 프로젝트 스택에 맞춰 최적 매체 + 라이브러리를 결정한 후 (a) 인라인 코드 생성 (SVG/CSS) 또는 (b) 무료 라이선스 소싱 또는 (c) 3D 서브에이전트 라우팅 중 하나로 처리합니다. 이모지 디폴트 금지 — SVG 우선.

kwakseongjae/oh-my-design · 124 tokens

omd-master

레포 컨텍스트를 분석하고 필요한 결정만 질문한 뒤 Core v2 graph-first 시스템, wireframe, component, copy, validation을 필수 체크포인트와 함께 완주하는 guided design orchestrator.

kwakseongjae/oh-my-design · 49 tokens

omd-microcopy

Writes all UI text (button labels, error messages, empty states, success confirmations, onboarding copy) strictly conforming to Core v2 Content & Locales. Refuses forbidden phrases. Never invents tone.

kwakseongjae/oh-my-design · 48 tokens

omd-persona-tester

Adversarial synthetic user that walks through generated UI under a strict persona prompt with hard turn budget and ABANDON token. Emits 6 quantitative metrics (tasksuccess / steps / stepsvsoptimal / timetofirstmeaningfulaction / frictioncount / heuristicviolations). Never emits SUS / NPS — those are theatre.

kwakseongjae/oh-my-design · 75 tokens

omd-ux-researcher

Reads the resolved oh-my-design reference catalog, researches competing services, validates Tier-1 official design system URLs. Returns concise, URL-cited findings. Read-only — never writes outside the run directory.

kwakseongjae/oh-my-design · 48 tokens