feat(cli-schema): cli: schema v8 + rpg-state.json [P13.01]#131
Closed
cesarnml wants to merge 8 commits into
Closed
feat(cli-schema): cli: schema v8 + rpg-state.json [P13.01]#131cesarnml wants to merge 8 commits into
cesarnml wants to merge 8 commits into
Conversation
- Bump STATE_JSON_SCHEMA_VERSION 7 → 8 - Remove RPG fields from sliceEntrySchema; add .strict() to reject stale v7 writers - Drop RPG spread from sliceToStateJson (slices are activity-state only) - superRefine now requires RPG fields only for schema_version 5–7 payloads - Add rpgStatePath, seedRpgState, writeRpgStateAtomic helpers to hook-binary - runHook writes rpg-state.json atomically on every invocation when rpg_enabled; first write seeds from v7 slice last-writer-wins by updated_at - Update all test fixtures: schema_version 7→8, RPG assertions migrate to readRpgState()
…agent-review] seedRpgState now falls back to state.json when no v7 slices carry RPG fields, matching the ticket spec's three-tier migration path. Migration seed test pins level_fraction and active_minutes to values only reachable via the seed path.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Squash-merged to main via closeout-stack (P13.01). |
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.
Summary
P13.01 CLI: schema v8 + rpg-state.jsonmaincleancompleted at 2026-06-28 07:34 UTCcleancompleted at 2026-06-28 07:40 UTC