Skip to content

feat(rl): version policy artifacts and support local rollback - #65

Merged
salim4n merged 1 commit into
mainfrom
feat/policy-registry
Oct 4, 2026
Merged

salim4n merged 1 commit into
mainfrom
feat/policy-registry

Conversation

@salim4n

@salim4n salim4n commented Oct 4, 2026

Copy link
Copy Markdown
Member

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.

@salim4n
salim4n changed the base branch from feat/ignitionrag-trajectory-recorder to main October 4, 2026 18:29
@salim4n
salim4n marked this pull request as ready for review October 4, 2026 18:29
@salim4n
salim4n merged commit 6163034 into main Oct 4, 2026
1 check passed
@salim4n
salim4n deleted the feat/policy-registry branch October 30, 2026 21:52
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