Skip to content

docs(proof): record queue-records-codex-reads, 4 of 4 scenes - #83

Draft
runewright[bot] wants to merge 3 commits into
mainfrom
change/queue-records-codex-reads
Draft

runewright[bot] wants to merge 3 commits into
mainfrom
change/queue-records-codex-reads

Conversation

@runewright

@runewright runewright Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Draft for change/queue-records-codex-reads: the session agent fills this body before rune sign open.

Plan

Why this shape, one or two sentences.

Changes

  • Fill in: verb-first, file-anchored claims the diff upholds.

Testing

  • Fill in: the command run and its outcome.

Release Notes

  • N/A

Note

Record queued Codex message reads via prompt matching and receipt thread IDs

  • ledger.take_prompted marks a session's queued messages as read when a prompt.before payload's text matches the message (trimmed), before the postbox hook's capability check in adapters.rs
  • queue.queued_outcome records the queued ledger event under the thread ID parsed from Codex's receipt instead of the posted session name
  • Non-UUID session strings now emit a Codex name-lookup warning, and queue.failure_outcome can extract a --session UUID hint from refusal stderr in mod.rs
  • ledger.take is a new shared locked read-and-append helper; take_posted now uses it, and a folded Message now reports the session from its last event
  • Includes design/spec docs, proof recordings for 4 scenarios, and tests in ledger_tests.rs, tests.rs, and queue.rs
  • Behavioral Change: message session now comes from the last ledger event rather than the first (see fold in ledger.rs); queue posts with named sessions gain a warning in their output

Macroscope summarized 8357e19.

Claude Opus 5.5 (claude-opus-5-5) and others added 3 commits October 28, 2026 02:37
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>
@github-actions github-actions Bot added size:large auto: changed-lines bucket area:docs auto: documentation and markdown and removed size:large auto: changed-lines bucket labels Oct 28, 2026
@github-actions

Copy link
Copy Markdown

review/correctness stood down on 8357e19f: free lanes only: deterministic check quality is pending on this head. Apply review:runeseer to force a paid round.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs auto: documentation and markdown size:large auto: changed-lines bucket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants