Release notes
The most recent builds of App Auto-Patch 4, newest first. Earlier builds are in the release archive. Get the current build from the Download page.
Build 130
Section titled “Build 130”Released November 20, 2026
Build 130
Section titled “Build 130”-
The LaunchAgents are listed and locked as App Auto-Patch, not Robert Schroeder. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 130.System Settings › Login Items & Extensions listed App Auto-Patch’s LaunchAgents under the name on the app’s signature, Robert Schroeder, as a separate managed entry users didn’t recognize. Their plists didn’t say which app they belong to, and the sample approval profile’s
TeamIdentifierrule for6GBSVT64FS(“Anything signed by App Auto-Patch development team (fallback)”) locked that entry on.- The per-user
xyz.techitout.appAutoPatch.loginagent the app writes forOpenAtLoginandKeepAlivenow hasAssociatedBundleIdentifiers=xyz.techitout.appAutoPatch, which launchd documents for this. The first launch after updating rewrites the plist an earlier build wrote; a copy launchd started restarts once from it. - The sample organization agent,
xyz.techitout.appAutoPatch.agent.example.plist, has the same key. A plist deployed from the old sample needs it added and redeployed. com.apple.servicemanagement-AppAutoPatch.example.mobileconfig, which the website offers and the Configuration Helper exports as Approve the root helper, replaces theTeamIdentifierrule with aLabelrule for each agent,xyz.techitout.appAutoPatch.loginandxyz.techitout.appAutoPatch.agent, beside the helper’s. Each matches only that launch item, where the team rule matched anything the team signs. A profile made from the old sample keeps the team rule until it is changed and redeployed.MDM-ServiceManagement.md(a new App Auto-Patch’s LaunchAgents section),MDM-LaunchAgent.mdand the README say this.
- The per-user
- A custom Installomator fork with fewer than 1,000 labels never installed.
Every Installomator download had to have at least 1,000 files in
fragments/labels, the upstream threshold from 3.x. A custom fork that carries only an organization’s labels failed that check, so withInstallomatorVersion=customthe root helper logged “Fewer than 1000 labels found — archive may be corrupt”, never installed Installomator, and tried again on every redeploy. Patching stayed off until the admin deployed the fork by hand (Workflow B).- A
releaseormaindownload is compared with upstream’s own count:Labels.txton Installomator’sreleaseormainbranch, read fromraw.githubusercontent.com. With fewer labels than it lists, the download installs and the log has a warning. With fewer than half, it isn’t installed: the error is logged, the installed copy stays, and the root helper’s next Installomator check downloads it again (in a minute when no copy is installed, otherwise the next day). - When
Labels.txtcan’t be read, 1,000 labels is complete, 500 to 999 installs with a warning, and fewer than 500 isn’t installed. - The count is of labels, not files, because
Labels.txtlists every name a fragment declares (audacity|\thenaudacity3)is two). On 2026-11-20,mainhad 1,310 files declaring 1,389 labels and the v10.10 release 1,299 files declaring 1,378, against 1,374 different names inLabels.txt. Comparing files would have warned on every download. - A
customdownload needs one label file.Labels.txtis upstream’s, so a fork isn’t compared with it. - The check runs on the download before it replaces the installed copy, so a broken archive never removes a working Installomator.
- Only
.shfiles infragments/labelscount, so a README or.DS_Storethere no longer adds to the count. - The root helper’s “Installomator setup failed” line now says what
went wrong, for example “The downloaded archive has 400 label(s); at
least 687 are needed”, instead of “InstallomatorError error 1”.
Each
InstallomatorErrorcase has a description.
- A
Build 129
Section titled “Build 129”Released November 18, 2026
Build 129
Section titled “Build 129”-
Update Selected on the Needs Update tab. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 129.People could pick which apps to update, but only one at a time: each row’s Update button started its own install, so with several apps waiting they had to come back for each one. The Needs Update tab now has a checkbox on each row and, above the list, a Select All checkbox and an Update Selected button.
- Nothing is checked when the tab opens. The button is disabled until an app is checked and then shows the count, for example Update Selected (3). Select All shows a dash while only some apps are checked, and checks or unchecks them all.
- Update Selected installs the checked apps one after another, in the list’s order, with App Auto-Patch’s own update last. Each row shows its spinner, then a green check or an orange warning, as in an Update All run.
- It works like a row’s Update button: no version recheck and no deferral prompt, since the person chose the apps. When the checked apps were the last pending updates, the cycle completes as it does after Update All.
- A run with every update pending in the cycle checked handles a
failed install as Update All does. With
WorkflowUpdateAllErrorCompletesPatchingon, the failed apps wait for the next cycle, the cycle is marked complete, and the menu bar and dashboard say Patching is complete for this cycle. With it off, App Auto-Patch tries again afterDeferralTimerErrorminutes. In the first test package, a last run whose Alfred install failed (Installomator exit 8) left the cycle open. A run that leaves other apps pending still leaves the cycle alone when an install fails. - A row’s Update button on the last app pending in the cycle follows
the same rule. Before build 129 its failed install left the cycle
open, so the deadline and the menu bar’s pending state stayed, even
with
WorkflowUpdateAllErrorCompletesPatchingon. App Auto-Patch’s own scheduled update (SelfUpdateMethod) is unchanged. - An app held until the next cycle after
InstallFailureLimitfailures (Skipped until the next cycle) doesn’t need to be in the run, as Update All leaves it out too. When held apps are all that’s left, a run that includes one of them is the cycle’s last, and a failure completes the cycle as above. In the second test package, Alfred, held after 7 failures with a limit of 3, was the only app left, and neither its row’s Update button nor Update Selected closed the cycle. - Update All does the same when held apps are all that’s left. The
dashboard’s and the menu bar’s Update All buttons used to be disabled
then, so the cycle stayed open until it reset. Now a click rechecks the
held apps and installs them once more without the deferral prompt, as
Update All does in a completed cycle. A failure is an Update All error
(
WorkflowUpdateAllErrorCompletesPatching), and a success completes the cycle. Deadlines, deferral timers and the updates notification still never install a held app. - Each row keeps its own Update button. The checkboxes are disabled while a check or an install is running, and the checks are cleared when Update Selected starts. An app that leaves the Needs Update list is unchecked, so it doesn’t come back checked with its next update. Checks are kept in memory only.
- A label ignored since the last check is left out and logged. The log
names the run
Update Selectedand the installed labels; telemetry reports it aspatchSelected. - There is no new key: the checkboxes show wherever the Update buttons do. The new strings are in all 15 languages.
Build 128
Section titled “Build 128”Released November 18, 2026
Build 128
Section titled “Build 128”-
An organization’s banner on the dashboard and prompts. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 128.3.x drew a banner at the top of its swiftDialog windows; 4.0 had none, so organizations that designed one lost it (public #347). The 3.x keys are back, with the same values, so 3.x profiles work unchanged:
BannerImage(a path,file://orhttps://URL,colour=#hexorgradient=#hex,#hex),BannerImageDark,BannerTitleandBannerHeight(40–240 pt). Two new keys place the title:BannerTitleAlignment(Left,CenterorRight) andBannerTitleFontSize(10–72 pt, default 26).- The banner spans the top of the dashboard, the deferral and deadline prompts, and the menu bar’s Install updates? confirmation. The menu bar panel has none.
- An image keeps its shape up to 150 pt tall unless
BannerHeightis set; a colour or gradient is 72 pt. A long title wraps to two lines and shrinks to fit. - The dashboard window grows by the banner’s height when it is shown, and shrinks back when the banner is removed, so the bottom of the app list stays in view. The top edge stays put and the window stays on screen. The amount added is saved with the window’s frame, so a relaunch doesn’t add it again.
- The app reads a local file itself. An
https://image is cached in the user’s Caches folder and refreshed once per launch, so an offline Mac keeps the cached copy. - Without
BannerImagethe dashboard looks as it did in build 127, with no icon or title above Status Dashboard. - A missing file or an unknown value changes nothing and logs one
BrandingBanner:warning.
-
DockIcon. A path orhttps://URL to a square image that App Auto-Patch uses as its icon while it runs. It shows in the Dock and the app switcher while the dashboard or Settings is open, which is the only time App Auto-Patch has a Dock icon. The icon in Finder, Launchpad and Notification Center stays App Auto-Patch’s: it is inside the signed app, and changing it there breaks strict signature checks. Removing the key restores the usual icon.
-
No on the menu bar’s Update All confirmation didn’t cancel. Since build 83, clicking No (or closing the window) only hid the Install updates? panel. Its 15-second countdown kept running out of sight and answered Yes, so the updates the user had just declined installed anyway. Only the first answer to the panel now counts (
ConfirmationGate), the panel’s view is removed once it is answered, andaap.logrecords the decline. -
Yes on Install updates? did nothing while a check was running. A Yes (or the countdown) during a check, staging or install queued the install until the app was idle, and the dialog stayed as it was, at 0:00:00. The queued install then ran only if the prompt hadn’t been shown again meanwhile. Update All shows it again as its check ends, so a user who clicked Yes during Re-check All Alerts and then a notification had their Yes dropped without a log line. Now:
- Yes or Update Now during a check, staging or install closes the prompt at once. The install runs on its own when the app is idle.
- Meanwhile the menu bar panel and the dashboard say Updates will install when the current check or update finishes. (all 15 languages).
- The prompt isn’t shown again while the install waits, and the open-apps notification and automatic focus deferral are skipped.
- The menu bar’s Update All waits the same way. It used to log and do nothing.
-
A new version of a label with no
appNewVersionwaited up to 7 days, or a reinstall. WithVersionComparisonInstallomatorFallback, the version Installomator read from such a label’s installer (asana, webex, webexmeetings, iterm2, karabinerelements, …) was kept forUnknownVersionCheckIntervalDays(7), and every check used it: Check for Updates, Re-check, the helper’sDiscoveryFrequencycheck and its background pass. Asana 2.11.0 came out on 12 November, a day after a Mac had read 2.10.6, and that Mac still hadn’t offered it, or 2.11.1, 6 days later. Uninstalling App Auto-Patch deletedlabel-check-history.json, so the next check read the installer again, which is why a reinstall found it. Now each check asks the server about the label’s download with oneHEADrequest (InstallerDownloadProbe) and reads the installer again when the answer changed:- It compares the final address after redirects, without its query
(signed CDN links change every time), and the size and
Last-Modifieddate of the last response.ETagcounts only when there is noLast-Modified. Asana’s 283 MB installer is on Amazon S3 behind CloudFront, whoseLast-Modifiedchanged 7 minutes after 2.11.1 was published. - The address is the label’s
downloadURLas it evaluates on the Mac (LabelVersionHelper.zshnow printsDOWNLOAD_URL). For a labelBrokenLabelRecheckDaysskips, it comes from the label file when the file assigns one plain address, or else from evaluating the label. label-check-history.jsonkeeps the address and the answer with each read (installerChecks.<label>.downloadURLanddownloadFingerprint). A read from build 127 or earlier has neither, so each such label is read once more after the update.- A read less than an hour old isn’t replaced, so a server whose
headers change on every request costs one download an hour at most. A
failed request, or a server that sends no size, date or ETag, changes
nothing:
UnknownVersionCheckIntervalDaysstill applies. - The root helper’s installer reads for the app (build 126) let its own check decide which reads still apply, so it reads one whose download changed. A label is held for 6 hours only when its last read failed; a read that was kept used to hold the label too.
- It compares the final address after redirects, without its query
(signed CDN links change every time), and the size and
Changed
Section titled “Changed”- Check for Updates and Discover Applications read those installers again when clicked. Check for Updates on the dashboard or
in the menu bar, and Discover Applications on the dashboard, download
and read again the installer of each label that reports no latest
version, although a saved read still applies (new XPC call
checkAppsReadingInstallers). The app shows what it read, and asks the root helper to read the installers again too (LabelCheckRun.installerReadsForced), so the next checks use the new version. The helper doesn’t read one label again within 10 minutes of its last read of it. Checks App Auto-Patch starts itself, Re-check, the check after an install and the first-run setup’s discovery use the saved reads, as before. A clicked check takes longer when such labels are installed: Asana’s installer took 11–25 seconds to read on the Mac that reported the delay.
Build 127
Section titled “Build 127”Released November 13, 2026
Build 127
Section titled “Build 127”-
Korean, Filipino, Swedish, Danish, Norwegian, Finnish and Polish. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 127.App Auto-Patch was translated into 8 languages besides English. A Mac whose preferred language was Korean or Filipino, as in a fleet with users in South Korea and the Philippines (public #349), saw the English prompts, deferral choices, deadline warnings and menu bar text. It now has 15 translations: Korean (
ko), Filipino (fil), Swedish (sv), Danish (da), Norwegian Bokmål (nb), Finnish (fi) and Polish (pl) join de, es, fr, it, ja, nl, pt and zh-Hans.- Every on-screen string (
Localizable.xcstrings) and the local network privacy prompt (InfoPlist.xcstrings) is translated. Each language uses Apple’s macOS terms where macOS has them, such as 메뉴 막대, menyraden or pasek menu for the menu bar. Filipino keeps the English words Filipino software uses, such as app and update (I-update). - macOS matches a Mac set to Tagalog (
tl,tl-PH) to the Filipino strings, so one translation covers both codes the request named. Norwegian (nb,no) was added so a Mac set to it doesn’t fall back to English beside the other Nordic languages. - The strings have no plural forms. Counts use wording that reads
correctly for any number, which matters most in Polish and Finnish,
and
%@values are placed where no case ending is needed. - The project’s
knownRegions,CFBundleLocalizationsinInfo.plistandScripts/check-string-catalog.mjslist the new languages, so the build check fails when a new string is missing any of the 15. - The translations are machine-made and haven’t been reviewed by native speakers yet.
- Every on-screen string (
Build 126
Section titled “Build 126”Released November 12, 2026
Build 126
Section titled “Build 126”- A warning when a configuration profile was uploaded as custom settings. A 4.0.0 (125) diagnostic bundle had a
.mobileconfiguploaded to Jamf Pro’s Application & Custom Settings. Jamf Pro makes every key of an uploaded file a setting, so the profile’s own settings, among them an IgnoredLabels with the GlobalProtect labels, sat one level down underPayloadContent. App Auto-Patch reads only top-level keys and never used them, and nothing said so.- When the managed preferences hold a profile under
PayloadContentwhose settings the top level sets differently or not at all, the log names them once per process: “PreferenceManager: The managed preferences hold a whole configuration profile under PayloadContent … so 3 setting(s) in that profile are not used: DaysUntilReset, IgnoredLabels, JamfReconAfterPatching.” It says to upload the.mobileconfigas its own profile, or thexyz.techitout.appAutoPatch.plistexport to Application & Custom Settings. - Payloads of type
xyz.techitout.appAutoPatchcount, as do themcx_preference_settingsof a Custom Settings payload (com.apple.ManagedClient.preferences) for the domain. - The diagnostic bundle’s
metadata.txthas a Configuration profile section with the same list (PreferenceManager.settingsUnusedInNestedProfile()). - Nothing reads the nested settings: which of two values was meant is the administrator’s to say.
- When the managed preferences hold a profile under
Changed
Section titled “Changed”-
The menu bar icon has a red badge while updates are pending. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 126.With updates pending, the menu bar icon changed from the shield to a filled download arrow, drawn like every state as a template image in the menu bar’s text color. Among the other black or white menu bar icons, the change was easy to miss.
- The pending-updates icon keeps its look and gets an 8 pt red dot
(
systemRed) at its top right, with a 1.5 pt clear gap around it, as on an app icon’s badge. It sits in the corner of the icon’s fixed 20 × 18 pt canvas, so the icon and its neighbors don’t move. - A template image is one color, so the badged icon is a full-color image. Its arrow is drawn in the label color of the appearance it is drawn in, which is the menu bar’s: dark on a light menu bar, light on a dark one. The drawing is done in a transparency layer, so the clear gap never reaches what is under the icon, such as the highlight while the panel is open.
- Only the pending-updates state is badged
(
StatusViewModel.menuBarIconHasBadge). Patching, staging, waiting for the helper and the helper or Installomator warning take the icon first, as before, and have no badge. The menu bar panel’s header icon is unchanged. - Tried in local 4.0.0 (125) builds against a whole-orange icon. The badge was chosen because the arrow keeps following the menu bar’s light or dark text color and only the dot is colored; #382 lists the other reasons. 8 pt is the largest badge whose gap clears the arrow; at 9 pt it cuts into it, and anything bigger needs a wider canvas for every state.
- The pending-updates icon keeps its look and gets an 8 pt red dot
(
-
The Zoom call check decides a meeting as 3.7.7 does. 3.7.7 fixed a Zoom check that reported a meeting all day, because Zoom can keep an
aomhostrunning for as long as it is open (public #343). Version 4 never usedaomhost; it held Zoom’s labels whileCptHostran. It now matches the rest of 3.7.7’szoom_meeting_active(ZoomCallDetector.meetingSignal):- Not in a meeting unless
zoom.usis running, so aCptHostleft behind after Zoom quits no longer holds Zoom’s updates. - In a meeting while
CptHostruns, as before. - Otherwise, in a meeting if
zoom.ushas UDP connections on port 8801, Zoom’s meeting media port (lsof -nP -w -a -i UDP -c zoom.us, 10 second timeout). This is only a fallback, because some networks carry Zoom’s media over 443. Before, a meeting withoutCptHostwent unnoticed, and withquit_killan Update All or the root helper’s deadline pass could quit Zoom during it. - With
VerboseMode, the log says which of these found the meeting: “ZoomCallDetector: Zoom meeting in progress: CptHost is running.” - The check still runs only with
ZoomCallActiveCheckon and a Zoom label about to be installed, andlsofonly whenCptHostisn’t found. Both callers, installs the app starts and the helper’s deadline pass, get the change.
- Not in a meeting unless
-
The package receipt’s version includes the build number. Every 4.0.0 package recorded the receipt version
4.0.0, whatever its build:Scripts/release.shgavepkgbuildonly the marketing version. An MDM that detects App Auto-Patch by its receipt (xyz.techitout.appAutoPatch.app), as Intune does, couldn’t tell one build from another. A fleet on build 114 counted 125 as installed with Ignore app version on or off, and self-update, broken until 125 , didn’t move it on either.- The package’s version, and so the receipt’s, is
<MARKETING_VERSION>.<CURRENT_PROJECT_VERSION>:4.0.0.126for this build. Dots rather than a hyphen keep version comparisons in order (4.0.0 < 4.0.0.126 < 4.0.1). Thepkg-refinDistribution.xmlcarries the same version; the installer’s title is still App Auto-Patch 4.0.0. pkgutil --pkg-info xyz.techitout.appAutoPatch.appand Jamf Pro’s inventory show4.0.0.126. Nothing in App Auto-Patch reads its own receipt version: theappautopatch4label compares the app’sCFBundleVersion, anduninstall.shuses only the package ID.AAP_BUILD=""still builds a package with the marketing version alone, and a build number that isn’t a whole number stops the script.- In Intune, Ignore app version set to No installs whenever the versions differ, older as well as newer, so a Mac that has updated itself past the uploaded build gets that build back. Turn it on again once the fleet is on 125 or later.
- The package’s version, and so the receipt’s, is
-
The root helper and the app now work alike (parity review, #384–#410). A review of what each side does that the other doesn’t found these.
Installing
- The helper’s closed-app pass installs App Auto-Patch’s own update last,
as every other run does. Discovery sorts by name, so
appautopatch4often ran early, and its package replaces the helper and quits the app, so the labels after it might never install. - Helper passes give each label 900 seconds, as the app’s jobs do
(
defaultInstallLabelTimeoutSeconds). They gave 600, and a timeout stops the whole install, so a large app could be cut off partway . - The app’s closed-app pass checks each app again just before installing
it, by path and bundle ID, as the helper’s own pass does. The app chose
the apps when it sent the job, and staging can take minutes, so an app
opened meanwhile got Installomator’s “Quit…?” dialog, which has no
timeout, in a pass meant to be silent. The helper’s own re-check now
matches bundle IDs too, not only paths. A label left this way is
reported as waiting (
RootHelperJobPolicy.appOpenedExitCode), not as a failure. - With
ZoomCallActiveCheck, Zoom’s update is checked against a meeting just before it installs, in the helper’s deadline pass and in the app’s jobs (zoomCallExitCode). It was checked once when the run started, so a meeting that began during staging or earlier installs went unseen . - The helper’s discovery looks in the console user’s
~/Applications, as the app’s does. Scheduled discovery, both passes andWatchApplicationsFolderused root’s home, so an app installed only there was missed withDiscoverySpotlightFallbackoff or for a wildcard label.
Schedules
- The app’s closed-app pass (
BackgroundPatchClosedAppsSchedulerinApp, the default) runs by the clock: the app looks every 15 minutes and after a wake, and runs a pass once the last one is a whole interval old (BackgroundPatchSchedule). It ran on a repeating timer on the uptime clock, which stops while the Mac sleeps, the bug #367 fixed for self-update. A skip that repeats on every look is logged once. - A deferral no longer holds the helper’s closed-app pass, as it never
held the app’s own pass or the at-login pass. A deferral is about the
prompt for open apps; these passes install closed apps only. The away
deferral, error retries and business hours set the same
NextAutoLaunch, so helper passes could be held all night.
Hard deadline while the app is closed
- The deadline pass also installs an app whose version check failed when
an update was found pending before, as the app’s own deadline install
does: a failed check isn’t evidence the app is current
(
DeadlineBackstopPolicy.pendingDespiteFailedCheck). Offline or rate-limited, a required update slipped past the deadline. - The deadline pass skips a label App Auto-Patch installed in the last
hour. With
quit_kill, a label whose version never matched could quit the app every pass. - A “not now” (an app or display in use) counts as skipped, not as a failure, as in the closed-app pass.
- Once a deadline pass installs everything it needs (or the failures
count as done with
WorkflowUpdateAllErrorCompletesPatching), the helper stands down for that deadline until the cycle ends or the app runs. It checked for updates again everyDeferralTimerErroruntil the app ran. - The handoff attempts to bring the app back belong to one cycle. At the
next cycle the helper hands back to the app first; with the attempts
used up, the new cycle’s updates were installed at once with
quit_killand no deferral window. - The helper finds the app running from any folder
(
GUIInstancePolicy.isAppAutoPatchRunning). The deadline enforcer matched only/Applications/App Auto-Patch.app, so with the app elsewhere it decided nobody was there and installed silently. - Deadline installs are shown at the next launch, in either scheduler mode, as “Installed N required updates at the hard deadline while App Auto-Patch was closed.” The observer watched only in helper mode and only announced passes under 10 minutes old, and the pass runs only while the app is closed, so these were never shown.
- Helper passes write the update history’s events, installation started and, for the deadline pass, installed at the deadline, as the app does for its own installs.
Runs the app sends
- The helper posts the per-run webhook for the app’s jobs
(
RootPatchJobResult.webhookPosted). The XPC service posted it only when it got the result, so it was lost when it gave up waiting, the user logged out or the helper restarted. With an older helper, the service still posts it. - The helper records the job it is running (
HelperPatchState.currentJob). An app opened or relaunched during Update All shows the install, with its rows, and doesn’t start a second run; when the job ends it checks those apps again. - The helper clears a leftover pass or job record when it starts. After
a crash or a
launchctl kickstart -kmid-pass, the app showed “Background patching…” and blocked Update All for up to an hour. - Installomator’s output is logged once, by the helper. The XPC service
logged it again, the whole output with
DebugMode.
Version checks
- The app asks the helper to read installers it can’t keep a read of
(
LabelCheckRun.installerReadRequests,HelperInstallerReads). Only root keeps a read, and only root can read a package label with nopackageID, but the helper checks for updates only in cases that aren’t on by default. So those labels stayed “check failed” and every check downloaded the other installers again withDEBUG=2. The helper reads up to 10 a loop, doesn’t read one again within 6 hours, and the app checks those labels again when it is done. - The helper’s scheduled-discovery list waits while a check or an install runs, isn’t applied over a newer check of the app’s own, and keeps the time the helper checked. It replaced the list mid-run and stamped the time it was noticed, up to 10 minutes later.
Settings, logs and diagnostics
- The helper reads settings in
/Library/Preferencesbelow the console user’s own, asUserDefaultsdoes for the app. Since build 125 it read only the user’s plist, so a value set withsudo defaults write /Library/Preferences/xyz.techitout.appAutoPatch …applied in the app but not in helper passes, deadlines orcompliance.json. - The helper no longer copies about two dozen settings from the user’s
plist one by one, with stricter type checks than the app’s; since build
125
loadConfiguration()reads them the app’s way. Only theInstallomatorOptionsallowlist, the self-update choice andWorkflowDisableAppDiscoveryare still added. A hold for labels Update All cleared until the next cycle, which could never apply in the helper’s closed-app pass, is removed. - Helper passes are counted in usage telemetry in either scheduler mode, including passes that finished while the app was closed.
- The per-user fallback log (
~/Library/Logs/AppAutoPatch/aap.log) is archived pastlogArchiveSizeKBintoarchive/beside it, as the shared log is. It grew without limit. - The diagnostic bundle has the helper’s state files in
state/(compliance.json, the install, version-check and failure histories, the webhook digest queue, the helper’s discovered apps and the staging record) and the app list asdiscovered-apps.json.
Unchanged on purpose: only the app works out patch cycles and deadlines; the helper reads the dates it wrote. After an update, the previous helper runs until the app re-registers it. The self-update schedule and telemetry run in the app only.
- The helper’s closed-app pass installs App Auto-Patch’s own update last,
as every other run does. Discovery sorts by name, so
Build 125
Section titled “Build 125”Released November 11, 2026
Build 125
Section titled “Build 125”-
Beta pre-releases, published apart from the release. Admins who want to try a build before it ships can install a beta, and nothing gives one to a Mac that didn’t ask for it.
- A push to the new
betabranch that raises the build number makes the pre-release<version>-<build>-beta.1, built, signed and notarized as a release is. Running the Release workflow by hand onbetamakes the next beta of the same build (beta.2, …). - Betas go to the downloads bucket as
AppAutoPatch-<tag>.pkgandAppAutoPatch-beta.pkg, withbeta.jsonfor the website’s/download/beta/page. Its notes are theCHANGELOG.mdbuilds since the current release (Scripts/beta-notes.mjs).latest.jsonis not touched, so the Download page and self-update (appautopatch4) never offer a beta. GitHub marks it a pre-release, and the Jamf Pro patch source and release dates leave it out. - The release reuses the build number, so a Mac on a beta of 126 updates
itself at 127. It is built from main as before, or with the Release
workflow’s new
promote_tag, which releases the beta’s notarized package unchanged. - The website rebuild uses the same Cloudflare deploy hook as releases.
Scripts/README.mdhas the steps.
- A push to the new
-
The menu bar and the dashboard show installer staging. With
WorkflowStageUpdateson, which is the default, installers are downloaded after an update check and before any install. Nothing showed this, so App Auto-Patch looked idle, sometimes for minutes, until background patching began.- The menu bar icon changes to a download tray while staging runs and no install is running.
- The menu bar header says “Staging Firefox (2 of 5)…”, with a progress bar. During a patching run’s staging step, it shows that until the first install starts.
- The dashboard shows a staging banner with the same text and bar.
- This covers all staging: after the helper’s scheduled discovery, before its closed-app pass and its own deadline installs, and in jobs the app starts, in either scheduler mode.
- The root helper writes
staging-progress.jsonin/Library/Application Support/AppAutoPatchwhile it stages, and removes it when staging ends. The app reads it every 5 seconds, and every 2 seconds while staging runs or for a minute after the app asks for staging. A record left by a helper that exited is ignored, and removed when the helper starts.
-
App Auto-Patch updates itself on a schedule: the check no longer leaves out its own label, and checks go by the clock. With
SelfUpdateEnabledon (nowSelfUpdateMethodBackgroundSchedule), App Auto-Patch leaves its own app list so that its self-update check can update it. That check asked discovery for theappautopatch4label alone, discovery applied the same rule and dropped it, and every check logged “Installomator did not return label ‘appautopatch4’; nothing to do”. So App Auto-Patch was updated neither from the list nor by the check. It only worked when Installomator had noappautopatch4label and App Auto-Patch used its own copy.- The check is its own XPC call (
discoverSelfUpdateLabel), and discovery keepsSelfUpdateLabelfor it whateverSelfUpdateMethodorIgnoredLabelssay. The app list is unchanged. - By the clock. The interval was a dispatch timer on the uptime
clock, which stops while the Mac sleeps: on a Mac awake 8 hours a day,
dailycame round about every three days andmonthlyalmost never. The app now looks every 15 minutes and a minute after the Mac wakes, and checks onceLastSelfUpdateCheckDateis a wholeSelfUpdateFrequencyold. The first look still waits 5 minutes after launch. - A check that is due while patching or discovery runs, or before the helper is ready, runs at the next look instead of a whole interval later. A failed check no longer counts as the last check; it is tried again after an hour.
- Each look reads the configuration, so a profile that turns the schedule
on or changes
SelfUpdateFrequencytakes effect without a relaunch. The log names theSelfUpdateMethodwhen App Auto-Patch launches and whenever it changes. - A Mac on build 124 or earlier with
SelfUpdateEnabledon cannot update itself to this build. Deploy it with your MDM, or turnSelfUpdateEnabledoff until the Mac has updated from its app list.
- The check is its own XPC call (
-
Fixes from the build 125 audit: self-update, required-label wildcards and the custom Installomator source.
- The Settings window’s self-update choice reaches the root helper.
The helper reads
SelfUpdateMethodandSelfUpdateLabelfrom the logged-in user’s settings when no profile sets them. A user who picks Off or On its own schedule is no longer updated by deadline and closed-app passes, or counted as pending incompliance.json. - The app list finds App Auto-Patch with a pushed Installomator. With
InAppList, a full discovery reads App Auto-Patch’s own copy ofappautopatch4when the labels folder doesn’t have it, as the scheduled check already did. - A check that finds no latest version (no network) is a failed check. It is retried in an hour instead of counting as the last check, and the check runs even for a label that update checks skip as broken.
- A profile’s deprecated self-update keys ignore their local values. Builds 124 and earlier saved them locally on every Save.
- App Auto-Patch’s own update is installed last in every run, by the app and the helper. Its package quits the app and replaces the helper.
- A custom
SelfUpdateLabelcounts as App Auto-Patch in the helper. It keeps Installomator’s own reopen and doesn’t start a Jamf recon. RequiredLabelswildcards no longer install missing apps. Only an exact label does.microsoft*used to install every missing Microsoft label, includingmicrosoftofficeremovaland the reset tools. A wildcard still keeps matching installed apps in.InstallomatorVersionCustomRepoPathaccepts only GitHub. It takesowner/repositoryor a github.com URL. A URL on another host used to be read as the GitHub repository named by its path, which was someone else’s.MDM-CustomInstallomator.mdeven gave such a URL as its example. Now the value is refused with an error in the log, and the installed copy stays. A blankInstallomatorVersionCustomBranchNameismain.
- The Settings window’s self-update choice reaches the root helper.
The helper reads
-
The rest of the build 125 audit: settings reach the root helper, saving Settings no longer copies the profile, and about 50 smaller fixes.
- The Settings window’s values reach the root helper. The
helper used to see only a few Settings values: Installomator options,
the webhook and Jamf recon settings, and GitHub authentication. Every
other setting a profile doesn’t set now comes from the logged-in user’s
preferences, as it does in the app. That covers Installomator’s source,
version comparison, logging,
DeadlineCountHard, self-update and the rest. Exceptions:InstallomatorOptionsis still filtered.PROXYis profile-only; the Settings field is read-only and says so.WorkflowUpdateAllErrorCompletesPatchingstays the profile’s while a hard deadline is managed.- With nobody logged in, profile values and defaults apply.
- Saving Settings no longer copies the profile’s values. A key the profile manages isn’t saved locally, and a copy an earlier Save made is removed. Before, a key the admin later dropped from the profile kept its old value, and the profile’s GitHub token was copied into the user’s preferences.
- Text values are read. About 30 settings ignored a profile’s
<string>true</string>or<string>6</string>, though the Settings control showed them as managed. They now accept text, as other settings already did.LockSettingsamong them. - Profile-only keys.
AdminTestModeEnabled, the custom Installomator repository and branch, andInstallomatorUpdateDisableare read only from a profile. A user could turn on Admin Test Mode withdefaults writeand reset their deferrals. The Settings window also honored a localLockSettings. - Profile changes apply without a relaunch. The app checks the managed preferences every 30 seconds, and a change restarts the schedulers as a Settings save does. It also re-filters the app list and re-applies telemetry.
- Installomator:
- A change to the Installomator source starts a check within a minute.
- Each Settings control now locks only when the profile sets its own key.
- Label lists split on line breaks too.
- The fallback’s caching is described correctly.
- The GitHub authentication line is logged once per change.
- Deferrals and deadlines:
- The patch-day deadline (
AggressivePatchDayDeferral,PatchingEndTime) applies in the root helper andcompliance.jsontoo. - The helper’s own deadline installs wait for business hours to end.
- The helper’s deadline record changes when the time zone does.
DeadlineCountHardandDeadlineDaysHardbelow 1 are ignored, with a warning; the manifests’ minimum is 1.MonthlyPatchingCadenceOrdinalValueacceptslast.- A bad
PatchingEndTimelogs a warning.
- The patch-day deadline (
- Background patching:
- The root helper read a local
helperDaemonas in-app mode, while the app took it as helper mode, so no scheduler ran. - The startup jitter now holds each cycle’s first pass, measured from the cycle start. That includes the pass after a Check for Updates.
- Changing
InstallFailureLimitreleases apps already held. - The allow and block lists take wildcards.
- An unknown notification type is logged once.
- The root helper read a local
- Webhooks and logging:
- The helper’s own deadline installs post a per-run message.
- A “not now” or a cancel counts as skipped, not failed, so
WebhookFailureThresholdno longer reports it at once. - With
DebugMode, installs log Installomator’s full output. - The Settings Jamf interval allows up to 10,080 minutes.
- Menu bar, Zoom and locking:
ZoomCallActiveChecknever found a call: it ran/bin/pgrep, which macOS doesn’t have. It now runs/usr/bin/pgrep, and the helper’s own deadline installs check it too.- The menu bar icon honors
LockSettings. - The managed-settings banner counts every locked control.
MonthlyPatchingCadenceStartTimealone no longer locks the Deferrals tab.AppTitleis used in the remaining captions and the install-failure tooltips. Its description now says the app menu and the name on notifications come from the app bundle and stay App Auto-Patch.- The Startup toggles show off while the organization’s LaunchAgent is installed.
- Docs and profiles:
- Manifests:
- The Support keys are marked managed only.
- The
LockSettings,ManagedSilentLaunchEnabled,UpdatesAvailableNotificationsEnabledand business-hours descriptions are corrected. - The completed-cycle pause of background patching is described.
TelemetryEnabledsorts with the About tab.
- The migration guide marks nine 3.x keys as read but ignored, and corrects the deadline state keys.
MDM-ServiceManagement.md,MDM-Notifications.md,MDM-AppManagement.mdandMDM-LaunchAgent.md: the uninstall order, the Dock badge, the notification types, App Management from macOS 13, the per-user LaunchAgents, Cmd+Q and the launch behavior.- The example TCC profile has real UUIDs, and all three of its code requirements accept both team IDs.
- The baseline profile’s
IgnoredLabelscomment is corrected. - TESTING.md sections 2d, 2e, 3, 4 and 5 match the current app.
- Manifests:
- The Settings window’s values reach the root helper. The
helper used to see only a few Settings values: Installomator options,
the webhook and Jamf recon settings, and GitHub authentication. Every
other setting a profile doesn’t set now comes from the logged-in user’s
preferences, as it does in the app. That covers Installomator’s source,
version comparison, logging,
Changed
Section titled “Changed”-
Webhook messages name the skipped apps. A run’s Slack and Teams message gave only a count of skipped apps, in Results. A Skipped field after Failed now lists their labels. It covers apps Installomator found already current, a “not now” such as an app in use, a cancel, and an app that opened during a background pass. The field appears only when something was skipped, so other messages keep their layout. The digest is unchanged: it lists only patched and failed apps.
-
The Build check and releases can use a maintainer’s own Mac. GitHub sometimes has no
xcode-27machine, and its macOS minutes are billed on this private repository. The repository variableMAC_RUNNERset toself-hostedmoves the Build check to a self-hosted Mac, and splits a release: that Mac compiles with an ad-hoc signature (Scripts/release.sh,AAP_RELEASE_PHASE=compile), and a GitHub Mac signs, notarizes and releases it (AAP_RELEASE_PHASE=sign). The certificates and notary key stay on GitHub’s machines, and the package’s signatures match a one-machine release item for item. Without the variable, both workflows run as before. A newer push now cancels a Build check still running for the same pull request.Scripts/README.mdhas the setup. -
One key,
SelfUpdateMethod, chooses how App Auto-Patch updates itself, andSelfUpdateEnabled,DiscoverSelfUpdateLabelandAppSelfUpdateEnabledare deprecated. Two on/off keys made a three-way choice, and one combination did nothing:DiscoverSelfUpdateLabelhad no effect whileSelfUpdateEnabledwas on. An older third key,AppSelfUpdateEnabled, overrode the first.SelfUpdateMethodtakesInAppList(the default: in the app list, updated with the other apps, deferrals and deadlines included),BackgroundSchedule(out of the list, checked everySelfUpdateFrequency) orDisabled(out of the list and never updated by App Auto-Patch, for an MDM that deploys new builds). Values are case-insensitive; an unrecognized one is ignored.SelfUpdateLabelandSelfUpdateFrequencyare unchanged.- The deprecated keys still apply while
SelfUpdateMethodis unset:SelfUpdateEnabledtrueisBackgroundSchedule, andDiscoverSelfUpdateLabelfalsewith it off isDisabled.AppSelfUpdateEnabledstill overridesSelfUpdateEnabled. - A profile beats the Settings window across old and new keys, since the
window saved the old keys’ local values until now. The order is the
profile’s
SelfUpdateMethod, then the profile’s old keys, then the window’sSelfUpdateMethod, then old local values. The log warns once per change when a profile sets old keys withoutSelfUpdateMethod, or sets both and they disagree. A profile can keep a matching old key for Macs on build 124 or earlier, which read only those. - Settings › Advanced › Self-Update has one picker, Update App
Auto-Patch: In the app list, On its own schedule or Off. Its
caption explains the choice, and the schedule’s says the install is
silent only while Silently patch apps that aren’t currently open is
on. The frequency is greyed out unless the schedule is chosen, and the
label field only for Off. Saving writes
SelfUpdateMethodand removes the old keys’ local values. - Manifests:
SelfUpdateMethodis new, the three old keys are marked deprecated, and the self-update descriptions are rewritten (pfm_version13). The baseline example profile setsSelfUpdateMethodDisabledin place ofDiscoverSelfUpdateLabelfalse. - A new website page, Keeping App Auto-Patch up to date
(
docs/SelfUpdate.md), compares the three methods and how to set up each, including mixed fleets. The overview, quick start, migration guide and Jamf Pro patch source pages link to it.
Build 124
Section titled “Build 124”Released November 9, 2026
Build 124
Section titled “Build 124”- While patching runs, the menu bar and the dashboard show which app is being installed and how each finished app went.
Every pending app used to keep its orange download arrow until the whole
run ended. During an Update All of 17 apps, the window said “Updating
Spotify (16 of 17)…”, while the menu bar said only “Patching…” above
five apps that were already done and “View 12 more updates →”, with
Spotify hidden behind the link. This applies to every run: Update All, a
single app’s Update button, the deadline’s automatic install, and
both background schedulers.
- Row icons, in the menu bar list and on the right of each dashboard row: a spinner for the app being installed, a green check once it is updated or Installomator found it already current, and the orange warning triangle when its install failed. An app the run hasn’t reached, never started because the run was cancelled, or put off with a “not now” (Not Now, an app or a display in use) keeps the orange arrow, since the dashboard doesn’t count those as failures either . The icons stay until the refresh after the run has read the new versions, so an updated row doesn’t go back to an arrow first.
- The menu bar list shows the app being installed first. An updated app keeps its check for two seconds, then drops off, so the next hidden app moves up and “View N more updates” counts down. A failed app stays in the list, and the menu bar now marks a pending app whose last install failed with the dashboard’s warning triangle and tooltip, also outside a run.
- The menu bar header reads like the window’s banner: “Updating Spotify (16 of 17)…” or “Background patching Spotify (16 of 17)…”. “Waiting for you to quit …” still comes first while Installomator’s prompt is up.
- The root helper already wrote each finished label’s result to its
progress file. The XPC service now passes it on, and the helper’s
background pass and hard-deadline pass record theirs in
helper-state.json’scurrentRun(updatedLabels,failedLabels). The last app’s result comes from the helper’s install record (label-installs.json) when the run ends.
-
Counting the apps behind ignored labels after an empty discovery no longer reads their versions, and discovery reads Info.plist itself instead of starting
/usr/bin/defaults. Marketing version remains 4.0.0;CURRENT_PROJECT_VERSIONis 124.When a discovery found no applicable apps and
IgnoredLabelshid some, the app counted the installed apps behind those labels for its status message (“14 installed apps with matching labels are excluded by your administrator…”). To do it, it fully parsed each ignored label: two/usr/bin/defaultsprocesses, a Team ID check and seven or eight INFO lines per label. On the Mac in the report, 27 labels gave 54defaultsprocesses within about a second, and 213 of the log’s 279 lines.- The count now only looks for each label’s app. It reads no version, checks no signature, and logs one line naming each app with the label that found it: “Empty discovery finished — 14 installed app(s) with matching labels excluded by administrator policy: Google Chrome (googlechrome), …”. When Spotlight lists several copies of an app, any copy counts, without reading their versions to choose one.
- App Auto-Patch itself counts only when an
IgnoredLabelspattern names its label. Its 3.x labelappautopatch, which discovery always leaves out, andappautopatch4while self-update handles it, are not the administrator’s doing. So the count no longer logs “Team IDs do not match for appautopatch at /Applications/App Auto-Patch.app”. - A label file named differently from its label, such as
missiveapp.shformissive, is matched by its label, as in discovery. - Every discovery, in the app, its XPC service and the root helper, reads
an installed app’s
CFBundleShortVersionString,CFBundleVersionand the label’sversionKeyfrom its Info.plist in its own process. That removes two or three processes per installed app from each discovery, which EDR tools that record every exec also report, and thewaitUntilExiton a worker thread for each of them (see #357). The values are whatdefaults readprinted: a string, or a number such as2051. A unit test compares the two for every app in/Applicationsand/System/Applications.
Build 123
Section titled “Build 123”Released November 7, 2026
Build 123
Section titled “Build 123”-
The time left before the hard deadline reads in days and hours, and under 24 hours in hours and minutes, not “1 day”. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 123.With only a deadline date left (
DeadlineDaysHardset, and no deferral count left or none configured), the menu bar’s Deadline section and the deferral dialog said “1 day remaining before the hard deadline.” until the deadline itself: at 1:25 PM with the deadline at 5:00 PM, a full day was still shown. The days were counted asseconds / 86_400 + 1, which also made 25 hours “2 days” and exactly 3 days “4 days”.- Under 24 hours, the line gives the hours and minutes left: “3 hours,
35 minutes remaining before the hard deadline.”, “1 hour…” or “35
minutes…”. It’s rounded down to the minute, and the last minute reads
“1 minute”. The duration is localized by
DateComponentsFormatter; the new string is translated into all 8 languages. - At 24 hours or more, the line gives days and hours, with no minutes: “1 day, 5 hours remaining before the hard deadline.”, or “2 days…” with no hours left over. It’s rounded down to the hour, so the line never says more time is left than there is. The two old day strings are removed.
- The menu and the dialog redraw the line once a second, like the countdown above it, so it stays right while they are open.
- When deferrals also remain, the line still names the deadline’s date and time, as before.
- Under 24 hours, the line gives the hours and minutes left: “3 hours,
35 minutes remaining before the hard deadline.”, “1 hour…” or “35
minutes…”. It’s rounded down to the minute, and the last minute reads
“1 minute”. The duration is localized by
Build 122
Section titled “Build 122”Released November 5, 2026
Build 122
Section titled “Build 122”-
An app its package starts with root’s environment is quit, and an open one is opened again for the user. Marketing version remains 4.0.0;
CURRENT_PROJECT_VERSIONis 122.Elgato Stream Deck’s package ends its postinstall script with a bare
open "/Applications/Elgato Stream Deck.app". Installer runs that script as root, so the app starts under the console user’s account but with the script’s environment:HOME=/var/root,USER=root,TMPDIR=/tmp. It then looks for its keychain in root’s home folder and shows a keychain error. App Auto-Patch’s reopen ran a few seconds later, found the app already running, and only brought that copy to the front. Plain Installomator, or any MDM that installs the package as root, gives the same result.- After a successful install, the root helper now looks for a copy of the
app’s main executable that started during the install with another
account’s environment: under the user’s uid with another
HOMEorUSER, or as root by LaunchServices. That copy gets SIGTERM, then SIGKILL 10 seconds later if it’s still running. - When Installomator quit the app for the install and
REOPENis on, the app is then opened for the user as before.aap.loghas “The - An app that wasn’t open before the install stays closed, even when its
package starts it: that copy is quit and not opened again (“Quitting
that copy, and not opening it again because ). With
REOPEN=nothe copy is quit the same way (“… because REOPEN is off.”). - A copy that was already running when Installomator started, a root daemon, another user’s copy, and a copy whose environment can’t be read are never touched.
- The quarantine strip no longer fails on a bundle macOS protects. Once
the package has started the app, App Management refuses every change to
the bundle from a process without that permission, such as a helper the
profile’s App Management rule doesn’t cover. That includes removing an
attribute that isn’t set. Every item then failed with “Operation not
permitted”, and the check stopped before it looked for the package’s
copy, which kept running with root’s environment. An item now counts as
a failure only if it still has
com.apple.quarantine. When the strip does fail, the package’s copy is still quit and the app stays closed (“… because its quarantine could not be fully removed.”).
- After a successful install, the root helper now looks for a copy of the
app’s main executable that started during the install with another
account’s environment: under the user’s uid with another
-
The subprocess runner no longer runs out of threads. After about 12 hours of helper uptime, every subprocess the root helper started (
mdfind,hdiutil,Installomator.sh,LabelVersionHelper.zsh) logged “has exited but its waiter never signalled” and, 10 seconds later, the error “output readers never reached EOF”. Its output came back empty after 11 seconds. So every version check failed with “Couldn’t reach upstream version source” although the network was fine, discovery took hours, and “Main loop has made no progress for 900s” stopped the heartbeat (Operational: no).The runner waited for each child with
waitUntilExit()on a global-queue thread, not the thread that started it. About one call in a hundred never returned, although the child had exited, and that GCD thread was held for good. The leak built up over the helper’s uptime. Once all 64 of the process’s GCD threads (kern.wq_max_constrained_threads) were held, no waiter or output reader started again. Build 121’s singlemdfindper discovery slowed the leak but didn’t stop it, because the runner was unchanged. Restarting the helper cleared it:sudo launchctl kickstart -k system/xyz.techitout.appAutoPatch.roothelper.- The child’s
terminationHandler, set before it starts, now signals its exit, so no thread is parked waiting. The 1-secondisRunningbackstop, the awake-time budget, and the timeout, SIGTERM and SIGKILL handling are unchanged. - Each output reader runs on a thread of its own instead of the GCD pool. A reader held open by a background descendant, after the 10-second drain wait gives up, now ties up only its own thread.
AppAutoPatchServiceuses the same runner and gets the same fix. The other callers ofwaitUntilExit()start and wait on the same thread, which doesn’t have the problem, and are unchanged.
- The child’s
Build 121
Section titled “Build 121”Released November 4, 2026
Build 121
Section titled “Build 121”-
DiscoverySpotlightFallbackturns off discovery’s Spotlight search. Marketing version remains 4.0.0;CURRENT_PROJECT_VERSIONis 121.An app that isn’t in its label’s
targetDir,/Applications,/Applications/Utilities,~/Applicationsor a path the label’sappCustomVersionreads is looked for with Spotlight, as Installomator’sverifyAppdoes. SetDiscoverySpotlightFallbackfalseon Macs where apps are installed only in those folders: discovery then starts nomdfindat all, and apps elsewhere aren’t found. Defaulttrue.- Settings › Advanced › App Discovery › Find apps in other folders with Spotlight sets it. A profile value wins and locks the section.
- The root helper’s scheduled discovery and background patching read the Settings value, as for the section’s other keys.
- Turning it off, or back on, makes the next Check For Updates a full
discovery (
LastDiscoveryExclusionFingerprint), so the list matches. The default adds nothing to the fingerprint, so upgrading doesn’t. - Manifests:
pfm_version12. The new text is translated into all 8 languages.
Changed
Section titled “Changed”-
Discovery asks Spotlight once, not once per label. Builds 1–120 ran
mdfind "kMDItemFSName == '<app>' && kMDItemContentType == 'com.apple.application-bundle'"for each label whose app wasn’t in the standard folders. On a Mac with few apps that was about 1,200 processes per discovery, in the GUI, the XPC service and the root helper, and process auditing (EPM, EDR) recorded every one: 68.6% of one test Mac’s EPM records in the issue.Discovery now runs one
mdfind -0 "kMDItemContentType == 'com.apple.application-bundle'"the first time a label needs Spotlight, and looks each label’s app name up in that list. A discovery whose apps are all in the standard folders runs none. On a test Mac the query lists 3,668 bundles in 0.3 seconds.- Unchanged: the whole name is matched, case-sensitively, as
kMDItemFSName ==does; copies in Downloads, Desktop, the Trash and temporary folders,IgnoreFilePaths,IgnoreExternalDrivesandIgnoreAppsInHomeFolderare left out; several copies give the newest, of those signed by the label’s Team ID when any are. - A query that fails or takes more than 30 seconds is logged once, and that discovery looks only in the standard folders. Before, each label waited up to 30 seconds on its own query.
aap.loghas “Spotlight lists N application bundles (one query for this discovery, …)”. The ignored-labels count behind the empty-list message also asks Spotlight once.
- Unchanged: the whole name is matched, case-sensitively, as
-
The “waiter never signalled” line is DEBUG. “Subprocess: … has exited but its waiter never signalled; continuing from Foundation’s recorded exit state.” was INFO, and made up 36% of the
aap.login the issue. It’s harmless, so each one is now DEBUG, and a discovery that saw any logs one INFO line: “N subprocesses exited before their waiter signalled during this discovery”.
Build 120
Section titled “Build 120”Released November 3, 2026
Build 120
Section titled “Build 120”-
Settings controls for three keys that only a profile could set. Settings › Advanced gains:
- App Discovery › Discover packages that install no app
(
DiscoverPackageReceiptOnlyLabels). - App Discovery › Automatic update checks (
DiscoveryFrequency), off or 1 to 168 hours. - Update All errors › Failed installs before an app is skipped
(
InstallFailureLimit), off or 1 to 20.
The manifests already gave them these Settings sections without marking them “(managed only)”. A profile value still wins and locks the section. The root helper already read the Settings values of
DiscoveryFrequencyandInstallFailureLimit; its scheduled discovery and background patching now also readDiscoverPackageReceiptOnlyLabels, so they find the same apps as the app does. The new text is translated into all 8 languages. - App Discovery › Discover packages that install no app
(
Changed
Section titled “Changed”PatchUnknownVersionLabelsis deprecated.VersionComparisonInstallomatorFallbacknow reads the installer of a label that reports no latest version (see Fixed), so the root helper’s separate background download forPatchUnknownVersionLabelsis removed. A profile value still counts:- When a profile sets
PatchUnknownVersionLabelsand notVersionComparisonInstallomatorFallback, it sets the fallback:falseturns it off andtrueturns it on. A profile that hasPatchUnknownVersionLabelsfalse, for example one that lists every key, turns off a fallback that is on by default. Remove the key to keep it on. - A profile’s
VersionComparisonInstallomatorFallbackalways wins. A localPatchUnknownVersionLabelsis ignored. UnknownVersionCheckIntervalDays(default 7) is now how long the fallback keeps what it read before downloading the installer again.- The Settings window’s Installomator fallback toggle is locked when a profile sets either key.
- Kept from it: a
pkg,pkgInDmgorpkgInZiplabel with nopackageIDand noappNewVersion(23 of the 1,304 labels in Installomator 10.10beta), which Installomator can’t compare, is still read by the root helper (see Fixed). DownloadBandwidthLimitlimits those package downloads, as it did the old check’s. It doesn’t limit the fallback’s Installomator runs.- The manifests mark the key deprecated and give it no default
(
pfm_version11). The root helper deletes the.inspect-*folders the old check could leave in the staging folder.
- When a profile sets
VersionComparisonInstallomatorFallbackreads the version of the downloaded installer. When a label reports no latest version, App Auto-Patch runs Installomator withDEBUG=2, as 3.7.6 does. Installomator downloads the installer, compares the app or package inside with the installed one and installs nothing. Builds 1–119 read only anappNewVersion=or “Latest version of” line from that output, which such a label never has, so the check always failed with “Couldn’t reach upstream version source after 2 attempt(s)” and the app was never offered as an update. Each attempt still downloaded the installer, in both the XPC service and the root helper.- “Downloaded version of X is V on versionKey K (replacing version Z)”
and “Downloaded package P version V” give the latest version V, which
is compared with the installed one by
VersionComparisonMethod. “…, same as installed.” means the app is current. - “No previous app found”, a download with no version line, or a download cut off by the time limit: no version, with that reason.
- A
pkg,pkgInDmgorpkgInZiplabel with nopackageID, which Installomator can’t compare (3.7.6 skips it), isn’t run through Installomator. The root helper downloads the package itself, asPatchUnknownVersionLabelsdid, and reads the version of the app with the installed app’s file name from itsPackageInfo. Unlike that check, it first requires the package to passspctl -a -vv -t installand be signed by the label’sexpectedTeamID, as Installomator does before installing. The GUI and the XPC service wait for the helper’s result. - The result is kept in
label-check-history.jsonforUnknownVersionCheckIntervalDays(default 7), or until the label file changes, so a label’s installer is downloaded about once a week rather than on every check. Only the root helper saves it: a check-run file from the GUI is written to the jobs folder, which the console user can write, and a forged version could otherwise hold back an update. The GUI and the XPC service use a saved result, and run Installomator themselves until the helper has saved one. - A label that
BrokenLabelRecheckDaysskips still uses its saved version, and its installer is read again when the interval ends. The label’s own check still counts as failed, as withPatchUnknownVersionLabelsbefore. - An app that App Auto-Patch doesn’t update, such as a Team ID mismatch or a Mac App Store copy, or one that isn’t installed, isn’t run.
- A run that downloaded nothing, such as a network error, is tried once more. A run stopped at the time limit isn’t. The limit is now 300 seconds, from 60, so a download can finish.
- The failure reasons say what happened, for example “Installomator found no installed copy to compare its installer with.”
- “Downloaded version of X is V on versionKey K (replacing version Z)”
and “Downloaded package P version V” give the latest version V, which
is compared with the installed one by
Build 119
Section titled “Build 119”Released November 3, 2026
Build 119
Section titled “Build 119”-
The deferral dialog waits while nobody can see it. Before the hard deadline, when App Auto-Patch would open the deferral dialog by itself, after a deferral ends or when a check finds updates for open apps, it first checks that someone can see it. While the displays are asleep, the Mac is in DarkWake, the screen is locked or the user’s session is switched out, it defers for 60 seconds instead and tries again. Until now the dialog opened anyway and sat until
DialogTimeoutDeferralappliedDialogTimeoutDeferralAction, for example a 1440-minute deferral the user never chose when the cycle reset at midnight.- The automatic deferral counts toward neither
DeadlineCountFocusnorDeadlineCountHard, sets noLastDeferralDate, and never ends after the hard deadline. It comes before the automatic Focus deferral, so a Sleep Focus overnight no longer spends the focus budget. - One notification per away period: “Your deferral has ended” when a deferral ended, or only the updates-available notification when a check found the updates. The dialog that ends the period posts none.
- One
[NOTICE]line when an away period starts and one when someone is back or the hard deadline is reached. The 60-second retries log at verbose, with the signals checked. - The checks work on Apple silicon and Intel: DarkWake is the graphics
bit missing from
IOPMrootDomain’sSystem Capabilities; displays asleep isCGDisplayIsAsleepon every online display, orNSWorkspace’sscreensDidSleepwithout ascreensDidWakesince; a locked screen and a switched-out session come fromCGSessionCopyCurrentDictionary(). Nothing readsIODisplayWrangler, which only Intel Macs have, or parsespmset. - Unchanged: at or after the hard deadline the required-update dialog
opens as before. A dialog already open when the display sleeps stays
open, so
DialogTimeoutDeferralActionstill applies. Update All and a clicked notification always open the dialog. The away period is kept in memory, so a relaunch during one starts a new one.
- The automatic deferral counts toward neither
-
Root3 Support App tile scripts for App Auto-Patch 4. 3.x’s Support App scripts read
ItemsToInstallfrom/Library/Management/AppAutoPatch/xyz.techitout.appAutoPatchReport.plistand ran/usr/local/bin/appautopatch, and 4.0’s installer removes that folder with 3.x.Scripts/support-app/has 4.0 versions, also on the website under Companion scripts:aap_pending_updates.zsh, the tile’sOnAppearAction, showscompliance.json’spendingCount(“2 Updates Pending”, “Up to Date” or “Not Checked Yet”) with the warning badge while anything is pending.aap_pending_apps_dialog.zsh, the tile’sAction, opensappautopatch://show-deferral-promptfor the console user, starting App Auto-Patch first if it isn’t running, then refreshes the count.- The
ExtensionIDand tile keys are 3.x’s. The scripts expect/Library/Application Support/AppAutoPatch/SupportApp/. 4.0 has no command that installs without a dialog, so there is noaap_install_now.zsh.
Changed
Section titled “Changed”-
The deferral menu ends with the time left before the hard deadline. Choices that would end after the hard deadline were removed, but the time left was offered only when every choice was too long. With a Thursday 17:00 deadline and
DeferralTimerMenu30,60,120,240,480,720,1440,2880,4320, a prompt at 11:30 offered up to 4 hours. It now offers 30 minutes, 1 hour, 2 hours, 4 hours and 5 hours, 30 minutes, and nothing longer.- The time left is rounded to the nearest minute and added only when a choice was removed. A menu that fits is unchanged, and with every choice too long the time left is still the only one.
- The menu is worked out when the prompt opens and stays the same while
it is open.
recordDeferralstill ends any deferral at the deadline. AggressivePatchDayDeferral’s patch-day caps still apply first.- Durations over an hour that aren’t whole hours read “5 hours, 30 minutes” rather than “330 minutes”, in the prompt and in Settings.
-
The About tab links to the 4.x guide and the Configuration Helper. Settings › About › Credits & Links linked to the 3.x wiki. It now has App Auto-Patch Project (GitHub), still the GitHub project; App Auto-Patch Guide, appautopatch.app; and App Auto-Patch Configuration Helper, its page there. Three strings replace two, all translated into 8 languages.
-
compliance.jsonsaidOverduefrom each cycle reset. The root helper checks every second, and the GUI starts the next cycle on its one-minute tick. In between, the console user’s preferences still held the finished cycle’sHardDeferralDate, and with a managed hard deadline the helper recorded it as the new cycle’s, with no cycle end. The record then held back the new cycle’s later deadline:compliance.jsonreported the previous deadline andOverdue, and the helper treated the deadline as passed. If the GUI wasn’t running, it relaunched it and, after two failed relaunches, installed every pending update days early. The record stayed until the cycle completed, the managed deadline settings changed, or 35 days passed.- A deadline from the console user’s finished cycle is no longer
recorded. It is still enforced until the GUI starts the next cycle,
so a GUI that isn’t running is brought back, but
compliance.jsondoesn’t report it. - A record with no cycle end from before the console user’s
CurrentPatchingStartDateis dropped, so a Mac upgraded from build 100–118 with such a record reports the right deadline.
- A deadline from the console user’s finished cycle is no longer
recorded. It is still enforced until the GUI starts the next cycle,
so a GUI that isn’t running is brought back, but
-
With several versions of an app installed, discovery used an older one. Python installs each minor version in its own folder and leaves the old ones, and the
pythonlabel reads the version from/Library/Frameworks/Python.framework/Versions/$shortVersion/…, whereshortVersioncomes from python.org. Discovery couldn’t fill that in, so it fell back to Spotlight and used the firstPython.appit listed. With 3.14 and 3.15 installed that was often 3.14, so 3.15 was offered as an update although it was installed.- A path in
appCustomVersion()with a part only known at run time is matched with*, asappNameandtargetDiralready were:…/Versions/*/Resources/Python.app. The newest copy signed by the label’sexpectedTeamIDcounts, and a label without one isn’t searched this way. Of the current labels, this changes onlypython;cinema4dalready found the same folders. - When Spotlight lists several copies of an app, discovery uses the newest of those signed by the label’s Team ID, or the newest of all when none is, instead of the first. The log names the others.
- A path in
Build 118
Section titled “Build 118”Released October 30, 2026
Build 118
Section titled “Build 118”HideLogViewertakes the Logs view out of the dashboard. With the new managed keytrue, the dashboard window has no sidebar, so users can’t open the Logs view. The window shows the Status dashboard on its own, without the sidebar button or View › Show Sidebar. App Auto-Patch still writes its log, the diagnostic bundle still includes it, and the setup wizard’s Reveal Log button still shows the file in Finder. The app reads the key again whenever it becomes active, so a profile installed or removed while it runs takes effect without a relaunch.- The key is in both profile manifests (pfm_version 9) under Managed Only, and in the baseline profile’s optional extras. There is no Settings control.
Changed
Section titled “Changed”- The dashboard says when the helper isn’t starting.
Instead of “Root helper registered. Waiting for it to start…”, once the
automatic reset’s kickstart and second registration have both failed,
the Setup Required card and the setup wizard say the root helper isn’t
starting and to contact
SupportTeamNamewith a diagnostic bundle from Settings › About. When the helper runs but this account can’t reach it , they say so. The four new strings are translated into 8 languages.
-
The root helper didn’t start on macOS 14 and 15. App Auto-Patch supports macOS 14 and later, but through build 117 the
AppAutoPatchRootHelpertarget was built for macOS 26.0 (MACOSX_DEPLOYMENT_TARGET). In build 117 both of the helper’s slices linked/usr/lib/swift/libswift_DarwinFoundation1.dylib, which macOS 14 and 15 don’t have. Each time launchd started the helper, dyld stopped it with “Library missing”, so the Mac logged a crash report every few seconds while the dashboard said “Root helper registered. Waiting for it to start…”. Intel and Apple Silicon Macs were affected alike.- The helper target is now built for macOS 14.0, like every other target, and no longer links that library.
Scripts/check-deployment-targets.shfails when any binary in the app needs a newer macOS than the app’sLSMinimumSystemVersion.Scripts/release.shruns it before packaging, and the CI build runs it after the Debug build.
-
A console user outside the staff group couldn’t use the helper. The root helper makes
jobs/,deferral-events/andaap.logwritable bystaff, the default group of every local account. A network account, such as an Active Directory mobile account whose primary group is a domain group, is often not instaff. Its app couldn’t hand the helper work, so it reported a running helper as “Waiting for it to start…”, reset it at every launch, and logged “no heartbeat” although the heartbeat was fresh. It also wrote to the user’s fallback log.- The helper gives a console user who isn’t in
staffan ACL entry, and removes it when that user leaves the console. It checks every 2 seconds on its own timer, so a login during a long patch pass is picked up at once, and sets the entries again every 10 minutes.- On
jobs/anddeferral-events/, the entry gives what the group’srwxgivesstaff; the sticky bits are unchanged. aap.logitself gets read and write; its folder gets nothing, so the user can’t replace the file.- The entries are set through file descriptors. A symlink is never followed, and a file with more than one link is refused.
- On
ConsoleUserFolderAccess(Core) builds the entries and checksstaffmembership with Directory Services, nested groups included.HelperConsoleUserAccessin the helper keeps them current and logs “RootHelper:is not in the staff group; gave them access…”. - The app no longer resets a helper whose heartbeat is fresh but whose
jobs/it can’t write to, since that can’t help. A reset that finds the new helper running without that access stops instead of kickstarting and registering again. - The diagnostic bundle’s Running user section says whether the user
can write to
jobs/and lists the ACL entries on it.
- The helper gives a console user who isn’t in
Build 117
Section titled “Build 117”Released October 29, 2026
Build 117
Section titled “Build 117”- The menu bar lists updates found after the cycle’s patching is complete.
Once a cycle’s patching was complete, an update found before the next
cycle start showed in the menu bar only as “1 new update available”,
with Update All turned off and a note to open App Auto-Patch to install
it. The dashboard’s Update All already installed these.
- The menu bar now lists them under New Updates, up to five rows
and a link to the dashboard for the rest, as it lists pending
updates. Each row has a blue
arrow.down.circle.dottedicon instead of the orange download icon, with the tooltip “Included in the next patching cycle”. The note under the list says to click Update All. - The menu bar’s Update All is available for them. After the usual confirmation it rechecks those apps and installs them without a deferral, as the dashboard’s Update All does in a completed cycle, and logs “Menu bar Update All during a completed cycle”.
- The menu bar now lists them under New Updates, up to five rows
and a link to the dashboard for the rest, as it lists pending
updates. Each row has a blue
-
A command-line run started the dashboard’s work. SwiftUI creates the dashboard’s
StatusViewModeleven when the app is launched with--generate-diagnostic-bundle,--clear-notificationsor--help, which do one job and exit. Itsinitloaded the saved apps and counted them, and with updates pending andWorkflowStageUpdateson that started the pass that stages them and then moves on to the deferral. Two bundle runs on one Mac each logged “Staging 3 update(s) before closed-app patching”. They came from an unsigned build, which the XPC service refused, but a signed install sends that staging job to the root helper. The sameinitalso starts the post-login helper check, which re-registers a helper whose binary has changed, so a bundle run right after an upgrade could re-register it.CommandLineCommand(Core) now names the three commands. The app’s launch reads it to pick one, andStatusViewModel.initstops after reading the settings, logging “StatusViewModel: –generate-diagnostic-bundle run; not loading the dashboard or checking the helper.”
Build 116
Section titled “Build 116”Released October 29, 2026
Build 116
Section titled “Build 116”-
Staged installers are kept under the support folder.
WorkflowStageUpdatesdownloaded installers to/private/tmp/AAPStage, the 3.6 script’s folder, which macOS empties at every restart. The next staging then downloaded the same versions again: BetterTouchTool 6.958, Bruno 4.3.0 and balenaEtcher 2.1.9 were each downloaded three times in five days. They are now in/Library/Application Support/AppAutoPatch/staging, root-owned and mode 0700 as before, so an installer staged for a version is reused after a restart (“Already staged ‘x’ at version N”). The root helper removes/private/tmp/AAPStagewhen it starts, when root owns it. Uninstalling removes both.Installomator now gets the staged installer as a percent-encoded
file://URL (…/Application%20Support/…). It runsevalon eachname=valueoption, and the space in the new path would have split the value and leftdownloadURLempty.
-
compliance.jsonsaidOverduewhile updates waited for the next cycle. Once a cycle’s patching was complete, the root helper stopped enforcing its deadline, butcompliance.jsonstill read the console user’sHardDeferralDate, which keeps the finished cycle’s deadline. Updates found after the completion were reportedOverdueuntil the next cycle, and a Jamf Pro smart group onOverduekept the Mac for a week. After a restart, the first write, made before anyone logged in, saidPending, and the next saidOverdue.- The report now asks the question the helper’s deadline enforcer asks.
While the helper stands down for a completed cycle, no deadline
applies: those updates are
Pending, andhardDeadlineanddaysUntilHardDeadlineare left out. - With a managed hard deadline, an update pending since before the
completion still holds the cycle open. The helper enforces the
deadline for it, and the report still says
Overdue. - The first write after the helper starts now agrees with the ones that follow. One gap remains: without a managed deadline the helper keeps no record of its own, so before anyone logs in it can’t read the deadline at all.
- The report now asks the question the helper’s deadline enforcer asks.
While the helper stands down for a completed cycle, no deadline
applies: those updates are
-
aap.lognever rotated, and[DEBUG]lines were written withDebugModeoff. Nothing called the log archiver, soaap.loggrew without limit: 33 MB in 28 days on one Mac, withlogs-archive/empty. 87% of it was[DEBUG]lines, about 3,800 per discovery (“Found label start for …”, “App not installed: …”).debug()lines now go toaap.logonly withVerboseModeorDebugModeon, asverbose()lines do. They still go to the unified log, solog streamshows them. The profile manifests say both modes add[DEBUG]lines.- The root helper checks the log’s size every ten minutes. Past
logArchiveSizeKB(1,000 KB) it copies the log intologs-archive/<yyyy-MM-dd.HH-mm-ss>.zipand empties it in place, under the lock every writer takes, so the log keeps its owner, mode and inode, and no record is lost or archived twice. It never follows a link at the log’s path, and leaves a log with more than one link alone. The first check after upgrading archives the existing log. - Archives older than 90 days are removed, at startup, after each
rotation and once a day. Other files in
logs-archive/are left alone. FileManager.archiveLogsIfNeeded(), which nothing called and which would have moved the log away from its permissions, is removed.
-
“Waiting for you to quit” named the first app of the run. With
BLOCKING_PROCESS_ACTION=prompt_user, Update All installed balenaEtcher and then BetterTouchTool. When Installomator asked to quit BetterTouchTool, the log said “Waiting for you to quit balenaEtcher”, and the status line said the same until the next progress poll. The watcher for the quit prompt only knew the run’s first app. It now names the app the newest progress poll reports, which is the one being installed, for an Update All and for a root helper pass. -
Updates waiting for the next cycle were staged again. With the cycle’s patching complete, these updates are not installed before the next cycle unless someone clicks Update All, and newer versions may be out by then. They were still downloaded:
- At launch, the app staged every pending update before it had worked out that the cycle was complete. It loads the saved app list before it reads the cycle’s dates, and staging checked only the stored completion message. It now checks the cycle’s dates too, as the pending count already did.
- The root helper’s scheduled discovery staged them after every run. It now logs “Patching is complete for this cycle. Not staging updates before the next cycle.”
- A root job that only pre-stages is skipped while the cycle is complete. Update All, background passes and deadline enforcement still stage what they install.
-
A helper waiting for approval said only “Approve in System Settings”. After an upgrade from build 92 to 115, App Auto-Patch re-registered the helper because its binary had changed, as
SMAppServicerequires. macOS reported itenabledand it ran, but after the next restart it was waiting for approval. The Mac’s profile listed App Auto-Patch under Managed Background Apps, and its user wasn’t an administrator, so the dashboard’s Approve button led nowhere. The helper stayed down for two days. The diagnostic bundle couldn’t show why, because Background Task Management’s record (sfltool dumpbtm) needs root to read.system_profiler SPConfigurationProfileDataTypelists every installed profile’scom.apple.servicemanagementrules without root. The diagnostic bundle now saves them, grouped by profile, toprefs/servicemanagement-profiles.plist.metadata.txtlists each rule with whether it covers the helper’sLabelor the app’s signing Team ID, and ends with a verdict. Bundle ID rules are marked as not matching anSMAppServicedaemon.- The files under
/Library/Managed Preferenceshold only one login items payload per scope. On a Jamf Mac with six such payloads, they had two, and not the one that approves the helper. The bundle still copies them toprefs/servicemanagement.plistandservicemanagement-user.plist, and reads them only whensystem_profilercan’t list the profiles. - When the helper waits for approval, the log records the same verdict and whether the user is an administrator.
- The Setup Required card adds a line when the person at the Mac can’t
allow the helper. If a rule covers it, the line says the
organization’s profile should allow it but macOS hasn’t applied it.
If no rule covers it and the user isn’t an administrator, it says only
an administrator can allow it. Either way it names
SupportTeamName, or “your IT support team” when that isn’t set. - This doesn’t bring the helper back by itself. An administrator still
has to allow it in Login Items, or fix the profile so a
Labelrule forxyz.techitout.appAutoPatch.roothelpercovers it.
