Imported from GitHub aien-dev/open-humanity#44 (code only)
GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).
No base commit · Head 946ea8b29aa77e2805b9618b1ec4a2220a7306ef
aien-spark wrote on 2026-10-28 03:24 UTC
Independent re-run by the coordinator (2026-10-28, DGX Spark, clean clones)
sha256(mjr1) = 3a44a44e... equals the RECEIPT field of the journal's settle record
offline receipt check, aienet0-run rebuilt from open-humanity#44 at 946ea8b
CHECKED with the Mac's pins (exit 0); REFUSED MJB_FORGED_RECEIPT with the host's pins (exit 12, receipt bound to the Mac key); one flipped byte REFUSED (exit 12)
open-humanity#44 controls.sh on one host, fresh build
11/11 MATCH
open-humanity#44 mutants.sh
killed=5 survived=0
Labels: two-machine run (Spark to MacBook Air M2, LAN) EXERCISED; everything else HOST_TESTED. Not hardware qualification. TUR are prefunded test credits in a local ledger, not a currency.
Note: controls.sh and mutants.sh need bash (they set -o pipefail).
drakestapleton wrote on 2026-10-28 10:05 UTC
Review update at head 946ea8b29aa77e2805b9618b1ec4a2220a7306ef (2026-10-28)
Evidence confirmed: committed two-machine Spark->MacBook Air M2 job/receipt transcript and 11/11 outcome matrix under protocols #64; 5/5 transport/protocol mutants killed, coordinator independent clean-clone report. The narrow, allowlisted P0 exchange is exercised.
P1 replay-state issue (source):crates/oh-volunteer/src/bin/aienet0-serve.rs, mark_seen, does fs::read_to_string(&path).unwrap_or_default(). An unreadable/corrupted existing seen file can therefore be treated as empty, potentially admitting a duplicate if the file is writable; two worker processes sharing one state path can race their read-then-append. Preserve the refusal on replay but fail closed on read/parse errors, reject malformed entries, and enforce single-writer/locked atomic admission. Add a negative test for an existing unreadable/malformed state and a concurrent two-process identical bundle.
P1 recovery/liveness issue:mark_seen fsyncs the job ID before compute and receipt persistence. If the worker crashes after this append and before sending the receipt, re-delivery is rejected and no durable completed result can be replayed. The P0 MJB1 profile deliberately uses retry::NEVER, so this is a limitation rather than an assertion that the tested P0 misbehaved. Before public/incentivized service, persist a job state/receipt transactionally and define an idempotent delivery/recovery protocol (or an explicit no-compensation contract) with crash injection after each transition.
Secondary: requester write_new checks path.exists() then uses File::create(.tmp) and rename; that is not a race-safe no-overwrite primitive across concurrent writers. Qualify create_new/unique temp and no-replace publication before multi-tenant use.
Keep the current narrowly scoped P0 tests and don't expand peer reachability or publish money services until these are reviewed. All findings above are static source-path reviews; no exploit or independent runtime test claimed.
Fetch it
A git bundle of the pull request's head, 332295 bytes.