visionforge-ou/foreman-verify
Headless self-verification gate a Foreman worker runs before it claims an issue is done. Re-run the real commands, read the actual output, and only then write the FOREMAN-SUMMARY — evidence before claims, always. Used inside a foreman-tdd build session; emits no summary of its own.
npx skills add https://github.com/VisionForge-OU/foreman --skill foreman-verify
(Adapted from obra/superpowers verification-before-completion (MIT) — see NOTICE.
Made headless and wired to Foreman's trust boundary: the "claim" you are gating is the
foreman-tdd FOREMAN-SUMMARY block and its evidence array, and the verification
commands are the project's own, run through the foreman-test wrapper. Foreman
re-runs every command itself regardless, so a dishonest claim is not just wrong — it
is rejected and counts as a failed attempt.)
You are invoked inside a foreman-tdd build session, right before it would claim
the slice is complete. Your job is to make that claim *true and evidenced*. You run
headless and emit no FOREMAN-SUMMARY of your own — you populate the evidence
the surrounding foreman-tdd run reports.
NO COMPLETION CLAIM WITHOUT FRESH VERIFICATION EVIDENCE
If you have not run the verifying command in this session and read its output,
you may not claim it passes. "Should pass", "I'm confident", "it worked earlier" are
not evidence.
For every claim the FOREMAN-SUMMARY will make (tests pass, lint clean, typecheck
clean, the issue's acceptance_check passes, the behaviour works):
foreman-test suite (not just --fast),then lint, then typecheck if configured, then the acceptance_check.
ERROR lines.Foreman gave you (the test log at minimum, plus each command's output tail, plus a
screenshot for UI work via the configured e2e tooling).
*not done* — let foreman-tdd keep working or, for a real blocker, escalate. Never
round a failure up to a pass.
| Claim | Requires | Not sufficient |
|-------|----------|----------------|
| Tests pass | full foreman-test: 0 failures, saved log | a --fast subsample, a previous run |
| Lint / typecheck clean | the command's own output: 0 errors | "the diff looks clean" |
| Acceptance check passes | running the issue's acceptance_check | the unit tests passing |
| Bug fixed | the original failing symptom now passes | the code changed |
| Regression test real | red→green proven (it failed before the fix) | it passes once now |
You do not write the summary — you guarantee it can be written honestly. Hand back to
foreman-tdd with: the verification commands run, their pass/fail and output tails, and
the exact list of evidence artifacts you saved (which becomes the FOREMAN-SUMMARY
evidence array). An empty or unbacked evidence array is rejected by Foreman — so if
you could not produce real evidence, say so plainly rather than claiming done.
has actually run in this session.
Take visionforge-ou/foreman-verify from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.