审查者驳回工作流
reviewer-protocol
审查者驳回工作流与严格的锁定语义。
- License 许可
- MIT
- 最近更新
- 2026-10-27
- Stars
- ★ 0
- Forks
- 3
01 前言 Front Matter
- name
- reviewer-protocol
- domain
- orchestration
- source
- extracted
- confidence
- high
- description
- Reviewer rejection workflow and strict lockout semantics
03 SKILL.md 正文
Context
When a team member has a Reviewer role (e.g., Tester, Code Reviewer, Lead), they may approve or reject work from other agents. On rejection, the coordinator enforces strict lockout rules to ensure the original author does NOT self-revise. This prevents defensive feedback loops and ensures independent review.
Patterns
Reviewer Rejection Protocol
When a team member has a Reviewer role:
- Reviewers may approve or reject work from other agents.
- On rejection, the Reviewer may choose ONE of:
- Reassign: Require a different agent to do the revision (not the original author).
- Escalate: Require a new agent be spawned with specific expertise.
- The Coordinator MUST enforce this. If the Reviewer says "someone else should fix this," the original agent does NOT get to self-revise.
- If the Reviewer approves, work proceeds normally.
Strict Lockout Semantics
When an artifact is rejected by a Reviewer:
- The original author is locked out. They may NOT produce the next version of that artifact. No exceptions.
- A different agent MUST own the revision. The Coordinator selects the revision author based on the Reviewer's recommendation (reassign or escalate).
- The Coordinator enforces this mechanically. Before spawning a revision agent, the Coordinator MUST verify that the selected agent is NOT the original author. If the Reviewer names the original author as the fix agent, the Coordinator MUST refuse and ask the Reviewer to name a different agent.
- The locked-out author may NOT contribute to the revision in any form — not as a co-author, advisor, or pair. The revision must be independently produced.
- Lockout scope: The lockout applies to the specific artifact that was rejected. The original author may still work on other unrelated artifacts.
- Lockout duration: The lockout persists for that revision cycle. If the revision is also rejected, the same rule applies again — the revision author is now also locked out, and a third agent must revise.
- Deadlock handling: If all eligible agents have been locked out of an artifact, the Coordinator MUST escalate to the user rather than re-admitting a locked-out author.
Examples
Example 1: Reassign after rejection
- Fenster writes authentication module
- Hockney (Tester) reviews → rejects: "Error handling is missing. Verbal should fix this."
- Coordinator: Fenster is now locked out of this artifact
- Coordinator spawns Verbal to revise the authentication module
- Verbal produces v2
- Hockney reviews v2 → approves
- Lockout clears for next artifact
Example 2: Escalate for expertise
- Edie writes TypeScript config
- Keaton (Lead) reviews → rejects: "Need someone with deeper TS knowledge. Escalate."
- Coordinator: Edie is now locked out
- Coordinator spawns new agent (or existing TS expert) to revise
- New agent produces v2
- Keaton reviews v2
Example 3: Deadlock handling
- Fenster writes module → rejected
- Verbal revises → rejected
- Hockney revises → rejected
- All 3 eligible agents are now locked out
- Coordinator: "All eligible agents have been locked out. Escalating to user: [artifact details]"
Example 4: Reviewer accidentally names original author
- Fenster writes module → rejected
- Hockney says: "Fenster should fix the error handling"
- Coordinator: "Fenster is locked out as the original author. Please name a different agent."
- Hockney: "Verbal, then"
- Coordinator spawns Verbal
Anti-Patterns
- ❌ Allowing the original author to self-revise after rejection
- ❌ Treating the locked-out author as an "advisor" or "co-author" on the revision
- ❌ Re-admitting a locked-out author when deadlock occurs (must escalate to user)
- ❌ Applying lockout across unrelated artifacts (scope is per-artifact)
- ❌ Accepting the Reviewer's assignment when they name the original author (must refuse and ask for a different agent)
- ❌ Clearing lockout before the revision is approved (lockout persists through revision cycle)
- ❌ Skipping verification that the revision agent is not the original author
04 同仓库更多 Skills
{技能名称}
{skill-name}
{本技能教会智能体做什么}
azd 种子钩子
azd-seed-hook
暂无简介
{技能名称}
{skill-name}
{此技能向智能体传授的内容}
智能体分层记忆模型
tiered-memory
三层智能体记忆模型(热/冷/维基),用于减少每次派生(spawn)智能体时的上下文占用。
API 变更同步更新测试
test-discipline
更改 API 时必须同步更新测试——无一例外。
squad 命令目录与交互菜单
squad
Squad 的命令目录与交互式菜单。通过 /squad(斜杠命令)或自然语言(“squad commands”、“what can squad do”、“show me squad options”)调用。以交互式选择器形式呈现分类操作(安装与升级、团队管理、议题与 PR、插件与技能、模型与成本、会话与状态)。路由到相应的 squad CLI 命令或 Squad 协调器智能体。