Skip to content

feat(scripts): ship the XvB winners-feed archiver as an operator tool (#906) - #985

Merged
VijitSingh97 merged 2 commits into
developfrom
chore/906-winners-archive-ops
Aug 14, 2026
Merged

feat(scripts): ship the XvB winners-feed archiver as an operator tool (#906)#985
VijitSingh97 merged 2 commits into
developfrom
chore/906-winners-archive-ops

Conversation

@VijitSingh97

Copy link
Copy Markdown
Collaborator

Parked-branch submission from the 2026-08-14 repo audit: finished 2026-08-13, no PR was ever opened.

This implements the formalize side of #906 (formalize or retire): scripts/xvb-winners-archive.sh snapshots the public winners feed before its ~45-day window drops rounds — the raw material for re-running the delivery-band measurement if XvB changes payout behaviour. The fetch runs inside the dashboard container so it rides the stack's Tor SOCKS; the feed is public and carries no wallet. docs/operations.md documents the optional daily cron.

If the operator's answer to #906 is instead retire (stop archiving, accept the study stands as a point-in-time measurement), close this PR unmerged and close #906 with that decision — the PR exists so the choice is a one-click either way.

Ponytail-review: lean, nothing to cut.

Closes #906

🤖 Generated with Claude Code

VijitSingh97 and others added 2 commits August 13, 2026 16:51
…#906)

Promote the delivery study's ad-hoc daily winners-feed snapshot into repo
content: scripts/xvb-winners-archive.sh (POSIX sh, Tor-routed via docker exec
into the dashboard container, dated files, configurable output dir defaulting
to xvb-winners-archive/ in the stack directory, atomic write) plus an
operations.md subsection covering what it collects, why (recalibrating the
measured delivery band), the crontab line, and the ~90 KB/day disk cost.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…rectories

Review catch (2026-08-14, adversarially verified): the documented cron used the
script's default output dir, which lands inside the live version directory —
and this same doc's deploy layout deletes old version dirs on rotation, so at
the current release cadence every snapshot dies well inside the feed's ~45-day
window, defeating the archive. The cron line now passes an explicit durable
directory (the script's existing argument; no code change) and the text says
why.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VijitSingh97
VijitSingh97 merged commit 948ecfa into develop Aug 14, 2026
15 checks passed
@VijitSingh97
VijitSingh97 deleted the chore/906-winners-archive-ops branch August 14, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Winners-feed daily archive on the production host: formalize or retire

1 participant