Add Akabeko relic stats (vigor gained) #170

Closed
github-actions[bot] wants to merge 1 commit from issue-142-agent-25174359513-1 into main
github-actions[bot] commented 2026-04-30 08:42:25 -07:00 (Migrated from github.com)

Tracks Vigor gained from the Akabeko relic across a run and shows the cumulative total in the relic hover tooltip.

Changes

  • RelicAggregate: added VigorGained field (additive, zero-defaults on old run files)
  • RunTracker: added AkabekoRelicId constant, RecordAkabekoVigorGained method, and wired VigorGained through the pending-combat merge loop and GetRelicAggregate
  • AkabekoBeforeSideTurnStartPatch: new Harmony patch on Akabeko.BeforeSideTurnStart; records 8 vigor on player side, round 1 of each combat
  • RelicHoverTooltipPatch: added Akabeko case showing vigor gained with Vigor icon
  • AkabekoStatsTests: unit tests for default, JSON roundtrip, accumulation, tooltip rendering, and schema backwards compatibility

Verification required

Live run evidence: get_game_state showing AKABEKO relic in inventory and at least one screenshot of the tooltip after combat start.

Closes #142

Tracks Vigor gained from the Akabeko relic across a run and shows the cumulative total in the relic hover tooltip. ## Changes - `RelicAggregate`: added `VigorGained` field (additive, zero-defaults on old run files) - `RunTracker`: added `AkabekoRelicId` constant, `RecordAkabekoVigorGained` method, and wired `VigorGained` through the pending-combat merge loop and `GetRelicAggregate` - `AkabekoBeforeSideTurnStartPatch`: new Harmony patch on `Akabeko.BeforeSideTurnStart`; records 8 vigor on player side, round 1 of each combat - `RelicHoverTooltipPatch`: added Akabeko case showing vigor gained with Vigor icon - `AkabekoStatsTests`: unit tests for default, JSON roundtrip, accumulation, tooltip rendering, and schema backwards compatibility ## Verification required Live run evidence: `get_game_state` showing AKABEKO relic in inventory and at least one screenshot of the tooltip after combat start. Closes #142
github-actions[bot] commented 2026-04-30 08:42:36 -07:00 (Migrated from github.com)

Issue Agent Summary

Field Value
Issue 142
Run 25174359513
Artifact issue-agent artifacts for run 25174359513
PR 170
Result status pass
Abort layer
Abort reason
Claude exit verification=0, implementation=0, test_plan=0
Claude cost $1.5684
Claude turns 73
Tool calls 70
Failed tool calls 2
Head SHA d58bcb2e65
Ref main
Persistent local logs C:\ProgramData\SpireLens\issue-agent-runs\25174359513

Phases

test_plan

Field Value
Status
Abort reason
Retryable
Human action
Markdown missing
Cost $0.2526
Turns 8
Tokens input 8, output 7246, cache create 29861, cache read 106257
Tool calls 7 calls, 7 results
Failed tool calls 0
Permission denials 0
Failure categories

implementation

Field Value
Status pass
Abort reason
Retryable false
Human action false
Markdown issue-agent-implementation.md
Cost $0.9353
Turns 44
Tokens input 9813, output 18540, cache create 55136, cache read 1403465
Tool calls 43 calls, 43 results
Failed tool calls 2
Permission denials 0
Failure categories tool_error: 2

verification

Field Value
Status pass
Abort reason
Retryable false
Human action false
Markdown issue-agent-verification.md
Cost $0.3805
Turns 21
Tokens input 4995, output 6303, cache create 30086, cache read 527079
Tool calls 20 calls, 20 results
Failed tool calls 0
Permission denials 0
Failure categories

Overall Evidence

Metric Value
Screenshot artifacts 1
Validation artifact files 12
Claude result events 3
Tool calls 70
Tool results 70
Failed tool calls 2
Permission denials 0
Input tokens 14816
Output tokens 32089
Cache creation tokens 115083
Cache read tokens 2036801
Unit tests passed true
Live MCP validation passed true
Screenshot validation passed true
Card metadata discovery passed true

Screenshot Files

  • issue142-akabeko-tooltip.png

Screenshot Previews

issue142-akabeko-tooltip.png

Validation Artifact Files

  • claude-issue-agent-transcript.md
  • issue-agent-implementation.json
  • issue-agent-implementation.md
  • issue-agent-result.json
  • issue-agent-result.md
  • issue-agent-scenario-setup-input.json
  • issue-agent-scenario-setup.json
  • issue-agent-screenshot-previews.md
  • issue-agent-test-plan.json
  • issue-agent-test-plan.md
  • issue-agent-tool-metrics.json
  • issue-agent-verification.json
  • issue-agent-verification.md

Log Pointers

  • Event log: D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-events.jsonl
  • Summary log: D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-summary.log
  • Debug log: D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-debug.log
  • Persistent local directory: C:\ProgramData\SpireLens\issue-agent-runs\25174359513
## Issue Agent Summary | Field | Value | | --- | --- | | Issue | [142](https://github.com/nelsong6/spirelens/issues/142) | | Run | [25174359513](https://github.com/nelsong6/spirelens/actions/runs/25174359513) | | Artifact | [issue-agent artifacts for run 25174359513](https://github.com/nelsong6/spirelens/actions/runs/25174359513/artifacts) | | PR | [170](https://github.com/nelsong6/spirelens/pull/170) | | Result status | pass | | Abort layer | | | Abort reason | | | Claude exit | verification=0, implementation=0, test_plan=0 | | Claude cost | $1.5684 | | Claude turns | 73 | | Tool calls | 70 | | Failed tool calls | 2 | | Head SHA | d58bcb2e6511a3b1f56cf2c80d7578b7c7e8489a | | Ref | main | | Persistent local logs | `C:\ProgramData\SpireLens\issue-agent-runs\25174359513` | ### Phases #### test_plan | Field | Value | | --- | --- | | Status | | | Abort reason | | | Retryable | | | Human action | | | Markdown | _missing_ | | Cost | $0.2526 | | Turns | 8 | | Tokens | input 8, output 7246, cache create 29861, cache read 106257 | | Tool calls | 7 calls, 7 results | | Failed tool calls | 0 | | Permission denials | 0 | | Failure categories | | #### implementation | Field | Value | | --- | --- | | Status | pass | | Abort reason | | | Retryable | false | | Human action | false | | Markdown | `issue-agent-implementation.md` | | Cost | $0.9353 | | Turns | 44 | | Tokens | input 9813, output 18540, cache create 55136, cache read 1403465 | | Tool calls | 43 calls, 43 results | | Failed tool calls | 2 | | Permission denials | 0 | | Failure categories | tool_error: 2 | #### verification | Field | Value | | --- | --- | | Status | pass | | Abort reason | | | Retryable | false | | Human action | false | | Markdown | `issue-agent-verification.md` | | Cost | $0.3805 | | Turns | 21 | | Tokens | input 4995, output 6303, cache create 30086, cache read 527079 | | Tool calls | 20 calls, 20 results | | Failed tool calls | 0 | | Permission denials | 0 | | Failure categories | | ### Overall Evidence | Metric | Value | | --- | ---: | | Screenshot artifacts | 1 | | Validation artifact files | 12 | | Claude result events | 3 | | Tool calls | 70 | | Tool results | 70 | | Failed tool calls | 2 | | Permission denials | 0 | | Input tokens | 14816 | | Output tokens | 32089 | | Cache creation tokens | 115083 | | Cache read tokens | 2036801 | | Unit tests passed | true | | Live MCP validation passed | true | | Screenshot validation passed | true | | Card metadata discovery passed | true | ### Screenshot Files - `issue142-akabeko-tooltip.png` ### Screenshot Previews ![issue142-akabeko-tooltip.png](https://spirelensshotsdbik4u.blob.core.windows.net/issue-agent-screenshots/25174359513/issue142-akabeko-tooltip.png) ### Validation Artifact Files - `claude-issue-agent-transcript.md` - `issue-agent-implementation.json` - `issue-agent-implementation.md` - `issue-agent-result.json` - `issue-agent-result.md` - `issue-agent-scenario-setup-input.json` - `issue-agent-scenario-setup.json` - `issue-agent-screenshot-previews.md` - `issue-agent-test-plan.json` - `issue-agent-test-plan.md` - `issue-agent-tool-metrics.json` - `issue-agent-verification.json` - `issue-agent-verification.md` ### Log Pointers - Event log: `D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-events.jsonl` - Summary log: `D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-summary.log` - Debug log: `D:\actions-runner-user-implementation\_work\_temp\claude-issue-agent-debug.log` - Persistent local directory: `C:\ProgramData\SpireLens\issue-agent-runs\25174359513`

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens!170
No description provided.