Passes and evidence
Passes
Section titled “Passes”A design pass is one round of the loop: capture the UI, read it, file
what is wrong. Each is a directory, passes/<id>-<slug>/, whose pass.md
holds the scope in front matter (id, title, date, apps,
platforms, appearances, status, the rulings it touched and the
defects it filed) and the pass’s README in its body.
gantry new pass --title "Tab bar on iPhone" tab-bar-iphonewrites passes/001-tab-bar-iphone/pass.md under the next number, open;
it is landed when its work is done. The directory name must be the ID and
a slug (pass-dir-mismatch). An amendment names its pass and a frame
can be tagged with one, so a ruling’s history reads back to the round that
changed it.
Evidence
Section titled “Evidence”Evidence is the screenshots that justify a decision, each a frame
with its provenance: platform, device, appearance, app, pass, and the
commit it was taken at. Gantry does not capture them; your capture scripts
end by calling gantry evidence add:
gantry evidence add shot.png --pass 001 --platform ios \ --device "iPhone 17 Pro" --appearance dark --label 001-ios-01-tab-barThat hashes the file (SHA-256), lists it in evidence/manifest.yaml and
copies it to evidence/blobs/<sha256[0:2]>/<sha256>.<ext>, so identical
frames are stored once. The blobs live in the repository, through Git LFS:
no server, no bucket, no credentials, and whoever can clone the repository
can see the frames.
Records cite frames by their label: a defect’s frames, an amendment’s
evidence, or @evidence:<id> in any body. A frame nothing cites, and that
belongs to no pass, is evidence-unreferenced.
Checking without downloading
Section titled “Checking without downloading”A frame’s blob is in one of three states, and lint tells them apart without pulling anything:
- pulled, the real file. Lint reads at most its first 1024 bytes and
never hashes it;
gantry evidence verifyre-hashes it. - pointer, a Git LFS pointer not yet pulled. Lint compares the
pointer’s oid and size with the manifest (
evidence-hash-mismatch) and reports the frame by name asevidence-not-pulled, an info: never silently clean, never corrupt. - missing:
evidence-blob-missing.
So a CI job needs no LFS checkout to lint. .gitattributes must store the
blob directory through Git LFS (evidence-not-lfs); gantry init writes
that line. The evidence guide has the day-to-day
commands.