Skip to content
Back to skills

Vverify

ASecurity

Use before review or merge, or when asked to prove a change works. Takes the required layers (static, tests, runtime, formal) from the repo's feature map, proves each with saved logs, has an independent verifier on another model family re-run the proof, and records a verdict keyed to git patch-id.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
ai-agentsrustgoshellbashgitapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add vocsong/VocsCode --skill vverify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vverify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vverify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vocsong-vverify/badge)](https://www.skillsdirectory.com/skills/vocsong-vverify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vverify
description: Use before review or merge, or when asked to prove a change works. Takes the required layers (static, tests, runtime, formal) from the repo's feature map, proves each with saved logs, has an independent verifier on another model family re-run the proof, and records a verdict keyed to git patch-id.
---

# vverify — prove it works

Read the **Shared vocabulary** section of `../vcore/SKILL.md` before starting.

Apply the overlay rules in `../vcore/SKILL.md` (including `notes/vverify.md` and
`overrides/vverify.md`), and its state-file locations and evidence rules.

## 1. Which layers

1. **Commit first** (repo conventions, the user's identity), then require a clean tree:
   `git status --porcelain` empty. The patch-id only covers committed changes.
2. Pin the base and candidate SHAs and get their merge-base diff:
   `git diff --name-only $(git merge-base <base-sha> <candidate-sha>) <candidate-sha>`.
   If the overlay names a check-plan command, run it for those pins before choosing layers.
   Required checks in the plan are the floor: **you may add, never drop**. A plan is not proof;
   an empty selection is never behavioural proof.
3. Match the paths against the overlay's `feature-map.md`. Every matched area lists required layers
   and the exact commands that clear them. **Run every required layer's commands; you may add
   layers, never drop one.** The map may name a stand-in as the L2 proof (a simulator, a browser suite) where the
   real thing must not be driven — that stand-in is the proof.
4. No feature map: L0 always; L1 for any behaviour change; L2 for anything user-visible; say in the
   report that the layers were inferred.

## 2. The ladder

| Layer | Proof |
| --- | --- |
| **L0 static** | Typecheck, lint, build. Never the only proof of behaviour. |
| **L1 tests** | Tests at the named seams — rules below. |
| **L2 runtime** | The real app, CLI or API on the surface the change touches — [runtime.md](runtime.md). |
| **L3 formal** | The area's check in `formal/<area>.md`, only where the feature map requires it. Run its recheck command; a new area goes through `../vformal/SKILL.md`. |
| **Measurement** | Any performance number passes [benchmark.md](benchmark.md). |

**L1 rules**
- Red first where a meaningful seam exists: one test, then the code that makes it pass, then the
  next — never all the tests first.
- **Prove the regression test bites** (builder only): use the overlay's replay command if named,
  with pinned baseline and candidate SHAs. Otherwise use a detached scratch worktree at the pinned
  baseline (`git worktree add --detach <tmp> <base-sha>`), copy in just the new test, and remove the
  scratch worktree after the run. Record that the assertion failed for the expected reason on the
  baseline and passed on the candidate. Setup, collection and import failures are never red.
  Never revert source in the PR's own worktree. A test that never failed proves nothing. For a test-only fix (the product was right), prove the
  old assertion fails under the real condition and the new one fails on a deliberate behaviour break.
- Mocks only at system boundaries. Expected values come from an independent source, never
  recomputed by the code under test.
- Bug fixes and behaviour changes always get a new regression test that fails before the change.
  If one truly can't be written, L1 is **INCONCLUSIVE** with the reason (the PR is held) — it is never
  silently skipped. The map's L1 commands always run.
- A skipped, filtered-out or uncollected test is not a pass; neither is an empty selection.

## 3. Builder proof

Run every required layer, saving each command's full output under the state folder's `logs/`.
Write `evidence/<branch-key>.md`: head SHA, base SHA, each command, exit status, the decisive output
lines, log paths, screenshot paths, the fails-before proof, and anything not verified with the
reason.

## 4. Independent re-run

A different agent re-runs the proof without trusting the builder's report — see
[independent.md](independent.md) for picking a verifier on a **different model family**, briefing
it, and what it can and can't run (sandboxes often can't launch GUI apps).

## 5. Verdict

- **VERIFIED** — every required layer is green, each either re-run by the verifier (`verified`) or,
  only where the verifier's environment can't run it (a sandbox that can't launch the app), run by the
  builder with logged evidence (`builder-only`). This is the one exception to the independent re-run;
  the verdict line names builder-only layers so the reader sees it.
- **NOT VERIFIED** — a check failed on the change; back to the builder with the failing command and
  output.
- **INCONCLUSIVE** — a required layer was run by nobody, or couldn't be proven (missing runtime,
  credentials, platform). Name exactly what is missing. Don't loop on it: `vmerge` opens the PR and
  holds it with the gap named.
- **Light path** (`trivial`, see `../vcore/SKILL.md`): the builder's own L0 run and self-review;
  record `"path":"light"`, `"verifier":"self"`, `"sameFamily":true`.

Record it, keyed to the patch:

```bash
base=$(git merge-base origin/<base> HEAD); git diff "$base" HEAD | git patch-id --stable   # bash
$base = git merge-base origin/<base> HEAD; cmd /c "git diff $base HEAD | git patch-id --stable"   # PowerShell
```

The first field of the output is the patch-id; an empty output means the commands failed. In
PowerShell the pipe must run inside `cmd /c`: a PowerShell pipe re-encodes the diff's line endings
and yields a different id.

Write `verdicts/<branch-key>.json`:
`{"verdict":"VERIFIED","path":"full","patchId":"…","head":"<sha>","base":"<sha>","layers":{"L0":"verified","L1":"verified","L2":"builder-only"},"verifier":"<harness>/<model>","sameFamily":false,"evidence":"<path>","ts":"…"}`
(here L2 couldn't run in the verifier's sandbox and the builder's logged run stands in).

Where the overlay asks for it, also record each check's result in its portable verification
record format.

**Staleness:** if the overlay names a readiness command, use it before merge to decide which
checks carry forward and which must rerun. A stable patch-id does not carry a verdict by itself.
Otherwise recompute the patch-id: same → the verdict stands; different → re-verify. If the base
moved and changed files this patch touches or calls, re-run L0 and the focused L1 tests on the
rebased result even when the patch-id matches.

Files in this skill

  • SKILL.md3.5 KB
  • benchmark.md1 KB
  • independent.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.