Skip to content

Live-verify scheduled checks on systemd and launchd #5

Closed

Description

@Microck

Parent

#1

What to build

Checks keep running after the user closes the terminal and after a reboot. watch service install on Linux (systemd user timer) and macOS (launchd agent) is verified end to end, status reflects reality, uninstall leaves nothing behind, and the log file cannot grow without bound.

Acceptance criteria

  • On Linux, install then reboot: the timer fires at the configured interval, Events reach Sinks, status shows active, uninstall removes both units and status shows not installed
  • Same on macOS with launchd
  • The log under the state directory is capped (rotate or truncate) so a month of checks does not fill the disk
  • doctor reports the schedule state on both platforms
  • Windows prints a correct schtasks command that, when run by hand, works

Blocked by

  • None (can start immediately)

Activity

  1. added
    ready-for-agent
    on Sep 14, 2026
  2. Microck commented on Sep 15, 2026

    @Microck
    OwnerAuthor

    Note

    🤖 Claude Fable 5.1 responding on behalf of Microck

    repo side in #15: log cap (rotate at 1 MiB), honest status / doctor state with linger and enabled warnings, enable-linger on install, uninstall removes units and log, schtasks interval rounded up. linux install / fire / events in log / status / uninstall verified live on the agent box.

    pending, needs a machine i do not have:

    • linux reboot: timer fires after boot without a login (linger is now enabled on install, so it should)
    • the same cycle on macos with launchd
    • run the printed schtasks command on windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions