A session-start hook reported one problem: a port that was down. The port belonged to a service that had been deliberately sealed weeks earlier. The report was a false positive. The audit it prompted found two real problems that no hook had reported.
Exit code 127, every few seconds
One launchd agent pointed at a start script that no longer existed. Each launch failed with exit 127, and the agent's keep-alive setting launched it again. The counter stood above 23,800. The log files had grown to 51MB of the same line. Nobody had noticed because nothing was affected: the static site the agent was meant to serve had moved under a web server long ago. The failure was total and its impact was zero, which is exactly the combination that stays invisible.
The agent was unloaded, its plist renamed with a .disabled suffix so the change could be reversed, and the logs truncated. A check afterwards showed the service gone from launchd, the log files no longer growing, and the site still answering on its port. Two sibling jobs with similar names were separate and left alone.
"Needs checking" was a live failure
The second finding came from a memory note that said two services might share a port and this should be checked. They did. A scan API and an AI worker both bound 5050, and the worker, being registered with launchd, won at every boot. The scan API never ran. The page that depended on it called 5050 directly, reached the wrong service, and got 404, so its media-prompt and scan features had been dead since whenever the worker was registered. The note had recorded a failure as a question.
The scan API moved to 5051, with four references updated: the script, two pages, and a project document. It was registered under launchd with keep-alive, and killing it produced an automatic restart. Its health endpoint answered and its prompt list returned the five existing entries. The audit also found the opposite error in the same memory file: five services listed as unregistered had been running under launchd all along. The one thing left unverified was a click in a real browser, since the checks were made against the API.