Repository navigation
maintain context after runs with accepted input measurements - #438
Merged
Merged
Conversation
Run memory maintenance after successful loop returns, calibrating message estimates from the accepted request's actual model and frozen reserves. Default summaries to turn-end timing, retain step timing as an option, and bind maintenance to its own run without obsolete step context. Expose composable prepareRun and a once-only afterRun effect while preserving preparation-only stepRequestOf and the public loop compact callback. Keep helper failures and interrupted outcomes precise, avoid repeated nonreducing summaries, and advance strategy decisions to version 2 without changing stored format 9 or prompt text.
Restore the 0.14.0 journal recording from its release tag and keep current-format replay coverage in an explicit unreleased fixture. Require a development flag for refreshes and publish release recordings exclusively, including when two recorders race. Verify that the extra post-run snapshot is empty and uncorrelated with a step while dispatch and settlement retain their original incremental reads. Keep release evidence immutable and document the new recorder commands without changing package versions or model-facing text.
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.
What
prepareRunand its once-onlyafterRuneffect for manual compositions; keepstepRequestOfpreparation-only.summarizeAt: "turn-end";"step"retains pre-request timing. Custom loops can forward optional accepted-input facts throughStepRequest.record; existing two-argument callbacks remain assignable.Checks