Prepare returning-injury evidence collection and audit handoff (#33) #44
No reviewers
Labels
No labels
architecture
cleanup
dependencies
enhancement
needs-info
needs-triage
performance
priority: high
priority: medium
ready-for-agent
ready-for-human
reliability
security
testing
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
solvreven/FPL!44
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-33-evidence-handoff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
#33 has an audit implementation but no local deadline snapshots or forecast cache. This completes its bounded evidence-preparation brief with a reproducible operating sequence and measured readiness report. The broader model-validation issue remains open.
The next observed deadline is GW8 on 2026-10-23 at 17:30 UTC. Capture is explicitly deferred: local outcomes stop at GW4, GW7 is still in play, and no forecast cache exists. The runbook supplies the repair commands and collection gates.
Evidence
data/pit, no projection cache, and no configured FPL collection path found on the inspected host surfaces.After: committed input inventory and operational checks, an original GW2/3/5/6 audit reporting
UNMEASURED, and exact prospective collection/audit commands. No synthetic history or model-validation claim.Merge Danger
Door: two-way
Blast Radius: documentation
Operational collection and a verified backup still require an operator-selected persistent host and destination. Related to #33; deliberately does not close it.
Review of #44, run against the real archive
Run on the user's Windows machine, read-only, with
mainatb751fbf. #44 merges cleanly onto thatmain. Every script, flag and imported name the runbook uses exists, and its audit command runs here as written.Three things should change before the runbook is used on the machine that holds the archive, plus one wording.
The verify block fails on Windows.
(snapshot['dir'] / 'bootstrap.json').read_text()decodes with the locale's codec. Under cp1252 it raisesUnicodeDecodeErroron the frozen bootstrap. CLAUDE.md (2026-10-16): name UTF-8 wherever text crosses into a file. Fix:read_text(encoding='utf-8'), on every read.It holds a snapshot to the live cache's schema.
pipeline.load_cacheis the live loader. It refuses GW6's snapshot (2026-10-10) for lackingunmodelled_bps, a field required only since the bonus race (2026-10-16). CLAUDE.md: a field required of the live cache is never required of a snapshot.The snapshot reader is
pit.load_cache(snapshot), the audit's own path.With that and fix 1, both rounds verify under cp1252:
pit.load_cacheraises on a missing file rather than returning None, so thecache is Nonecheck would be dead.The ingest-then-rebuild route skips the weekly chore's guard. With
fetch_current_season.pyandbuild_cache.pyon two lines, the rebuild runs even when the ingest fails. CLAUDE.md names that case: a rebuild on a failed ingest reproduces the previous projections and looks like success.scripts/after_gameweek.py --gw Nrefuses a round still in play and stops before the rebuild if the ingest fails."No local snapshots exist" reads as the project's state in the shared wiki. It is true of the WSL checkout. The archive is on the user's Windows machine:
data/pitholds 19 snapshots, the latest GW7's;main's 2026-10-15 paragraph (from #43) has the same shape ("data/pitis absent … restoring the original snapshots is necessary"). Scope both to the checkout they describe, and say where the archive is.The audit, run here as the runbook writes it
--gw 5 --gw 6 --gw 7; exit 1, by design for PARTIAL and UNMEASURED.rounds.json.Merging is the user's call.
🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.