Skip to content

Contribute

This guide covers what contributors can run and change in livingproof-verification today: running a verification locally, updating a definition or lock, and completing robot or bundle updates.

Run a verification locally

The recommended environment is the devcontainer (.devcontainer/devcontainer.json), which uses the pinned capability-verifier-hallway image with Python 3.12, uv, git, jq, OSMesa, livingproof, and the verifier pre-installed.

Without an editor, run the container directly from a full clone of the repository:

docker run --rm -u $(id -u):$(id -g) -v $PWD:/work \
  ghcr.io/living-proof-labs/capability-verifier-hallway:2.8.0@sha256:762875820a5c17f639107c33fbc1fe458e6075368065b57e54d2a34a7bab9599 \
  capability verify run --reporter source verifications/unitree-g1-stock-mujoco-hallway.toml

Results are written under artifacts/runs/<id>/<configuration>/ (evidence/, verified/, and reports/), with a pass/fail tally in artifacts/runs/<id>/summary.json. Recordings (MCAP and video) are CI-only.

Change what is verified

  1. Edit a definition in verifications/*.toml (for example, to update a robot tag or configuration).
  2. Regenerate its lock and review the diff:
python3 tools/lock.py verifications/unitree-g1-stock-mujoco-hallway.toml
  1. Update the matching job's with.ref (and uses commit if the verifier changed) in .github/workflows/verify.yml.
  2. Verify lock and workflow consistency before opening a pull request:
uvx ruff@0.14.2 check . && uvx ruff@0.14.2 format --check .
uvx --from pytest==8.4.2 --with pyyaml==6.0.3 pytest
actionlint

For more on how locks, .github/requirements/, and site.py local builds work, see the repository README.

Completing robot release proposals

Keel owns completion of eligible robot release proposals in this repository. Renovate proposes readable robot tags only; Keel generates the affected locks, synchronizes workflow commits, and records exact-head checks for the normal queue. Automerge remains off. Hosted Mend cannot execute this repository's generator.

Definition policy

The explicit hallway hold in issue #98 remains in force. The later release-ref assignment requests proposals for the three robot repositories; this implementation applies that assignment to the six existing corner definitions, retaining the hallway exception. Eligible means eligible for a proposal, not permission to change the scenario, world, grading limits, or historical evidence.

Inventory at the PR #152 source baseline (paths are under verifications/):

Definition Robot tag Robot-release policy
booster-t1-stock-mujoco-hallway.toml v2.3.5 Frozen
unitree-g1-stock-mujoco-hallway.toml v2.3.12 Frozen
unitree-g1-playground-mujoco-hallway.toml v2.3.12 Frozen
unitree-go1-playground-mujoco-hallway.toml v2.3.5 Frozen
booster-t1-stock-mujoco-corner-left.toml v2.3.13 Eligible proposal
booster-t1-stock-mujoco-corner-right.toml v2.3.13 Eligible proposal
unitree-g1-stock-mujoco-corner-left.toml v2.3.18 Eligible proposal
unitree-g1-stock-mujoco-corner-right.toml v2.3.18 Eligible proposal
unitree-go1-playground-mujoco-corner-left.toml v2.3.13 Eligible proposal
unitree-go1-playground-mujoco-corner-right.toml v2.3.13 Eligible proposal

The robot manager uses an exact file allowlist. All four hallway definitions, settings, generated locks, fixtures, and new/unclassified definitions are outside it. A new definition or a request to thaw a hallway baseline needs a recorded freshness decision from Rivet before changing the allowlist. Do not infer policy from a new filename. This robot-specific boundary does not change the separate verifier/reporter completion policies.

Completion

  1. Confirm the proposal touches an eligible definition and names a published vX.Y.Z robot release. Preserve existing completion commits; do not ask Renovate for a destructive rebase. Leave frozen definitions and historical reports alone.
  2. Run python3 tools/lock.py verifications/<definition>.toml for each affected definition in the prepared repository environment. Do not use --update as a robot updater: it refreshes verifier/evaluator pins and preserves robot pins.
  3. Read robot.commit from each generated lock and copy that value to the matching job's with.ref in .github/workflows/verify.yml. Never invent or hand-edit lock hashes, commits, or digests. Keep the readable tag, generated lock and workflow commit together in the completion commit.
  4. Inspect ownership. All ten current definitions explicitly own scenario, world, plan and specs; their runner comes from the selected robot release's uv.lock. The generator verifies that runner tag resolves to its recorded commit. A legacy robot-owned lock supplies its own scenario/world/plan/specs/runner. A thin robot without explicit definition ownership preserves those fields from an existing lock and emits a warning. Such preservation is a retained compatibility baseline, not proof of a current simulator stack; stop and obtain a recorded migration decision if the proposed outcome requires advancing it.
  5. Run pytest tests/test_locks.py and the required checks/verification pipelines on the exact completed head. The definition hash detects ref-only changes and workflow consistency detects a stale with.ref. Record the generated diff and results before the normal queue; a robot FAIL is not itself an infrastructure failure. Keel hands implementation changes to a separate independent reviewer.

Evidence and remaining work

tools/renovate/run.sh exercises real RE2 extraction, replacement and file selection against the configured shared preset. pytest tests/test_robot_release_update.py exercises real released robot inputs and the actual lock generator in disposable copies, including stale-update rejection and legacy/thin ownership. It changes no committed definition, lock or report.

These tests are not a hosted Renovate proposal or a publication. Keep issue #98 open until an eligible released change reaches a coherent hosted proposal, passes the exact-head checks, and is verified on main with linked published evidence. No repository writer, schedule, permission, or credential is enabled here.

Bundle releases

Every push to main that passes verification can publish one immutable release of this repository. The release is the verification bundle: the definitions in verifications/, their locks, and the publishing configuration (.github/workflows/, tools/, renovate.json). It is not the robot software version and it is not one run. A robot, simulator, verifier or reporter keeps the version of its own repository, and every run keeps its own run ID.

How a release happens

The release job in .github/workflows/verify.yml calls the shared semantic-release workflow of collaboration-guidelines at one published tag. The job follows the guidelines' Call after verification recipe:

release:
  needs: verification
  if: github.event_name == 'push' && github.ref == 'refs/heads/main'
  permissions:
    contents: write
  uses: Living-Proof-Labs/collaboration-guidelines/.github/workflows/semantic-release.yml@vX.Y.Z

Two additions to the recipe, both on purpose: the if also names the push event, so a manual run on main never releases; and the site job waits for release (ordering only) so the run that publishes the evidence can name the tag that now points at its own commit.

The version comes from the commit types of the squash-merge titles, as the guidelines' policy says: feat is minor; fix, perf, docs, chore, build, ci, test, refactor, style and revert are patch; ! or a BREAKING CHANGE: footer is major. Use a Conventional Commit title and keep the PR number.

The first release has no earlier tag, so semantic-release counts every commit in the history and the first notes are long. Later releases only list commits since the previous tag.

Gating

Case Why it cannot publish Evidence
Pull request, merge group, manual run if needs push on refs/heads/main test_only_a_push_to_main_with_verification_passed_publishes evaluates the if for every event
A verification job failed, was cancelled or skipped release needs verification, and that job fails unless every job it needs succeeded; with no status function in the if, GitHub skips a job whose need did not succeed test_the_verification_job_gates_on_every_job_it_needs runs the job's own check for each result of each needed job
Verification passed on main, push the release runs and publishes only when there are releasable commits the shared workflow's own tests and the repeat-run cases below
Re-run on a commit that is already tagged semantic-release finds the tag in the history, sees no new releasable commits and returns published=false; it never retags or moves an existing tag tests/bundle_release_rerun.test.mjs, run by the bundle-release-engine job

The shared job serialises releases per repository and never cancels one that has started (concurrency.cancel-in-progress: false). Its own if repeats the main rule.

Repeat-run cases (automated, shared engine, no publishing)

tests/bundle_release_rerun.test.mjs runs .github/actions/semantic-release at the same reviewed collaboration-guidelines release this repository calls (v9.9.4, commit 5de395fd1ab3b28127ee3ff3f4c0cf362fc75491) against a disposable repository and bare remote, with the shared release.config.mjs, the commit analyser and the notes generator (only the GitHub plugin is left out, as in the guidelines' own engine.test.mjs). The bundle-release-engine job in .github/workflows/checks.yml checks out that commit, installs the engine from the action's package-lock.json, and runs the test on every pull request and merge group. The run itself is git-only: no GitHub plugin, no token, and remotes are local. Setup needs the network only to fetch the pinned Node tarball (sha256-verified, same pin as the renovate job), the public guidelines checkout, and npm ci from the lockfile.

1. first push to main (no tags yet)                            published=true v1.0.0
2. re-run on the already tagged commit                         published=false
3. second re-run on the already tagged commit                  published=false
4. re-run of the OLD tagged commit after main moved on         published=false
                                                               v1.0.0 still at the first commit
5. next push to main (new fix commit) releases once            published=true v1.0.1
6. re-run of that run                                          published=false

To run it locally, check out Living-Proof-Labs/collaboration-guidelines at 5de395fd1ab3b28127ee3ff3f4c0cf362fc75491, run npm ci --omit=dev --ignore-scripts in .github/actions/semantic-release, and invoke:

SHARED_RELEASE_ACTION=/path/to/.github/actions/semantic-release \
  node --test tests/bundle_release_rerun.test.mjs

Provenance: the tag and the commit

tools/site.py build records, in each new run's run.json, the commit the run verified and, when one exists, the bundle tag:

"commit": { "sha": "…", "url": "…", "tag": "v1.0.0" }

These are the field names proposed in issue 129 (commit.sha, commit.url, commit.tag), so the index and history redesign reads them unchanged.

  • Ordering. bundle_tag() resolves the tag from the site job's checkout, after release has finished. A run shows a tag only if a plain vX.Y.Z tag resolves to the run's own commit (annotated or lightweight). A tag on another commit, no tag, a prerelease name, a branch with a tag-like name, or a commit that is not in the checkout all give the commit alone, and the tag key is omitted. The newest tag is never used as a guess.
  • Commits without a release. A main commit whose changes publish nothing has no tag, so its run shows the commit alone.
  • Old runs. No run is retro-tagged, no report or run.json is rewritten, and every run ID is kept. Runs before the first release, and any run published without a tag, show the commit only.
  • History. The history table's Commit column shows vX.Y.Z · <short commit> for a tagged run and the short commit otherwise. The tag links to the GitHub Release and the commit to its page.
  • A successful release or run record says nothing about a robot passing: the run's outcome is still the verifier's grade.

Moving the pin

The call pins one reviewed tag of collaboration-guidelines, the same tag as the Renovate preset in renovate.json; tests/test_guidelines_pins.py fails if the two differ. Adoption and bump PRs record the tag's resolved commit as evidence in the PR description, not in the workflow: a tag names one commit, and a second identity in code would only drift. Read the diff of semantic-release.yml, its inputs and outputs between the old and new tag, and update SHARED_RELEASE_* in that test if the interface changed. Update SHARED_RELEASE_TAG and SHARED_RELEASE_SHA in .github/workflows/checks.yml (and the guidelines checkout ref) to the new tag's resolved commit so the engine job stays on the same release. LIVINGPROOF_NETWORK=1 pytest tests/test_guidelines_pins.py tests/test_bundle_release.py tests/test_bundle_release_engine.py compares the call, the tag format and the recorded commit with the pinned release.

If the release job fails, the evidence still publishes with the commit alone, the run shows the failure, and the next push to main batches the unreleased commits.

Reporter/verifier bundle completion (#105)

This is a prepared automation slice, not an activated writer or a claim of an end-to-end release. It builds on main 2da9942111b1e01d63e06c7cc454c24e1a72c57e (#104). It does not change the 0.2.0 manifest, robot/world/spec ownership, frozen evidence, or published history. Those boundaries remain with #98 and #100.

Current draft admission contract (2026-11-19)

The writer drafts require all four server-enforced contexts: checks, bundle-release-engine, renovate, and verification, each from GitHub Actions App 15368. Strict checks, explicit do_not_enforce_on_create: false, ALLGREEN and no bypass remain mandatory. The first three contexts belong to checks.yml; the adapter validates each individual context check as well as successful trusted runs of both checks.yml and verify.yml. Every check must be unique, Actions-owned, same-suite, exact-head and literally successful. All four check identities and their trusted run/attempt identities are snapshotted and revalidated before enqueue; a successful workflow summary cannot substitute for an omitted or skipped check. See the central writer draft for the current receipt-based publication and bounded recovery contract.

The dated design and provisioning sections below are historical. Their earlier statements allowing informational-only checks, their pre-receipt queue commands, and their claims that missing required contexts do not block activation are superseded by this contract. No protection change or activation is authorized here.

Live demonstration (not yet run)

#189 (c5c52bf) fixed the notes-push and Pages path. #188 pinned verifier v2.11.4, reporter v3.15.4 and evaluator-run v1.8.6, including a settings edit this command does not take. Neither pull request is the demonstration below. Nothing in this repository merges, dispatches a workflow, or edits a ruleset. .github/workflows/verify.yml is unchanged, so this stays clear of draft #187.

One command

python3 tools/update_bundle.py --reporter vX.Y.Z
python3 tools/update_bundle.py --verifier vX.Y.Z

Either flag, or both. The command is already on main. It stages the workflow calls, hallway image, lock-check git requirements, reporter tag, the published wheel checksum, the current-version constants in tests/test_corner.py and tests/test_site.py, and every lock. Failed resolution writes nothing. A second run with the same tags prints Updated: and changes no file. Evaluator-run stays the pin in verifications/settings.toml. The v1.8.6 edit in #188 is not an argument of this command and is not upgraded here. Prepare calls this same command from trusted main. It does not run proposal code.

Trusted writer

The writer is not a workflow in this repository. tools/automation/bundle-completion.yml stays outside .github/workflows and must not be installed beside the central writer. The central workflow is Living-Proof-Labs/.github#144 (Complete selected repository bundles), still a draft at 55f6d44c7eeede5439e3481af19976fcde192043. After that workflow is on .github main it checks out this repository's main and runs, in one concurrency group:

  1. Prepare, read-only token: python3 tools/bundle_proposal.py discover, then prepare. The checkout is the immutable main SHA. The pull request is data.
  2. Publish, a fresh one-repository App token and no dependency install: python3 tools/bundle_operations.py publish --plan PLAN --sha256 DIGEST --receipt RECEIPT. The commit's parent is the expected head. The push is --force-with-lease=refs/heads/BRANCH:HEAD.
  3. Queue, another fresh App token: python3 tools/bundle_queue.py --receipt RECEIPT --sha256 RECEIPT_DIGEST. It reads public check and ruleset evidence, revalidates it, then calls enqueuePullRequest with expectedHeadOid and jump: false. It does not call enablePullRequestAutoMerge or mergePullRequest. A missing check, a failed check, a moved head, or a ruleset that does not match the contract is a refusal. Evidence reads stay unauthenticated, under GitHub's 60 requests an hour. The poll is every 15 minutes. A head with 108 check runs is two pages, and the workflow-run listing is about two pages as well, so a poll is about 4 requests: 16 an hour. A worst-case walk of 20 pages for each listing is 40 requests a poll, 160 an hour, which exceeds 60. X-RateLimit-Remaining: 0 then waits until X-RateLimit-Reset, and a 403 or 429 with Retry-After waits that long. Every wait counts against the same 5.5 hour in-job deadline, inside the queue job's timeout-minutes: 360. A wait that would pass 5.5 hours refuses. The next scheduled or triggered run retries. This job does not start another cron. Publish writes the receipt, uploads it as receipt-<run id>-<run attempt>, and outputs that file's sha256. The queue job downloads that same artifact and checks the receipt digest, not the plan digest. It refuses a missing artifact, a digest that does not match, or a run attempt that is wrong or stale. Its token is the job GITHUB_TOKEN (GH_TOKEN). Job permissions stay contents: read only until a token source is decided. No workflow-level grant, new secret, or App is added. That token must not enqueue: Triggering a workflow says "When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN will not create a new workflow run, with the following exceptions," and merge_group is not one of them. The queue job therefore refuses before enqueuePullRequest. The next scheduled or triggered run does not change that; a token that can create merge_group runs is still a separate decision.

Grants required before that run

Read on 2026-11-22 with no credentials:

  • Ruleset 26346316, "Protect main: pull requests only", enforcement active. Its rules are deletion, non-fast-forward, pull request, and merge queue. The queue grouping is ALLGREEN. There is no required_status_checks rule.
  • GET /repos/Living-Proof-Labs/livingproof-verification/rulesets/26346316 does not include bypass_actors.

tools/bundle_queue.py refuses while either fact remains. A missing bypass_actors field is not treated as an empty list. Informational checks are not enough to enqueue.

These have to happen in order. This repository cannot do them.

  1. Aaron approves the ruleset change, and it is applied through the protected Apply repository settings workflow (.github #141). The rule must require checks, bundle-release-engine, renovate, and verification, each with integration id 15368, strict_required_status_checks_policy true, and do_not_enforce_on_create false. No bypass actor. The public ruleset read the queue uses must return bypass_actors as []. If GitHub only returns that field to an authenticated admin, the organization owner has to make that evidence available to this unauthenticated read, or approve a read that returns it, without a bypass and without a new write scope for the writer.
  2. A maintainer of Living-Proof-Labs/.github merges #144, or a successor rebased on current .github main, only after step 1. That merge installs the hourly and manual writer. The ci-automation environment on .github main must already hold variable CI_AUTOMATION_APP_ID (5829119) and secret CI_AUTOMATION_APP_PRIVATE_KEY for App living-proof-labs-ci-automation, installation 183589516, limited to this repository, with metadata read and contents, pull requests, and workflows write. Those were recorded as configured. This change does not read or copy them. If the variable or secret is absent, the environment owner on .github sets them. If enqueue then fails for lack of permission, the organization owner adds the missing grant on that App. Do not substitute GITHUB_TOKEN or create BUNDLE_WRITER_TOKEN.

Evidence that proves the demonstration

Use the next real Renovate pull request that changes only a reporter tag, or only the verifier workflow call and hallway image. Do not open a stand-in pull request and do not merge it by hand.

  1. The Renovate pull request and its head, and the prepare job's pr and head.
  2. The central workflow run. Prepare's digest. Publish's head, pr, branch, and receipt_digest. The new commit's parent is the Renovate head. The diff is only allowlisted generated files. The prepare log shows the second generation changed nothing.
  3. On that published head, four successful pull_request checks named checks, bundle-release-engine, renovate, and verification, each from App 15368, and the checks.yml and verify.yml runs completed with success. A failed or skipped check leaves no merge-queue entry.
  4. The queue job log: one enqueuePullRequest whose expectedHeadOid is the published head and whose jump is false, plus a mergeQueueEntry id. The pull request's queue entry is that id. There is no auto-merge mutation.
  5. The merge-group run of those checks, then the merge commit on main. The main verify run succeeds, including release, site, and pages. The Pages deployment sha is that merge commit, and version.html shows it. One published run page shows the new reporter or verifier tag. A robot FAIL on that page is a simulated outcome, not a failed pipeline. Earlier reports remain on the site.

188, #189, and a green local test run are not this evidence.

Central operations proposal (2026-11-18)

The next infrastructure slice uses the confirmed name CI Automation for the organization-owned CI service identity. Renovate bundle completion is its first use case; the initial installation remains selected-repository access to verification only. Its key is proposed to be held solely by .github's trusted-main ci-automation environment. The dormant central template and provisioning review are in .github/tools/automation. This branch link is temporary review navigation; replace it with the merged reference when the infrastructure is accepted. It is not an executable dependency.

This repository supplies the generation/publication/queue adapter. The new python3 tools/bundle_operations.py publish --plan PATH --sha256 DIGEST --receipt RECEIPT wraps the existing publisher and emits validated head, pr, and branch workflow outputs, plus receipt_digest, only after successful publication. The plan digest remains supplied by trusted prepare output; the queue reads that same-run receipt and its digest. Existing stale-main/head checks, file restrictions, lease behavior and expected-head queue mutation remain unchanged.

The central template requests a fresh one-repository App token per publication/queue job and verifies its effective repository boundary. Generation gets no key or write token. No credentials belong here. The old template below is retained as historical dormant scaffolding and must not be activated alongside the central writer; workflow concurrency is local to a repository. The central design supersedes its static writer-token placeholder, not the generator or publication guards.

The earlier rejected wiring is historical evidence. This new review proposal is specifically authorized for code/design only; it creates no App, key, installation, environment, permission grant, active workflow or merge. Registry identity and full selected-membership audit evidence remain provisioning work. The audit must continue reporting selected membership as unverified until authoritative evidence is available. The real reporter/verifier automatic-release demonstrations below remain outstanding.

One command

python3 tools/update_bundle.py --reporter v3.11.2 --verifier v1.25.4

Select either option or both. Explicit release tags are mandatory; no lookup of latest occurs. update_verifier.py coordinates workflow/image/requirements pins; lock.generate resolves the entire resulting bundle. Reporter wheels are downloaded and checked against GitHub's published release-asset SHA256 before adding a checksum. An already recorded checksum is immutable. No downloaded dependency code is executed.

Resolution happens in a temporary tree. A failed resolution, inconsistent release, unexpected layout, changed checkout, or unrelated input drift leaves source files untouched. Successful generation copies the complete candidate back. Ordinary write errors roll back; this is not a crash-safe filesystem transaction. Use a clean, exclusive checkout, then commit the candidate as one Git transaction. A second run must return Updated: with no paths. The publication path uses one atomic Git ref compare-and-swap, not a sequence of contents-API file edits.

Current-version expectations remain independent literal assertions. Generation updates only the three named *_RELEASE constants in test_corner.py, the reporter assertion in test_site.py, and the existing verifier history assertion through update_verifier.py. No assertion bodies, frozen robot/spec/world pins, history fixtures or evidence digests change. There are no per-release manual test edits.

The one proposed writer

The dormant tools/automation/bundle-completion.yml template selects eligible proposals hourly and defines a repository-owned GitHub Actions runner with two isolated jobs and a single repository-wide concurrency group (verification-bundle-writer, cancellation off). Hosted Mend remains discovery only. Its documented command restrictions do not establish permission for this repository to run postUpgradeTasks; none is configured. Keep Renovate automerge disabled. Once our completion commit is present, Renovate/custom proposals are refused by this writer, rather than rebased or reset.

  1. Prepare, read-only: check out an immutable reviewed main SHA, with credentials not persisted. Never check out PR code. Give only read access. Use the repository's hash-pinned test environment. Capture the proposed PR number and head as data. Run with the environment's Python:
python tools/bundle_proposal.py prepare --pr "$PR" --head "$HEAD" \
  --main "$MAIN" --output "$RUNNER_TEMP/bundle.json"

It refuses forks, unexpected branches, changed main/head, multiple/custom commits, unrelated files, symlinks and non-pin edits. It only accepts a single Renovate commit directly on current main. It reads inert proposal blobs, takes the version, and generates with trusted main code. It verifies repeatability and lock/corner assertions, then emits a SHA256 for the JSON artifact. The artifact is a publication envelope, not a new verification manifest. 2. Publish, isolated: fresh checkout of the same trusted main, no dependency install, tests, package hooks, candidate checkout or candidate scripts. Download only the artifact from that prepare job in the same workflow run. Pass its digest through the trusted job output (never trust a digest inside the artifact). Inject the existing approved writer credential only into this step:

python3 tools/bundle_proposal.py publish --plan "$RUNNER_TEMP/bundle.json" \
  --sha256 "$PREPARE_SHA256"

The publisher hardcodes the repository, branches and file allowlist, rechecks main and proposal head, creates a commit parented to that exact head, then publishes with --force-with-lease=refs/heads/EXPECTED_BRANCH:EXPECTED_HEAD. Although Git calls the option force-with-lease, the new commit is always a direct descendant; a concurrent writer causes rejection, never loss of custom commits. Replaying a completed proposal is refused. If a push outcome is uncertain, inspect the remote ref before retrying; never regenerate against a guessed head. 3. Prepared exact-head coordinator: python3 tools/bundle_queue.py --receipt RECEIPT --sha256 RECEIPT_DIGEST rechecks candidate eligibility and requests normal queue entry with enqueuePullRequest, expectedHeadOid, and jump: false. GitHub enforces the repository's actually configured protections. The coordinator admits the receipt only when checks, bundle-release-engine, renovate, and verification are successful exact-head evidence from App 15368, and it waits while that evidence is still pending. It never enables deferred auto-merge, merges directly, or bypasses requirements. The mutation fields are defined in GitHub's published schema. A changed head, invalid target, or server refusal stops the request. An uncertain mutation outcome must be inspected before retrying.

This coordinator is not wired into the dormant template. Its head and branch arguments must come from the trusted publisher's output and sealed preparation data in the same run, never PR-controlled input, commit messages, or author heuristics. No PR code, dependencies, or candidate scripts may execute in that job. A failed queue job should be retried with those same trusted outputs; never rerun publication blindly or guess a replacement head. Durable recovery beyond retained run outputs is not implemented.

Discovery and stale-base liveness

Discovery checks metadata and inert proposal bytes before choosing work, so major, malformed, deleted-input and custom-edit proposals cannot starve eligible proposals. The reporter and grouped verifier rules now specify rebaseWhen: "behind-base-branch". This asks hosted Renovate to refresh its untouched proposals even without conflicts; other dependency rules retain their inherited policy. Automerge remains disabled in Renovate; bundle completion has one intended writer.

Renovate documents that ordinary updates stop when another author adds a commit. No rebase label/checkbox, reset, amend or force refresh is used. A stale proposal remains refused until Renovate refreshes it, and a custom or completed branch is never rebuilt by this writer. Hosted proof must cover both non-conflicting main movement and preservation of a custom commit. Main movement during generation still causes an expected-main refusal.

After completion, the normal queue handles non-conflicting main advancement. Both workflows also run on merge groups for informational observation. verification aggregates the lock guard and all seven reusable pipelines and fails on any failure, cancellation or skipped dependency. It judges pipeline completion, not the robot's capability verdict; truthful robot FAIL remains report data. Pages still runs only on main push or explicit history reset. Conflicted completed branches require human review or a future reviewed append-only regeneration strategy; this code does not discard custom commits to guarantee liveness.

Observed integration and exact activation boundary (2026-11-17)

Main 3fa0c5bf7ea6e61f319cd2af9eec7a6ec31195b0 includes #110. Its main run 44028270422 completed successfully, including site and Pages jobs. This is adoption evidence, not either requested automatic-release demonstration.

The live repository ruleset 26346316 is active on the default branch, requires PRs and the normal merge queue, and has no bypass actors. Its response contains no required-status-check rule. A current classic branch-protection read returns 403 with the connected integration. The existing administration audit run 43828994015 reported unprotected / null classic required checks for this repository on November 16 (artifact classic-protection-evidence, ID 14206784610). That historical audit is not a current queue-readiness certificate.

Aaron's November 16 policy explicitly keeps non-required checks informational: repository operations and repository policy select only .github's own required-check contract. The absence of required contexts here is not a defect to repair or an activation prerequisite. The earlier proposal to require checks, renovate, and verification was stronger than that policy and is withdrawn. Existing workflow jobs and merge-group triggers remain informational unless separately enrolled by the owner; this correction changes no workflow or protection.

Internal bundle validity remains mandatory before publication: trusted generation, coherent release/lock resolution, checksums, repeatability and the prepare-stage guards must succeed. This is distinct from waiting for optional PR or merge-group CI.

Risk and post-merge observation: with no required contexts, the normal queue can merge while informational tests are still pending; those tests can subsequently fail. Post-merge observation reports those failures; it does not prevent or undo the merge. Record the merged SHA, main run, all seven reports and Pages outcome, distinguishing pending, failed and verified publication. Do not mark delivery verified from queue acceptance or merge alone. Robot capability FAIL remains a truthful report result, not by itself a pipeline failure. Observation must not silently become a new queue gate.

Existing infrastructure was inspected without reading secret values or minting tokens:

  • The connected GitHub App can publish draft PRs, but local gh is unauthenticated. No relevant GH or Rivet credential environment variable is present. Connector access is not Actions access.
  • .github/config/github/app-access.json declares Rivet contents/workflows/PR write and Actions read-capable permissions. It documents intent, not accepted installation permissions or an Actions-accessible key in this repository.
  • The existing Keel comment pilot is restricted to collaboration-guidelines and issues write, with a one-use approval. It cannot be repurposed for bundle publication.
  • The repository-administration App is for settings/Pages, not content and PR writes. Do not broaden either credential to activate this feature.

Minimum remaining approval/action: identify an already approved App installation/key that is accessible to trusted Actions for this repository and already has contents, workflows and PR write; confirm its accepted scopes and bind short-lived tokens to isolated publication/queue steps. The existing App-token action pattern is supported, but availability of such a key here has not been established. If none exists, credential provisioning or permission expansion requires separate owner approval; it is not performed or implied by this PR.

Then review the template wiring: trusted-main scheduled/manual preparation with read access; isolated publisher; isolated queue job consuming only same-run trusted output; one shared concurrency group. Prepare needs PR read access with its read-only token. The corrected queue command no longer reads Actions runs or rulesets; Actions read is not an enqueue prerequisite. A later read-only post-merge observer may need Actions read access separately. The earlier proposed Actions/PR read declarations and queue wiring were rejected by automatic approval review and did not execute. The template remains unchanged. Any revised permission declaration or publisher-to-queue wiring still requires its separate approval; this correction does not retry that change. No new workflow has been installed, no secret bound, no token minted, no settings changed, and no writer activated.

Acceptance evidence still required

  • Run the prepared writer in the approved isolated jobs with the existing credential; verify the generated commit triggers all exact-head checks without manual approval.
  • Verifier release case: a newly discovered verifier version automatically completes its workflow/image/requirements pins, seven locks, evaluator declaration and current expectations, and automerges through the normal queue under its configured protections.
  • Reporter release case: a separately discovered reporter version automatically completes its settings pin, verified wheel checksum, seven locks and current expectations, and automerges through the normal queue under its configured protections. For each case, record byte-stable regeneration and links from discovery through published mainline evidence. A manually completed commit or manually merged adoption PR is not proof for either case. Local mocked tests are not live-release proof.
  • Prove concurrent head changes, competing runs and custom commits fail closed on GitHub.
  • Independently verify all four required contexts above in the approved server protections and demonstrate that missing or failing fresh merge-group checks block merge. Demonstrate automatic normal-queue merge with no bypass.
  • Verify the merged SHA's mainline run, Pages deployment and all seven published reports; link discovery, proposal, run and publication. Preserve earlier evidence.
  • Obtain Deep independent review of the user-run command and publication boundary before merging. This document does not authorize activation or merge.