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
Port the Tor-routed fetch layer and upgrade --check to Rust #718
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestrefactorCode health / tech debt; no behavior changesecuritySecurity-sensitive issue or hardeningsize:MSized M against one local session
util/fetch-proxy.sh (152 lines) does SOCKS5 curl and git fetch through Tor with preflight and apt and dnf proxy options, and _upgrade_check (upgrade --check) is the other fetch consumer. Appliance mode also seeds the Tor default. This layer carries the no-clearnet-fallback guarantee of #668 (closed; the shell implementation exists and is ported here, not sequenced around).
What it impacts
Every network fetch RigForge makes, including setup, upgrade and the release check.
How I found it
Reading util/fetch-proxy.sh, _upgrade_check and the tests (tests/test-fetch-proxy.sh, tests/e2e/isolation.sh proxy-only network) at ea41133.
How important is it
Medium to high for care: must not add any clearnet path.
Acceptance criteria
With RIGFORGE_IMPL=rust, fetches run natively, make test-suite passes unchanged and the make test-e2e isolation checks pass.
Fetches go only through the configured SOCKS endpoint with hostname resolution done by the proxy; a test proves failure, not fallback, when the proxy is down.
Preflight, apt and dnf proxy options and the appliance Tor default behave as today, each with a test.
PARITY.md updated. make check passes.
Possible solutions
Shell out to git and curl initially and port only orchestration.
Native SOCKS5 client versus curl --socks5-hostname; options only.
What is already finished (this session's read-through).
Scoped the port: the twelve helpers in util/fetch-proxy.sh (proxy resolution incl. the appliance Tor default, curl/git wrappers with the no-NO_PROXY env, preflight, proxy-reachability, doctor check, apt/dnf/env option emitters, the donation conflict, the appliance seed) plus the _upgrade_check fetch path — one slice, consistent with the size:M label, no split needed.
Confirmed the parity oracle for it: tests/test-fetch-proxy.sh (416 lines) and the proxy-only network in the isolation e2e (tests/e2e/), which is the "failure, not fallback, when the proxy is down" shape AC 2 pins. The intended port approach ("shell out to git and curl initially and port only orchestration", curl --socks5h semantics) keeps AC 2's no-clearnet-fallback guarantee reviewable in the orchestration only.
What unblocks it.#706 landing (dispatcher, unit persistence, env-hook contract, the RIGFORGE_IMPL=rust suite CI job, and the PARITY.md ledger). The runner resumes this session when #706 closes, and the slice is then implementation-clear: fetch helpers + upgrade --check to Rust with per-helper tests and a fail-closed proxy-down test.
One operator note.#706 carries operator-hold, which contradicts the owner's 2026-11-24 work order above that puts #706 second and says "build the compiled refresh now". If the hold is stale, removing it lets #706 be picked and this issue follows.
Blocked on #706. Blocked on rigforge#706: issue #718's acceptance criteria 1 and 4 require the RIGFORGE_IMPL dispatcher, the binary env-hook contract, the RIGFORGE_IMPL=rust test-suite CI job and docs/dev/rust-port/PARITY.md — all defined by #706, none of which exist on current develop (verified: no RIGFORGE_IMPL anywhere, no PARITY.md, crates/ holds only #705's --version scaffolding; #706 has no PR or draft branch). Implementing a parallel selection switch in this slice would conflict with #706, which explicitly reserves the dispatch point, and an unwired Rust fetch module would pre-empt its binary/argv/env-hook decisions. Finished this session: full scoping read of the slice (the twelve helpers in util/fetch-proxy.sh incl. appliance Tor seeding, the _upgrade_check fetch path, tests/test-fetch-proxy.sh and the isolation e2e proxy-only network as the AC-2 fail-closed oracle), confirmation it is one size:M slice needing no split, and the sequencing check against the owner's 2026-11-24 work order on #669. Unblocks when #706 lands; the runner then resumes this session and the slice is implementation-clear. Operator note: #706 carries operator-hold although the owner's 2026-11-24 ruling ("build the compiled refresh now", order #705, #706, #704, ...) puts it second; if the hold is stale, removing it lets #706 be picked. Blocker comment posted on #718; nothing edited or pushed.
The runner resumes this issue when that one closes.
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestrefactorCode health / tech debt; no behavior changesecuritySecurity-sensitive issue or hardeningsize:MSized M against one local session
Activity
pithead-developer commentedon Nov 26, 2026
Blocked on #706 — the
RIGFORGE_IMPLdispatcher this slice needs does not exist yet, and it is the issue whose work order precedes this one.Why it prevents progress. Acceptance criteria 1 and 4 are unsatisfiable on current develop:
RIGFORGE_IMPL=rustnothing changes anything: on develop (verified at the current head, after Add the Rust workspace, toolchain pin and CI gates #705 merged)grep -rn RIGFORGE_IMPLacrossrigforge.sh,util/,Makefileandtests/finds nothing, andcrates/is only the--versionscaffolding from Add the Rust workspace, toolchain pin and CI gates #705. "Fetches run natively" and "make test-suite passes unchanged under it" require Add the RIGFORGE_IMPL dispatcher, unit-level selection, parity CI job and ledger #706's dispatch-before-the-verb-case, its env-hook contract for the binary, and the CI job that runs the suite withRIGFORGE_IMPL=rust.PARITY.mdupdated" presumesdocs/dev/rust-port/PARITY.md, which Add the RIGFORGE_IMPL dispatcher, unit-level selection, parity CI job and ledger #706 creates as the ledger; the file does not exist.RIGFORGE_IMPLread and dispatch point to itself.What is already finished (this session's read-through).
util/fetch-proxy.sh(proxy resolution incl. the appliance Tor default, curl/git wrappers with the no-NO_PROXY env, preflight, proxy-reachability, doctor check, apt/dnf/env option emitters, the donation conflict, the appliance seed) plus the_upgrade_checkfetch path — one slice, consistent with the size:M label, no split needed.tests/test-fetch-proxy.sh(416 lines) and the proxy-only network in the isolation e2e (tests/e2e/), which is the "failure, not fallback, when the proxy is down" shape AC 2 pins. The intended port approach ("shell out to git and curl initially and port only orchestration",curl --socks5hsemantics) keeps AC 2's no-clearnet-fallback guarantee reviewable in the orchestration only.What unblocks it. #706 landing (dispatcher, unit persistence, env-hook contract, the
RIGFORGE_IMPL=rustsuite CI job, and the PARITY.md ledger). The runner resumes this session when #706 closes, and the slice is then implementation-clear: fetch helpers +upgrade --checkto Rust with per-helper tests and a fail-closed proxy-down test.One operator note. #706 carries
operator-hold, which contradicts the owner's 2026-11-24 work order above that puts #706 second and says "build the compiled refresh now". If the hold is stale, removing it lets #706 be picked and this issue follows.pithead-developer commentedon Nov 26, 2026
Blocked on #706. Blocked on rigforge#706: issue #718's acceptance criteria 1 and 4 require the RIGFORGE_IMPL dispatcher, the binary env-hook contract, the RIGFORGE_IMPL=rust test-suite CI job and docs/dev/rust-port/PARITY.md — all defined by #706, none of which exist on current develop (verified: no RIGFORGE_IMPL anywhere, no PARITY.md, crates/ holds only #705's --version scaffolding; #706 has no PR or draft branch). Implementing a parallel selection switch in this slice would conflict with #706, which explicitly reserves the dispatch point, and an unwired Rust fetch module would pre-empt its binary/argv/env-hook decisions. Finished this session: full scoping read of the slice (the twelve helpers in util/fetch-proxy.sh incl. appliance Tor seeding, the _upgrade_check fetch path, tests/test-fetch-proxy.sh and the isolation e2e proxy-only network as the AC-2 fail-closed oracle), confirmation it is one size:M slice needing no split, and the sequencing check against the owner's 2026-11-24 work order on #669. Unblocks when #706 lands; the runner then resumes this session and the slice is implementation-clear. Operator note: #706 carries operator-hold although the owner's 2026-11-24 ruling ("build the compiled refresh now", order #705, #706, #704, ...) puts it second; if the hold is stale, removing it lets #706 be picked. Blocker comment posted on #718; nothing edited or pushed.
The runner resumes this issue when that one closes.