本文へ移動
cccskills
無料GitHub で公開

reviewer-protocol

Reviewer rejection workflow and strict lockout semantics

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.5 KB

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

Quality and test reviewers may block a PR or merge on quality, coverage, or regression grounds. Treat that block as a rejection that enters the protocol below.

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:
    1. Reassign: Require a different agent to do the revision (not the original author).
    2. 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:

  1. The original author is locked out. They may NOT produce the next version of that artifact. No exceptions.
  2. A different agent MUST own the revision. The Coordinator selects the revision author based on the Reviewer's recommendation (reassign or escalate).
  3. 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.
  4. 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.
  5. Lockout scope: The lockout applies to the specific artifact that was rejected. The original author may still work on other unrelated artifacts.
  6. 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.
  7. 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.

Waza rejection boundary (Squad only): Include concrete counter-evidence, the violated requirement, affected scope, and minimum condition for approval. The Coordinator selects a different qualified revision owner, not the locked-out author or rejecting gate. The rejecting gate does not implement, pair on, or advise the immediate revision; it performs a focused rereview of blockers, delta, and regressions. After successful focused rereview of the independently corrected revision, the selected gate may issue approval/PASS, not native repository approval, merge or publishing authority. Rai/Fact Checker output boundary: Charter output/persistence restrictions take precedence over generic history, audit-trail or decision-inbox instructions. Return findings in the current review response; only an authorized coordinator or Scribe handles required persistence under the current state contract. These coordination rules do not apply to ordinary Copilot work.

Examples

Example 1: Reassign after rejection

  1. Runtime Engineer writes authentication module
  2. Quality Engineer reviews → rejects: "Error handling is missing. Another engineer should fix this."
  3. Coordinator: Runtime Engineer is now locked out of this artifact
  4. Coordinator spawns a different engineer to revise the authentication module
  5. The revision engineer produces v2
  6. Quality Engineer reviews v2 → approves
  7. Lockout clears for next artifact

Example 2: Escalate for expertise

  1. Original Author writes TypeScript config
  2. Lead reviews → rejects: "Need someone with deeper TS knowledge. Escalate."
  3. Coordinator: Original Author is now locked out
  4. Coordinator spawns new agent (or existing TS expert) to revise
  5. New agent produces v2
  6. Lead reviews v2

Example 3: Deadlock handling

  1. Original Author writes module → rejected
  2. Revision Engineer revises → rejected
  3. Quality Engineer revises → rejected
  4. All 3 eligible agents are now locked out
  5. Coordinator: "All eligible agents have been locked out. Escalating to user: [artifact details]"

Example 4: Reviewer accidentally names original author

  1. Original Author writes module → rejected
  2. Quality Engineer says: "The original author should fix the error handling"
  3. Coordinator: "The original author is locked out. Please name a different agent."
  4. Quality Engineer names a revision engineer
  5. Coordinator spawns the revision engineer

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

Prepare and publish a new version of the waza azd extension. USE FOR: "publish extension", "release new version", "bump version", "prepare release", "update changelog", "azd publish", "new release", "version bump", "cut a release". DO NOT USE FOR: running evals (use waza), writing skills (use skill-authoring), CI/CD pipeline changes (edit workflow files directly).

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

**UTILITY SKILL** - Explain code snippets, functions, and algorithms in plain language. USE FOR: explain code, what does this code do, break down this function, help me understand this, walk through this algorithm, clarify this logic, explain this snippet, describe what happens here. DO NOT USE FOR: writing new code (use code generation), fixing bugs (use debugging), refactoring (use refactoring skills), code review with action items. INVOKES: file reading tools to access code, language detection for tailored explanations. FOR SINGLE OPERATIONS: If the user just needs to see file contents, use file reading tools directly.

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

Explains code snippets in plain English, breaking down what the code does step by step. Perfect for learning, code reviews, or documentation.

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

The complete two-phase Init Mode protocol the Squad coordinator runs when no team exists yet in the current repo. Phase 1 = propose the team (no files created, wait for user confirm). Phase 2 = create .squad/ scaffolding, casting state, .gitattributes for merge drivers, and the always-on built-ins (Scribe, Ralph, Rai, Fact Checker). Loaded on demand when the coordinator detects no .squad/team.md exists.

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

Selecting WHO handles work is the Routing table; selecting HOW they handle it (Direct, Lightweight, Standard, Full) is Response Mode. This skill contains the complete decision table, exemplar prompts for each mode, the Lightweight spawn template, and the upgrade rules. Squad coordinator loads this on demand once routing has identified the agent — to pick the right ceremony level for the task.

日本語の概要は準備中です。原文の説明を表示しています。

microsoft/waza1,4192026年10月17日 更新

microsoft のスキルをすべて見る

このスキルの問題を報告する