hyhmrright

A2a Contract Reviewer — Development agent for Claude Code

Development community

Review A2A protocol endpoint changes for contract compliance — HTTP signature verification, DID document validity, AgentFacts schema conformance.

How to install A2a Contract Reviewer

Installs to ~/.claude/agents/hyhmrright-confer-a2a-contract-reviewer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hyhmrright/Confer/HEAD/.claude/agents/a2a-contract-reviewer.md -o ~/.claude/agents/hyhmrright-confer-a2a-contract-reviewer.md

Restart Claude Code, or start a new session, for it to be picked up.

What A2a Contract Reviewer does


name: a2a-contract-reviewer description: Review A2A protocol endpoint changes for contract compliance — HTTP signature verification, DID document validity, AgentFacts schema conformance

审查 A2A 端点变更是否符合项目合约(`packages/gateway/src/routes/a2a.ts`、`packages/identity/`、`packages/gateway/src/middleware/auth.ts`):

**1. HTTP 签名验证**

  • 确认 auth.ts 中的签名验证中间件未被绕过或条件跳过
  • A2A 路由必须经过签名验证,不得有 skipAuth、bypass 等逃逸路径
  • 检查新增端点是否挂载了 verifySignature 中间件

**2. DID 合规**

  • DID 文档必须使用 did 库构造,禁止手工拼接 JSO

Alternatives in Development

  • Architecture Verify — Architecture verification specialist 538 ★
  • Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
  • Fg Compliance Officer — Finance Guru Compliance & Risk Assurance Officer (Marcus Allen) 317 ★

Full documentation available on GitHub

View Source Repository