Skip to content

BDSP: test portability fix + #263 (01.03 authored JSON) into the BDSP line - #264

Merged
dayfine merged 5 commits into
bdsp/autostory-mine-floaroma-wipfrom
bdsp/test-portability
Nov 9, 2026
Merged

dayfine merged 5 commits into
bdsp/autostory-mine-floaroma-wipfrom
bdsp/test-portability

Conversation

@dayfine

@dayfine dayfine commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Brings three changes into the BDSP line: the recovery-test portability fix, #263 (already reviewed and merged into this branch, not yet into the line), and a doc fix.

Why #263 is here: #263 was stacked on this PR, so merging #263 put it in this branch (bdsp/test-portability). Merging this PR is what lands it in bdsp/autostory-mine-floaroma-wip. Its code is unchanged from the #263 review.

  • Portability fix (504bb70, new to review): GCC rejected the recovery-test lookup's returned reference as possibly tied to temporary strings, so its read-only IDs are now std::string_view by value. Windows Clang rejected an omitted RunState.flags designated initializer, which is now set explicitly to the same empty state. Two test files, no production change.
  • BDSP: load mine/Roark checkpoint from shared authored JSON #263, already reviewed (bd5e359): checkpoint 01.03 (Oreburgh Mine to Roark) loads its plan from StoryData/bdsp-mine-01.03.plan.json through PokemonBDSP_AutoStory_StoryData.* instead of a C++ list. Route, poses, save policy and executor are unchanged. Companion: Consume authoritative Arduino story plans by revision PokemonSimulation#75.
  • Doc fix (36849ee, new to review): bdsp-mine-01.03.md now says above_the_mine stops two tiles short of the warps.
  • Two merges of the base, no conflicts.

To see only what is new since #263: git diff bd5e3592c origin/bdsp/test-portability.

Testing

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 4 commits November 8, 2026 16:01
* Load BDSP mine checkpoint from shared JSON without changing its executor

* Pin the BDSP replay schema correction for paired CI

* Compare normalized checkpoint semantics instead of optional JSON defaults

* Share authored checkpoint envelopes and embedded resource loading

* Use shared authored checkpoint loading for BDSP

* Make the native mine plan authoritative and address data review

* Space BDSP data declarations and test mutation helpers

* Resolve simulator staging root across Python versions

* Keep existing Git normalization rules for authored story data

* Report actual BDSP story data values in test failures
…' into bdsp/test-portability

# Conflicts:
#	SerialPrograms/Source/PokemonBDSP/Programs/AutoStory/PokemonBDSP_AutoStory_StoryTable.cpp
…warps

#269 moved the route's target to (46, 57); the authored plan follows it
in the merge, and its doc now says so too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
@dayfine dayfine changed the title BDSP: make existing recovery tests portable across GCC and Clang-cl BDSP: test portability fix + #263 (01.03 authored JSON) into the BDSP line Nov 9, 2026
@dayfine
dayfine marked this pull request as ready for review November 9, 2026 04:15
@dayfine
dayfine merged commit e686375 into bdsp/autostory-mine-floaroma-wip Nov 9, 2026
17 of 23 checks passed
@dayfine
dayfine deleted the bdsp/test-portability branch November 9, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant