Workflow Judge
Skill name: workflow-judge
Independent compliance evaluation for specced software work. Use for LLM-as-judge style review, PR boundary verification, final feature verification, rubric compliance checks, scope creep checks, gap checks, or contradiction checks against spec.md.
Keep the judge pass isolated from implementation rationale. If subagents are available and the user has authorized parallel agent work, use one. Otherwise perform the isolated evaluation yourself from the spec and changed files only.
Embedded Instructions
Judge
Use for an independent spec compliance pass at PR boundaries or feature completion.
At a formal PR boundary, first resolve the judge gate through boundary_gate.py. Read changed files only from its diffBaseSha through diffHeadSha and write the result only to its outputPath. Do not re-resolve the PR, infer an upstream, or choose a branch-derived report path. Outside a formal boundary, retain the existing standalone diff and output fallback.
- Gather only the materials required for evaluation:
- AC and rubric from
spec.md. - Changed file list from the correct merge base.
- Current changed file contents.
- Keep the judge isolated from implementation rationale and prior self-evaluation.
- Ask the judge to score every in-scope rubric criterion as PASS, FAIL, or PASS WITH CONCERNS, citing file/line evidence.
- Include scope creep, gap, and contradiction checks.
- Treat judge failures as blockers until fixed or explicitly accepted by the user.
- Preserve the result as an auditable artifact. Formal boundaries use the active packet's fixed
judge.md; standalone evaluations may use an explicitly named report or summarize the verdict plus concerns intracker.mdand the PR body when a separate file would be excessive. - Do not emit pattern-review learning events by default. The learning-event producer contract is deferred from pattern-review v1 until the review gate has enough real usage to justify the extra structure.
Judge output must include:
## Judge Evaluation
**Verdict:** PASS / FAIL / PASS WITH CONCERNS
### Rubric Evaluation
| # | Criterion | Result | Evidence |
|---|-----------|--------|----------|
### Scope Check
- **Scope creep found:** Yes/No
- **Details:** ...
### Gap Check
- **Unaddressed AC:** ...
### Contradiction Check
- **Contradictions found:** ...
### Concerns
...
If subagents are available and the user has authorized parallel agent work, use a subagent. Otherwise perform the independent pass yourself by rebuilding the evaluation from source artifacts only.