Repository navigation
macup v6.0.0
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/macupInstalls 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@latestHighlights
-
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), stdlibdebug/buildinfofor$GOBINtools (+ Rosettaamd64detection), pure-GoCellarGraph, Homebrew 7 JWS (+ legacy fallback) catalog reader, andPrefetchPlan+FeedCachehandoff. - ETag-cached Node/nvm checks and concurrent Go proxy fast-paths honoring
GOPRIVATE/GONOPROXY/GONOSUMDB.
- Critical-path EWMA scheduling (
-
Autonomous Autopilot Engine & TCC-Free macOS Guards (
macup autopilot)- Opt-in single
launchdLaunchAgent (dev.macup.agent,0 MBidle 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<1msmacup status [--greeting|--prompt]badges.
- Opt-in single
-
Offline Self-Healing Rollback & Explainable Risk Engine (
macup rollback)- Transparent
RiskTier(low|medium|high) +[]RiskTag+--explainpolicy 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-.appcasks. - Post-apply health gates (Mach-O non-system dylib verification, 3s crash/dyld smoke test,
codesign --verify) with automatic rollback and 3-strike quarantine.
- Transparent
-
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/Zsnooze,tauto-policy,ppin/ignore,Ubatch cached flush,mmigrate deprecated,bRollback Inspector), plus a hidden 30 FPS NEON DAG // SECRET ARCADE 2.0 Easter Egg (click the top-left brand emblem 5× or run:→arcade).
- Seamless flow across Step Picker (
-
OWASP & macOS AppSec Hardening
- Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-
PATHlookup,--option terminators & positionalbash -cargs, atomic0444 root:wheelTouch IDsudo_local,0700/0600+O_NOFOLLOWlocal files, DNS-validated public-HTTPS SSRF protection on feeds & webhooks,bplist00/XML bomb budgets, CWE-150 terminal/Markdown sanitization, expanded secret redaction, reproducibleCGO_ENABLED=0 -trimpath -buildid=builds, and SHA-pinned GitHub Actions.
- Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-
Verification
Verify the release archive against checksums.txt:
shasum -a 256 -c checksums.txt --ignore-missingFull details in CHANGELOG.md and SECURITY.md.