Uh oh!
There was an error while loading. Please reload this page.
fix(prime): preserve provider admission across restarts - #225
Merged
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
rynfarforce-pushed
the
fix/prime-wsl2-only
branch
from
September 1, 2026 23:42
bce43de to
4139a28Comparerynfar
marked this pull request as ready for review
September 1, 2026 23:42
rynfarforce-pushed
the
fix/prime-wsl2-only
branch
from
September 1, 2026 23:50
4139a28 to
34f581aComparerynfarforce-pushed
the
fix/prime-wsl2-only
branch
from
September 2, 2026 16:07
77c7906 to
183ad68CompareUh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Problem
Provider admission could diverge across restarts and devices. A stopped runtime could be revived by stale ingestion, warning-only providers could be blocked, and mobile outbox sends could lose their durable destination when a synchronized thread disappeared.
Functional fix
Preserve exact provider admission lineage across stop, restart, ingestion, and client reconciliation. Pending stops now survive restart without a new wire status, stale runtime events cannot revive stopped incarnations, provider warning states remain selectable, and missing-thread outbox sends become durable holds with explicit retarget/new-thread and delete paths.
Provider-conflict new-thread recovery now commits a complete composer snapshot in one store transaction. It carries images, generic files, terminal and element contexts, preview annotations, review comments, and the exact original provider/model/mode selection without restoring the obsolete project-switch draft move API.
Verification
git range-diffreviewed against the pre-rebase seriesvp lint --report-unused-disable-directives <96 changed source files>— 0 warnings, 0 errorsvp fmt --check <102 changed files>— all matchedgit diff origin/pylon...HEAD --checkEvidence
No browser or simulator run was requested. The changed behavior is routing and durable state recovery covered by focused tests.
Agent
Model: OpenAI Codex GPT-5.6
Harness: Prime Agent
Closes#222
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.