Skip to content

Contributor tasks

Generated from the reviewed Taskfiles with Task 3.54.0.

Docker host

On a host with Docker and Task use task <task>.

check

task: check

Check source syntax and whitespace in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling check

docs

task: docs

Build the manual in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling docs

preview

task: preview

Record source preview identity in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling preview

setup

task: setup

Build the locked tooling image

commands:
 - mkdir -p artifacts
 - docker compose build tooling

test

task: test

Run catalog tests in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling test

test:docs

task: test:docs

Build and test the manual in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling test:docs

validate:manifests

task: validate:manifests

Validate robot manifests against the schema in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling validate:manifests -- 

verify

task: verify

Check catalog and rendered manual in Docker

commands:
 - mkdir -p artifacts
 - docker compose run --build --rm tooling verify

Prepared environment

Inside the prepared image use task -t Taskfile.runtime.yml <task>; do not call the host wrapper here.

check

task: check

Check JavaScript and Python syntax and patch whitespace with native tools

commands:
 - node --check "tooling/commit-title.mjs"
 - node --check "tooling/preview.mjs"
 - node --check "test/consumer.test.mjs"
 - node --check "test/release-caller.test.mjs"
 - node --check "test/result-contract.test.mjs"
 - node --check "tooling/compare-results.mjs"
 - node --check "test/robot-profiles.test.mjs"
 - node --check "test/run-assessment.test.mjs"
 - node --check "test/robot-manifest.test.mjs"
 - node --check "test/scenario-description.test.mjs"
 - node --check "test/scenario-parameters.test.mjs"
 - node --check "test/world-layout.test.mjs"
 - node --check "test/route-geometry.test.mjs"
 - node --check "test/walk-corner.test.mjs"
 - node --check "test/scenario-support.test.mjs"
 - node --check "test/walk-corner-world.test.mjs"
 - node --check "test/walk-corner-time-limit.test.mjs"
 - node --check "test/parameter-parity.test.mjs"
 - node --check "test/reference-probes.test.mjs"
 - node --check "test/guidelines-pins.test.mjs"
 - node --check "test/action-pins.test.mjs"
 - node --check "test/docs-brand-lock.test.mjs"
 - node --check "test/action-sha-pins.test.mjs"
 - node --check "test/deploy-freshness-auth.test.mjs"
 - node --check "test/robot-case-sources.test.mjs"
 - node --check "test/readme-release-tag.test.mjs"
 - node --check "test<repository>flow-pin-docs.test.mjs"
 - node --check "tooling/world-layout.mjs"
 - node --check "tooling/scenario-parameters.mjs"
 - node --check "tooling/validate-manifests.mjs"
 - python3 -m compileall -q python test/python tooling/run-python-tests.py tooling/check-publication.py
 - git diff --check

docs

task: docs

Render repository Markdown and Gherkin as a browsable manual

commands:
 - python tooling/manual.py

preview

task: preview

Record exact source preview identity

commands:
 - npm run preview

setup

task: setup

Install locked development dependencies (requires Node.js 24, npm and Git)

commands:
 - npm ci --ignore-scripts
 - pip install --require-hashes -r requirements-docs.txt

test

task: test

Run consumer validation and release-caller contract tests

commands:
 - mkdir -p artifacts
 - node --test --test-reporter=spec --test-reporter=junit --test-reporter-destination=stdout --test-reporter-destination=artifacts/tests.xml tooling/test-suite.mjs

test:docs

task: test:docs

Build and exercise the manual in Chromium, retaining JUnit and screenshots

commands:
 - Task: docs
 - python -m pytest test/docs -q --junitxml=artifacts/manual/tests.xml

test:python

task: test:python

Install the scenario parameter package in a clean venv and run its tests

commands:
 - rm -rf /tmp/livingproof-scenario-parameters-venv
 - python3 -m venv /tmp/livingproof-scenario-parameters-venv
 - /tmp/livingproof-scenario-parameters-venv/bin/pip install --no-cache-dir ./python
 - /tmp/livingproof-scenario-parameters-venv/bin/python -c "import livingproof_scenario_parameters"
 - /tmp/livingproof-scenario-parameters-venv/bin/python tooling/run-python-tests.py

validate:manifests

task: validate:manifests

Validate robot manifests (default the G1, Go1 and T1 examples) against the schema

commands:
 - node tooling/validate-manifests.mjs 

verify

task: verify

Check syntax/whitespace, then run catalog and manual tests

commands:
 - Task: check
 - Task: validate:manifests
 - Task: test
 - Task: test:python
 - Task: test:docs