Pair Discovery's pick counters with the options it offered #330
No reviewers
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens!330
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/discovery-xy-format-d8000a"
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?
Discovery's pick counters had no denominator, so "rares picked 1" meant nothing on its own — one rare out of one offered is a very different card from one out of six.
Each bucket is now a single
offered/pickedrow rather than the two rows the pair would otherwise cost. Same eight rows as before, seven more numbers.15/5← compact view stops here8/25/22/16/27/22/11.4The total row carries the
allsymbol so it reads apart from the commons row, which shares the plain card symbol.Attribution
The offered side is new. Discovery enters
CardSelectCmd.FromChooseACardScreensynchronously from its own resolve, so the resolving-card guard that the existingSetToFreeThisTurnpick hook uses also identifies its screen at the command prefix — where the option list is still exactly what the player will choose from.Toolbox, Hefty Tablet and Lead Paperweight patch the same command and stay unclaimed. No postfix is needed; the pick itself is already observed downstream.
Schema
New
discovery_*_offeredfields are additive, with adiscovery-cards-offered-run.jsonfixture,SchemaLoadingTestsassertions both ways, and a primer note.Verification
Rebased onto current
main.2141 passed, 0 failed— the originating session left its newDiscoveryStatsTestsassertions unexecuted, so this is their first run.No restart needed:
CardSelectCmd.FromChooseACardScreenwas already Harmony-detoured by three existing patch classes, so live callers already route through the detour and a fourth patch takes effect immediately.Live in-game verification not run.
🤖 Generated with Claude Code