Skip to content

feat: expose cheap idle checks for scheduled harnesses #399

@joryirving

Description

@joryirving

Parent: #392

Make idle cheap and explicit so scheduled harnesses can stop before starting a model.

Expected behavior:

  • next-task returns idle when no work exists
  • idle response includes a short reason
  • idle check is read-only
  • idle check does not require model context

Acceptance:

  • worker schedule can exit early
  • groomer schedule can exit early
  • tests cover empty queue and empty follow-up state
  • docs show the idle-first pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.priority/p0Critical priority.status/backlogNot ready for worker pickup yet.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions