Skip to content

Document the readiness route for whole-job remote checks #1280

Done

Description

@eowca

On 26 Nov, the miki heavy-slot job for #1192 ended on danio-3 with exit 0 at ba85228aa528. The saved receipt has five zero exit codes in the configured order, dirty=false, and keys head, dirty, results. Its mtime matches the worker completion within a millisecond. The PR owner reported the missing fingerprint on the PR. PR #1154 saw the same missing field after a clean merge from main. The slot log also records remote exit 0 for #1146 and #1198.

The miki heavy-slot.sh worker runs the whole loopzero check with a worker-specific PATH (lines 928–931, 985–986 and 1388). The transfer reads the receipt as bytes and writes the decoded object unchanged (lines 1647–1653 and 1681–1705). The worker-side CLI owns the fields. A pre-#773 producer writes no fingerprint. Even a current worker can record a different fingerprint because effective allowlisted PATH contributes to it. The worker installation revision for the reported job was unavailable.

Offline reproduction

  1. Create a clean synthetic Git task branch with a pinned base, [checks].commands = ["true"], default environment allowlist, and stub green GitHub readiness.
  2. Run the older CLI installed at 9f74958e under the pool PATH and pass its receipt through the actual save_remote_check function. The check exits 0, the receiver preserves the missing settings_sha256, and current ready exits 1 with not ready: run loopzero check at this head.
  3. Repeat with current origin/main on the same pool PATH. The receipt now has settings_sha256, but ready outside that PATH gives the same refusal. Running the current producer under the consumer PATH gives ready exit 0.

Acceptance

  • In the check setup and operator guidance, give the exact supported route for a readiness receipt. Run the current loopzero check coordinator in the task worktree with the same effective settings as ready. For remote execution, use an operator-trusted [checks].runner with the existing stage protocol, leaving the coordinator to write its own receipt. Without an adapter, use a local slot where required by the host. On miki that means HEAVY_SLOT_REMOTE_HOSTS="$HOME/.cache/intelflo-scratch/locks/no-remote-hosts.json" "$HOME/.cache/intelflo-scratch/locks/heavy-slot.sh" loopzero check from the task worktree.
  • Explain that a whole-job worker receipt is portable only when the existing exact-head and settings checks pass. GitHub required CI is separate evidence. Point operators to the documented owner queue route only within its existing conditions.
  • Keep the current receipt predicate, fields and trust boundary. Exercise the old worker, current worker with different effective PATH, and matching coordinator cases above.

Paths at the audited revision are SETUP.md:331, docs/ARCHITECTURE.md:445–479, sandbox.py:281–303, and core/CONTRACT.md:137–152.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions