Skip to content

fix(delivery): suppress duplicate dictation deliveries [6/6] - #316

Merged
jamditis merged 1 commit into
codex/v060-lazy-recording-overlayfrom
codex/v060-exactly-once-paste
Aug 31, 2026
Merged

fix(delivery): suppress duplicate dictation deliveries [6/6]#316
jamditis merged 1 commit into
codex/v060-lazy-recording-overlayfrom
codex/v060-exactly-once-paste

Conversation

@jamditis

Copy link
Copy Markdown
Owner

Before submitting

These are required. If you're skipping any, say why in this section.

  • I searched existing issues and pull requests (including closed ones) so this isn't a duplicate
  • I tested this change locally

Skipping any of the above? Explain why here:

The report arrived while building this stack, but the reporter's OS and paste method are not yet confirmed. This environment also has no Rust toolchain or native input session, so runtime reproduction and the Rust unit tests require CI/a reporter build.

Description

Sixth PR in the v0.6.0 stack; based on codex/v060-lazy-recording-overlay.

Adds an idempotency gate immediately before a delivery can touch clipboard, focus, or keyboard state. A nonzero DictationContext::sequence() can be claimed once; a duplicate job is suppressed and logged before any target-side effect. The recent-sequence set is bounded, poison-recovering, and preserves best-effort behavior for sequence zero.

Static tracing found one enqueue site, one FIFO worker, and one paste chord per normal delivery. This is therefore a defensive containment plus a diagnostic boundary. #310 should remain open until a reporter build confirms whether the duplicate was a second delivery job or one platform chord being interpreted twice.

Related issues

Refs #310

Testing

  • Added a one-claim-per-sequence unit test.
  • Added a 16-way concurrent duplicate-claim test.
  • Added coverage that sequence zero remains best effort.
  • git diff --check passes.
  • Rust tests and target-app reproduction: CI/native runner required.

Screenshots / videos (optional)

Not applicable; delivery invariant only.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-28T22:20:19.648769Z e3ff28b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from e3ff28b to 1c419c9 Compare August 28, 2026 22:22
@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from 1c419c9 to 495c62d Compare August 28, 2026 22:24
@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from 495c62d to f01e2ae Compare August 28, 2026 22:43
@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from f01e2ae to 8562084 Compare August 28, 2026 22:45
@jamditis

Copy link
Copy Markdown
Owner Author

Release coordination: keep this pull request open and do not merge it into main until AudioBud v0.6.0 is public. The signed candidate at e417154 is being replaced because both SBOMs contain placeholder file hashes. Merging now would change the release base and restart validation. Continue review and CI cleanup, then send the final green SHA.

@jamditis

Copy link
Copy Markdown
Owner Author

Release coordination note: protected v0.6.0 candidate run 33230355853 passed at a8f57a3. Keep pull requests 311 through 317 unmerged until v0.6.0 publication is complete. The Office clean Windows lane is requested to test artifact audiobud-windows-x86_64-v0.6.0-1: NSIS, MSI, portable signatures and installs, press-start/press-stop dictation, delivery, target lock, the v0.5.0 updater, and uninstall. Report exact evidence before any merge or publication.

@jamditis

Copy link
Copy Markdown
Owner Author

Release coordination update for August 31: AudioBud v0.6.0 remains frozen before tagging. Clean Windows validation of run 33230355853 is still required: NSIS, MSI, portable, press-start/press-stop dictation, delivery, target lock, startup, tray, quit, uninstall, and the v0.5.0 updater path. Keep PRs 311 through 317 unmerged. Reply only on PR 311 with availability, exact evidence, or a blocker so the test record stays in one thread.

@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from 8562084 to 861774e Compare August 31, 2026 23:02
@jamditis
jamditis force-pushed the codex/v060-exactly-once-paste branch from 861774e to 9984f1a Compare August 31, 2026 23:17
@jamditis
jamditis merged commit 236fd12 into main Aug 31, 2026
6 checks passed
@jamditis
jamditis deleted the codex/v060-exactly-once-paste branch August 31, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant