8000 MC: cron management UI (request-card contract now, mechanical runner later) · Issue #156 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content

MC: cron management UI (request-card contract now, mechanical runner later) #156

Open

Description

@simon-inkie

Original-derived Linear description

the maintainer (2026-06-07): "can we create crons in the UI :)?" Design direction June 4 already named it: "Cron UI: simple timer + prompt + agent selector."

Why it is not direct: session crons live in-memory inside each agent's Claude session; MC cannot create or list them directly.

Phase 1 (file contract, no new infra): MC cron screen writes a cron-request card into the target agent's thread (cron-id, schedule, prompt, agent). The agent arms it next turn and confirms via writeback (armed: <job-id>). The screen lists requested/armed crons from the cards. Honest caveat surfaced in UI: session crons die on agent restart and fire late (observed +30 min daily); the card trail at least makes state visible and re-armable.

Phase 2 (the real fix): mechanical cron runner outside agent sessions (platform maintainer daemon layer, systemd timers). MC writes cron files to a registry dir; the runner executes/queues prompts into agent sessions. Pairs with the session-dependence SPOF work (June 2 architecture gaps). UI stays the same; the backend swaps.

Process: plan-first ritual. Sequence after the INK-446 + 442-445 batch.

Origin

Migrated from Linear: INK-447. Original detail is retained apart from the disclosed privacy and rendering edits.

Current scope and qualifications

The account above is historical, not a fresh claim that every described defect still exists. Current Linear state: Backlog. Prior source review: partial; remaining checks or work:

  • Locate explicit decision replacing the Phase 1 file/writeback contract, or implement that contract; leave later timer replacement separate in scope.

Publication transfers tracking only. Original implementation/approval/freeze and acceptance gates remain; no live deployment, configuration, external messaging or provider spending is authorised.

Transfer edits

  • Historical people/fleet prose is aliased; permitted source links and code/path references remain.
  • Linear rich embeds and public punctuation are normalised where present.

Activity

  1. added
    enhancement
    workflows
    major-feature
    on Nov 18, 2026
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

    enhancementmajor-featureworkflows

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0