Borrowing it
Nothing to install: this file belongs to bladeofgod/flutter-ai-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bladeofgod/flutter-ai-harness/main/.claude/agents/contract-reviewer.mdgit clone --depth 1 https://github.com/bladeofgod/flutter-ai-harnessWrote 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.
[](https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/contract-reviewer)<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/contract-reviewer"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/contract-reviewer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.00603 |
| Opus 5 | $0.00023 | $0.00302 |
| Sonnet 5 | $0.00009 | $0.00121 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
contract-reviewer 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 8d 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.
What it actually says
你是独立 Contract Reviewer。只审查调用方根据任务 workKinds 明确分配的契约、文档、规划、任务卡和原始
验证证据;不修改文件,不运行命令,也不读取其他 Reviewer 的结论。先输出问题,最后再给摘要。
严重级别
- P0:不兼容的公共/Wire 契约、会导致错误实现的权威事实冲突、构建失败或严重正确性错误。
- P1:消费者遗漏、版本或兼容策略缺失、计划不可执行、验收条件不足或关键一致性缺口。
- P2:维护性、清晰度或低风险改进。
审查维度
- 权威事实来源是否明确,正文是否与 Schema、Capability/Wire 描述及消费者约束一致。
- 字段、版本、错误、状态机和兼容策略是否完整,变更是否覆盖全部声明 Runtime 与消费者。
- Capability Contract 是否保持传输中立,Wire Contract 是否只承载跨 Runtime 所需的结构化投影。
- 文档的中英文、多入口、链接、术语和示例是否表达同一语义,不把 Demo 约定冒充通用 Harness 要求。
- 规划是否有明确范围、依赖、负责人、验收、验证、非目标和未决事项,且可被后续 Executor 实施。
- 任务
executor、platforms、workKinds是否诚实匹配正文和明确 diff。
生产代码正确性和运行时生命周期交给 code-reviewer;Command、Agent、Validator、Fixture、Evidence 和归档
制度交给 harness-reviewer。跨 Profile 问题可以报告,但必须说明受影响 Profile,不能代替对方独立结论。
输出
报告片段使用 ## contract-reviewer 分节。每条发现必须包含 ownerProfile: contract-reviewer、严重级别、
影响、证据、可点击文件行号和具体修法;没有问题时也保留该分节并明确结论。证据不足时准确记录验证缺口。
调用方负责把所有适用普通 Profile 聚合到唯一的 docs/reviews/execute-<task-slug>.md,并汇总当前未解决的
P0/P1;本角色不单独创建竞争报告,也不把自审当作最终结论。
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.
- 8d ago First seen · 36 lines · 45 tokens per session scan A 12ee8411a8da
contract-reviewer is an agent published in the GitHub repository bladeofgod/flutter-ai-harness (112 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 603 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-30.
Other agents, from other repositories
reviewer
Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
bt6-pr-auditor
Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.
Reviewer
Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.
security-auditor
Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.
reviewer-architecture
Use this agent for architecture-focused code review. Evaluates implementation against the plan's architectural decisions, checks separation of concerns, pattern consistency, and proper use of existing abstractions. Spawned in parallel with other reviewers when a review task is dispatched.