Repository navigation
Conversation
…ldren Supply-chain re-scan (docs/SECURITY-AUDIT.md, 2026-11-07 addendum): - Pin every GitHub Action to a full commit SHA (same majors, latest patch) instead of a mutable tag; the packaging jobs hold the Developer ID certificate and notary key. Dependabot proposes updates. - actions/checkout: persist-credentials: false everywhere; no job pushes with git. - process_runner: spawn ipconfig/route with POSIX_SPAWN_CLOEXEC_DEFAULT and /dev/null stdin, so they no longer inherit the daemon's BPF, socket and libusb descriptors. - libusb: 1.0.30 is still the latest release; the pinned tarball hash was re-verified against the GitHub release asset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
GitHub's xcode-27 image runs macOS 27 Golden Gate. Add it to the native C++ and root feth ABI matrices, plus a job that builds the app with Xcode 27, runs the Swift tests and checks that the bundled app launches and stays up. docs/MACOS-27.md reviews the macOS 27, 27.2 and 27.3 release notes against what TetherKitNext uses. Nothing documented breaks us; the launchd quarantined-plist change needs a check with a downloaded, notarized DMG on real hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
macOS 26+ picks a window's chrome from the sdk field of the binary's LC_BUILD_VERSION, and a SwiftPM link can record the deployment target there, which gives the whole app the legacy look. After linking, read minos/sdk with otool; if sdk is older than `xcrun --show-sdk-version`, rewrite only sdk with vtool (minos stays 14.0). The verify step fails the build if the signed app is still stamped below 26. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…nced → Interfaces Main window - MainWindowController owns an NSWindow with an NSHostingController (toolbar/title bridging, sizingOptions = [.minSize]) instead of a SwiftUI Window scene. With a MenuBarExtra, SwiftUI resurrected a closed Window scene whenever the app was activated; the 3-second isWindowPresentationExpected() workaround is gone. - The window opens from applicationDidFinishLaunching (bare `swift run` binaries too); applicationShouldHandleReopen now reaches us, so a Finder double-click reopens it in menu-bar-only mode. - Explicit File ▸ Close (⌘W); without a window scene SwiftUI adds none. It also closes a minimized main window. - Sidebar selection moves from @SceneStorage to @AppStorage (there is no scene to store into). TetherKitNextUIModel (new library target + tests) - Pane: sidebar sections, opt-in advanced pages, stale-selection fallback. Unit-tested. - InterfaceSampler / InterfaceRateTracker: getifaddrs plus 64-bit NET_RT_IFLIST2 counters (getifaddrs' if_data counters are 32-bit and wrap at 4 GiB); handles interfaces recreated with fresh counters. Advanced tools - Settings ▸ General ▸ "Show advanced tools" (off by default) adds an Advanced sidebar section. Its first page, Interfaces, lists every interface with MAC, addresses and live rates. Read-only, unprivileged, no daemon or network traffic. - New strings in all six languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
- docs/ADVANCED-TOOLS.md: ground rules (opt-in, unprivileged first, Local Network privacy) and a ranked roadmap: per-interface speed test via networkQuality -I, combined throughput and an honest take on interface bonding, LAN discovery, port checks, diagnostics, pcap. - GUI-ARCHITECTURE.md / AGENTS.md: AppKit-owned window rules, SDK stamp, 64-bit interface counters, spawn fd hygiene, SHA-pinned actions. - README: the optional Advanced section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
- capi.process: children inherit no extra descriptor and read EOF on stdin (POSIX_SPAWN_CLOEXEC_DEFAULT + /dev/null). Runs on macOS 15 arm64/Intel, 26 and 27. - The DMG smoke job becomes a matrix: the shipped universal app is installed and launched on macos-15 (arm64) as well as macos-15-intel. - docs/MACOS-27.md: availability table for every new API (all <= the macOS 14 app / 13.3 CLI floors) and what still needs a manual check (macOS 14 GUI, macOS 13.3 CLI: no GitHub runners). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
The xcode-27 job and the macos-15/26 jobs share runner.os/arch, so they shared one cached libusb. The copy built on macOS 27 with the 27 SDK was restored on macOS 15 and 26, where USB enumeration (capi.basics, tk_list_devices) segfaulted. Each runner now builds or reuses only a libusb from its own toolchain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
The cache mix-up showed that a libusb built on macOS 27 with the 27 SDK segfaults during enumeration on macOS 15 and 26, while fresh Xcode 26 builds pass everywhere (all C++ / feth jobs green after keying the cache by SDK). Selecting the newest Xcode would silently switch releases to 27 once runner images add it, so package and release jobs now pick the newest Xcode_26*. Documented as AGENTS.md pitfall 33 and in docs/MACOS-27.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
The Xcode 26 pin for shipping builds was applied to every matching step, including gui-macos-27, whose runner has only Xcode 27. That job exists to build with Xcode 27, so it selects the newest Xcode again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…ault route Not every RNDIS device is a phone. Drones and remote controllers, FPV goggles, gadget-mode boards and cameras are local links, often with a fixed address, no DHCP server and no router. - peer_address.h: the bridge reads the device's own IPv4 from frames only it can have sent (ARP sender; IPv4 to 255.255.255.255 or 224.0.0.0/24). Ordinary unicast is ignored, because phones forward internet traffic. It costs a few byte loads per RX frame and one relaxed atomic store on change. Exposed as tk_session_status_t.peer_ipv4 (appended field). - ApplyDhcp: when "route all traffic" was requested but no stable router appears, move our SCNetworkService back to the end of the service order (DemoteManagedNetworkService), so a device without internet never outranks Wi-Fi/Ethernet. - Tests: core.peer_address (frame rules, observer), capi.basics (peer_ipv4 empty when idle). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…them - LinkAssessment (TetherKitNextUIModel, unit-tested): waiting / internet / local link / no address, judged from live facts only (lease, router, the device's address) and recomputed every poll. It is never stored per device and never probes the internet, so a slow phone is not remembered as "local", and a late lease flips back to internet by itself. - Overview LinkKindCard (hidden for normal phones): explains local devices, shows both addresses, suggests an address next to the device when it has no DHCP, applied for this connection only (never saved), plus "Try automatic again". Status reads "Connected · local device". - DHCP problems after Connect are no longer alerts. - Strings in all six languages; README section "Devices that aren't phones"; docs/LOCAL-DEVICES.md (design and the alternatives to persisting the device kind); AGENTS pitfalls 34-36. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…o English Translation tables (LocalizedStrings.swift, messages.def) and the bilingual DMG artwork are unchanged. Kept on purpose: multibyte test data (UTF-8 truncation, argv pass-through), the two i18n tests that verify the zh table itself, ParseLanguage's "中文" alias, and the zh full-width separator. - tests/: all TEST_CASE/SUBCASE names, messages and literals. - Tests that pinned Chinese only to match their needles now pin English (stats line, CONDIS error, keep-alive fatal, MalformedReason name). - Fix a vacuous check: "repeated enumeration does not reinitialize libusb" searched the logs for Chinese text while running in English, so it could never fail. It now pins English and matches "libusb initialized". - The root-test skip notice and the CI gate that greps for it changed together; with a stale needle, skipped feth cases would pass silently. - CMake options/messages and configure summary, benchmark report text (docs/BENCHMARKS.md generator), static_assert messages, Swift test assertion messages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Driver core - TX: the send thread pushed unused slots back into tx_free_slots_, a single-producer ring the libusb completion callback also pushes to. A lost slot drains the 4-slot pool and stalls TX for good. Unused slots are now held in held_tx_slot_ (send thread only) and reused first. - Bridge::Start: when StartReceiving failed partway, in-flight bulk IN transfers outlived rx_ring_/counters_ (use-after-free). Shut the channel down on that path. - RNDIS: completions are matched by RequestId as well as type, so a late reply to a timed-out QUERY is discarded instead of answering the next one (e.g. link speed parsed as media state). - RX drops seen by the injector thread get their own counters: two writers on one single-writer DirectionCounters lost increments. - Runtime: started_/stopped_ are atomic; Start() after Stop() is refused (it would spawn a thread the destructor never joins). The initial link-down state now pauses the bridge, and a device reset restores the link's pause state instead of forcing "running". C ABI / CLI - Orphan registry: rewritten atomically (temp + O_EXCL|O_NOFOLLOW + rename); re-creating a known interface name takes the new owner PID, so the next startup cleanup cannot destroy a live interface. - ApplyDhcp: demote the managed service when routing fails after the lease too, not only when there is no router. - tk_net_apply NUL-terminates the caller's fixed-size strings before use. - KiB sizes saturate instead of wrapping (C ABI); the CLI rejects --vid/--pid above 0xFFFF and oversized KiB values. CI - The root feth ABI step runs under bash with pipefail, so a failing ctest is no longer masked by `| tee`. - Xcode 26 selection matches release bundles only (no betas) and reaches the explicit error when none exists. Cleanup: unused IsCompletion/IsFailure/ElapsedSeconds/RxCounters/ Speed(), unused kCapiWhatUpdateScopedRoute, a corrected BPF batch-limit comment, "drain" wording in the C ABI docs. Verified locally on Linux with Darwin shims: RNDIS, codec, error, i18n, byte order, peer address, bridge, rings and stats suites (170 cases, 10,257 assertions). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
- XPC: requests time out after HelperConstants.requestTimeout (defined but unused until now), so a daemon that never replies cannot wedge isBusy and polling. A stale invalidation/interruption handler no longer discards the newer cached connection. - The UI language is pushed to every daemon that appears (install, approval, restart, update), not only on a language change. - Errors raised while the window is closed (menu bar Connect) bring the window up instead of staying invisible. - Launched as a login item: start in the menu bar without opening the window. - Launch at login: no unregister() after a failed register() overwriting the first error. - Throughput: no ~10^19 bit/s spike when a new session follows a failed one (counters reset). - windowDidAppear refreshes only when the window was hidden, so focus changes no longer interleave a second refresh with the poll loop. - Session-only address / auto-configure note are cleared only after a successful apply or clear; a typed address is cleared between sessions. - Interfaces page: no sampling while the window is hidden; IPv6 link-local addresses print correctly (embedded scope moved to sin6_scope_id); the 64-bit counter read retries on ENOMEM. - Netmask 0.0.0.0 is rejected. DNS rows use bounds-checked bindings. - Hiding advanced tools forgets an advanced page selection. - Dead code: stopPolling, glassGroup, isUnreachable, isPermissionDenied, stopLogCapture, withReference, the unused helperComponentVersion key. Stale AEWP and machine-translated comments rewritten. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
… error in a bridge test - HelperClient: NSXPCConnection is not Sendable, so the invalidation handler can't capture it (not even weakly). Identify the connection by ObjectIdentifier and take it out of the cache under the lock instead. - test_core_bridge: "a failed link write..." read io_errors right after injecting; on the slow Intel runner the failing second write had not happened yet. Wait for it with WaitFor instead of sampling once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…2-#25) Reimplemented for this codebase rather than cherry-picked: - #19 (default route after teardown): manual-mode "route all traffic" changes the kernel default route behind configd's back; clearing the config or destroying the interface left the Mac without a default route. Instead of caching the previous gateway (stale after a network change or helper restart, as upstream does), ReconcileSystemDefaultRoute reads configd's primary router from State:/Network/Global/IPv4 and restores it, only when the kernel route is missing or still goes through our interface (never over a VPN's route). - #22: re-enumerate right before connecting (Android re-enumerates when tethering is toggled) and pass VID/PID along with the bus address, so a stale address can't select another device; manual refresh drops a stale selection. - #6 (macOS 27: launchd refuses quarantined plists): strip com.apple.quarantine from the bundled LaunchDaemon plist before each SMAppService registration. - #24: bulk OUT timeouts are logged at debug level (still counted). The TX pool size is unchanged: 4 -> 16 trades latency for burst capacity and needs hardware benchmarks first. - #23: idle --stats lines print once, then as a 1-in-12 heartbeat. Its RX backoff is not needed: the injector already parks on a futex. - #25: no implicit animation on the throughput chart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…s a namespace Formats only lines changed relative to main (git clang-format with clang-format 18), so the new Lint workflow passes on this branch without reformatting untouched code. NamespaceMacros: [TEST_SUITE] keeps doctest suites unindented, as the tests are written. No behavior change: the local test build (170 cases, 10,271 assertions) passes unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
- codeql.yml: CodeQL for c-cpp, swift and actions (security-extended) on PRs, pushes to main and weekly; macOS 26 / Xcode 26 because CodeQL can't trace macOS 27 / Xcode 27 builds or analyze Swift 6.4 yet. libusb and the C++ library for the Swift job are built before init so only our own code is analyzed. - lint.yml: clang-format 18 on changed lines (blocking) with a repo-wide backlog summary, and clang-tidy on changed sources (advisory annotations). - release.yml: stable releases also upload TetherKitNext.dmg, a fixed-name copy, so releases/latest/download/TetherKitNext.dmg always resolves to the newest version. - README: a large "Download for macOS" button plus latest-version badge at the top, and the same direct link in Install step 1. - AGENTS.md: pitfalls 45-46, CI status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
… edit network settings before connecting - The daemon reports a failed session once and then returns idle, so the reason flashed for a single poll, and was lost entirely when the post-connect poll consumed it. AppModel now keeps it as lastFailure until dismissed (no authorization needed) or a new session starts. - SessionFailureCause classifies by libusb error name only (language independent) into disconnected / access denied / busy / timed out, with the raw message under Details. Unit-tested. - Network card stays editable before a session: settings are saved and applied on connect; only Apply/Clear wait for the interface. - Log view: clip to its rounded rect and scroll without animation (jitter). - CodeQL Swift job: build libtetherkitnext universal so the traced x86_64 slice links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
The release CDN answered HTTP 618, which --retry does not treat as transient. The sha256 check still guards the result. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…c2lh6q # Conflicts: # .github/workflows/codeql.yml
- SoftwareUpdater wraps Sparkle 2.10.1 (pinned exactly). Active only when Info.plist carries SUFeedURL + SUPublicEDKey, which build-gui.sh adds from TETHERKITNEXT_SPARKLE_PUBLIC_KEY; other builds stay check-only. - Update dialog (Install and Relaunch / Remind Me Later / Skip); automatic installs disabled; EdDSA verified before extraction plus Sparkle's same-Team-ID check. Menu, Settings badge and the auto-check toggle route through Sparkle when available. - After an update relaunch, the SMAppService daemon is restarted once its build differs and no session is running. - build-gui.sh embeds Sparkle.framework with ditto, re-signs it inside-out, ships its license; bundle checks understand frameworks. - release.yml: optional SPARKLE_ED_PRIVATE_KEY secret and SPARKLE_ED_PUBLIC_KEY variable. Stable releases sign the DMG (key via stdin), verify the signature with the key inside the built app (scripts/verify-sparkle-signature.swift), and publish appcast.xml (scripts/make-appcast.py) with GitHub's generated notes. - Docs: README updating, NOTICE, GUI-ARCHITECTURE 4.10, security audit addendum, AGENTS pitfall 48. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…for a local agent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…e auto-connect - Two layouts: Simple (round power button, device chip/picker, status with live speed, gear sheet) and Detailed (the sidebar layout). - New installs choose after the setup assistant, Simple preselected, with drawn previews. Updated installs keep Detailed and get a one-time announcement with a "Try the simple view" button. Switch any time in Settings, the gear sheet, or View > Use Simple/Detailed View (Shift-Cmd-L). - The simple window is fixed-size; the detailed frame is restored. - Simple view still covers several devices, failures (headline + Dismiss), local devices needing an address (one-click session-only address), update / background-component attention dot, VoiceOver announcements. - Opt-in auto-connect: never while the Mac has Wi-Fi or Ethernet (NWPathMonitor, feth excluded, unknown = online), once per plug-in, failover only after 10 s stable offline. Rules in AutoConnectPolicy, unit-tested along with the layout migration. - Strings in all six languages; README, GUI architecture, AGENTS pitfall 49. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Debug builds accept --render-ui-snapshots <dir>: each scene fills a fresh AppModel with sample data (never started: no daemon, USB or network), shows it in a real window and captures it with screencapture (falls back to in-process drawing). Light and dark, setup -> layout choice -> simple flow and detailed flow, plus the menu bar panel; writes manifest.json. Workflow runs on macOS 26 (Liquid Glass) and macOS 15 (fallback materials) and uploads the images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…curity policy CI used to start ~35 macOS jobs per push (push + pull_request duplicates on every branch, a full matrix per workflow). Now, without checking less before a merge or release: - push runs only on main; PRs via pull_request; concurrency keyed on the PR number so a new push cancels the previous run. - A Linux `plan` job: docs-only changes start no macOS job; draft PRs get a fast set (macOS 26 build + unit + root feth tests, universal app); ready-for-review PRs, main, a new weekly run and manual runs get the full set. The Finder DMG check runs only when the DMG scripts change. - native and abi-check merged: one VM per OS builds once and runs both. - `CI result` always reports and is the one check to require. - CodeQL: Linux languages on drafts, macOS ones when ready; docs ignored. clang-tidy only on ready PRs. UI snapshots on label/manual/ready only. - CONTRIBUTING.md (build, tests, conventions, CI rules, AI-assisted contributions), CODE_OF_CONDUCT.md (Contributor Covenant 2.1), SECURITY.md (private reporting), PR template and issue forms. - AGENTS.md section 10 makes the policy mandatory for every agent; pitfall 50. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…stronger connecting ring - Two or more devices: the same chip as for one device plus a small menu button to switch (a macOS menu label shows only plain text, which dropped the "Ready to connect" part). - Connecting/disconnecting: orange border on the button and a bolder pulsing ring, visible on the grey button. - UI snapshots: activate each window again before capturing, so windows are not captured with inactive chrome and tints. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
From the UI/UX critique of the runner screenshots:
- Contrast: the connected power button uses a darker green
(Design.connectedGreen, white text >= 4.5:1); errors show a red symbol
with the headline in primary text instead of red body text.
- One FailureBanner (headline, Details, Dismiss) for the simple view, the
status card and the menu bar panel.
- Detailed layout: Connect/Disconnect in the status card (the toolbar copy
keeps the Cmd-Return shortcut); no zero metrics before a session; plainer
wording ("No phone or device found", "Link active", "→" arrows); Subnet
mask no longer wraps; destructive "Disable Background Component" set apart.
- Simple layout: "Connecting…"/"Disconnecting…" inside the button (driven by
a dedicated isStartingSession flag, not isBusy); a reason line above the
session-only address button; one device name everywhere; transparent
title bar; centered in a 460 pt window; 28 pt hit targets; compact layout
switch in the gear sheet; shorter auto-connect text with the full rule as
a tooltip.
- Announcement cards are clickable; setup shows one plain sentence with
"Learn more", and "Show why the connection failed" only after a real
failure.
- kbps (SI) units; explanatory captions at footnote size in secondary color;
labelled language menu in the menu bar panel.
- All new and changed strings in the six languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
A macOS job that no runner ever picked up ended as `abandoned`, which the summary did not list, so `CI result` passed although the C++ tests never ran. Use an allowlist (success, skipped) instead of a denylist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…r data [skip ci] A safety net: no such file is tracked or has ever been committed (secret scan of the tree and the full history found none). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…d [skip ci] The changed-file list is computed on Linux; docs-only and Swift-only ready PRs no longer start a macOS runner just to find nothing to check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
- Delete an unreferenced pre-1.0 screenshot. - GUI-SPIKE.md becomes MACOS-NETWORKING-NOTES.md: only the still-true facts (feth/IOKit, SCNetworkService registration, ipconfig behavior, verification commands); the removed AEWP/setuid installer, Homebrew and spike-era API gaps are gone; correct registry path. - AGENTS.md: drop the v0.1.5 status block and dates; accurate test, CI and CMake facts; compact history row; single list of open items. - GUI-ARCHITECTURE, MACOS-27, SECURITY-AUDIT, BENCHMARKS, PERFORMANCE, DESIGN, LOCAL-DEVICES, ADVANCED-TOOLS: fix legacy labels, six-language GUI, Sparkle as an outbound connection, current CI job names; remove change narration and duplicated sections; benchmarks no longer tell you to overwrite the hand-written analysis. - README/CONTRIBUTING: runs on macOS 14+, builds on macOS 15+ with Xcode 26 and CMake 3.24+; clang-tidy runs only when C++ sources changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Comments only (verified: identical code with comments stripped, all 42 files). The removed AEWP/setuid/Homebrew installer model is no longer described; history narration, "upstream issue" references, banners, bold and "--" prose are gone; essays tightened with the reasons kept; comment lines wrapped to 120 columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Comments only (verified: identical code with comments stripped, all 103 files; changed lines clang-format 18 clean; scripts and workflows still parse, actionlint clean). - "this machine" (a translation artifact, and wrong: the code runs on any Mac) replaced; one-machine measurements cite AGENTS.md section 2. - History narration rewritten as the current rule and its reason (frame_ring futex park, bridge backpressure, Darwin timeout-0 tests, CTest quoting rules); upstream issue/PR references removed. - Stale references: GUI-SPIKE.md -> MACOS-NETWORKING-NOTES.md or GUI-ARCHITECTURE.md; no Homebrew formula; no setuid installer. - "deliberately" filler, banners, bold and "--" prose removed; "upstream" for the BPF buffer now says the kernel BPF buffer. - Comment lines wrapped to 100 columns (1,409 were over). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
…ection 11) [skip ci] Codifies what the repository-wide audit fixed: comments state the current why (no history narration, issue numbers, banners, "this machine", wrapped to 100/120 columns); docs describe the present with one source of truth, verified against the code; no secrets, personal or machine paths, or generated files committed. Adds scripts/check-comment-only.py to prove a cleanup changed comments only; CONTRIBUTING points to the rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Simple/Detailed layouts with auto-connect, Sparkle self-update, local-link devices, macOS 27 support, security and CI work (PR #8). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
… events [skip ci] Pushes, tags, schedules, manual runs and same-repository pull requests use the self-hosted runner (labels self-hosted + macOS) for every job that would take a macos-26 runner, including the release build. Pull requests from forks always stay on GitHub's runners, so outside code never runs there. MACOS_SELF_HOSTED=false switches everything back. AGENTS.md section 12 documents requirements, protection and maintenance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
The first runner is a macOS 27 machine, so it must not stand in for macos-26 (CodeQL cannot trace there; macOS 26 coverage would be lost). With MACOS_SELF_HOSTED=true: runner label tkn-xcode26 (Xcode_26.x installed) takes the release build and the universal app/DMG job; tkn-macos27 takes the xcode-27 jobs. Everything that tests macOS 15/26, CodeQL, clang-tidy and snapshots stays on GitHub's runners; fork PRs never use the self-hosted runner. AGENTS.md section 12 updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
… ci] The maintainer removed the self-hosted runner. Reverts e5cb967 and 7b02e5f so no job can wait for a runner that no longer exists, and drops AGENTS.md section 12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
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.
What and why
A large branch, grouped by topic. Each topic has its own commits and docs.
Security and macOS 27 (docs/SECURITY-AUDIT.md, docs/MACOS-27.md)
persist-credentials: false.ipconfigandroutewithPOSIX_SPAWN_CLOEXEC_DEFAULT, so they no longer inherit its descriptors.fethABI gate, and a GUI build with a launch test). The 27.0–27.3 release notes contain no breaking change for us.Window, advanced tools, local-link devices
build-gui.shstamps the app with the SDK it was built with, so macOS 26+ draws modern window chrome.NSWindow. Reopening from Finder works, ⌘W closes the window, and switching pages doesn't resize it.Cleanup and upstream
Self-update (Sparkle 2.10.1)
appcast.xml.Simple layout, layout choice, auto-connect
CI on shared macOS runners, and project files
main, weekly, and on manual runs.How it was tested
78895aa(16 jobs, including the macOS 27 GUI build and launch, and the DMG on macOS 15 arm64 and Intel)core.peer_address, the auto-connect rules and the layout migration have unit tests. The CI plan logic was checked locally for draft, ready,main, scheduled and docs-only cases.b6932f0: universal app and DMG built (the C++ job was superseded by the next push)fd48300(C++ build, unit and rootfethtests on macOS 26; universal app + DMG; CI result now fails on any non-success result, including jobs no runner picked up)ui-snapshotslabel)Repository settings needed:
main.ui-snapshotslabel.Checklist
AI assistance
Written with Claude Code (Opus). Sonnet agents searched for remaining Chinese text and reviewed the code for bugs, and one implemented the design-review fixes. Opus reviewed every change. The work follows AGENTS.md.
https://claude.ai/code/session_015mjUJdY1Lr5qCEHAzbbHPK
Generated by Claude Code