Repository navigation
fix(install): clearer firewall step + purge Python from the live path - #1256
Merged
Merged
Conversation
…if declined) The firewall rule is the airc grid's front door on Windows — inbound from unknown programs is blocked by default, so without it no LAN peer can reach this node. The setup used to fire the UAC prompt with only a one-line aside, so the elevation request read as a mystery. Now setup prints a short WHAT/WHY/HOW block before the prompt (same spirit as an app asking for notification permission), so it's an informed click. And if the user declines/cancels the UAC, we say plainly that LAN connectivity will NOT work and how to fix it later — no silent half-broken state. Co-Authored-By: Claude Opus 4.8 <[email protected]>
The Rust-cutover guard was red on canary (blocking every PR): the embedding and generate facility smoke scripts still shelled out to python3 to pretty- print a JSON field, and install.ps1's Windows-Server fallback still told users to `choco/scoop install python ... jq`. airc is a Rust binary — nothing here needs a Python runtime or jq (gh's built-in --jq flag does the JSON). - smoke.sh (embedding, generate): drop the python3 branch entirely — single pure sed/tr/grep path that still asserts the array/content and reports the exact dim / echoes the text. No "install python3 for…" degraded fallback. - install.ps1: Server fallback now says `git gh rust` (the real prereqs), not `python git gh jq`; example comments updated off Python.Python.3.12. - install.sh: collapse the "we dropped Python/openssl/jq (issue #341)" legacy- archaeology comments into plain statements of what IS required. Guard now green; both installers parse-check clean. Co-Authored-By: Claude Opus 4.8 <[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.
Two install-path cleanups, both UX/correctness — no behavior change to the airc binary itself.
1. Explain the Windows firewall step (and that LAN breaks if declined)
On Windows, Defender blocks inbound from unknown programs by default, so airc's LAN listener is unreachable until a firewall rule exists (signing doesn't help — firewall ≠ SmartScreen). Setup already adds the rule and only UAC-prompts when needed, but it fired the prompt with a one-line aside, so the elevation read as a mystery.
2. Purge Python from the live path (Rust-only, no fallbacks)
The
rust_cutover_guardwas red on canary (blocking every PR):integrations/{embedding,generate}-facility/smoke.shshelled out topython3to pretty-print a JSON field. Dropped the python branch entirely — single puresed/tr/greppath that still asserts the array/content and reports exact dim / echoes the text. No degraded "install python3 for…" fallback.install.ps1Windows-Server fallback told users tochoco/scoop install python … jq. Nowgit gh rust(the real prereqs).jqwas never needed —gh api --jqis gh's built-in flag.airc joinsilent exit 1 (LibreSSL can't do Ed25519) #341)" legacy-archaeology comments ininstall.shinto plain statements of what IS required.Guard now green; both installers parse-check clean.
🤖 Generated with Claude Code