verification-reports-action¶
Start here: published manual.
The manual is built from this page and the docs/ folder, and it is published after each release.
What it does¶
Living Proof Verification Reports runs your robot's verifications in your own CI, on your own runners, and writes a report for each change that you can review. The definitions stay in your robot repository. If the robot fails a check, the CI run still passes: the report was written, and the report shows what each evaluator declared.
Who it's for¶
Robot teams who want evidence, not just a pass/fail, on every change. If you already keep your robot in GitHub and run CI there, you can add a report to each pull request without new infrastructure. You can add checks such as run quality or system health one line at a time.
See a real report¶
To see what you'll get, open a published Unitree G1 run of the stock MuJoCo hallway: https://docs.livingprooflabs.com/verification-reports-action/reports/g1/unitree-g1/stock-mujoco-hallway/latest/.
Every published report is listed at https://docs.livingprooflabs.com/verification-reports-action/reports/.
Quick start¶
Add one job to the workflow in your robot repository. Pin the action to a release so your reports don't change under you. Use @vX.Y.Z, or for the strictest pin, the release's 40-character commit SHA with a # vX.Y.Z comment. The calling job needs contents: read, and pull-requests: write, because the verifier's optional PR-comment step declares it. Nothing is posted unless you set comment: true.
name: Verification report
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
report:
permissions:
contents: read
pull-requests: write
uses: Living-Proof-Labs/verification-reports-action/.github/workflows/report.yml@vX.Y.Z
with:
definitions: verifications/*.toml
evaluators: evaluators.yml
Replace vX.Y.Z with the release you want. Put your definition files in the robot repository. Each is a livingproof-verification-definition TOML file with a .lock.json beside it. Add merge_group to on: when the repository uses a merge queue. Longer notes on that job are in docs/workflow.md.
The real G1 example¶
To see the whole thing working end to end, look at how this repository verifies a real robot. The g1-smoke job in .github/workflows/verify.yml runs one hallway trial on Living-Proof-Labs/livingproof-unitree-g1. It declares the lines in evaluators.yml, plus this repository's two mock evaluators at the commit under test.
A robot repository declares the mocks at a release tag of this repository, next to its own lines. Example caller for the hallway:
jobs:
report:
permissions:
contents: read
pull-requests: write
uses: Living-Proof-Labs/verification-reports-action/.github/workflows/report.yml@vX.Y.Z
with:
definitions: verifications/*.toml
evaluators: |
- Living-Proof-Labs/verification-reports-action@vX.Y.Z/mock/mock-evaluator-a.json
- Living-Proof-Labs/verification-reports-action@vX.Y.Z/mock/mock-evaluator-b.json
Add the lines your report needs, such as those in evaluators.yml below, to the same list. The mocks are plainly fake and check nothing; leave them out of a real report.
The smoke reads evaluators.yml.
Excerpt from evaluators.yml:
- Living-Proof-Labs/livingproof-evaluator-scenario@v1.6.0/livingproof-evaluator.json
- Living-Proof-Labs/livingproof-evaluator-run@v1.9.2/livingproof-evaluator.json
The hallway definition is tests/smoke/g1/unitree-g1-stock-mujoco-hallway.toml, with its lock at unitree-g1-stock-mujoco-hallway.lock.json.
Excerpt from tests/smoke/g1/unitree-g1-stock-mujoco-hallway.toml:
id = "unitree-g1-stock-mujoco-hallway"
procedure = "walk-hallway"
scenario = "walk-hallway@0.1.0"
[robot]
repository = "Living-Proof-Labs/livingproof-unitree-g1"
ref = "v2.3.34"
configurations = ["stock"]
[world]
id = "hallway-open"
version = "0.1.0"
repository = "Living-Proof-Labs/livingproof-worlds"
tag = "v1.1.0"
[plan]
trials = { count = 1 }
command_speed = 0.5
recording = { max_gap_seconds = 0.05 }
Evaluators¶
An evaluator is a check that reads a run and adds a card to the report, such as whether the run completed or how healthy the robot was throughout. You choose which ones run by listing them in evaluators.yml. Each evaluator is one line, so adding one means adding a line. Everything runs on your own runners.
Each line has the form owner/repo@<vX.Y.Z or 40-hex sha>/path.json, pinned like the action itself, and points at a descriptor validated against livingproof-evaluator-implementation/1.
If you want to write your own evaluator, start with the schema implementation.schema.json and the explainer implementation-descriptor.md.
Leave evaluators empty when the run should not declare any. An evaluator that reads recorded media needs media: true. How a path or an inline list is passed on is in docs/workflow.md.
Reference¶
Inputs¶
| Input | Required | Default | Description |
|---|---|---|---|
definitions |
No | verifications/*.toml |
Glob of definition files in the caller repository. |
output-dir |
No | artifacts/verification-report |
Directory collected into the report artifact. |
artifact-name |
No | verification-report |
Name of the uploaded report artifact. A second call in the same workflow needs a different name. |
version |
No | empty | Optional version recorded in each run.json. |
repository |
No | caller | Another robot repository. ref must then be that repository's full commit SHA. |
ref |
No | caller SHA | The ref under test: the robot commit, or, with no repository, an existing vX.Y.Z release tag that points at the caller SHA (otherwise the run fails). Each run.json records it as given in ref; a fixture run records its commit. Leave it empty until the tag exists. |
media |
No | true |
Record MCAP and video when capability-verifier records them. |
comment |
No | false |
Ask capability-verifier to comment on a same-repository pull request. The comment job declares pull-requests: write. With this false it never writes. |
evaluators |
No | empty | Path in the caller repository, or the declaration list itself. Empty means no evaluators. |
Outputs¶
| Output | Description |
|---|---|
report-path |
Directory of the written reports inside the collect job. |
status |
ok when a report was written for every definition. |
status is ok when the report was written, whatever the evaluators declared. The action has no grade output and accepts a report with no run summary or grade. run.json carries no outcome: what a run showed comes from the report. For each definition and configuration the artifact contains report.html, report.md, report.json, report.txt, SHA256SUMS and run.json, plus evidence/ with the trial observations and any MCAP or video the run recorded. run.json records the tested commit, which is the caller SHA, the ref under test in ref, the lock's declared robot under declared_robot, and each pinned input under inputs. report.json records the same inputs. The files are uploaded as the verification-report artifact. Callers download that artifact; the files are not left in the caller job's workspace.
Checkout¶
The caller's token must be able to read the workflow repository. Plan, fixture, and collect check those scripts out with the caller's GITHUB_TOKEN (contents: read is enough when this repository is public or the token has been granted access). If the token cannot read the workflow repository, the Workflow source checkout fails before any definition is planned and no verification report is written. The failure is a checkout error: the repository was not found, or the token does not have permission to read it.
This is a reusable workflow, .github/workflows/report.yml, because the runs go through capability-verifier's walk-hallway.yml and scenario.yml. Those workflows use matrices, container images and separate runners. A composite action is one step in the caller's job and cannot call them.
action.yml remains for this repository's fixture tests. Any other caller that uses the root composite action is told to call the workflow. The workflow passes no secrets. GITHUB_TOKEN is the credential. The interface choice is recorded in docs/decisions/0001-composite-vs-reusable-workflow.md.
The site step¶
Use the site step after downloading the report artifact, so a robot repository's documentation build can include reports/ directly. The step restores earlier runs from your last Pages deploy and runs the pinned reporter's livingproof-capability-report site command, which renders and checks the section. Layout, inputs, history across deployments, and recovery are in docs/workflow.md.
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: verification-report
path: artifacts/verification-report
- uses: Living-Proof-Labs/verification-reports-action/site@<commit> # vX.Y.Z
with:
runs-dir: artifacts/verification-report
output-dir: artifacts/docs/html/reports
evidence-retention-days: '7'
site-url: https://docs.livingprooflabs.com/livingproof-unitree-g1/
Provenance¶
Before any trial, the plan resolves each pinned release and refuses the run when a check fails. Which lock fields stay, which are refused, and what each status means are in docs/provenance.md.
Release¶
Verify runs on pull requests, merge groups, and pushes to main. Pull requests into main get a unique candidate version from semantic-release-candidate.yml. A push to main runs no version forecast, so its smoke reports carry no version. The mock robot smoke runs the report workflow on this repository's fixture definitions and uploads smoke-report-<version> from the verification-report artifact. The real G1 smoke runs the report workflow on the Unitree G1 stock MuJoCo hallway, Living-Proof-Labs/livingproof-unitree-g1 at v2.3.34, with one trial, through capability-verifier. Scenario and Run Integrity come from evaluators.yml, and the mock evaluators listed in tests/smoke/own-evaluators.txt run at the commit under test. It uploads g1-smoke-report-<version> from the g1-verification-report artifact. The site smoke job builds the static reports/ section from the mock report in CI. That fixture smoke is not published. After each release, the docs deploy runs the real G1 smoke again with the released version and publishes that report as the public reports index: Unitree G1 report. The stable hallway page stays at reports/g1/unitree-g1/stock-mujoco-hallway/latest/.
After Verify succeeds for a push to main, Release runs. The release job tags that commit and publishes the GitHub release. post-release runs only when release publishes (published == 'true'), calls this workflow on the fixture definitions in tests/fixtures/robot/verifications/ with the published version, and post-release-check checks out git-tag.
Development¶
Prerequisites: Node.js 22+, Python 3.12, uv, and Task 3.54.0.
task setup
task verify
Build the manual locally with task -t Taskfile.runtime.yml docs:build.