Skip to content

Docs: v5.0.9. Version and source.

Installed command reference

livingproof-capability-report

Validate a bundle, then render the capability verifier's stored decisions.

Start with a bundle 1.1.0 manifest written by capability-verifier: it contains version information, evidence paths, assessments, and the verifier's per-result decisions and run assessments. This reporter never grades; a bundle 1.0.0 (no decisions) is refused.

Run this example from the repository root or extracted source archive:

livingproof-capability-report validate examples/bundle/manifest.json livingproof-capability-report render examples/bundle/manifest.json --format json -o report.json livingproof-capability-report render report.json

For your own bundle, substitute its manifest path. Validate checks structure and evidence integrity; render shows the stored decisions as they are. Output files must be new; choose another name when rerunning.

Usage:

livingproof-capability-report [OPTIONS] COMMAND [ARGS]...

Options:

  --version  Show release or development identity, package version and
             provenance source.
  --help     Show this message and exit.

comment

Post or update the one PR comment holding the markdown REPORTS (render output).

Each REPORT is a markdown file from render --format markdown; they are joined, sorted by path, under the hidden marker. The comment carrying the marker is updated in place.

Usage:

livingproof-capability-report comment [OPTIONS] REPORTS...

Options:

  --repo TEXT      OWNER/NAME of the pull request's repository.  [required]
  --pr INTEGER     Pull request number.  [required]
  --dry-run        Read existing comments; print, post nothing.
  --comments FILE  With --dry-run: a JSON list of existing comments instead of
                   the API (offline).
  --help           Show this message and exit.

render

Render stored decisions; never grade or overwrite existing files.

REPORT_FILE is a bundle 1.1.0 manifest from capability-verifier, or a JSON report saved from one with --format json. The verifier's decisions and run assessments are rendered as they are; nothing is graded. A bundle 1.0.0 has no decisions and is refused: assess it with capability-verifier first. From the repository root or extracted source archive:

livingproof-capability-report render examples/bundle/manifest.json --format json -o report.json livingproof-capability-report render report.json livingproof-capability-report render report.json --format html -o report.html livingproof-capability-report render examples/bundle/manifest.json --format markdown -o report.md

Default stdout is a terminal table. Choose new output filenames when rerunning. A directory passed to --output with --format markdown is filled with <scenario>.markdown, named from the scenario id in the bundle.

Usage:

livingproof-capability-report render [OPTIONS] REPORT_FILE

Options:

  --format [table|json|html|csv|markdown]
                                  Default: table on stdout; HTML when --output
                                  is supplied (v1 compatibility).
  -o, --output PATH               Write a new file; otherwise print to stdout.
                                  Existing files are never overwritten.
  --report-url TEXT               Markdown only: link to the full report.
  --clips-url TEXT                Markdown only: link to all clips.
  --lock-diff-url TEXT            Markdown only: link to the
                                  verification.lock.json diff.
  --evidence-links FILE           Bundle 1.1.0 input only: JSON file of
                                  evidence links. Each link may set path to a
                                  relative site path, rendered exactly on the
                                  public page. Set expired true when the site
                                  has pruned that file. An optional https url
                                  is kept in report.json and is omitted from
                                  the public page when it is a GitHub Actions
                                  artifact address. Kinds: artifact, video,
                                  mcap, log, note.
  --history-href TEXT             HTML only: address for the run-history slot,
                                  a relative site path or https URL. Rendered
                                  only together with --history-label. Omit
                                  both to render no slot.
  --history-label TEXT            HTML only: visible label for the run-history
                                  slot. Required with --history-href.
  --evidence-retention INTEGER    Days the site keeps evidence files. The
                                  public page says 'Evidence kept for N days'
                                  for live files and 'Evidence expired after N
                                  days' for pruned files, using this value.
                                  Required when a link is expired. There is no
                                  default.
  --trusted-viewers FILE          Caller-only JSON list of trusted viewer
                                  pins; never evaluator output. HTML only.
  --asset-root DIRECTORY          Local report assets, including pinned viewer
                                  and adjacent data. Required for viewers.
  --pinned-inputs FILE            HTML only: JSON list of the resolved pin
                                  records (name and status). The page gets a
                                  Pinned inputs section. Omit it to render
                                  none.
  --help                          Show this message and exit.

site

Add the run folders in --runs to REPORTS_DIR and render the reports section.

REPORTS_DIR may already hold earlier runs (for example restored from the last Pages deploy); they are rechecked and kept. The command writes the reports index, one history page per scenario, a latest/ redirect and each run's published page, then checks every link and checksum. It never fetches anything and never regrades a run.

livingproof-capability-report site reports --runs incoming

Usage:

livingproof-capability-report site [OPTIONS] REPORTS_DIR

Options:

  --runs DIRECTORY                Directory of incoming run folders
                                  (report.html, report.json, report.md,
                                  report.txt, SHA256SUMS and run.json each).
                                  [required]
  --evidence-retention-days INTEGER
                                  Days to keep copied MCAP, video and media
                                  files before pruning them.  [default: 7]
  --now TEXT                      UTC ISO-8601 reference time for evidence
                                  pruning.
  --allow-replace-run-id TEXT     Current run id that may replace its own
                                  folder on a same-run retry.
  --exclude-run TEXT              Restored run folder name to drop before
                                  rendering. Repeat for more.
  --validated-viewer-run ROBOT/VARIANT/runs/RUN_ID
                                  Restored run whose trusted viewer the caller
                                  has already validated. Its index.html may
                                  hold that one viewer frame; every other
                                  check still runs. Exact path, repeatable.
  --repository TEXT               Caller repository (OWNER/NAME) whose CI run
                                  pages a published page may link. Every
                                  run.json must carry a run.url that is one of
                                  its runs. Defaults to GITHUB_REPOSITORY.
  --help                          Show this message and exit.

validate

Validate a bundle MANIFEST and its evidence integrity (no grading).

Pass the manifest JSON, not an individual evidence/observation file. It contains version information, evidence paths and assessment references.

From the repository root or extracted source archive:

livingproof-capability-report validate examples/bundle/manifest.json livingproof-capability-report render examples/bundle/manifest.json --format json -o report.json livingproof-capability-report render report.json

Validation checks integrity; render displays the verifier's stored decisions.

Usage:

livingproof-capability-report validate [OPTIONS] MANIFEST

Options:

  --help  Show this message and exit.