Evidence and reviews
Each geppetto run writes a directory under geppetto-runs/ (or --out) named by its
UTC start time:
geppetto-runs/20261127T031502Z/
├── open-the-main-menu/
│ ├── receipt.json
│ └── menu-open.png
├── junit.xml
└── summary.md
summary.md is also appended to $GITHUB_STEP_SUMMARY when GitHub Actions
sets it. Receipts stay readable with geppetto report and geppetto serve after a
licence or trial ends.
Outcomes
A receipt keeps three outcomes apart:
| Field | Values | Meaning |
|---|---|---|
product |
pass, fail, inconclusive |
Whether every expectation saw the app's report. inconclusive when the test asserts nothing or stopped on an error. |
evidence_outcome |
complete, incomplete |
Whether every requested screenshot was saved. |
outcome |
pass, fail, error |
Overall. pass only when the product passed, the evidence is complete and held input was released. fail when an expectation failed. error for everything else. |
reason gives the first cause: the failing expectation and what the app
reported, the step that errored, a missing screenshot, or a cleanup that
failed.
The receipt
receipt.json records:
test: name, path and SHA-256 of the test file as it was run;driver: PuppetXR version, whether Geppetto was built against that version (known_version), app name and process ID;launch: how the app was started.by_geppetto: falsewhen it was already running (--target). Withgeppetto run --app: the app's name, for a macOS bundle itsbundle_id,versionandbuild, ahashtaken just before that launch, the process ID,headless,fresh_app,fixed_step(whether Geppetto asked PuppetXR for its fixed step; PuppetXR does not report its clock mode, and a PuppetXR config file'sclock.modecan still choose it), with--jobsabove 1 the app's number (instance) and how many ran (jobs), the--app-envkeys (env_keys, never their values) and how many--app-args were passed (arg_count, not the arguments, which can hold secrets). For a bundle the hash covers every file in it (covers: "bundle", with the number offiles), since a Unity player's executable is only a launcher and its game code lies beside it; for a plain executable it covers exactly that file (covers: "file"), so a wrapper script is hashed as itself, not the player it starts. A hash that could not be taken isnullwith aproblem. It is Geppetto's own observation, not a signed attestation;app_tools, when the test uses targets, state or actions:geppetto-channelwhen the app's own channel served them,puppetxrwhen PuppetXR did;warnings, when the validator had any: things to reconsider that did not stop the test, such as anactionwith no state expectation after it;app_package, with the channel: the version of the Geppetto package the app was built with and whether it is the one for thisgeppetto(matches_geppetto); a mismatch is flagged insummary.mdand on the run's page;frame_startandframe_endfrom the simulator;steps: per step its status (done,pass,fail,error,not_run), seconds, frames waited, the matched log line or reported value (with itsdistancefornear), the action ID anactionran, a gesture's events (and for a gesturefileitsgesture_fileandgesture_sha256), the frames aposemoved over (moved_over_frames), forpointwithfrom: bodyorover_framesthe point aimed at (aimed_at, stage space), itsdistanceand the finalhand_pose, and for target-basedpointthe resolved image position;evidence: each screenshot's name, file and SHA-256;cleanup: whether every held input was released and every moved device put back, with the problems if not.
When a test fails or errors after at least one step ran, Geppetto also saves
_at-failure.png, the eye at that moment, before cleanup moves anything back.
It is listed in evidence as failure_screenshot and shown on the dashboard;
it never changes the evidence outcome, which counts only requested screenshots.
A failed or errored test also keeps session.puppetxr, PuppetXR's recording of
the simulator from the first step until just before cleanup (see
geppetto run --record). geppetto replay <test folder> plays it back into a running
simulator; with --frames DIR it also saves the replay's frames for a video,
and with --steps only those of some steps. While a test records, each step's
record holds recording_frames, [start, end]: how many frames the recording
held when the step began and when it ended.
The receipt's recording says whether it was kept, with its hash,
or why the simulator could not record; a recording that cannot start never
fails the test.
Steps after a failure or error are recorded as not_run; nothing is retried.
Do not edit an old receipt to make it pass; run the test again.
The dashboard
geppetto report --runs geppetto-runs --out geppetto-report
builds a static site with no server or scripts: the latest outcome of every
test, its recent history, and a page per run with the steps, reason,
screenshots and a link to a kept recording. Publish it as a CI artifact or on GitHub Pages.
While working locally, geppetto serve serves the same dashboard on 127.0.0.1 and
rebuilds it as receipts arrive.
A screenshot is evidence for a reviewer, not visual approval. A PuppetXR pass shows the behavior on the simulator, not on a physical headset.