Skip to content

Refuse Neo snapshots from before the hot-node bounds - #20

Merged
RyanTheTide merged 1 commit into
mainfrom
fix/neo-state-generation
Oct 31, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
fix/neo-state-generation

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

A clean snapshot from the older initializer can contain an underestimated magnet temperature. Resuming it bypasses the corrected hot-start bounds. Runtime generation 3 refuses those older snapshots and starts with independent hot coil and magnet bounds. Current-generation clean snapshots still resume normally.

This is a separate backport proposal on top of #17's reviewed source. It keeps the running floor, copy-queue policy, packaged profile and CLI options. Old readers refuse generation 3 rather than resuming its temperatures; an unfixed old binary is still not a safe rollback recommendation.

All 150 native tests pass, including the old-clean-file regression and end-to-end minimum-volume hot start. The same old-file regression compiles and fails before the format change. A complete unmodified Linux run is queued with the main #15 repair and the #18 composition. The #17 review does not cover this addition. This draft has not been deployed.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two non-blocking nits from the independent review (t-3151, verdict SHIP at 1de4cde). Neither needs a change before the Neo interim deploy, and this comment does not change the PR.

  1. Log wording for a refused older generation. A generation-2 file is now refused through the generic path at src/guard.rs L454, which logs unreadable model state; assuming hot speakers (latched). The file is readable, just from an older model generation. A separate message (for example model state from an older generation; assuming hot speakers (latched)) would make the upgrade journal clearer and would separate the expected switch-time refusal from real corruption.

  2. README latched-start time is stale. README.md L192 still says "about 7 s on the J700". That predates the independent hot-node bounds. With control events, the first unlock after a latched start is now about 24.5 s (24.455 s in the review's runs). This was already stale on the base (0886ed2).

RyanTheTide added a commit that referenced this pull request Oct 31, 2026
Interim Neo hot-start bounds (independent coil and magnet bounds, minimum before unlock, startup without control events). Reviewed SHIP at 0886ed2; the Neo has run this line (with #20) since 25 October. Merged as the base of #20 and #29.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RyanTheTide
RyanTheTide changed the base branch from fix/neo-hot-start-interim to main October 31, 2026 10:32
@RyanTheTide
RyanTheTide marked this pull request as ready for review October 31, 2026 10:32
@RyanTheTide
RyanTheTide merged commit 8ad3ab6 into main Oct 31, 2026
@RyanTheTide
RyanTheTide deleted the fix/neo-state-generation branch October 31, 2026 10:33
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