Context
Quiescence checks without spawning lsof (P5). NSRunningApplication.runningApplications(withBundleIdentifier:) for bundle checks; proc_listpids + proc_pidinfo for open-file checks, batched.
Acceptance criteria
Files to touch (estimate)
best-effort estimate; agent refines during implementation
Implementation notes
- See research report §S11, §P5.
Dependencies
None.
Safety checklist
See .github/ISSUE_TEMPLATE/task.yml — tick applicable invariants in the issue if any destructive path is touched.
Definition of Done
Context
Quiescence checks without spawning
lsof(P5).NSRunningApplication.runningApplications(withBundleIdentifier:)for bundle checks;proc_listpids + proc_pidinfofor open-file checks, batched.Acceptance criteria
isProcessRunning(bundleID/prefix)uses NSRunningApplication.isPathBusy(URL)batch viaproc_listpids.ProcessPredicateenum (noProcessWithBundleID,noProcessWithBundleIDPrefix,noLaunchdService,noOpenHandleToPath,noGitOperationInWorktree).Files to touch (estimate)
best-effort estimate; agent refines during implementation
Implementation notes
Dependencies
None.
Safety checklist
See
.github/ISSUE_TEMPLATE/task.yml— tick applicable invariants in the issue if any destructive path is touched.Definition of Done