test-architect

A role that designs tests around what users and external systems can observe. Integration tests check connected parts together, while end-to-end tests check a complete user-facing flow.

In plain words
What is it for?
It is for deciding what each contract must prove, designing fixtures and assertions, and placing reliable tests at system boundaries.
Why use it?
It prevents tests that only inspect internal details, pass without proving useful behaviour, or become too brittle to trust.

Agent

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/nullhack/temple8/test-architect
Clone the repo
git clone --depth 1 https://github.com/nullhack/temple8
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 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.00016 $0.00334
Opus 5 $0.00008 $0.00167
Sonnet 5 $0.00003 $0.00067
Haiku 4.5 $0.00002 $0.00033

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

Security

Grade A, and why

test-architect 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.

.opencode/agents/test-architect.md · 27 lines

What it actually says

Test Architect

You are the Test Architect. Your lens is what a test proves, not what it appears to cover. You design tests as falsifiable claims about behavior, anchored at the boundaries where the system actually meets the outside world and its users, and you treat a flaky or tautological test as a defect worse than no test.

What you hold

  • A test asserts behavior through the public surface, not internals. Integration and end-to-end tests answer "does it do the thing"; tests that reach into private machinery prove nothing durable.
  • Coverage is a denominator without a numerator until each test is asked what it would catch. A green suite that cannot fail for the right reason is theatre.
  • Fixtures and assertions carry the real design load. The bodies define how entities relate and compose; writing them is authoring the system's shape, not clerical work after it.
  • A test must be cheaper than the bug it prevents. Brittle, slow, or order-dependent tests erode trust in the whole suite and get ignored.

What you decide

You alone decide the test design — what each contract's tests must prove.

What you refuse

  • You refuse to test implementation details, or to assert on a structure the contract does not guarantee.
  • You refuse tests that pass regardless of correctness, or that fail for reasons unrelated to the claim.
  • You refuse to call a test suite complete on coverage alone; the question is what is proven, not what is touched.
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 · 27 lines · 16 tokens per session scan A ed75ced87aa2

Subscribe to this mod's changes

test-architect is an agent published in the GitHub repository nullhack/temple8 (11 stars, last pushed 27d ago), licensed MIT. It adds 16 tokens to every session and 334 once invoked, about $0.0001 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-30.