Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Workflows inventory flags its own dispatcher (com.lifeos.workflows-dispatcher) as an orphan

Open gjaworski86 opened this issue 3 weeks ago • 1 comments

What happens

Workflows.ts attention (and /ic) reports the Workflows clock itself as an orphan:

! workflows-dispatcher is installed without a declaration. (launchd:com.lifeos.workflows-dispatcher)

Why

  • LIFEOS/WORKFLOWS/Inventory.ts:72 defines WORKFLOWS_CLOCK_ID as "a launchd job by necessity, never migration debt", and legacyScheduled (line 80) already excludes it.
  • The orphan check (Inventory.ts:161-162) does not: it flags every launchd record with declared === false.
  • declared comes from the Services.ts registry (sources/launchd.ts), and LIFEOS/TOOLS/Services.ts has no row for com.lifeos.workflows-dispatcher (installed by engine/schedule-install.ts, DISPATCHER_LABEL).

So every install where the dispatcher is running gets one unacknowledged orphan finding, and /ic blocks on it.

Expected

The dispatcher is not an orphan. Either register it in Services.ts (it is a LifeOS-installed service), or skip WORKFLOWS_CLOCK_ID in the orphan check the same way legacyScheduled does.

Version

8.761.0, macOS. Checked against main on 2026-11-08: lines 72, 80 and 162 are unchanged and Services.ts still has no dispatcher row.

gjaworski86 avatar Nov 08 '26 14:11 gjaworski86

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @gjaworski86, you found that the workflows inventory flagged its own dispatcher, com.lifeos.workflows-dispatcher, as an orphan. The orphan check now skips the workflows clock id, in LIFEOS/WORKFLOWS/Inventory.ts. It ships in the next public release after 8.761.0.

danielmiessler avatar Nov 12 '26 20:11 danielmiessler