Deploy Doomer to managed Macs
Deploy Doomer with a signed macOS bootstrap package and a device configuration profile. The Mac checks Doomer’s release channel after installation and continues updating in the background, including at the login screen. Doomer uses the work email supplied by MDM to enroll the CLI and provision organization membership when the Mac first enrolls. After the first verified runtime installs and the engineer enrolls, the managed hooks work without a separate Doomer setup. They sign in to Doomer with that same email when opening a private Quick Review link in the browser.
Before you start
- Start with one MDM-managed Mac assigned to one engineer. Install Codex, Claude Code, or both before trying a review.
- Use an organization admin account in Doomer. Enrollment reuses an existing active seat or uses an available seat of the selected tier. Organizations with complimentary early access use their existing entitlement.
- Have the signed Doomer MDM bootstrap package. It installs the downloader, system updater, and hook entry points. Your MDM also delivers a configuration profile with the enrollment settings.
Get the installer
Open the Doomer releases page and choose the newest release whose tag starts with mdm-bootstrap-. The version after mdm-bootstrap- in the tag matches the version in its Doomer-MDM-Bootstrap-VERSION.pkg asset. This is the bootstrap version. The channel selects the runtime version separately.
Download the package and checksums.txt from that same release into an empty directory. On a Mac, run both checks from that directory. Confirm that the exact package filename appears in checksums.txt and that the check reports OK for that file. Confirm pkgutil reports an Apple-trusted distribution signature with Developer ID Installer: Marc Campbell (SVB2S5YXF4) as the leaf signer.
/usr/bin/shasum -a 256 -c checksums.txt
/usr/sbin/pkgutil --check-signature Doomer-MDM-Bootstrap-*.pkgUpload the signed universal package once for Apple Silicon and Intel Macs. Keep that assignment across CLI releases and across routine bootstrap releases. Replace the bootstrap if the release instructions call for it, for example when the pinned signing identity changes.
Until the first dedicated bootstrap is published, existing channel-enabled packages continue to work. If you need to start a pilot before then, use the previous signed bootstrap. Compare its SHA-256 to bootstrapSHA256 in the matching manifest and verify the same Apple signer. That package includes an initial runtime and then checks the configured channel. Use the dedicated download-only package for the two-release test below.
Each Mac fetches the latest published managed package for its configured channel. The updater verifies its SHA-256 and pinned Doomer Apple Installer signing identity before installation. The hooks become usable after the first verified runtime is installed. Your deployment and profile select which agents to enable.
1. Create a deployment in Doomer
- Open your organization in Doomer and go to Managed deployments → Create deployment. Give the deployment a name such as “Engineering pilot.”
- Select the agents and the seat tier for new members. Doomer hooks, scoped review commands, and review uploads are authorized by default. Optionally enter a comma-separated list of exact email domains. Doomer checks that list during enrollment and keeps it on the server. A blank list allows any domain.
- Select Create enrollment key and copy the key before closing the dialog. The same key enrolls multiple Macs in this deployment. Keep it in your MDM and your organization’s secret store.
2. Assign the package and profile in your MDM
Use the example for your console. All profiles must apply at the computer or device level. Match the profile’s Agents to the Doomer deployment, and use the HTTPS API for your Doomer environment.
- Apple Business for a pilot with Apple’s built-in device management.
- SimpleMDM for group and device attributes and a downloadable profile.
- Jamf Pro for computer inventory, custom settings, and a package policy.
Choose an update channel
Set the device-scoped UpdateChannel preference to beta, stable, or manual. A profile without this key uses beta. If the selected beta or stable feed has no managed_package, the updater logs the reason and leaves any active runtime in place. It also keeps the active runtime if the channel package is older. On a fresh Mac the hooks wait for the first verified runtime. The downloader retries when the network or device profile is temporarily unavailable. In manual mode the first install waits for IT to run the update command.
The updater requires active macOS MDM enrollment and the device-scoped Doomer profile. It checks after the bootstrap is installed and then every six hours with up to one hour of additional jitter. It retries transient errors with backoff. The Mac reaches downloads.doomer.ai directly over HTTPS. Doomer needs no credentials for your MDM service.
With manual, IT can run a one-time update on the Mac or deliver this command through an MDM script running as root:
sudo /Library/DoomerMDM/run-doomer mdm update --channel betaChoose --channel stable when a stable managed package is available. On a Mac configured for automatic updates, omit --channel to check its configured channel immediately.
3. Verify the first Mac
- Confirm
/Library/DoomerMDM/run-doomer versionreports the expected channel runtime on the pilot Mac. If the bootstrap is still waiting, check the table below. Once the runtime is active, start a fresh macOS login session. In Doomer, open Managed deployments → Enrolled Macs and look for the engineer’s work email and an Enrolled credential. - Start a fresh session in a selected coding agent. Have it make a small change in a disposable Git repository and confirm a Doomer Quick Review link appears without a Doomer setup prompt.
- Open that link and sign in with the assigned email. Confirm the review opens and the engineer sees the organization. Quick Reviews of local worktree changes are private to the assigned engineer.
Verify automatic updates across two releases
- While managed release A is current, apply the pilot profile with
UpdateChannel=beta, upload the signed MDM bootstrap to MDM, and assign it to the pilot Mac. Keep it at the login screen. Use an existing remote admin session or an MDM inventory script to run the following commands. The version should be A. The first successful check should log that A was installed from the channel. Later checks can report that A is already current.
/Library/DoomerMDM/run-doomer version
sudo launchctl print system/com.doomerlabs.doomer.mdm.update
sudo log show --last 1d --predicate 'eventMessage CONTAINS "Managed Doomer" OR eventMessage CONTAINS "managed Doomer"'
- After release B’s
managed_package.versionappears inhttps://downloads.doomer.ai/cli/beta.json, leave the existing MDM assignment in place. Wait for the next check, up to seven hours while the Mac is awake and online, or runsudo /Library/DoomerMDM/run-doomer mdm updatefor an immediate check. Confirm the active version is B and the same enrolled credential and work email are visible in Doomer. Start a fresh agent session and confirm Quick Review still works. - To test fresh provisioning from the older upload, repeat on the same disposable pilot after restoring it to its pre-install state and enrolling it in MDM again. After B is current, assign the signed MDM bootstrap uploaded in step 1 and the same pilot profile. At the login screen, the same version command should report B after the first update. Then log in and repeat the enrollment, work email, and Quick Review checks under Verify the first Mac.
Troubleshoot enrollment
| What you see | What to check |
|---|---|
| The version command says the bootstrap is waiting for its first verified runtime | Confirm the selected feed lists managed_package.version. In manual mode, confirm IT ran the channel update. Check the updater log under Verify automatic updates across two releases for download or verification errors. |
| The Mac is missing from Enrolled Macs | Check that both assignments installed, the runtime is active, and the engineer started a macOS login session. In Console on the Mac, search for doomer-mdm. |
| The profile is incomplete | Check device scope, attribute support, the substituted key, email, and update channel, the API URL, and the profile’s agent list and two authorization flags. |
| Enrollment is denied | Check the deployment’s current key and status, the assigned address against the optional domain list in Doomer, the selected agents, and seat availability. |
| The Mac enrolled and no review link appears | Start a new coding-agent session after enrollment. When Claude Code already has higher-precedence managed settings, check that the effective policy includes Doomer’s managed hooks and permissions. |
| The engineer cannot open the link | Check the email on the enrolled Mac and the email used to sign in to Doomer. |
Rotate a key or remove access
- Rotate enrollment key generates a replacement. Update the key in your MDM profile or group attribute so new enrollments and credential renewals can use it.
- Disable enrollment stops new enrollments and renewals for that deployment. Issued CLI credentials stay active until expiration or revocation.
- Revoke credential under Enrolled Macs removes an individual install’s CLI access immediately. Remove the configuration profile from that Mac to stop its managed Doomer hooks. The engineer’s seat and private reviews remain in Doomer.