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
Apply can publish a stale payout wallet after waiting for the mutation lock #3884
CLI apply renders before taking the mutation lock and never validates that snapshot afterward. It can publish stale environment A after a dashboard transaction commits B. See lib/pithead/40-apply-and-render.sh:152-170, :219-253, :270-274, :319-359; lib/pithead/00-prelude.sh:53-54; lib/pithead/43-control-approval-and-preview.sh:346-382; and lib/pithead/43b-control-preview-staleness.sh:10-26.
What it impacts
Operators using CLI apply alongside dashboard configuration changes can end with canonical configuration B and running payout destination A, despite successful service recreation.
How I found it
Operator's independent audit of develop-v2.0.3 at ced8501 on 2026-11-02, confirmed by a separate verification session
An exact-body apply harness injected a completed B transaction at lock acquisition, after CLI rendering of A. The comparison state at that boundary was committed B; production continuation produced config=B env=A recreates=1.
This was a deterministic modeled interleaving, not real concurrent execution; no separate runtime control was reported. Existing dashboard preview validation does not validate the separate CLI staging file.
This defect predates v2.0.2.
How important is it
Blocker. A completed newer wallet configuration can be overwritten by a stale render, leaving the configured and running payout destinations inconsistent.
Acceptance criteria
Add a deterministic lock-boundary regression: after B commits while A waits, A must not publish or recreate services from its stale snapshot.
A changed revision requires a fresh render and confirmation before a wallet redirect.
Dashboard configuration publication and child apply share the mutation transaction, preventing a copy between CLI validation and publication.
Possible solutions
One option is to checksum the configuration used for rendering and compare it immediately after lock acquisition. Reject stale staging and require fresh confirmation. Move control_commit's canonical copy inside the same transaction and hold the lock through child apply. Closed #1342 / merged PR #1391 add locking; closed #3352 / merged PR #3360 validate dashboard previews; merged PR #2944 isolates staging names. None validates this CLI snapshot.
Operator: claimed for an operator-run GPT implementation session today (owner request, 2026-11-02: run today's work on Codex). operator-action keeps the automated runner off it until the session's draft PR is reviewed; anything not started before Codex access ends goes back to the runner.
Operator: released to the runner (owner 2026-11-06). New work goes to the local Flash-Next model first; Claude only after three local rounds or for sensitive work.
Blocked on #3929. Build image (tor) fails at head c303b6e in the Trivy scan step, on musl-utils CVE-2026-107891 (fixed in 1.2.6-r3). I could not read the job log because the run was still in progress, so this comes from the failing step name plus the matching open issue #3929; I did not check the scanner output itself. This PR touches no build/ path (shell slices, tests and docs only). #3929 describes the same failure on unrelated PR #3873. Finished: the reviewer's comment findings are fixed and pushed, and make lint-pithead-build and make lint-file-budget exit 0. The remaining required checks were still running when I looked, so I haven't seen them pass. This stays blocked until #3929 lands a tor base-image or package refresh and CI reruns on this branch. I posted this explanation on PR #3892.
The runner resumes this issue when that one closes.
Blocked on p2pool-starter-stack/bench-ci#2422. Job 3642 (bench id 821) ended error at preflight: its bench reports its baseline unverified after a failed rig restore, and it refused to run before any scenario. No job has exercised this head's dashboard commit path. Job 817 failed earlier in its pre-gate on the Monero payout wallet row, and its own evidence says baseline verified and rig restored. I could not find the failed restore in 817's log, so the job that left the baseline unverified is unidentified. This is bench state, not a product failure, and I did not touch the bench. Open bench-ci issue #2422 covers a failed rig restore wedging the bench, so I commented there with both job ids and the preflight message. I also commented on PR #3892. Finished: the comment removals are pushed as 4982352, and the PR body is trimmed with job 817's evidence quoted. Unblock: the owner runs the bench's managed rebuild and restoration proof, and #2422 or a bench-side recovery clears it. Then I resubmit tier4-e2etargeted with --new-attempt and quote the bench-ci evidence block. The PR body does not yet mention job 821, and I did not re-check GitHub CI on this head.
The runner resumes this issue when that one closes.
Activity
pithead-developer commentedon Nov 2, 2026
Operator: claimed for an operator-run GPT implementation session today (owner request, 2026-11-02: run today's work on Codex).
operator-actionkeeps the automated runner off it until the session's draft PR is reviewed; anything not started before Codex access ends goes back to the runner.pithead-developer commentedon Nov 2, 2026
Operator: draft PR #3892 from the implementation session, held with
operator-actionfor operator review.pithead-developer commentedon Nov 6, 2026
Operator: released to the runner (owner 2026-11-06). New work goes to the local Flash-Next model first; Claude only after three local rounds or for sensitive work.
pithead-developer commentedon Nov 7, 2026
Blocked on #3929. Build image (tor) fails at head c303b6e in the Trivy scan step, on musl-utils CVE-2026-107891 (fixed in 1.2.6-r3). I could not read the job log because the run was still in progress, so this comes from the failing step name plus the matching open issue #3929; I did not check the scanner output itself. This PR touches no build/ path (shell slices, tests and docs only). #3929 describes the same failure on unrelated PR #3873. Finished: the reviewer's comment findings are fixed and pushed, and make lint-pithead-build and make lint-file-budget exit 0. The remaining required checks were still running when I looked, so I haven't seen them pass. This stays blocked until #3929 lands a tor base-image or package refresh and CI reruns on this branch. I posted this explanation on PR #3892.
The runner resumes this issue when that one closes.
pithead-developer commentedon Nov 8, 2026
Blocked on p2pool-starter-stack/bench-ci#2422. Job 3642 (bench id 821) ended
errorat preflight: its bench reports its baseline unverified after a failed rig restore, and it refused to run before any scenario. No job has exercised this head's dashboard commit path. Job 817 failed earlier in its pre-gate on the Monero payout wallet row, and its own evidence says baseline verified and rig restored. I could not find the failed restore in 817's log, so the job that left the baseline unverified is unidentified. This is bench state, not a product failure, and I did not touch the bench. Open bench-ci issue #2422 covers a failed rig restore wedging the bench, so I commented there with both job ids and the preflight message. I also commented on PR #3892. Finished: the comment removals are pushed as 4982352, and the PR body is trimmed with job 817's evidence quoted. Unblock: the owner runs the bench's managed rebuild and restoration proof, and #2422 or a bench-side recovery clears it. Then I resubmittier4-e2etargetedwith--new-attemptand quote thebench-ci evidenceblock. The PR body does not yet mention job 821, and I did not re-check GitHub CI on this head.The runner resumes this issue when that one closes.
Reject stale apply snapshots after lock waits (#3892)
pithead-developer commentedon Nov 9, 2026
Merged in #3892.