{"id":"ebd6b856-66da-4d6f-aeb7-779f07002152","task":"Read, write, and delete macOS user preferences using the defaults command-line tool","domain":"developer.apple.com","steps":["Read a preference value: defaults read com.apple.finder ShowPathbar","Write a boolean preference: defaults write com.apple.finder ShowPathbar -bool true","Write an integer: defaults write com.example.myapp LaunchCount -int 5","Delete a specific key: defaults delete com.example.myapp LaunchCount","Read all keys for a domain: defaults read com.example.myapp — output is a plist dictionary."],"gotchas":["Many macOS preferences are cached by the cfprefsd daemon; changes may not take effect in a running application until it re-reads its preferences or is restarted.","The domain argument is typically a reverse-DNS bundle identifier (e.g., com.apple.finder), but you can also pass an absolute path to a .plist file.","Type flags (-bool, -int, -float, -string, -array, -dict, -data) are required when writing; omitting them causes the value to be stored as a string regardless of content."],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/ebd6b856-66da-4d6f-aeb7-779f07002152"}