Skip to content

macup v6.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:44
· 19 commits to main since this release

macup v6.0.0

Fast, DAG-parallel, autonomous macOS update orchestrator with a unified Bubble Tea terminal shell.

Homepage: https://hmarzban.github.io/macup/


Install

Homebrew (recommended)

brew install HMarzban/tap/macup

Installs the universal macOS binary (arm64 + x86_64) along with Zsh, Bash, and Fish tab completions.

Go Install (Go 1.26+)

go install github.com/HMarzban/macup/cmd/macup@latest

Highlights

  • 5-Lane Parallel DAG & Zero-Fork Discovery

    • Critical-path EWMA scheduling (Homebrew, Toolchains & Editors, System & Apps, Services, Wrap-up) with batched formula upgrades and sliding-window Brew downloads.
    • Pure-Go binary/XML plist parser (internal/plist), stdlib debug/buildinfo for $GOBIN tools (+ Rosetta amd64 detection), pure-Go CellarGraph, Homebrew 7 JWS (+ legacy fallback) catalog reader, and PrefetchPlan + FeedCache handoff.
    • ETag-cached Node/nvm checks and concurrent Go proxy fast-paths honoring GOPRIVATE/GONOPROXY/GONOSUMDB.
  • Autonomous Autopilot Engine & TCC-Free macOS Guards (macup autopilot)

    • Opt-in single launchd LaunchAgent (dev.macup.agent, 0 MB idle RAM, 15m fast-tick, off / prefetch / smart-apply).
    • ~15ms parallel TCC-free guards for battery, Apple Silicon Low Power Mode (powermode 1), thermal load (pmset -g sysload), active calls/camera/screen-share assertions, metered hotspots, wake grace, load average, free disk (>= 5 GB), and HID idle — zero Full Disk Access prompts.
    • Opportunistic app-quit apply for verified pure-.app, non-sudo, user-writable casks 5 minutes after quit, zero-spam deduplicated notifications with quiet hours, and <1ms macup status [--greeting|--prompt] badges.
  • Offline Self-Healing Rollback & Explainable Risk Engine (macup rollback)

    • Transparent RiskTier (low | medium | high) + []RiskTag + --explain policy engine with CalVer-safe major-bump detection.
    • Preserves prior Homebrew Cellar kegs (HOMEBREW_NO_INSTALL_CLEANUP=1, 7-day retention) and takes instant APFS Copy-on-Write (cp -cRp) backups before applying pure-.app casks.
    • Post-apply health gates (Mach-O non-system dylib verification, 3s crash/dyld smoke test, codesign --verify) with automatic rollback and 3-strike quarantine.
  • Unified Bubble Tea Shell, 6 Adaptive Themes & Smart Context-Aware Footers

    • Seamless flow across Step Picker (macup -i) → Live DAG → 7-Tab Report (macup report) → Exit Scrollback Receipt with full mouse/trackpad support and context-aware footers across every tab and overlay.
    • Preferences & Theme Studio (macup settings / S) with automatic terminal background RGB detection across 6 WCAG themes (cyberwarm, midnight, tokyo, gruvbox, catppuccin, mono), 6 custom brand icons, and 3-tier iconography (macup icons).
    • 1-keystroke Smart Rules (z/Z snooze, t auto-policy, p pin/ignore, U batch cached flush, m migrate deprecated, b Rollback Inspector), plus a hidden 30 FPS NEON DAG // SECRET ARCADE 2.0 Easter Egg (click the top-left brand emblem 5× or run : → arcade).
  • OWASP & macOS AppSec Hardening

    • Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-PATH lookup, -- option terminators & positional bash -c args, atomic 0444 root:wheel Touch ID sudo_local, 0700/0600 + O_NOFOLLOW local files, DNS-validated public-HTTPS SSRF protection on feeds & webhooks, bplist00/XML bomb budgets, CWE-150 terminal/Markdown sanitization, expanded secret redaction, reproducible CGO_ENABLED=0 -trimpath -buildid= builds, and SHA-pinned GitHub Actions.

Verification

Verify the release archive against checksums.txt:

shasum -a 256 -c checksums.txt --ignore-missing

Full details in CHANGELOG.md and SECURITY.md.