Use before claiming any task complete — evidence-based one-truth-at-a-time verification. Run gos gate all (exit 0 required). Classify gaps for Gap Closure. Iron Law: evidence before assertions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Gos Verify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/chenw521-gos-verify)
---
name: gos-verify
description: "Use before claiming any task complete — evidence-based one-truth-at-a-time verification. Run gos gate all (exit 0 required). Classify gaps for Gap Closure. Iron Law: evidence before assertions."
---
# GOS VERIFY — Goal-Backward Verification (Baseline)
<HARD-GATE>
Law #1: Evidence before assertions. "Should" = lying. Run it, show output.
Law #2: One truth at a time. Never batch. Prevents rubber-stamping.
</HARD-GATE>
## Quick Start
```bash
gos instructions verify # pending truths list + verification commands
gos gate semantic # semantic layer: bidirectional coverage + diff-hit + artifacts
gos gate all # hard gate: must exit 0 before SHIP
```
### impactClosure advisory lines (Phase 6 — read them, never ignore them)
`gate semantic` tail prints ONE of three states about diff dependents NOT covered by task Files:
- `impact closure: N diff dependents ... (advisory, regex-based, may be incomplete)` — N>0: your diff's blast radius exceeds declared task Files. The banner is ADVISORY (exit stays 0) and `impactClean` is NOT a pass verdict. Follow the `run: gos map closure <file> --print0` hint and judge coverage yourself.
- `impact closure: 0 uncovered dependents ...` — impactClean ≠ blast radius verified (regex-based scan; deletions/renames covered via dangling edges, dynamic imports never are).
- `impact closure vacuous (...)` — impactVacuous ≠ clean: nothing was computable (0 scannable sources or diff fully allowlisted).
### Semantic closure section (Phase D — consume it, qualified wording is part of the contract)
- `must-check set (regex-extracted ... NOT exhaustive ...)` — semantic dependents of your diff (calls/contracts/hand edges). Each line names a file + the edge family that links it. Read EVERY line: these files are co-responsible for your change's correctness.
- `must-run test sections (...)` — sections whose commands you touched (hunk→function→cmd mapping). If a section is absent from the last run, `bash test/run-sections.sh <section>` BEFORE claiming verification; the gate manifest check will FAIL on mismatch.
- `run-manifest stale` (gate all FAIL) — sections last ran against a different content tree. Re-run the suite; only use `gos gate --exempt <section> --reason "<why>"` (reason mandatory, ≥10 chars) when you can justify the exemption in your verify notes (one-shot, audited in .gos/logs/exemptions.log).
- Machine consumers: `gos map closure <path> --json` (strict envelope, byte-0 JSON) is the sole structured mode; `--print0` stays paths-only.
### Auto breaker and ledger lines (full-auto tasks)
When the task ran under `gos auto`, VERIFY reads the machine-local auto state
too — never reconstruct the loop's bookkeeping from memory:
- `gos auto status` prints mode, profile, hardening tier (bubblewrap/lexical),
host matrix (verified / probe-pending / fixture-tested), delivery probe
state, spawn counters, any breaker record, the per-stage dispatch view
(worker form, profile, model slot, grants, cap, unit), and the clearance
tier of every delegated stage — mechanical clearance (store-verified vs
pre-loop legacy), progress release, or human approval. Read it FIRST when
resuming an auto task.
- Under the auto loop VERIFY itself runs as a **script worker**: its steps
are deterministic CLI verbs (the programmatic gate, the section suite, the
truths check) executed as fixed commands or pinned module legs — no model
spawn, no prompt, so its verdicts are return values, never parsed prose.
- A tripped breaker (consecutive N / stage visits K / spawn budget B) shows
first-line in `gos resume`. Paused ≠ failed: pause reports and
external-mutation pauses carry no failure count — classify the underlying
cause, not the pause. Check the failure class tag (task / env / auth /
timeout) before drafting a gap: env/auth failures point at the host
environment, not the work.
- Evidence privacy: tracked state carries hashes/counts only; session ids,
models, and output tails live in the machine-local store. The repo-local
`.gos/logs/auto-ledger.ndjson` is a debug mirror — treat it as a hint, and
never edit either record by hand.
- A delivery disposition-unknown from the CI watch is not a failure — cite the
recorded `gos auto disposition` when verifying closure claims.
Record evidence via the command family — never hand-edit state.json:
```bash
gos truth add "what user can observe" # auto-numbered T-NN
gos truth verify --command '["bash","test/run-sections.sh"]' --replay --artifact test/out/ .log
gos truth verify --command "<cmd>" --excerpt "12 passed, 0 failed" --artifact test/out/ .log
```
- `--replay` executes the command (JSON argv) and takes the excerpt from REAL stdout — preferred; manual mode (`--command/--excerpt/--artifact` without `--replay`) marks the truth `manual:true` and gate prints a warning banner.
- evidence = `{command, output_excerpt, artifact_path}` three-element object; old string form is fail-closed rejected.
## Progressive Disclosure
| When | Do | Read for detail |
|:---|:---|:---|
| Entering VERIFY | `gos context verify` (pending truths JSON) | — |
| Want a real example | **Read `examples/verification-report.md` — copy its structure** | `examples/verification-report.md` |
| Truths verification | Present each truth ONE AT A TIME → show evidence → WAIT for yes/issue | — |
| Cold-start (Lv3+) | **RUN `scripts/detect-coldstart.sh`** first → test whatever it flags | — |
| Gap found | Classify: Minor→BUILD, Major→PLAN(Lv3+)/THINK(Lv2), Block→THINK | `reference/gap-classification.md` |
| All truths pass | `gos gate all` → must exit 0 | — |
| Exiting VERIFY | `gos commit verify` | — |
## State
**Read:** state.json (observable_truths)
**Write:** state.json (truths[].verified, truths[].evidence, gaps[])
## Exit Gate
`gos gate all` exits 0 (coverage + truths + requirements + custom gates).
## Anti-Rationalization (top 3)
| Excuse | Reality |
|:---|:---|
| "Tests should pass" | "Should" is not evidence. RUN THEM. |
| "All truths in one table is efficient" | Table = rubber-stamp. One at a time. |
| "I can verify without user" | AI evidence has blind spots. User confirms per truth. |