Repository navigation
Keep lane-A journal continuity for session-only config changes - #1068
Merged
seathatflowsinourveins merged 3 commits intoOct 13, 2026
Merged
seathatflowsinourveins merged 3 commits into
seathatflowsinourveins merged 3 commits into
Conversation
seathatflowsinourveins
deleted the
foundation/lane-a-frozen-config-continuity-20261013
branch
October 13, 2026 12:02
This was referenced Oct 13, 2026
Merged
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.
Scope
A lane-A PRE/POST config changes only three coordinated session flags, but the
existing runner refuses its raw config hash on the account's current journal.
For the NEXT paper trial, compare the frozen config fields so this change retains the same ledger,
fees, cash baseline, loss/drawdown history and request budget. Rung changes
remain refused in that journal and use a separately recorded series by design.
Recovery keeps the trial's exact config bytes under the 2026-10-04 / #667
decision; it preserves the existing raw and frozen bindings.
The runner reads one immutable config snapshot; the real loader, continuity
comparison, execution policy and raw/frozen provenance all use those bytes.
Lane-A starting metadata binds the verified frozen signature before execution,
so interrupted trials retain continuity after exact-byte recovery.
dated decision record, source/evidence hash bindings.
SOTA sources
lines73-91: preferred frozen-field comparison and the separate-series
ledger's consequences; lines147-149 prohibit evading risk/order state.
recovery2548-2552 and admission2577-2579; independent persisted risk limits
in safety.py:509-511 stay authoritative.
the engine runtime version, dumps separators/sort_keys contract183-238, used with the runner's existing
SHA256 provenance primitive. No alternate trading or execution library.
2026-10-04 / fix(trading): enforce Alpaca paper admission and recovery guards #667: exact whole-file binding for recovery remains in force.
Evidence-class table
Local commands run
Results and exact commands are in the staged report. New tests fail before
the original fix on the branch's main base; recovery refusal and provenance
regressions also fail at the reviewed 76a8a6b. The round-2 interruption regression fails at af64678. Twenty-one focused continuity tests pass, including the snapshot races and all 98 scalar leaves of the shipped 1x config under legacy/retained signatures.
Credential, runtime-lock, exploratory rotation and hash/manifest controls run
with the same final bytes. Native staged gitleaks and whitespace checks pass.
Final round-2 bounded idle-scope run: 314 tests, rc 0, including the complete runner
module and all 21 continuity tests. scripts/validate.py: rc 0, 71 components,
11877 hashes and 240 receipts. The new scalar-leaf matrix kills the omitted
max_leverage mutant identified by the first read.
Decision record
docs/decisions/2026-10-13-lane-a-frozen-field-continuity.md.
The dated operating ruling is identified by
981d2202da0e50b515a382dc65ff19ba7e1c3b42e28b807f7a2021aba24daebc.
Today's independent-series records are not silently rewritten by this PR.
Follow-ups
a changed-session reopen; never infer their settings from current limits.
needs separately reviewed evidence and fail-before regressions.
runtime-matched CPython sources and retained fail-before/final check reports.
remains a follow-up; existing STOP controls and conservative recovery binding remain.
snapshot too (mover_runner.py:1128, mover.py:337, mover_runner.py:934 and :690
at af64678). The adjacent repeated-read race is recorded separately.
rows, counted only. Sanitation must update the historical content bindings together.
Checklist