Surface Make It So trigger progress and trigger count #56
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#56
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
## Goal
Surface the two directly useful Make It So stats on the card:
In practice, that means the card should clearly show:
2/3What this issue is not
This issue is no longer about proving per-instance summon attribution through live verification.
Desired card-facing behavior
For Make It So specifically:
If the current implementation already covers part of this behavior, tighten the surfaced wording/tests so the card reads like the intended product behavior.
Acceptance criteria
Related context
Done — PR #64
What changed:
Wording — trigger-concept language instead of implementation names
Trigger progress now shows in the compact (hand-hover) view
Previously, the trigger progress row only appeared in the full deck-view tooltip. The compact view shown when hovering Make It So in hand during combat showed nothing Make It So-specific. That is exactly when you want to know how close you are to triggering this turn. Added the compact call in AppendCompactBody.
'Times triggered' stays full-view only (fuller stats view, as per acceptance criteria).
Tests updated
All 72 tests pass (71 pre-existing + 1 new).
Preparation note as of April 23, 2026:
issue-agentlabel is intentionally left in place.This issue should be treated as available for a future manual issue-agent run unless new work lands separately in
mainfirst.What was done
PR #67 implements the changes for issue #56: Surface Make It So trigger progress and trigger count.
Code changes
Core/Patches/CardHoverTooltipPatch.csLabel rename — "Skill counter" → "Trigger progress": names what the player actually cares about (how close the card is to firing this turn), not the internal mechanic name.
Label rename — "Summoned to hand" → "Times triggered": names the observable outcome, not the internal attribution path through hand-summoning.
Compact (hand-hover) view now shows trigger progress: Previously the compact view shown when hovering Make It So in hand during combat showed nothing Make It So-specific. Added
AppendMakeItSoStats(sb, cardModel, agg, compact: true)call inAppendCompactBodyimmediately after the Played/Drawn row — trigger progress is the primary mid-combat question for this card."Times triggered" stays full-view only (as per acceptance criteria).
Tests/CardUtilityStats.Core.Tests/MakeItSoTooltipTests.csAppendMakeItSoStats_RendersLiveSkillCounter→AppendMakeItSoStats_RendersTriggerProgress(checks "Trigger progress" label)AppendMakeItSoStats_CompactViewRendersTriggerProgress(proves compact view now shows trigger progress)AppendMakeItSoStats_FullViewRendersSummonedCount→AppendMakeItSoStats_FullViewRendersTimesTriggered(checks "Times triggered" label)AppendMakeItSoStats_CompactViewSkipsSummonedCount→AppendMakeItSoStats_CompactViewSkipsTimesTriggered(proves compact skips trigger history)All 72 tests pass (71 pre-existing + 1 new).
Test case summary
Tests exercise the internal
AppendMakeItSoStats(sb, agg, compact, currentCounter, threshold)overload directly via reflection:[b]2/3[/b]in output[b]2[/b]in full viewLive screenshot validation — blocked (tooling gap)
STS2 was confirmed running (SlayTheSpire2.exe active, bridge listening on port 21337). However, the sts2-modding MCP server requires the local user's Python installation at
C:\Users\nelsonlaptopuser\AppData\Local\Programs\Python\Python312\which is not accessible from the GitHub Actions runner service account. MCP could not be invoked to capture in-game tooltip screenshots.Blocker: MCP Python venv not accessible from runner service account context. Screenshot artifacts could not be captured. A human validation pass with the mod loaded on the laptop would confirm the tooltip behavior.
PR: https://github.com/nelsong6/card-utility-stats/pull/67
Stopping the current issue-agent attempt for manual diagnosis. The runner plumbing is now healthy through STS2 bridge readiness and local Anthropic key loading; the active investigation is why the agent test build is resolving stale/wrong STS2 assemblies.
Issue-agent validation note from the last runner diagnosis:
Use this known-good validation path on the Windows issue-agent runner:
Do not use custom
BaseOutputPath,BaseIntermediateOutputPath,OutputPath, orIntermediateOutputPathfor this repo while validating this issue. The last run showed those custom isolated output paths perturb STS2/publicized assembly and test reference resolution; the normal build/test path above passed all 72 tests.Closed stale PR #67 because it lacked acceptable target-visible STS2 screenshot evidence. This issue remains labeled
issue-agentso it can be run again through the split issue-agent workflow.Closing during repository issue cleanup. If this becomes active work again, we can reopen or recreate it as a fresh, specific task.