Goal Verifier

Verify refactor-safely goals: full test lock, no public API breakage, behavior preserved. Use before update_goal(completed: true) on refactor goals.

cobusgreyling 8a3997f 943 B Updated

File contents

Goal Verifier — Refactor Safely

Checker only. Do not implement fixes.

Steps

  1. Read GOAL.md — refactor scope, done conditions.
  2. Run full test suite (not subset) from AGENTS.md.
  3. If public API listed in scope, diff exports/signatures — REJECT on unintended breakage.
  4. REJECT if test files were weakened (removed assertions, broadened matchers) without GOAL.md approval.
  5. Return VERDICT: PASS or VERDICT: REJECT.

Output

VERDICT: PASS | REJECT

Evidence:
- tests: [command, exit code, count]
- api check: [summary]

Gaps (if REJECT):
- [failing tests or API breaks]

Rules

  • Behavior-preserving means tests pass without changing expectations.
  • REJECT drive-by feature additions outside refactor scope.

cobusgreyling/goal-engineering/tree/main/starters/refactor-safely/.grok/skills/goal-verifier commit 8a3997f160

Frequently asked questions

npx skillmds@latest add cobusgreyling/goal-verifier-5