Skip to content

feat(scripts): airc blackout drill — positive-control-verified window instrument for airc #1332 - #2183

Merged
joelteply merged 1 commit into
canaryfrom
feat/airc-blackout-drill
Aug 8, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/airc-blackout-drill

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The measured-window instrument BigMama requested for #1332. The probe's three-iteration history is documented in the script: airc status and airc peers are both daemon-blind, macOS has no timeout, and the honest probe is a direct unix-socket connect verified two-sided. Also live-reproduced #355 (stale .sock.lock blocks restart) while validating.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… with a positive-control-verified socket probe

The instrument BigMama asked for ("my claim is a shrunken window, and only
a measured one is worth believing"): probe the daemon every 500ms across
`airc update`, report total down-window. Before/after pair falsifies the
#1332 reorder.

The probe's history IS the lesson, kept in the script:
- `airc status` reads local state — UP a second after `airc stop`. Blind.
- `airc peers` reads the address book — 13ms with NO daemon. Blind.
- `timeout` does not exist on macOS, so the sensitivity test that blessed
  peers was measuring exit-127, not the daemon.
NO airc CLI read verb is a liveness probe. The honest probe is a direct
unix-socket connect, verified two-sided (fails on a real stop, succeeds on
a verified-running daemon). Also live-reproduced #355 along the way: a
stale .sock.lock blocked every restart while blind probes reported success.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 23ad64d into canary Aug 8, 2026
@joelteply
joelteply deleted the feat/airc-blackout-drill branch August 8, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant