Skip to content

Keep install lightweight around join - #510

Merged
joelteply merged 1 commit into
canaryfrom
codex/lightweight-join-install
May 5, 2026
Merged

joelteply merged 1 commit into
canaryfrom
codex/lightweight-join-install

Conversation

@joelteply

@joelteply joelteply commented May 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • remove the install-time daemon prompt/auto-install path; install stays lightweight and join-first
  • deprecate airc daemon command surface: install/restart now refuse, status points users to airc join/airc quit, uninstall remains for legacy cleanup
  • remove daemon recommendations from README, Codex integration docs, and agent skills
  • refresh README/Codex docs for current join-first behavior, Codex hook digest, delivery markers, and broadcast encryption caveat
  • fix monitor/unit CI drift by pinning test client_id and setting client_id in live-monitor integration assertion

Validation

  • python3 test/test_monitor_formatter.py
  • ./airc doctor --tests python_units
  • bash -n install.sh
  • bash -n airc
  • bash -n lib/airc_bash/cmd_send.sh
  • bash -n lib/airc_bash/cmd_connect.sh
  • bash -n lib/airc_bash/cmd_daemon.sh
  • bash -n lib/airc_bash/cmd_doctor.sh
  • live no-daemon validation in continuum scope: airc daemon install refuses; foreground airc join recovered the scope and airc status reported fresh heartbeats on #cambriantech + #general

Note: the broad local integration suite still contains older gh-backed takeover/bounce failures unrelated to this PR; I stopped that run to avoid unnecessary gh churn. This PR addresses the current canary CI unit failure and removes daemon from default/public use.

Copilot AI review requested due to automatic review settings May 5, 2026 03:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR keeps installation side effects minimal by removing the install-time daemon prompt/auto-install, while updating documentation for the current “join-first” workflow and fixing CI drift in monitor-related tests via stable client IDs.

Changes:

  • Remove install-time daemon prompting/auto-install behavior (daemon stays explicit via airc daemon install).
  • Pin client_id in unit + integration tests to eliminate monitor/self-filter nondeterminism.
  • Refresh README + Codex integration docs for current join/Codex-hook behavior and updated delivery/security caveats.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
install.sh Removes daemon auto-install/prompt to keep curl-based install lightweight and side-effect-limited.
README.md Updates docs for join-first surface, Codex hook usage, daemon positioning, and delivery/security notes.
integrations/openai-codex/README.md Clarifies Codex behavior around /join and unread catch-up.
test/test_monitor_formatter.py Pins current_client_id() in tests to avoid nondeterministic process-derived IDs.
test/integration.sh Sets AIRC_CLIENT_ID for a live-monitor assertion so JSON output expectations are stable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
You: `airc rooms` shows the mnemonic for `#general`. Read it to your friend (4 words, dictate-able over the phone):
You: `airc list` shows the mnemonic for `#general`. Read it to your friend (4 words, dictate-able over the phone):

macOS launchd or Linux systemd-user takes over. `airc join` runs at login + restarts on crash. Mesh persists.
Comment thread README.md
## Zero Silent Loss

`airc msg` writes the outbound to your local messages.jsonl BEFORE attempting the wire. If the wire fails (unreachable host, transient network, gh rate limit), a `{"from":"airc","msg":"[SEND FAILED to <peer>] <error>"}` marker is appended next to the mirrored outbound. Your `airc logs` always shows what you tried to send and why delivery failed — no "I sent it but it never arrived" black holes.
`airc msg` records the outbound intent locally and then attempts the wire. Confirmed delivery appends the signed message to `messages.jsonl`; transient failures append `[QUEUED]` / `[RATE-LIMITED]` markers and drain automatically when the transport recovers; permanent failures append loud `[AUTH FAILED]` / `[GONE]` markers. Your `airc logs` shows what you tried to send and why delivery failed — no "I sent it but it never arrived" black holes.
@joelteply
joelteply force-pushed the codex/lightweight-join-install branch from 5a6874c to 1155bac Compare May 5, 2026 03:54
@joelteply
joelteply merged commit 8672941 into canary May 5, 2026
6 checks passed
@joelteply
joelteply deleted the codex/lightweight-join-install branch May 5, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants