gstack/pr-prep
Benjamin D. Smith 29e4c17bfa test(pr-prep): extract + unit-test the collision scorer
The Step 4 bucketing (title/file Jaccard, state weighting, EXACT_DUP /
OVERLAP / SIBLING / CLEAN precedence) lived only as inline bash in the
skill, so it had no behavioral coverage. Extract it into a pure,
deterministic CLI, `bin/gstack-pr-prep-score`, and pin every bucket
threshold in `test/pr-prep-score.test.ts` (13 cases, free, gate-tier).
The skill's Step 4 now points at the scorer as the canonical
implementation rather than re-deriving the thresholds inline, and the
coverage matrix gates pr-prep on the new behavioral test. This is the
v0.2.0 extraction the skill flagged, scoped to the scoring core.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 21:56:32 +10:00
..
SKILL.md test(pr-prep): extract + unit-test the collision scorer 2026-07-02 21:56:32 +10:00
SKILL.md.tmpl test(pr-prep): extract + unit-test the collision scorer 2026-07-02 21:56:32 +10:00