Surface Make It So trigger progress and trigger count #78

Closed
opened 2026-04-25 00:34:33 -07:00 by nelsong6 · 5 comments
nelsong6 commented 2026-04-25 00:34:33 -07:00 (Migrated from github.com)

Goal

Surface the two directly useful Make It So stats on the card:

  • how close it is to triggering right now
  • how many times it has successfully triggered this run

In practice, the card should clearly show:

  • the live trigger progress, for example 2/3
  • a total successful trigger count for the card

Non-goals

  • Do not optimize this issue around summon-to-hand attribution as the primary value.
  • Do not broaden this issue to cover Pen Nib or a shared trigger-family abstraction.
  • The broader trigger-progress investigation belongs in #62.

Desired card-facing behavior

For Make It So specifically:

  • show current progress toward the trigger
  • show how many times the trigger has happened
  • prefer direct, player-legible wording over implementation-shaped wording

If the current implementation already covers part of this behavior, tighten the surfaced wording and tests so the card reads like the intended product behavior.

Acceptance criteria

  • Make It So shows its current progress toward triggering in the on-card stats/tooltip.
  • Make It So shows a total successful trigger count in the fuller stats view.
  • The surfaced wording reflects the trigger concept directly, not a more indirect implementation detail.
  • Focused tests are added or updated for the surfaced Make It So stat rows.
  • If wording, schema notes, or fixtures need to change to preserve the intended behavior, update them in the same PR.

Automation note

The issue-agent workflow wrapper owns branch creation, commit, push, PR creation, and any run summary comments after verification passes. The LLM phases should only plan validation, edit code, or verify evidence according to their phase.

## Goal Surface the two directly useful Make It So stats on the card: - how close it is to triggering right now - how many times it has successfully triggered this run In practice, the card should clearly show: - the live trigger progress, for example `2/3` - a total successful trigger count for the card ## Non-goals - Do not optimize this issue around summon-to-hand attribution as the primary value. - Do not broaden this issue to cover Pen Nib or a shared trigger-family abstraction. - The broader trigger-progress investigation belongs in #62. ## Desired card-facing behavior For **Make It So** specifically: - show current progress toward the trigger - show how many times the trigger has happened - prefer direct, player-legible wording over implementation-shaped wording If the current implementation already covers part of this behavior, tighten the surfaced wording and tests so the card reads like the intended product behavior. ## Acceptance criteria - Make It So shows its current progress toward triggering in the on-card stats/tooltip. - Make It So shows a total successful trigger count in the fuller stats view. - The surfaced wording reflects the trigger concept directly, not a more indirect implementation detail. - Focused tests are added or updated for the surfaced Make It So stat rows. - If wording, schema notes, or fixtures need to change to preserve the intended behavior, update them in the same PR. ## Automation note The issue-agent workflow wrapper owns branch creation, commit, push, PR creation, and any run summary comments after verification passes. The LLM phases should only plan validation, edit code, or verify evidence according to their phase.
nelsong6 commented 2026-04-25 00:41:07 -07:00 (Migrated from github.com)

Issue-agent runs started:

Note: two runs were created from the issue creation/label event pair; we should tighten the workflow trigger after this test so a newly created labeled issue only starts one run.

Issue-agent runs started: - [24925825643](https://github.com/nelsong6/spirelens/actions/runs/24925825643) - [24925825661](https://github.com/nelsong6/spirelens/actions/runs/24925825661) Note: two runs were created from the issue creation/label event pair; we should tighten the workflow trigger after this test so a newly created labeled issue only starts one run.
nelsong6 commented 2026-04-25 00:50:16 -07:00 (Migrated from github.com)

Issue-agent validation instruction for this run:

Use this known-good validation path on the Windows issue-agent runner:

$sts2DataDir = "D:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64"

dotnet build "Tests\SpireLens.Core.Tests\SpireLens.Core.Tests.csproj" `
  -c Debug `
  "-p:Sts2DataDir=$sts2DataDir"

dotnet test "Tests\SpireLens.Core.Tests\SpireLens.Core.Tests.csproj" `
  -c Debug `
  --no-build `
  "-p:Sts2DataDir=$sts2DataDir"

Do not use custom BaseOutputPath, BaseIntermediateOutputPath, OutputPath, or IntermediateOutputPath while validating this issue. Those custom output properties are known to perturb STS2/publicized assembly and test reference resolution in this repo.

Issue-agent validation instruction for this run: Use this known-good validation path on the Windows issue-agent runner: ```powershell $sts2DataDir = "D:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64" dotnet build "Tests\SpireLens.Core.Tests\SpireLens.Core.Tests.csproj" ` -c Debug ` "-p:Sts2DataDir=$sts2DataDir" dotnet test "Tests\SpireLens.Core.Tests\SpireLens.Core.Tests.csproj" ` -c Debug ` --no-build ` "-p:Sts2DataDir=$sts2DataDir" ``` Do not use custom `BaseOutputPath`, `BaseIntermediateOutputPath`, `OutputPath`, or `IntermediateOutputPath` while validating this issue. Those custom output properties are known to perturb STS2/publicized assembly and test reference resolution in this repo.
nelsong6 commented 2026-04-25 00:53:15 -07:00 (Migrated from github.com)

Issue-agent rerun started after updating the workflow prompt: 24926141514.

This run is on workflow commit 155e722, which includes the known-good validation command and removes the custom output-path instruction.

Issue-agent rerun started after updating the workflow prompt: [24926141514](https://github.com/nelsong6/spirelens/actions/runs/24926141514). This run is on workflow commit `155e722`, which includes the known-good validation command and removes the custom output-path instruction.
nelsong6 commented 2026-04-26 20:25:14 -07:00 (Migrated from github.com)

Closed stale PR #79 because it lacked acceptable target-visible STS2 screenshot evidence. Removed issue-agent-complete; this issue remains labeled issue-agent so it can be run again through the split issue-agent workflow.

Closed stale PR #79 because it lacked acceptable target-visible STS2 screenshot evidence. Removed `issue-agent-complete`; this issue remains labeled `issue-agent` so it can be run again through the split issue-agent workflow.
github-actions[bot] commented 2026-04-27 11:04:58 -07:00 (Migrated from github.com)

Issue Agent Summary

Field Value
Issue 78
Run 25011052351
Artifact issue-agent artifacts for run 25011052351
PR 121
Result status pass
Abort layer
Abort reason
Claude exit
Claude cost $1.4991
Claude turns 72
Tool calls 69
Failed tool calls 4
Head SHA 7a98028617
Ref main
Persistent local logs C:\ProgramData\SpireLens\issue-agent-runs\25011052351

Phase Results

Phase Status Abort reason Retryable Human action Markdown
test_plan missing
implementation pass false false issue-agent-implementation.md
verification pass false false issue-agent-verification.md

Claude Cost By Phase

Phase Cost Turns Input Output Cache create Cache read
test_plan $0.2605 9 9 7170 30012 134518
implementation $0.5304 29 1072 10794 43599 672701
verification $0.7082 34 39 7625 50200 1351587

Tool Calls By Phase

Phase Tool calls Tool results Failed tool calls Permission denials Failure categories
test_plan 8 8 0 0
implementation 28 28 4 0 Count: 1
verification 33 33 0 0

Evidence

Metric Value
Screenshot artifacts 2
Validation artifact files 13
Claude result events 3
Tool calls 69
Tool results 69
Failed tool calls 4
Permission denials 0
Input tokens 1120
Output tokens 25589
Cache creation tokens 123811
Cache read tokens 2158806
Unit tests passed 3
Live MCP validation passed true
Screenshot validation passed true
Card metadata discovery passed true

Screenshot Files

  • issue78-make-it-so-progress-2of3.png
  • issue78-make-it-so-trigger-count-1.png

Screenshot Previews

issue78-make-it-so-progress-2of3.png
issue78-make-it-so-trigger-count-1.png

Validation Artifact Files

  • claude-issue-agent-transcript.md
  • issue-agent-implementation.json
  • issue-agent-implementation.md
  • issue-agent-implementation.patch
  • 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: C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-events.jsonl
  • Summary log: C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-summary.log
  • Debug log: C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-debug.log
  • Persistent local directory: C:\ProgramData\SpireLens\issue-agent-runs\25011052351
## Issue Agent Summary | Field | Value | | --- | --- | | Issue | [78](https://github.com/nelsong6/spirelens/issues/78) | | Run | [25011052351](https://github.com/nelsong6/spirelens/actions/runs/25011052351) | | Artifact | [issue-agent artifacts for run 25011052351](https://github.com/nelsong6/spirelens/actions/runs/25011052351/artifacts) | | PR | [121](https://github.com/nelsong6/spirelens/pull/121) | | Result status | pass | | Abort layer | | | Abort reason | | | Claude exit | | | Claude cost | $1.4991 | | Claude turns | 72 | | Tool calls | 69 | | Failed tool calls | 4 | | Head SHA | 7a98028617951a1de36fdf489c64deae54464c73 | | Ref | main | | Persistent local logs | `C:\ProgramData\SpireLens\issue-agent-runs\25011052351` | ### Phase Results | Phase | Status | Abort reason | Retryable | Human action | Markdown | | --- | --- | --- | --- | --- | --- | | test_plan | | | | | _missing_ | | implementation | pass | | false | false | `issue-agent-implementation.md` | | verification | pass | | false | false | `issue-agent-verification.md` | ### Claude Cost By Phase | Phase | Cost | Turns | Input | Output | Cache create | Cache read | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | test_plan | $0.2605 | 9 | 9 | 7170 | 30012 | 134518 | | implementation | $0.5304 | 29 | 1072 | 10794 | 43599 | 672701 | | verification | $0.7082 | 34 | 39 | 7625 | 50200 | 1351587 | ### Tool Calls By Phase | Phase | Tool calls | Tool results | Failed tool calls | Permission denials | Failure categories | | --- | ---: | ---: | ---: | ---: | --- | | test_plan | 8 | 8 | 0 | 0 | | | implementation | 28 | 28 | 4 | 0 | Count: 1 | | verification | 33 | 33 | 0 | 0 | | ### Evidence | Metric | Value | | --- | ---: | | Screenshot artifacts | 2 | | Validation artifact files | 13 | | Claude result events | 3 | | Tool calls | 69 | | Tool results | 69 | | Failed tool calls | 4 | | Permission denials | 0 | | Input tokens | 1120 | | Output tokens | 25589 | | Cache creation tokens | 123811 | | Cache read tokens | 2158806 | | Unit tests passed | 3 | | Live MCP validation passed | true | | Screenshot validation passed | true | | Card metadata discovery passed | true | ### Screenshot Files - `issue78-make-it-so-progress-2of3.png` - `issue78-make-it-so-trigger-count-1.png` ### Screenshot Previews ![issue78-make-it-so-progress-2of3.png](https://spirelensshotsdbik4u.blob.core.windows.net/issue-agent-screenshots/25011052351/issue78-make-it-so-progress-2of3.png) ![issue78-make-it-so-trigger-count-1.png](https://spirelensshotsdbik4u.blob.core.windows.net/issue-agent-screenshots/25011052351/issue78-make-it-so-trigger-count-1.png) ### Validation Artifact Files - `claude-issue-agent-transcript.md` - `issue-agent-implementation.json` - `issue-agent-implementation.md` - `issue-agent-implementation.patch` - `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: `C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-events.jsonl` - Summary log: `C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-summary.log` - Debug log: `C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-debug.log` - Persistent local directory: `C:\ProgramData\SpireLens\issue-agent-runs\25011052351`
Sign in to join this conversation.
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#78
No description provided.