Iterate on agent behavior against SpireLens MCP commands #81
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#81
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?
Where we left off
We got the issue-agent workflow running again and validated run 24926683151 successfully.
That run proved:
C:\ProgramData\SpireLens\issue-agent-runs\<run-id>.start_singleplayer_runworks from the agent path.Important caveat
The run did not exercise the new
reload_spirelens_corecommand. Claude usedstart_singleplayer_run, but chose Ironclad for a Make It So issue and then concluded unit tests were the appropriate validation path because Make It So is a Watcher card.Locally, we already proved these bridge routes work:
reload_spirelens_corestart_singleplayer_runenter_debug_roomBut we still need to see how an autonomous agent behaves with the general MCP commands in realistic issue workflows.
Next thing to do
Create a small iteration/test issue or workflow run where the agent is explicitly expected to:
start_singleplayer_runwhen needed.enter_debug_roomwhen a combat or specific room state is needed.reload_spirelens_coreafter build/deploy before screenshotting changed behavior.Why this matters
The bridge surface now exists, but the remaining problem is prompt/tool-use behavior: can the agent sensibly drive STS2 through MCP instead of falling back to vague main-menu screenshots, irrelevant runs, or incomplete live validation?
This issue is the checkpoint for iterating on that behavior.
Created the focused issue-agent validation issue for this checkpoint:
I created #82 without labels first, then added
issue-agentafterward so the workflow is triggered by the labeled event only. The issue explicitly asks the agent to inspect MCP state, choose Watcher for Make It So, usestart_singleplayer_run, useenter_debug_roomwhen a controlled state is needed, callreload_spirelens_core, and report blockers instead of treating weak live evidence as complete.Correction: #82 repeated the bad premise by treating Make It So as a Watcher validation target. Watcher is not one of the current STS2 characters exposed by
start_singleplayer_run(Ironclad,Silent,Regent,Necrobinder,Defect), so I removedissue-agentand closed #82 as not planned.This strengthens the #81 diagnosis: the next work should be MCP/card-metadata discoverability before another Actions-driven smoke test.
Opened #83 for the reboot survival piece: https://github.com/nelsong6/spirelens/pull/83
Diagnosis from run 24934495614: the runner came back as the service-backed runner (
NETWORK SERVICE/ session 0), so STS2 launched outside the logged-in Steam user's desktop session and loggedSteam failed to initialize. Make sure you run the game from Steam.Claude never launched.#83 adds a repo-owned bootstrap script that disables the service-backed runner and registers an interactive scheduled task at user logon to keep
run.cmdalive after reboot. After merge, the host-side command is:That still requires the machine to return to the Steam user's Windows session after reboot, either by normal sign-in or auto sign-in, because STS2/Steam cannot be validated reliably from session 0.
Landed the reboot-safe runner bootstrap directly on
mainvia #83 / commitc787967.I also checked the current local session: it is
nelsonlaptop\nelsonlaptopuserin session 1, but not elevated. The service-backed runner is still present and automatic:So the repo fix is merged, but actually switching this laptop over requires one elevated PowerShell run to disable that service and register the interactive logon task:
Without elevation, I should not try to register a second runner loop beside the existing service, because the service can still pick up live jobs and launch STS2 in session 0.
Smoke-test queue created. I intentionally left all issues unlabeled except the first one until we start it; each issue has a
Relay Handofftelling the agent which next issue to label after it finishes.Queue:
Observation rubric for each run:
Starting with #89 now.
Smoke 01 completed successfully, and the agent behaved safely:
issue-agent-completeget_game_stateissue-agentto #88However, the relay uncovered a GitHub Actions behavior: the
github-actions[bot]label mutation on #88 did not start the next workflow run. I am re-kicking #88 by removing/re-adding the label through the GitHub app path. We should treat this as evidence that bot-to-bot label relay is not reliable without either workflow_dispatch or an external actor.Smoke 02 completed safely:
issue-agent-completeget_game_state,start_singleplayer_run,enter_debug_room, thenget_game_statests2-screenshots/issue-88-debug-combat.pngin artifactclaude-issue-agent-24935302087The bot-added relay label on #87 again did not trigger Actions, so I am re-kicking #87 by removing/re-adding
issue-agentthrough the GitHub app path.Smoke 03 completed safely:
issue-agent-completeSpireLens.Core.dllthroughCopyCoreToModsFolderOnBuildreload_spirelens_corewas called and returnedstatus: ok,reload_number: 2As with prior relays, the bot-added
issue-agentlabel on #86 did not trigger Actions. I am re-kicking #86 by removing/re-adding the label through the GitHub app path.Issue Agent Summary
ef5ce4b284C:\ProgramData\SpireLens\issue-agent-runs\24974870726Phase Results
Claude Cost By Phase
Evidence
Screenshot Files
None
Validation Artifact Files
claude-issue-agent-transcript.mdLog Pointers
C:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-events.jsonlC:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-summary.logC:\actions-runner-card-utility-stats\_work\_temp\claude-issue-agent-debug.logC:\ProgramData\SpireLens\issue-agent-runs\24974870726Closing as completed/stale tracker cleanup.
Relevant takeaway: this was the broad tracker for iterating agent behavior against SpireLens MCP commands. The useful follow-ups now live as focused issue-agent hardening issues and current workflow tickets. New agent behavior work should be opened as a narrow issue against the current workflow rather than continuing this historical tracker.