Repository navigation
fix(skills): codify Codex non-Monitor airc runtime - #445
Merged
Merged
Conversation
Merged
6 tasks done
joelteply
added a commit
that referenced
this pull request
Aug 15, 2026
…ter rides the daemon attach (#445 slice 2) The daemon router has always applied AttachRequest.headers router-side (server.rs compiles it into the fan-out Filter), but no lib path ever set it — every subscription attached with HeaderFilter::Any — and the combinator set had no exclusion shape, so the one thing the measured spam case needs ('everything EXCEPT airc.heartbeat.*-stamped beacons', 149 of 177 inbound events on a continuum persona subscription) was inexpressible. - airc-core: HeaderFilter::Has { key } (presence) + Not(Box<..>) (inversion), arms in both matches() and matches_view(), pinned by the variant-agreement test + a dedicated exclusion/wire-round-trip test (the enum crosses IPC inside AttachRequest, so asymmetric serde would mis-filter daemon-side only). - airc-lib: daemon_subscribe threads a HeaderFilter onto the initial AND reconnect attach (same discipline as the delivery filter — a filter that vanished on daemon restart would silently re-open the flood). subscribe_subscribed_delivery forwards the caller's EventFilter.headers_filter, which until now was client-side only. Exclusion passes unstamped events by construction — Not(Has) is never an allowlist, so consumers keep receiving everything publishers have not classified yet. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 15, 2026
…(the unused-fields perf fix) (#1362) * feat(lib): subscribe_subscribed_delivery — router-side delivery-class filter on the multi-room subscribe AttachRequest has carried kinds/delivery/header filters since the router grew them, and the daemon compiles them into the router (server.rs:530) — but the lib's own multi-room subscribe surface never exposed them, so every consumer attached unfiltered and paid a decode per event to discard what it never wanted. Measured on a continuum node 2026-08-15: 6,736 events fanned to EVERY persona subscription in 40 minutes, 100% discarded post-decode; an earlier solve measured 55% of inbound as peer StreamChunks decoded identically by four minds (O(personas x tokens) in the attention path). - daemon_subscribe gains `delivery: Option<Vec<IpcDelivery>>`, applied on the initial attach AND every reconnect (a filter that silently vanished on the first daemon restart would re-open the flood with no signal). - New public `subscribe_subscribed_delivery(filter, delivery)`; `subscribe_subscribed_filtered` delegates with None — behaviour unchanged for every existing caller. - Non-daemon (in-process broadcast) fallback documented: EventFilter remains its only filter; there is no router to filter at. First consumer: continuum's persona turn stream attaches with [IpcDelivery::Durable] — a mind that perceives settled room lines stops receiving peers' stream chunks and ephemeral fan-out at the ROUTER. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(core+lib): HeaderFilter Not/Has exclusion variants + headers filter rides the daemon attach (#445 slice 2) The daemon router has always applied AttachRequest.headers router-side (server.rs compiles it into the fan-out Filter), but no lib path ever set it — every subscription attached with HeaderFilter::Any — and the combinator set had no exclusion shape, so the one thing the measured spam case needs ('everything EXCEPT airc.heartbeat.*-stamped beacons', 149 of 177 inbound events on a continuum persona subscription) was inexpressible. - airc-core: HeaderFilter::Has { key } (presence) + Not(Box<..>) (inversion), arms in both matches() and matches_view(), pinned by the variant-agreement test + a dedicated exclusion/wire-round-trip test (the enum crosses IPC inside AttachRequest, so asymmetric serde would mis-filter daemon-side only). - airc-lib: daemon_subscribe threads a HeaderFilter onto the initial AND reconnect attach (same discipline as the delivery filter — a filter that vanished on daemon restart would silently re-open the flood). subscribe_subscribed_delivery forwards the caller's EventFilter.headers_filter, which until now was client-side only. Exclusion passes unstamped events by construction — Not(Has) is never an allowlist, so consumers keep receiving everything publishers have not classified yet. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Fable 5 <[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.
Summary
Codex dogfood exposed that the install path works, but several public skill docs still assumed Claude Code Monitor semantics. That makes Codex unreliable because it has no Monitor/TaskStop and foreground
airc joinis long-running in a fresh scope.This PR codifies the Codex/non-Monitor runtime contract in the shipped skills and OpenAI Codex integration docs.
Changes
join: Codex/non-Monitor path now uses daemon or backgroundnohup airc join, thenairc statusandairc logs --sincepolling. Removes the incorrect one-shot claim.update: splits Claude Monitor bounce from Codex shell lifecycle (airc teardown, background join, status, logs catch-up).resume,repair,canary: add Codex/non-Monitor restart forms instead of Monitor-only instructions.logs: documentsairc logs --sinceand explicitly says there is noairc logs -fmode.msg: removes stale SSH-era wording and tells Codex to keep airc alive via daemon/background join plus logs polling.integrations/openai-codex: replaces invalidairc logs 0 -fguidance with daemon/background join pluslogs --since.Verification
airc updaterefreshed installed canary and Codex skill symlinks.codex debug prompt-inputconfirms fresh Codex sessions see AIRC skills.airc logs --since 5mworks.airc logs 0 -fandairc logs -fare invalid as expected, so docs no longer recommend them.AIRC_HOMEsmoke:nohup airc join --room-only general > "$scope/codex-airc.log" 2>&1 &airc status --probereports live monitor PIDairc logs --since 2mis callableairc teardowncleans only that temp scopeCodex CLI 0.128.0 catch from validating AIRC as a public Codex skill surface.