Repository navigation
fix(chat): clear accepted Codex Send now messages - #61
Merged
christso merged 3 commits intoNov 22, 2026
Merged
Conversation
This was referenced Nov 22, 2026
devswha
added a commit
to devswha/ovis
that referenced
this pull request
Nov 26, 2026
## Change After Codex accepts a follow-up sent with **Send now**, Ovis can show the message in Chat and leave the queued copy marked **Not confirmed**. Clear the copy when Codex shows the newly accepted message above its working status. If the terminal check times out, look for a completed user item in the bound Codex transcript. Ovis clears the copy when one new item matches one tracked send and the same Codex process still owns the pane. If the evidence is missing or ambiguous, Ovis keeps the copy. Confirming delivery sends no additional terminal input. This adapts the fix from the MIT-licensed Ovis fork. [Terminal check](christso#61) · [Receipt tracking](christso#18) · [Completed user events](christso#62) Fixes #4465 ## Validation - Reproduced the duplicate with real Codex 0.171.0 on upstream `main` at `e16802a2`. Codex recorded one user message, and Ovis kept one **Not confirmed** copy. [Reproduction and recordings](#4465) - The contract regression checks that a late completed user item clears the copy without sending any more input. Unit tests cover matching text from another send, a process replacement during reconciliation, and a send refused before input. - `bun run typecheck` passed. - All 130 tests in `server/pending-input.contract.test.ts` passed in an isolated Herdr session. - 145 tests passed across `server/codex-delivery.test.ts`, `server/codex-steering.test.ts`, `server/core/codex-reconciliation.test.ts` and `server/pending-input.test.ts`. - 98 tests passed across `server/core/pending.test.ts`, `server/core/pending-agy-send-now.test.ts` and `scripts/changelog-fold.test.ts`. - 285 tests passed across `server/codex-live-rendered.test.ts` and `server/codex-processes.test.ts`. All 25 tests in `server/conventions.test.ts` also passed. - Full integration, browser and native platform suites were skipped locally. --------- Co-authored-by: devswha <[email protected]>
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.
Change
Send now sometimes delivered a follow-up while leaving an identical “Not confirmed” row in the Ovis composer. Clear the pending row when Codex shows one newly accepted message above its working status and the composer is empty. When Codex shows the steering panel, recognize the current background-task status line while still requiring the matching panel entry and the existing checks before sending Escape.
Validation