feat(scripts): ship the XvB winners-feed archiver as an operator tool (#906) - #985
Merged
Conversation
…#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>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.shsnapshots 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