fix(senpi): harden compaction recovery and Goal migration - #552
Open
realsigridjin wants to merge 4 commits into
Open
fix(senpi): harden compaction recovery and Goal migration#552realsigridjin wants to merge 4 commits into
realsigridjin wants to merge 4 commits into
Conversation
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
maxreasoning support across capability detection, Shift+Tab cycling, and OpenAI-compatible payload serializationpi-goalstate into Senpi's budget-free builtin Goal storeVerification
npm run checkmainmain2026.7.30,xhigh/maxexposed, queue metadata compatibility preservedCompatibility
clearAllQueues()keeps the legacy enumerable{ steering, followUp }shape while exposing ordered recovery metadata non-enumerablyRelated work
Summary by cubic
Hardens compaction recovery with a deterministic checkpoint and preserves queued-input order across UI and native queues; also exposes
maxfor map-lessgpt-5.6-soland migrates legacy budget-limited goals to Senpi’s goal store.New Features
maxfor map-lessgpt-5.6-soland sendreasoning.effort: "max"viaopenai-responses,azure-openai-responses,openai-codex-responses, andopenai-completions. Shift+Tab now cycles xhigh → max. Explicit maps andnullvetoes stay authoritative; non‑Sol variants are unchanged.pi-goalfiles into the built-in Goal store; convertbudgetLimitedtoactiveand droptokenBudgetwith no user action.Bug Fixes
upstream_stream_truncatedby appending a deterministic checkpoint compaction and rebuilding context under limits; manual and non-target failures stay fail‑closed.willRetry: falseso queued input returns to the editor instead of being re-queued against an oversized context.clearQueue()keeps the legacy{ steering, followUp }shape and adds a non‑enumerableorderedlist for recovery and delivery.Written for commit 503174f. Summary will update on new commits.