Repository navigation
Conversation
A story failure throws with NO_ERROR_REPORT, so no error report (and no Video.mp4) was written for it, and a retry reloaded the game before anyone saw the failure frame. SegmentHooks gets a `failed` hook, told of each failed attempt and verify run before any reload. FailureCapture attaches to it and saves USER_FILE_PATH()/<game>/AutoStoryFailures/<time>-<checkpoint>-<event>/ with Video.mp4 (stream history), Screenshot.png and Failure.json, whatever the error-report send mode; save_thrown() covers exceptions out of the run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
…r symbol Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
The unit-test runner's registration function is at its length limit on the game stacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
This was referenced Nov 9, 2026
dayfine
changed the base branch from
nav/story-steps
to
nav/grid-story-steps
November 11, 2026 07:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base
nav/grid-story-steps(#362 (which replaced #122)); the diff shows only this change.A failed AutoStory event left only its last screenshot: the games throw with
NO_ERROR_REPORT, so no error report (and noVideo.mp4) is ever written, and a retry reloads the game before anything looks at the failure. This adds afailedhook toSegmentHooks, called for each failed attempt and verify run before any reload, andFailureCapture, which savesUSER_FILE_PATH()/<game>/AutoStoryFailures/<time>-<checkpoint>-<event>/withVideo.mp4(the whole stream history),Screenshot.pngandFailure.json(checkpoint, event, error, last 30 log lines), independent of the error-report send mode;save_thrown()covers exceptions out of the run. The BDSP and FRLG executors attach it in their own PRs. Tested with the headless runner: Pokemon::StorySegments (new hook test) and the new Pokemon::AutoStoryFailureCapture suite pass.🤖 Generated with Claude Code
https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss