Skip to main content

livingproof-health

Robot wellness and time-indexed health observation plugin for Living Proof Labs.

Try the offline recorded-replay → scenario demonstration for portable JSON, exact seeks, a local HTML viewer and a comparison of recorded height results. The retained G1 viewer was independently checked in Chromium over loopback HTTP.

Status

The first slice provides time-only health snapshots, an optional recorded base-pose adapter, deterministic MCAP-to-JSON replay and seek, and explicit scenario height expectations. See the contract, fixture provenance, and parity limits. The differential evidence harness compares the actual pinned scenario evaluator with MCAP-to-Health, including expected disagreements. Original recorder evidence adds a genuine paired G1 simulation recording, separately from the derived trace fixture. The diagnostic sidecar measures callback coverage and exposes a one-step position freshness gap without changing the producer. The time-limit experiment empirically confirms a final integration state with no callback. Existing validators remain in place: sampled pose does not establish whole-trial parity or hardware health.

See bounded MCAP input and output for default resource limits, configurable ceilings and atomic replay --output behavior. Run the full suite with task dev:verify; adversarial input tests require constrained Docker.

Design boundaries

  • Time is the only universal assumption. Individual observations are optional, and missing data is never treated as healthy data.
  • No external stack requirements. The package and command-line plugin work without ROS, Foxglove, or paid services, and do not require any particular robot or telemetry field.
  • Observations stay separate from policy. Recorded observations do not imply scenario verdicts, universal health thresholds, or safety certification.

Command-line discovery and usage

livingproof-health registers two entry points in pyproject.toml:

  • Standalone script: livingproof-health
  • Host plugin under livingproof.capability.commands: health, invoked as livingproof capability health

From the prepared development environment (task setup first):

uv run --locked --no-sync livingproof-health --help
uv run --locked --no-sync livingproof-health replay tests/fixtures/simulation-pose.mcap > health.json
uv run --locked --no-sync livingproof-health seek health.json --time-ns 4440000000
uv run --locked --no-sync livingproof-health assess health.json --minimum-m 0.75 --frame-id world

The last command returns FAIL (exit 1): the minimum recorded base height is 0.7464 m. Equality passes when the configured minimum is 0.7464. The same commands are available under livingproof capability health when the host is installed. This is a development fixture path; no image is released yet (see #4 below). The fixture documentation explains why these results cover recorded samples only. All defined JSON timestamps use decimal strings so ordinary JavaScript preserves epoch nanoseconds; see the lossless wire contract. Invoking the group without a command exits 1 and directs the user to help.

Development setup and verification

Prepared environment (Python 3.12, uv, Task 3.54.0, and Node.js)

The installed package requires Python >=3.11. Development/tests require Python >=3.12 because the test-only scenario evaluator requires it (Docker uses 3.12.12). The prepared environment also needs uv, Task 3.54.0, and Node.js 22 or later for the JavaScript timestamp regression (Docker and CI pin 22.23.5). Node is a development-only dependency; installed Health commands require no JavaScript runtime.

task setup
task check
# Full tests, including bounded adversarial cases:
task dev:verify
  • task setup runs uv sync --locked --no-python-downloads.
  • task check runs locked Ruff lint and formatting checks.
  • task test runs locked pytest inside the constrained container and writes artifacts/tests.xml.
  • task verify runs task check followed by task test.

Docker and development container

From a host with Docker and Docker Compose (builds the development target from Dockerfile with Python 3.12.12, uv 0.12.23, Task 3.54.0, and Node.js 22.23.5):

task dev:build
task dev:verify

task dev:verify explicitly enables the online installed-host integration test inside Compose; it requires access to the checksum-pinned GitHub releases and package index. No host environment-variable forwarding is required.

To open an interactive shell inside the development container:

task dev:shell

Inside the resource-constrained Compose/development container (including the updated .devcontainer/devcontainer.json), run task setup and timeout 300 task verify directly without nested Docker. Adversarial workers verify the actual cgroup limit.

Isolated wheel and host plugin verification

tests/test_host_integration.py builds a wheel of livingproof-health, installs it alongside the GitHub release wheel for livingproof and the PyPI release of livingproof-common from uv.lock in a clean virtual environment, checks dependency consistency with uv pip check, and exercises lightweight discovery, --help, --version, bash completion, the no-command response, and replay/seek/assessment through the installed package.

Inside that constrained container, run online with the checksum-pinned GitHub host wheel and PyPI dependencies:

LIVINGPROOF_NETWORK=1 task verify

Or offline with the checksum-verified host wheel in a local directory and a warmed uv cache:

LIVINGPROOF_WHEEL_DIR=/path/to/wheels task verify

Continuous integration builds the local development image on both ubuntu-24.04 (amd64) and ubuntu-24.04-arm (arm64), runs the full suite in constrained Docker, retains per-case resource measurements with JUnit, and checks workflows with actionlint. No adversarial case runs directly on the host.

Test reporting fails verification for missing, malformed, empty, or inconsistent JUnit evidence and for failed check publication. Each suite must declare its test count; declared test/failure/error/skip totals must match its cases. Fork PRs explicitly disable check publication where write permissions are unavailable; the job summary and retained JUnit artifact remain the evidence for those runs.

Deferred infrastructure adoption

The development image has not been published. CI builds it locally on the Ubuntu runners, and the development container builds the local Dockerfile. Issue #4 tracks image publication and migration of CI/development containers to a shared multi-architecture digest.

The generated manual and GitHub Pages adoption are not complete. Issue #5 tracks generation, scoped deployment authorization, and live verification before adding a README start-here link. Bootstrap #2 makes no settings or deployment changes.

License

Apache-2.0.

Metadata

Release files for livingproof-health 1.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livingproof-health 1.5.7
File Size Uploaded Provenance Actions
livingproof_health-1.5.7.tar.gz 556.8 kB With provenance Details for livingproof_health-1.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livingproof-health 1.5.7
File Interpreter ABI Platform Actions
livingproof_health-1.5.7-py3-none-any.whl Python 3 none any Details for livingproof_health-1.5.7-py3-none-any.whl

Total release size: 579.7 kB

Release files / livingproof_health-1.5.7.tar.gz

Download URL livingproof_health-1.5.7.tar.gz
Size 556.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0da76f6fe2b52826ca8d42da8d0b8501f2bd65426db397151a081d49031f0e6b
BLAKE2b-256 checksum
How to use checksums
387fc7a2257de0db0de710eb05d6604567fe7500244d7bb8eb3d0417839a1ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / livingproof_health-1.5.7-py3-none-any.whl

Download URL livingproof_health-1.5.7-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26535d24939d5e024fb9147a878e263c757f5bda17b1d10dd65ff206b2c845c3
BLAKE2b-256 checksum
How to use checksums
c68c84919cc719ef47e28ebf3679809bfb3936d499a1e180b3a2eb2d9d469698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for livingproof-health 1.5.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for livingproof_health-1.5.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page