Skip to content

fix(codelima): avoid XProtect collision and restore terminal controls - #1

Merged
brianrackle merged 1 commit into
mainfrom
fix/macos-xprotect-terminal-kvm
Oct 28, 2026
Merged

brianrackle merged 1 commit into
mainfrom
fix/macos-xprotect-terminal-kvm

Conversation

@brianrackle

Copy link
Copy Markdown
Owner

Why

Keep local KVM testing and terminal emulation working while fixing macOS's v1.0.0 malware false positive. The new Overview formatting placed ordinary strings together in the Go binary and matched Apple's FRIENDLYFERRET rule.

What changed

  • Preserve isolated caller paths through sudo-rs and document the verified nested KVM machine override.
  • Compose port rows without the colliding format literal and reject the known collision in both Darwin archive payloads.
  • Restore configurable Shell-tab reordering, correct terminal-read help, and provision the native ABI verifier dependency locally.

Scope

  • Retains the existing Homebrew release method without requiring a Developer ID account.
  • Public release, notarization, quarantined Gatekeeper acceptance, and remaining manual release qualification stay open in TODO.md.

Blast Radius

Port rows retain their displayed text and terminal moves use daemon-owned order. Focused terminals keep receiving their keys, and KVM group access remains process-local.

Verification

  • Application make verify test-race test-integration test-package test-lima-native passed on Linux and native macOS; the Mac full suite used GO_TEST_PARALLEL=1.
  • Active XProtect 5368 rules reproduced the old CLI match and found zero matches in both native candidate executables. Real KVM/VZ guests, terminal continuity/recovery, and disposable Homebrew install/test passed their recorded subsets.
  • Both native ABI manifests, native Debug compilation, and bridge/adapter checks passed. The optional full upstream VT run has two existing disabled-glyph fixture failures, tracked in TODO #41.

The QA record includes raw evidence, qualification gaps, cleanup, and verification side effects.

Preserve isolated runtime paths through sudo-rs and keep tab ordering in the existing daemon session store.

Record native KVM, VZ, Homebrew, and full-rule XProtect qualification, including remaining release limits and verification side effects.

Copy link
Copy Markdown
Owner Author

Independent release verification: PASS+NOTES.

Verifier /root/ship_verify_v101 did not author this change. Reviewed head 3b79c492e88a023e6a8c1f17312762d1b45ca645, base main at b4e55a5206780b57911f1f0228ab64335915b783, stable patch-id 95447a565fc20a3c83a2ebd636f791a4d407e303.

Focused terminal-reordering/Overview and release tests passed. A newly built 1.0.1 CLI and renderer completed real isolated daemon host-shell open, input, ANSI/Unicode output, close, and cleanup. The verifier inspected the committed parent-failure controls and native XProtect old-positive/new-negative evidence. All five PR CI jobs passed on Linux and macOS.

The verdict retains the qualification limits in plans/installation-terminal-qa/README.md and TODO.md, including the two existing optional upstream glyph-fixture failures. It makes no new notarization or Gatekeeper claim. This is the sole PR in the verified run for v1.0.1.

@brianrackle
brianrackle merged commit 50df964 into main Oct 28, 2026
5 checks passed

Copy link
Copy Markdown
Owner Author

Published v1.0.1 as the regular Latest release at d0c2817b04eaac435e7305828fe66368ae3723a4. The tag contains the verified merge plus release notes only.

All jobs in release run 40641406118 succeeded, including verification, race, integration and packaging on Linux amd64, Linux arm64 and macOS arm64, publication, and Homebrew tap update. Downloaded all six public assets and checked archive SHA-256 values against their manifests and the tap formula. The downloaded Linux arm64 pair passed make test-package-artifact.

Scanned the actual published macOS executables on the Mac host using yara-python 4.5.4 and the full active XProtect 5368 rules. The old v1.0.0 CLI still matched XProtect_MACOS_FRIENDLYFERRET_SECD; both published 1.0.1 executables had zero matches. Both published signatures verified and the CLI launched as 1.0.1. Rules SHA-256 fce4574c0b429b3b70262f320ac630db483b6055606c399747daba496d180d5c.

Published archive SHA-256 values:

  • macOS arm64: d12cf2914547ea8538e852f448d821d05dbfc41a3fc661e615c5eff18e58815f
  • Linux amd64: c9176bac584258d0cfc604e3ccd2b44e1a13c47129ed9620de6ba3c5c1e54f22
  • Linux arm64: fcdda97aed208eddbd95350a39800105aa1a365433f9c73e9f6e9464332c3a9c

The existing signing and remaining manual-qualification limits remain as described in the release notes.

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.

1 participant