saphan verify-stream
Runs a fixed, deterministic check of a Go stream's local worktree — go build, go vet, go test and gofmt, each step even after an earlier failure — with no language model involved, and stores the verdi
Runs a fixed, deterministic check of a Go stream's local worktree — go build, go vet, go test and gofmt, each step even after an earlier failure — with no language model involved, and stores the verdict at .saphan/verify/<stream>/record.json with the commit and whether the tree was clean. A test step that executed zero tests is red, a worktree with uncommitted changes can score only green-dirty, and gofmt findings count only in files the stream changed. Each step has a ten-minute budget unless verify.full.timeout sets a longer one; a step that times out, is killed or cannot run is reported as such, never as a failure of the code. Worktrees on remote hosts are not supported.
| flag | type | default | what it does |
|---|---|---|---|
--status | bool | false | Show the last recorded verdict without re-running, and whether the commit or tree state has moved since (STALE); exits non-zero unless the record is fresh and green. |
Global options apply to every command — see Every command.
saphan verify-deploy
Verifies a deployment end to end and reports PASS only with proof for every step: it records the artifact's digest, builds, checks that the digest changed, runs the rollout, then requires the live hea
saphan verify-union
Tests what a stream's branch does once merged: it combines the branch with the current tip of its trunk in a temporary detached worktree and runs the repository's full test suite there, then removes t