impl-acceptance

impl-acceptance is an agent for Claude Code from infra403/agentic-engineering-lab. It costs 64 tokens per session (750 once invoked), scanned A, original, MIT.

An acceptance-test engineer for the RED phase of test-driven development, where tests are written before the implementation and should initially fail. It works in a separate Git worktree, an isolated copy of the project files.

In plain words
What is it for?
Use it to create models, service and repository interfaces, event definitions, API tests, contract tests, mocks, fixtures, and tests linked to requirement numbers.
Why use it?
It turns requirements into executable tests and contracts before production code exists, making the expected behaviour explicit and traceable.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

Part of the product-design plugin — 3 skills, 4 commands, 10 agents shipped together

Good fit Use it to create models, service and repository interfaces, event definitions, API tests, contract tests, mocks, fixtures, and tests linked to requirement numbers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/infra403/agentic-engineering-lab/impl-acceptance
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/infra403/agentic-engineering-lab

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 10 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 impl-acceptance

README.md
[![agentmods](https://agentmods.dev/badge/agents/infra403/agentic-engineering-lab/impl-acceptance/github.svg)](https://agentmods.dev/agents/infra403/agentic-engineering-lab/impl-acceptance)
Your own site
<a href="https://agentmods.dev/agents/infra403/agentic-engineering-lab/impl-acceptance"><img src="https://agentmods.dev/badge/agents/infra403/agentic-engineering-lab/impl-acceptance/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 impl-acceptance

Your own site · 80×15
<a href="https://agentmods.dev/agents/infra403/agentic-engineering-lab/impl-acceptance"><img src="https://agentmods.dev/badge/agents/infra403/agentic-engineering-lab/impl-acceptance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 750 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.00064 $0.00750
Opus 5.5 $0.00026 $0.00300
Sonnet 5.5 $0.00013 $0.00150
Haiku 4.5 $0.00006 $0.00075

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

Security

Grade A, and why

impl-acceptance 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 1mo 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.

claude-code/plugins/product-design-plugin/agents/impl-acceptance.md · 80 lines

What it actually says

验收测试工程师(RED Phase)

在 独立 git worktree 中工作。语言无关 — 从 tech-profile.yaml 读取测试框架和文件模式。

核心原则

测试是 spec 的可执行形态。RED 状态确认是关键。 enforce-test-scope.sh hook 确保你只能创建 tech-profile.patterns 中定义为测试/契约/模型的文件。

Spawn Prompt 包含

  • tech-profile.yaml 完整内容
  • 模块名 + FR 列表 + 领域模型 + DDL + API 定义

产出(语言无关描述)

对于每个模块,生成以下类型的文件(具体文件名从 tech-profile.patterns 推导):

类型 用途 tech-profile key
模型定义 领域模型 struct/class/type patterns.model
错误定义 sentinel errors / exceptions 按语言惯例
接口定义 Service + Repository 接口 patterns.contract
事件类型 消息 schema(引用共享定义) 按语言惯例
验收测试 追溯 FR 编号的测试 patterns.test
契约测试 接口行为规范测试 patterns.test
编译用 Stub 最小实现让测试编译通过 按语言惯例

API 层测试也由你生成(不是 impl-api)。

外部 API Mock 策略(语言无关)

对于依赖外部 API 的模块:

  1. 在接口定义文件中声明外部 API 抽象
  2. 在测试中提供 mock 实现
  3. 提供 fixture 数据
  4. 集成测试用语言对应的 HTTP mock(Go: httptest, Python: responses/httpx_mock, TS: nock, Java: WireMock)

事件类型规则

事件类型集中定义在 {structure.shared_dir}/events/,各模块引用共享定义。

测试追溯

每个验收测试追溯 FR 编号。完成后追加 tests/traceability.md。

Verify(SubagentStop hook 自动执行)

# Hook 从 tech-profile 读取命令
BUILD_CMD=$(yq '.commands.compile_check' tech-profile.yaml)
RED_CHECK=$(yq '.commands.test_red_check' tech-profile.yaml | sed "s/{module}/$MODULE/g")
eval "$BUILD_CMD"    # 编译通过
FAIL_COUNT=$(eval "$RED_CHECK")  # > 0
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. 1mo ago First seen · 80 lines · 64 tokens per session scan A bae38f95bb11

Subscribe to this mod's changes

impl-acceptance is an agent published in the GitHub repository infra403/agentic-engineering-lab (5 stars, last pushed 5mo ago), licensed MIT. It adds 64 tokens to every session and 750 once invoked, about $0.0003 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

Other agents, from other repositories

nw-acceptance-designer

Use for DISTILL wave — designs E2E acceptance tests from user stories and architecture using Given-When-Then format. EXPANDED scope (plan v3 §3.A, 2026-05-19) — exclusive test-expertise owner; authors ATs with maximum PBT + parametrize density, runs self-completeness audit (7-category taxonomy + 15-item checklist)…

nWave-ai/nWave · 138 tokens

qa-engineer

QA Engineer (Priya Sharma) - Test stratejisi, Playwright, edge case avcısı, bug raporlama.

vibeeval/vibecosystem · 30 tokens

quality-guardian

MANDATORY specialist subagent for Testing, Security Hardening, TDD Debugging, and Anti-Slop Auditing. Delegate to this subagent to verify builds, execute test suites, audit code quality, or run security red-teaming before production release.

roedyrustam/vibes-plug · 55 tokens

angular-validator

Phase 6 — run Angular frontend validation gates (lint, typecheck, unit tests, build, e2e) and merge results into validation artifacts. Use when running /validate for features that change Angular source.

loiane/specs-driven-development-spring-angular · 46 tokens

golem-tester

Owns spec-driven verification and real-browser QA. Keeps independent verification separate from implementation while driving regression tests and browser validation.

monkey1wizard/Golem-Agents-Legion · 29 tokens

harness-implementer

Implements a single claude-harness feature end-to-end in an isolated context - acceptance tests first (ATDD), implementation, verification, checkpoint (commit/push/PR via gh), optional merge. Spawned by the /claude-harness:flow skill with a structured feature prompt; not intended for ad-hoc use.

panayiotism/claude-harness · 73 tokens