{"version":"2.1.267","anchor":"command-queue-dispatch-loop-internals-reworked-draincommand","canonical_anchor":"command-queue-dispatch-loop-internals-reworked-draincommand","heading":"Command-queue dispatch loop internals reworked (drainCommandQueue)","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/command-queue-dispatch-loop-internals-reworked-draincommand","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### Command-queue dispatch loop internals reworked (drainCommandQueue)\n\nInternal rework of the command-queue dispatch loop, no new behavior found\n\n**What**\n\nThe internal loop that dequeues and dispatches commands within a session was substantially restructured, with helper functions renamed and refactored. It still handles the same things as before: prioritizing orphaned permission requests, redelivering poll events on reconnect, and waiting on MCP (Model Context Protocol) connections before dispatching commands.\n\n**Why**\n\nThis appears to be an internal refactor with no new externally visible behavior identified.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}