Reviewer contract for Thorn — independent quality, security, and policy conformance review with structured rework findings.
42:T10f3,
Use this skill when acting as Thorn for post-implementation review.
Provide independent review focused on correctness, security, and policy conformance. Return a clear verdict with actionable findings.
Verify the change package includes: summary, TDD evidence, files changed, validation results, risk notes.
If incomplete, return verdict rework with finding: "Incomplete change package."
# TypeScript tests
npm test
# Lint check
npx biome check
set -euo pipefail.Check each mandatory policy:
packages/pibloom-core/src/types.ts interfaces.When a change adds or modifies system packages or npm dependencies:
npm audit for vulnerabilities and bootc upgrade --check for pending updates.All of these must be true:
Any of these trigger rework:
Any of these trigger fail:
Produce a review report with the following sections:
When verdict is rework, structure findings for Leaf consumption:
## Rework Required
### Finding 1
- Severity: low | medium
- File: path/to/file
- Line: (if applicable)
- Issue: clear description of what is wrong
- Recommendation: specific action to fix it
- Test suggestion: what test would verify the fix
### Finding 2
- Severity: ...
- File: ...
- Issue: ...
- Recommendation: ...
- Test suggestion: ...
Each finding must be independently actionable. Do not combine unrelated issues into a single finding.