You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Accept check receipts across hosts by fingerprinting only result-affecting settings #1740
Owner order (Marcin, 26 Nov, "proceed as recommended", relayed from the PR-granularity thread).
Problem
loopzero ready refuses check receipts produced on another host, or under a different shell environment, with "incompatible settings fingerprint". The fingerprint's environment includes host-specific values such as PATH, LANG and TERM. The heavy slot prepends ~/.local/bin to PATH, so even a local slot receipt matched only when ready ran with that same PATH. Remote (danio-3) receipts never match.
Measurement (heavy-slot job log, measured 26 Nov ~09:10Z)
Remote loopzero check runs followed by another check at the same head:
window
checks
remote
remote passed
remote followed by same-head recheck
of which the remote run had passed
24 h
1044
414
313
69
53 (17% of remote passes)
72 h
1462
623
394
108
66
7 d
2215
837
508
127
66
Both repos share the log (IntelFlo is most of the volume), so the count covers both. It is not rare: a sixth of remote passes were thrown away and rerun.
Fix (owner-approved direction)
Readiness compares only settings that can change a check result (commands, sandbox settings, base), not host-specific values (PATH, LANG, TERM, CPU grant). Keep it a small CLI change, with no new flag, config key or state. Then lift the stopgap below.
Stopgap (in force now)
Loop-zero builders force their slot runs local (HEAVY_SLOT_REMOTE_HOSTS pointing at an empty host list) and run ready with the slot's PATH. The shared slot policy entry ["loopzero","check"] stays remote-eligible, because IntelFlo uses it and removing it would move about 400 checks a day onto miki.
Not chosen
Normalising both hosts' environments (brittle).
Dropping the local receipt in favour of the GitHub check (reverses local-first).
Acceptance
A receipt produced on danio-3, and one produced by a local slot run, are both accepted by ready run from a plain shell at the same head, base and commands.
Changing a check command, sandbox setting or base still invalidates the receipt.
Zero net new test lines where possible (adapt existing fingerprint coverage).
The implementation merged through Mergify in #1772 as 3f60c7f9acb8960f678aa915cbfabe6ef450c745. The regression verifies that ordinary readiness accepts an unchanged receipt across inherited PATH, locale, TERM and CPU grant changes, while stage reuse still depends on the execution environment. Existing coverage retains command, sandbox and trusted-base invalidation.
The installed CLI on miki and the staged whole-check CLI on danio-3 both still report 72f087e4161fa346d5aff1092c468696683f4997. Leave this issue open and keep the builder stopgap in effect until the new build is staged on both hosts and ordinary miki readiness accepts real local-slot and danio-3 receipts at the same head and trusted policy. Local slot ticket 18839 already verified the interim launch recipe from host-config #208 with the installed CLI.
Both hosts produced passing receipts for draft #1930 at head 4d3f8d74c819124840a12e6c63021714902779e8. Both slot records report base 5c63c56db9db7d4d16f1125878c367a50401c41b, and both receipts have settings SHA-256 37e376267f2822d65393198ae11476ef7d6fcdcba845d99d2862e3b2eb955ac1.
Miki local slot ticket 19232 exited 0 with reuse disabled for this proof. Ordinary miki loopzero ready printed receipt accepted with the default PATH. The receipt file was unchanged (SHA-256 59e9f57b59e2b9a32d1020292a0e10b62efd47dddec30175b1606aed36119174).
Both hosts first switched to 6bbaa7c8847acab2e437cb79e327847d723493f9 at 15:09:43Z after IntelFlo #14670 pinned both eligibility jobs. The follow service advanced both CLIs to b3efa7bacdd1d61d01dd5e772cb8b0458e567ab8 by the local run. Both readiness reads accepted their receipt. The proof PR remains a draft pending review and hosted eligibility.
Activity
eowca commentedon Nov 26, 2026
The implementation merged through Mergify in #1772 as
3f60c7f9acb8960f678aa915cbfabe6ef450c745. The regression verifies that ordinary readiness accepts an unchanged receipt across inherited PATH, locale, TERM and CPU grant changes, while stage reuse still depends on the execution environment. Existing coverage retains command, sandbox and trusted-base invalidation.The installed CLI on miki and the staged whole-check CLI on danio-3 both still report
72f087e4161fa346d5aff1092c468696683f4997. Leave this issue open and keep the builder stopgap in effect until the new build is staged on both hosts and ordinary miki readiness accepts real local-slot and danio-3 receipts at the same head and trusted policy. Local slot ticket 18839 already verified the interim launch recipe from host-config #208 with the installed CLI.eowca commentedon Nov 26, 2026
Both hosts produced passing receipts for draft #1930 at head
4d3f8d74c819124840a12e6c63021714902779e8. Both slot records report base5c63c56db9db7d4d16f1125878c367a50401c41b, and both receipts have settings SHA-25637e376267f2822d65393198ae11476ef7d6fcdcba845d99d2862e3b2eb955ac1.19223exited 0. Ordinary mikiloopzero readyprintedreceipt accepted. The receipt file was unchanged (SHA-25651be73fa27f6d2bc4ecfabbbe56e51c063ac007806ac52fe23c4837d9e11be95). Remote proof19232exited 0 with reuse disabled for this proof. Ordinary mikiloopzero readyprintedreceipt acceptedwith the default PATH. The receipt file was unchanged (SHA-25659e9f57b59e2b9a32d1020292a0e10b62efd47dddec30175b1606aed36119174).Both hosts first switched to
6bbaa7c8847acab2e437cb79e327847d723493f9at 15:09:43Z after IntelFlo #14670 pinned both eligibility jobs. The follow service advanced both CLIs tob3efa7bacdd1d61d01dd5e772cb8b0458e567ab8by the local run. Both readiness reads accepted their receipt. The proof PR remains a draft pending review and hosted eligibility.