Repository navigation
docs(proof): record queue-records-codex-reads, 4 of 4 scenes - #83
Draft
runewright[bot] wants to merge 3 commits into
Draft
runewright[bot] wants to merge 3 commits into
runewright[bot] wants to merge 3 commits into
Conversation
A message posted for Codex stayed queued after the session read it, and a post by session name ran past a minute with no explanation (field report, 2026-10-27). The postbox hook now marks a queued message read when its session's prompt is the message text, and the queued line names the thread id from the receipt. A post by name warns that Codex searches its server page by page, and a refused name gets a hint with the UUID Codex matched. Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness stood down on |
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.
Draft for
change/queue-records-codex-reads: the session agent fills this body beforerune sign open.Plan
Why this shape, one or two sentences.
Changes
Testing
Release Notes
Note
Record queued Codex message reads via prompt matching and receipt thread IDs
ledger.take_promptedmarks a session's queued messages as read when aprompt.beforepayload's text matches the message (trimmed), before the postbox hook's capability check in adapters.rsqueue.queued_outcomerecords the queued ledger event under the thread ID parsed from Codex's receipt instead of the posted session namequeue.failure_outcomecan extract a--sessionUUID hint from refusal stderr in mod.rsledger.takeis a new shared locked read-and-append helper;take_postednow uses it, and a foldedMessagenow reports the session from its last eventfoldin ledger.rs); queue posts with named sessions gain a warning in their outputMacroscope summarized 8357e19.