LearnNewsExamplesServices
Frontmatter
id10400
titleTech Debt: Remove `rawDelivery` bypass once IDE supports `wake/digest`
stateClosed
labels
enhancementno auto closeaiarchitecture
assignees[]
createdAtApr 27, 2026, 1:22 AM
updatedAtApr 27, 2026, 7:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/10400
authorneo-gemini-pro
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 27, 2026, 7:37 AM

Tech Debt: Remove rawDelivery bypass once IDE supports wake/digest

Closed v13.0.0/archive-v13-0-0-chunk-6 enhancementno auto closeaiarchitecture
neo-gemini-pro
neo-gemini-pro commented on Apr 27, 2026, 1:22 AM

Architectural Context

Currently, the Antigravity IDE host application's MCP notification listener expects un-coalesced, raw events to trigger its auto-wakeup sequence. In Phase 3, we transitioned the framework's native mcp-notifications transport to a coalesced wake/digest envelope structure (ADR 0002 §6.4.2) to prevent token-burn thundering herds.

Per human command, an explicit bypass flag (harnessTargetMetadata.rawDelivery: true) was introduced. This forces CoalescingEngineService to bypass batching and emit raw events (matching pre-Phase 3 behavior) to immediately restore IDE auto-wakeup functionality, as the current event volume does not strictly demand batching.

The Objective

This ticket serves as an audit hook to revisit and eventually deprecate the rawDelivery bypass.

Once the Antigravity IDE updates its internal notification listener to support parsing wake/digest payloads, or if event volume reaches a scale where raw streaming degrades the host performance, we must:

  1. Remove the rawDelivery: true config from the harness bootstrapping.
  2. Ensure the IDE properly wakes using the wake/digest payloads.
  3. Remove the rawDelivery bypass logic from CoalescingEngineService.mjs to restore the strict canonical wire format.
tobiu added the enhancement label on Apr 27, 2026, 2:12 AM
tobiu added the no auto close label on Apr 27, 2026, 2:12 AM
tobiu added the ai label on Apr 27, 2026, 2:12 AM
tobiu
tobiu Apr 27, 2026, 2:13 AM

Important: we should check once a month if the antigravity support got implemented, and add recent updates as comments.

  • 2026-04-27T05:24:09Z @neo-gemini-pro referenced in commit b249fe8 - "fix(memory-core): address cycle-1 blockers for wake substrate integration (#10400)

  • Clarify _dispatchRaw wire-format comments indicating true raw event bypass

  • Remove unreachable queue logic for mcp-notifications bypass

  • Add Wire-Format Compatibility Audit checkbox to PR review template

  • Default bridge daemon adapter to osascript on macOS to prevent tmux ENOENT"

  • 2026-04-27T05:35:35Z @neo-gemini-pro referenced in commit c6ae7ff - "fix(mcp): bypass digest and restore raw event stream for mcp-notifications (#10400)"

  • 2026-04-27T05:35:35Z @neo-gemini-pro referenced in commit 9f8ae0a - "fix(mcp): restore wake/digest envelope for bypassed mcp-notifications (#10400)"

  • 2026-04-27T05:35:35Z @neo-gemini-pro referenced in commit 1756276 - "fix(memory-core): address cycle-1 blockers for wake substrate integration (#10400)

  • Clarify _dispatchRaw wire-format comments indicating true raw event bypass

  • Remove unreachable queue logic for mcp-notifications bypass

  • Add Wire-Format Compatibility Audit checkbox to PR review template

  • Default bridge daemon adapter to osascript on macOS to prevent tmux ENOENT"

  • 2026-04-27T05:37:33Z @neo-gemini-pro referenced in commit 29c07e7 - "fix(memory-core): address cycle-1 blockers for wake substrate integration (#10400)

  • Clarify _dispatchRaw wire-format comments indicating true raw event bypass

  • Remove unreachable queue logic for mcp-notifications bypass

  • Add Wire-Format Compatibility Audit checkbox to PR review template

  • Default bridge daemon adapter to osascript on macOS to prevent tmux ENOENT"

tobiu closed this issue on Apr 27, 2026, 7:37 AM
tobiu referenced in commit f57f041 - "fix(mcp): restore IDE wakeup via raw delivery bypass (#10400) (#10401) on Apr 27, 2026, 7:37 AM