Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Workflows inventory has no crontab source, so Linux cron jobs never appear in "the one inventory"

Open selinium opened this issue 2 weeks ago • 2 comments

WorkflowsSystem.md describes the inventory as one list of every piece of work LifeOS runs. On Linux, the user crontab is a common way to schedule that work, and the inventory never reads it.

What I see on 8.761.0 (Linux, Debian container):

  • bun LIFEOS/WORKFLOWS/Workflows.ts summary lists launchd, Pulse cron, project cron (Worker triggers), cloud and skills.
  • Jobs scheduled with crontab -e are absent from the summary, attention and the /workflows page, so an orphaned or failing cron job is invisible to the system that is meant to catch exactly that.
  • On main today, LIFEOS/WORKFLOWS/sources/ still has no crontab reader.

Suggested shape: a sources/crontab.ts that runs crontab -l (skipped when the binary is absent, as on macOS by default), records each non-comment line as a cron item with its schedule and command path, and marks it absent when the command's first path does not resolve. That keeps it read-only and gives attention the same orphan check it already runs for launchd.

Happy to test a branch on a Linux install.

selinium avatar Nov 17 '26 10:11 selinium

Opened #2870 with a systemd user timer source for the same inventory, built and running on Linux. A crontab reader would slot in next to it.

MatiasBarboza avatar Nov 19 '26 04:11 MatiasBarboza

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

Thanks @selinium. The Workflows inventory now has a systemd source, so Linux timers show up in the one inventory (ported from PR #2870, @MatiasBarboza).

This fix lands in the next LifeOS release, so I'm closing this now.

danielmiessler avatar Nov 19 '26 22:11 danielmiessler