Repository navigation
Keep install lightweight around join - #510
Merged
Merged
Conversation
There was a problem hiding this comment.
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_idin 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.
| 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. |
| ## 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
force-pushed
the
codex/lightweight-join-install
branch
from
May 5, 2026 03:54
5a6874c to
1155bac
Compare
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
airc daemoncommand surface: install/restart now refuse, status points users toairc join/airc quit, uninstall remains for legacy cleanupValidation
python3 test/test_monitor_formatter.py./airc doctor --tests python_unitsbash -n install.shbash -n aircbash -n lib/airc_bash/cmd_send.shbash -n lib/airc_bash/cmd_connect.shbash -n lib/airc_bash/cmd_daemon.shbash -n lib/airc_bash/cmd_doctor.shairc daemon installrefuses; foregroundairc joinrecovered the scope andairc statusreported fresh heartbeats on #cambriantech + #generalNote: 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.