dotfiles / macos_update
AGENTS.md16 starsChanged 48 days agoMITView on GitHub
In this repository50 other files it gives its agents.
- ableton/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- aichat/AGENTS.mdAGENTS.md
- aider/AGENTS.mdAGENTS.md
- annepro2/AGENTS.mdAGENTS.md
- applesauce/AGENTS.mdAGENTS.md
- atuin/AGENTS.mdAGENTS.md
- btop/AGENTS.mdAGENTS.md
- chromium-vimium-extension/AGENTS.mdAGENTS.md
- claude-code/AGENTS.mdAGENTS.md
- codex/AGENTS.mdAGENTS.md
- constants/AGENTS.mdAGENTS.md
- contextMenu/AGENTS.mdAGENTS.md
- cron/AGENTS.mdAGENTS.md
- docker/AGENTS.mdAGENTS.md
- docker-logger/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- dotfiles_tests/AGENTS.mdAGENTS.md
- eza/AGENTS.mdAGENTS.md
- firefox-vimium-addon/AGENTS.mdAGENTS.md
- fork/AGENTS.mdAGENTS.md
- git/AGENTS.mdAGENTS.md
- hammerspoon/AGENTS.mdAGENTS.md
- heroic/AGENTS.mdAGENTS.md
- homebrew/AGENTS.mdAGENTS.md
- iina/AGENTS.mdAGENTS.md
- install/AGENTS.mdAGENTS.md
- iterm/AGENTS.mdAGENTS.md
- jetbrains rider/AGENTS.mdAGENTS.md
- karabiner/AGENTS.mdAGENTS.md
- lazydocker/AGENTS.mdAGENTS.md
- lazygit/AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- macos_cleanup/AGENTS.mdAGENTS.md
- macos_shortcuts/AGENTS.mdAGENTS.md
- marta/AGENTS.mdAGENTS.md
- noti/AGENTS.mdAGENTS.md
- npm/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- qdrant/AGENTS.mdAGENTS.md
- rtk/AGENTS.mdAGENTS.md
- tmux/AGENTS.mdAGENTS.md
- uv/AGENTS.mdAGENTS.md
- voiceink/AGENTS.mdAGENTS.md
- vscode/AGENTS.mdAGENTS.md
- xcode/AGENTS.mdAGENTS.md
- zap/AGENTS.mdAGENTS.md
- zsh/AGENTS.mdAGENTS.md
- claude-code/CLAUDE.mdCLAUDE.md
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
macos_update — the update half of the up command: system-wide package & tool updates
update_all.shis the update phase thatupruns.up(alias inzsh/aliases.sh) sourcesmacos/update_all_and_cleanup_all.sh, which runs thisupdate_all.shfirst, thenmacos_cleanup/cleanup_all.sh— both as child zsh processes (not sourced), then reloads the shell.- It updates everything in one pass: Homebrew, Mac App Store (
mas), VSCode extensions, Appium plugins, .NET tools, pre-commit hooks, Oh My Zsh, Powerlevel10k, TLDR/Bat caches, Atuin sync - Runs
brew bundle dump --force --describeto sync the live Homebrew state back intohomebrew/brewfile— so the brewfile is regenerated from the machine, not hand-edited here. - Refreshes the RAG index by sourcing
$DIR_RAG/rag.sh(the~/projects/ragrepository) and runningrag refresh(best-effort; skipped when rag is not cloned, failures tolerated if litellm/qdrant are down). - Also triggers other dotfiles subsystems:
docker/up.sh,$DIR_SERVICES/immich/sync.sh(skipped where that project is absent),$DIR_LITELLM/scripts/check-models.py,$DIR_SKILLS/shared/skills-repos/update.sh,docs/keyboard/generate.py, andrtk gain. - strips
com.apple.quarantinexattrs from/Applications/*.appafter upgrades);update_all.shsources it and calls it. - Static Data Compression runs
applesauce/compress.shlast, after every step that could rewrite an SDK — decmpfs is dropped on write, so compressing earlier would just be undone. Everything about it (tool choice, thresholds, the.dotnet/packstrap, app-bundle permissions) lives inapplesauce/AGENTS.md. - Security Guards section catches silent drift on settings whose failure mode is invisible — the OS looks healthy either way, so only an explicit check surfaces them:
- Screen lock must be
immediate, else a closed lid leaves the Mac unlocked for that long.sysadminctl -screenLock statusneeds no auth, reports on stderr and always exits 0 — parse the string, never the exit code; and the healthy value is the wordimmediate, not0 seconds. The reset does need auth, so it runs-password -(interactive prompt), which only fires on drift. - XProtect signatures. Real incident: they sat two months stale because
ConfigDataInstallwas 0. On Tahoe the enforced copy lives in/var/protected/xprotectand is converted from what Software Update fetches, so that one key freezes both channels — and the legacyXProtect.bundlepath reports a number that is not what the system enforces. Usexprotect version. A missing pref key is not proof of "off" (Apple omits it when the GUI writes it), so only an explicit0is flagged;softwareupdate -l --include-config-data(~7 s) is the ground truth. This guard warns and never fixes:upis deliberately sudo-free and both remedies need root.
- Screen lock must be
- Invariant: per repo fail-fast policy, do not add existence/availability guards around tools — missing tools should fail loudly. Per-step
|| echofallbacks exist only for network-dependent services (rag, litellm, immich/i9) that are expected to be intermittently offline.|| trueis used only where non-zero status is informational, not a failure (brew doctorwarnings, locked in-use files). upasks for the password once.macos/update_all_and_cleanup_all.shrunssudo -vfirst and keeps the timestamp alive in the background until the run ends; before that, casks in a longbrew upgradeand then the cleanup each asked again.- «Needs attention». The same script exports
UP_ATTENTION(a temp file) and prints it at the end. A step reports a problem with one line:attention "…"in these scripts (functions.sh,macos_cleanup/helpers.sh, where everyspinner_stop_erroralso lands there), or>> "${UP_ATTENTION:-/dev/null}"from another repository (skills-repos, immich, LiteLLM model check). Only problems the owner should act on — not progress. - Static Data Compression prints only what it compressed: nothing at all, heading included, when no file changed. On a terminal a live line names the app being compressed and is erased afterwards; run by hand, an unchanged run ends with «nothing new to compress».
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

