You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2026. It is now read-only.
Repository navigation
Keep Prism jobs advancing with T3 stream liveness (#132); 0.41.0 - #135
Prism jobs keep advancing or report a state to the planner. This rebases the earlier controller, interrupt and cancellation fixes onto main cecc4b30be7adbe32f50066e6cce8d9e83ada065 (0.40.0), preserves #136's T3 waiting and #140's Chromeria launch recovery, and completes Issue #132's remaining Router liveness integration. Version: 0.41.0.
Poll T3's /api/prism/liveness?threadId= every second. A boolean stale is authoritative: true enters the interrupt/settle/next-route path within one poll; false never triggers Router's elapsed-silence check. The interim driver windows and their confirming snapshot remain fallback only when the decision is unavailable. Host sleep remains excluded.
Save the current turn's text and named text artifacts before interrupting. Carry their redacted excerpts and durable job-store paths into the planner notification and the eventual terminal report, including after subsequent retries succeed.
Record each stale decision's silenceMs, thresholdMs, thresholdSource, reason and staleSince; notify planner_t3_thread for every event and record delivery failures.
Retain the earlier status-based controller continuation, delayed-interrupt settling, and cancellation behavior for known finished turns.
Salvage copies up to 16 named regular text artifacts from the workspace or host temporary directories, up to 64 KiB each. Unsupported references, read failures and excerpt limits are explicit.
versionctl release-check: candidate OK for v0.41.0 at the exact SHA above.
Regression coverage includes authoritative true/false, missing-field and unreachable-route fallback, sleep, stale predecessors behind queued messages, recovery during a fallback probe, salvage before interrupt, retained terminal evidence, ledger fields, and every-event planner posts. Liveness true/false and queued-predecessor tests were observed failing before their fixes.
lukemaj
changed the title
Prism jobs never go silent (#132); release 0.38.0
Keep Prism jobs advancing with T3 stream liveness (#132); 0.41.0
Sep 28, 2026
APPROVE — reviewed exact head 0ab66fb7bf52f828cc65788740c2c9fd2eff4192 against origin/main (cecc4b30be7adbe32f50066e6cce8d9e83ada065).
No findings.
Verified the requested paths: T3 stale: true becomes stalled on the same one-second poll; stale: false remains authoritative regardless of silence; missing/invalid stale field or an unavailable liveness endpoint uses the per-driver fallback; host sleep is subtracted from fallback silence; production watch calls carry no elapsed deadline; and interrupts poll until settled. Before interrupting, the controller saves redacted worker text and named text artifacts, persists the stale ledger fields (silenceMs, thresholdMs, thresholdSource, reason, staleSince), and notifies planner_t3_thread; salvage is included in terminal reports. Version mirrors, VERSION, and CHANGELOG.md are at 0.41.0.
I relied on the recorded candidate proof: 360 tests, compileall, versionctl release-check, and green CI run 36464857761. I did not rerun it.
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
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.
Refs #132
Prism jobs keep advancing or report a state to the planner. This rebases the earlier controller, interrupt and cancellation fixes onto main
cecc4b30be7adbe32f50066e6cce8d9e83ada065(0.40.0), preserves #136's T3 waiting and #140's Chromeria launch recovery, and completes Issue #132's remaining Router liveness integration. Version: 0.41.0./api/prism/liveness?threadId=every second. A booleanstaleis authoritative: true enters the interrupt/settle/next-route path within one poll; false never triggers Router's elapsed-silence check. The interim driver windows and their confirming snapshot remain fallback only when the decision is unavailable. Host sleep remains excluded.silenceMs,thresholdMs,thresholdSource,reasonandstaleSince; notifyplanner_t3_threadfor every event and record delivery failures.Salvage copies up to 16 named regular text artifacts from the workspace or host temporary directories, up to 64 KiB each. Unsupported references, read failures and excerpt limits are explicit.
Proof
Candidate:
0ab66fb7bf52f828cc65788740c2c9fd2eff4192.python3 scripts/test.py && python3 -m compileall -q runner scripts tests: 360 tests OK; compileall passed (exit 0).versionctl release-check: candidate OK for v0.41.0 at the exact SHA above.Independent review
Pending the dispatcher's independent review of the exact candidate above. The previous head's review is not reused.
Website/SEO impact: none; this changes runner control flow and its operational documentation, with no website or URL changes.
This remains
Refs #132while the cross-repository integration and broader Issue acceptance remain outstanding. No merge, tag, release or installation.