Repository navigation
Description
What's the problem
The owner wants high-level, voluntary product-usage feedback to improve Pithead and RigForge. Pithead has no phone-home by default, and it has no reviewed schema, preview or consent flow for this. The original text predates the lean UI spec and does not say where the preview and consent live; the current dashboard gets no more work, so they must be built inside the Sovereign UI (#3566). This stays a later, optional, default-off feature and not a release requirement. This issue provisions no endpoint or infrastructure (that is #3186).
What it impacts
- Maintainers, who learn which deployment modes and capabilities matter, only from users who opt in.
- Every user: the no-phone-home default must not change on appliance or DIY, under any profile (Performance, Balance, Privacy) or after an upgrade.
- Users who opt in, on desktop and phone, who need a plain preview and an immediate off switch.
- Downstream work: Operator follow-up: choose and provision the optional aggregate-usage receiver #3186 (receiver, designed against this contract) and rigforge#582 (standalone RigForge reporting, conditional).
How I found it
- Owner statements on this issue (2026-10-06): reports go over Tor only with no direct-network or DNS fallback; default off; no analytics-specific collection or persistence before consent; no retrospective upload; disabling clears unsent batches; no claim of unique users or installations; later than the core shared-host work.
- The lean roadmap (2026-10-23) lists it as Icebox, deferred: it adds a consent screen, revisit after the lean UI. On 2026-10-27 the owner lifted the pause on Icebox work and ruled that old-UI stories are adapted to the new UI or closed. This one is adapted because the owner asked for the feature.
- v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 (closed, spec accepted) fixes four pages plus one Advanced drawer, four counted controls on Settings and at most ten outside Advanced. It names no drawer group for this feature.
- The former tracker Post-GA adoption roadmap: shared servers, operator tooling and optional usage sharing #3181 is closed (superseded by the lean roadmap).
- Not confirmed: whether Pithead-side aggregates make standalone RigForge reporting unnecessary; how the Performance profile (no Tor) combines with Remote access over Tor for this sender.
How important is it
Low. The feature is optional, default off and not a release requirement, and the receiver does not exist yet. It becomes workable only after #2530 delivers the Advanced drawer sections. The owner's 2026-10-27 decision to put idle capacity on Icebox work is why it is made workable now.
Acceptance criteria
- Schema. A versioned allowlist, landing before the sender, names every field and its purpose: coarse product/release family, deployment mode, capability categories and bucketed outcomes only. Rare categories and field combinations are reviewed for fingerprinting and aggregated or suppressed. A fixture seeded with a stable installation ID, wallet/payout value, worker name, hardware fingerprint, IP/host/onion address, topology, raw log or config text, credential and per-worker record shows none reaches the payload, and a field outside the allowlist fails a test.
- Off by default. Sharing is off on a fresh install and stays off after an upgrade, a config migration and any profile change. While off, a capture in the fixture shows no DNS lookup, discovery ping, consent probe or report; no analytics-specific event is collected or persisted; after opt-in, nothing from before consent is uploaded.
- Preview and consent. The section shows the exact payload and destination, the cadence and retention, that the receiver can observe source address and request timing, that reports are aggregates and do not count unique users or installations, and that one person's already-mixed contribution cannot be deleted. The preview contacts nothing. Enabling is an explicit action. Disabling is immediate and persistent, stops collection and clears the unsent batch. A changed schema version or destination is not sent until the user consents again to the change shown.
- Tor only. Reports use the stack's configured Tor route with names resolved through it: no direct DNS, no clearnet fallback, no automatic Tor installation. If the route is absent, unreachable or switched off by the active profile, data stays unsent and the section says so in plain words.
- Bounded. Requests have timeouts; batches use coarse time buckets, jitter, a low rate and backoff; unsent data is bounded or not kept durably. With the receiver down or answering malformed responses, retries stay bounded and mining, startup and updates behave as without the feature (fixture-tested).
- Separate. Operator Prometheus metrics, local history/audit and support bundles stay separate from the usage batch and are unchanged by it. Only Pithead reports; connected workers are not counted twice, with the reporting-role rule documented. Standalone RigForge reporting stays in rigforge#582 and proceeds only if Pithead-side aggregates are shown to be insufficient.
- Not live yet. Tests use local fixtures only: allowlist and redaction, zero network while off, consent and revocation, changed schema or destination, malformed response, bounded retries, transport failure. Until the receiver is approved and ready (Operator follow-up: choose and provision the optional aggregate-usage receiver #3186) the live opt-in action is not offered; the section shows the preview and says sharing is not yet available.
- Where it lives. Inside the Advanced drawer only, reached from Settings (v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 F/G): no new page and no new counted control. The Settings page keeps four counted controls and the control-count test passes on the appliance, DIY-with-login and DIY-without-login fixtures. It follows the settings editor's platform rule (J): with the editor off (DIY without login) the section is read-only with the one notice naming the CLI route. No raw config key appears outside the drawer. At 375 px there is no horizontal scroll, every control is reachable by keyboard, and contrast passes WCAG AA in light and dark.
- Config and docs. The setting is one key in the Implement the approved v2.1.0 configuration model and migration contract #3557 defaults table, off in every profile. The matching section of
docs/dashboard.mdand the public privacy wording keep the existing no-phone-home default and describe the voluntary exception accurately. No explanatory code comments.
Possible solutions
- Agree the concrete field list with the owner and land the allowlist first. Then build the backend (consent state, bounded Tor sender, local receiver fixture), and add the drawer section once Sovereign: organize mining and advanced settings without losing fields #2530 has landed the drawer.
- The drawer group is open: candidates are Maintenance (Sovereign: build maintenance health and contextual troubleshooting #2540) or a short group of its own. Decide with Sovereign: organize mining and advanced settings without losing fields #2530 and state the choice in the PR.
- Reuse the stack's existing Tor path for the sender instead of adding a second one.
- Receiver design stays in Operator follow-up: choose and provision the optional aggregate-usage receiver #3186: a v3 onion receiver is preferred, and a public hostname only with HTTPS through Tor and remote DNS. Access, proxy, CDN/WAF and error logs and their retention are checked there. Operator follow-up: choose and provision the optional aggregate-usage receiver #3186 designs against this contract and gets no blocked-by edge back to this issue.
Earlier scope, kept as evidence only (superseded 2026-10-27; do not implement from it)
What's the problem
The owner wants high-level product-usage feedback to improve Pithead/RigForge. This is a later post-GA feature, default off, not a release requirement. No endpoint or infrastructure is provisioned by this issue.
Acceptance:
- Define a versioned allowlist and purpose for every field before implementation: coarse product/release family, deployment mode, capability categories and bucketed outcomes may be useful. Review combinations for fingerprinting; aggregate or suppress rare categories. No stable installation IDs, wallet/payout values, worker names, exact hardware fingerprints, IP/host/onion addresses, topology, raw logs/configs, credentials or per-worker records.
- No DNS lookup, discovery ping, consent probe or report before explicit opt-in, including after upgrade. Provide an exact payload/destination preview, documented cadence/retention and immediate persistent disable. Schema expansion or a new destination requires an explicit consent policy; do not silently extend permission.
- Clearly distinguish anonymous report content from transport metadata: a receiver/proxy can observe source IP and request timing. The receiving-service issue must cover access/WAF/CDN/error logs and retention; do not claim complete anonymity or unique-install counts without a design that supports them. Anonymous aggregates may not permit deleting one person's already-mixed contribution; say so before consent.
- Owner decision: reporting is Tor-only. Reuse the stack's configured Tor route and resolve names through that route; no pre-consent lookup, direct DNS, clearnet fallback or automatic Tor installation. If Tor is unavailable, leave reporting unsent and explain the state locally. Optional bounded reporting uses timeouts, coarse time buckets, jittered low-rate batching/backoff and a bounded/no durable backlog so failure cannot affect mining, startup or updates. Disabling clears unsent data.
- Keep operator Prometheus, local history/audit and support bundles separate. Establish whether Pithead-side aggregates suffice before implementing standalone RigForge reporting, and prevent deliberate double counting of connected workers.
- Validate schema allowlisting/redaction, disabled-by-default zero-network behavior, consent/revocation, changed schema/destination, malformed response, bounded retries and transport failure using local fixtures. Live opt-in remains unavailable until the documented receiving endpoint is approved and ready.
Part of #3181. Prefer a v3 onion receiver; if the approved receiver uses a public hostname, use HTTPS through Tor with remote DNS and no direct fallback. Backend could be AWS or another service; hosting remains the owner's later choice. Public wording must preserve the existing no-phone-home default and explain the new voluntary exception accurately.
Owner clarification (2026-10-06): default off includes no analytics-specific collection or persistence before consent, and no retrospective upload of pre-consent activity. Disabling stops collection and clears unsent usage batches. Existing local operational metrics are separate. Aggregate submissions must not be represented as unique users or installations without a stable identifier.
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
VijitSingh97 commentedon Oct 6, 2026
Owner clarification: all usage reports go over Tor, with no direct-network or DNS fallback. Keep this later than core shared-host work; no receiving service is being created now.
Default off also means no analytics-specific event collection or persistence before consent, and no retrospective upload of pre-consent activity. Existing local operational metrics remain separate. When disabled, clear any unsent usage batch and stop analytics collection. Preview may show the schema/sample without contacting the endpoint. Aggregate submissions must not be represented as unique users or installations when no stable identifier exists.