Skip to content

Marshaling: void/adjust synthetic passes (re-detection commit fix)#351

Merged
ryan-johnson2 merged 1 commit into
develfrom
void-synthetic-passes
Jul 3, 2026
Merged

Marshaling: void/adjust synthetic passes (re-detection commit fix)#351
ryan-johnson2 merged 1 commit into
develfrom
void-synthetic-passes

Conversation

@ryan-johnson2

Copy link
Copy Markdown
Contributor

Live-testing find: committing a re-detection bounced with log offset 5022 is not a detected pass.

The RotorHazard adapter's save-then-pull catch-up records recovered laps as synthetic LapInserted passes. The corrected-pass fold fully supports voiding/re-timing them ("void the void" target resolution), and ThrowOutLap/SplitLap already accept them — but require_pass_target (VoidDetection/AdjustLap) accepted only raw Event::Pass. Net effect: exactly the laps most likely to need marshaling (the ones the live stream missed) were the ones the marshal couldn't touch, and any re-detection diff containing one failed to commit.

Validator widened to the fold's pass set (raw Pass | LapInserted | LapSplit); doc table updated; regression test drives both commands against a LapInserted target through apply_command.

Verified live: the exact failing command now acks ok and the lap folds out. 37 suites green, clippy/fmt clean.

🤖 Generated with Claude Code

…Inserted/LapSplit)

The RH save-then-pull catch-up path records recovered laps as LapInserted;
the corrected-pass fold fully supports voiding / re-timing them ('void the
void'), but require_pass_target accepted only raw Event::Pass — so exactly
the laps most likely to need marshaling were un-voidable, and a re-detection
commit on such a heat bounced with 'log offset N is not a detected pass'
(hit live, Qualifying Heat 9 / Krait). The validator now accepts the same
lap-gate pass set the fold does (raw Pass | LapInserted | LapSplit),
matching the sibling ThrowOutLap/SplitLap validator.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ryan-johnson2 ryan-johnson2 merged commit 1cb6595 into devel Jul 3, 2026
3 checks passed
@ryan-johnson2 ryan-johnson2 deleted the void-synthetic-passes branch July 3, 2026 18:38
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