Repository navigation
feat(rl): version policy artifacts and support local rollback - #65
Merged
Merged
Conversation
This was referenced Oct 4, 2026
salim4n
changed the base branch from
feat/ignitionrag-trajectory-recorder
to
main
October 4, 2026 18:29
salim4n
marked this pull request as ready for review
October 4, 2026 18:29
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.
Learned policies previously existed only in memory. This adds strict, content-addressed tabular and linear artifacts, descriptor-bound greedy reloading, and an immutable local registry with explicit baseline gates, promotion and atomic one-step rollback.
The registry pins gate reports to the active baseline and candidate artifact identities, checks reward/algorithm/encoder/action compatibility, refuses concurrent writers and validates persisted report checksums. Missing required thresholds, corrupted artifacts and unavailable required cost metrics fail closed. A killed writer leaves a valid published active version; stale locks require confirmed operator recovery.
Validation: frozen policy reload on an independent corpus for both algorithms; negative corruption/compatibility/regression controls; real Bun writer termination; lint/typecheck; 204 tests; synthetic ReAct lifecycle and recorded trajectory examples; build and npm pack readiness for 10 publishable packages.
All executed example evidence is synthetic and local. No IgnitionRAG deployment or real quality/cost gain is claimed. Stacked on #64; addresses #57.