DEV Community

Cover image for Anthropic Claude Ship Reviews and Approves PRs by Policy — Dual-Track WASAPI Still Sets the Overlay Floor
devs
devs

Posted on

Anthropic Claude Ship Reviews and Approves PRs by Policy — Dual-Track WASAPI Still Sets the Overlay Floor

On 23 November 2026 Anthropic introduced Claude Ship in beta for Claude Team and Enterprise plans. It bundles three agents that act on GitHub pull requests: Code Review (already generally available) inspects the diff and posts findings at Quick, Standard or Deep depth; PR Steward (beta) pushes fixes for failing CI, merge conflicts and review comments and comments what it changed; Claude Approvals (beta) applies a policy file .claude/approvals.yml on the default branch and can post an approving review when the rules allow. A /ship command in Claude Code opens the PR, reviews it and works the checks from the local session. Branch protection and auto-merge still decide what actually lands.

Audio waveforms diagram

That is useful automation for the code-shipping loop. The interesting constraint for anyone shipping real-time tools on Windows is what did not change: the end-to-end latency floor for a live call or interview overlay is still set by the local audio capture path, not by how fast an agent can review a PR or how small a local model has become.

Dual-track capture is still the bottleneck

A usable live overlay needs two clean PCM streams that stay separate:

  1. Local microphone — what you say.
  2. Loopback of the render endpoint — what the remote party says through Teams, Zoom, Meet or the browser.

Both must stay in shared-mode WASAPI so the call client keeps control of the device. Exclusive mode would break the call. Typical shared-mode period is 10 ms. You can request a smaller period with IAudioClient3; the engine frequently ignores it or falls back under load. Audio enhancements and vendor APOs add more non-deterministic delay.

Practical end-to-end stack on a modern laptop:

  • Endpoint → WASAPI shared-mode client (10–20 ms buffer).
  • Audio engine mixing + enhancements (audiodg.exe + audioeng.dll).
  • Capture callback: copy PCM into a lock-free SPSC ring, return immediately.
  • Framing + lightweight VAD + resample to 16 kHz mono.
  • Streaming STT (remote or local GGUF / Windows ML Speech Recognition Task).
  • Small local model for translation polish or short suggestion.
  • Overlay paint on a dedicated thread (<16 ms).

Measured partial latency for a dual-track overlay still lands in the 80–200 ms range on typical hardware once you add framing and the first usable partial, even when the STT model itself is local and fast.

// Minimal shared-mode capture sketch (concept only)
HRESULT hr = pAudioClient->Initialize(
    AUDCLNT_SHAREMODE_SHARED,
    AUDCLNT_STREAMFLAGS_EVENTCALLBACK | AUDCLNT_STREAMFLAGS_LOOPBACK, // for render loopback
    0, 0, &waveFormat, nullptr);
// Event-driven callback copies into SPSC ring and returns.
// Consumer thread does resample + VAD + feed to STT.
Enter fullscreen mode Exit fullscreen mode

Drop the communications enhancements in the sound control panel, pin the capture thread, and keep the period as short as the engine will honor. That reclaims the largest controllable slice of the budget.

Local models and the remaining floor

Local models (faster-whisper, Whisper.cpp, Windows ML with Whisper or Nemotron ASR, or a small GGUF) remove the network hop once the audio has left the engine. Hybrid is common: local for the hot path, cloud for higher accuracy on finalized turns. The model side continues to improve — smaller checkpoints, better partials, faster first-token times — but they still wait on the same WASAPI buffers.

Claude Ship (or any coding agent) can help you ship the overlay code faster. It does not move the first millisecond of audio. That millisecond is still spent inside the audio engine.

Trade-offs that remain

  • Shared mode is required for compatibility with the call client; exclusive mode is lower latency but breaks the call.
  • Bluetooth and some USB devices add their own buffering and sample-rate switches.
  • Keep thinking/budget low for any online suggestion path; reserve higher compute for offline prep.
  • Dual independent rings so mic and loopback never mix early.

The 1.0.0-era local inference stacks (llama.cpp, ggml, and the various speech GGUFs) make the model side more stable. They do not move the first millisecond. That millisecond is still spent inside the audio engine.

I'm building Talkaside, a Windows app for job interviews and calls in another language.
Drafted with AI assistance from this project's code and logs.

Top comments (0)