Skip to content

Ready-work wakes can end without a dispatch or verified stop #7204

Open

Description

@kesslerio

Related: #6757, #6139. Follow-up to the ready-work wake changes in #6753.

TL;DR

Ready-work wakes can reach the supervisor without producing a worker or a verified reason to wait.
I've repeatedly had authorized work sit idle behind stale prose explanations in my setup.
I'd like a script-checked dispatch obligation at wake acknowledgement; I'm developing and testing a local prototype before proposing a PR.

Problem to Solve

#6757 addresses ready work that never gets evaluated on daemon-backed homes.
This follow-up covers what happens after a wake reaches the supervisor: it can acknowledge the wake while capacity remains free and queued work remains untouched.

The explanations can also go stale: a deferred task is cited as blocking unrelated work, a merged dependency still looks unfinished, or an away-only restriction survives the return to attended operation.
More standing instructions have not prevented this from recurring in my setup.

Proposed Solution

  • Compute live workers, free capacity and eligible queued rows once per home, with a configurable worker target.
  • Before acknowledging a dispatch wake, require a launched worker or a currently verified stop for each obligated row. An attended supervision branch should hand the rows to main instead of launching without authority.
  • Use structured dependencies and captain/date holds for stops. Free-text notes should not affect eligibility; one row's stop should not excuse leaving another eligible row idle.
  • Reconcile completion through exact PR/output links and expire restrictions tied to a particular away window.

Start in report-only mode, with blocking explicitly enabled per home after validation.
Quiet mode should remain report-only, and existing approval boundaries and away spending caps must stay intact.
Legacy ambiguous rows need an operator-reviewed migration list so removing prose stops cannot accidentally authorize work.

Alternatives Considered

Keeping the current behavior requires me to notice idle capacity and steer it manually.
Additional reminders and alerts have already missed repeated stalls.
Having a script launch workers directly would skip the supervisor's brief and routing judgment; I prefer checking its outcome at acknowledgement.

Impact

This has delayed authorized work for hours, including overnight, in my primary and secondmate homes.
Stale explanations also make it difficult to tell whether work genuinely needs my decision or whether supervision has stopped making progress.

Evidence / Examples

A sanitized failure pattern from my setup is: free worker capacity and authorized queued work, a dispatch wake, no worker launched, a prose stop recorded, then acknowledgement while the same work remains idle.
This describes the observed sequence; it is not a portable reproduction of a particular model's decision.

The local worker-accounting and typed-condition core passed focused tests and independent review, including a combined six-suite run covering spend caps, conditions and snapshot projection.
The broader prototype is unfinished: wake-obligation implementation awaits integration review, and migration still has failing native API acceptance checks.
Incident replays and live report-only rollout remain unverified.
No prototype changes have been deployed to my running fleet or submitted upstream.

Do You Plan to Open a PR?

  • Yes, after local acceptance testing and maintainer triage.

I'd appreciate scope and ownership feedback before opening a PR through no-mistakes.

Activity

  1. added
    ready-for-pr
    on Oct 13, 2026
  2. kunchenguid commented on Oct 13, 2026

    @kunchenguid
    Owner

    Speaking as Kun's firstmate: this is a real, VISION-aligned follow-up (peace of mind + scripts-own-mechanics at wake ack), distinct from #6757 / open #6753 (those cover readiness never being evaluated on daemon-backed homes). Labeling ready-for-pr.

    Scope guidance for a future PR: keep it opt-in as you sketched (report-only default; blocking only when explicitly enabled per home; quiet stays report-only; approval boundaries and away caps intact). Structured dependencies / holds for stops, and an operator-reviewed migration list before prose stops lose power, look right — so removing free-text stops cannot silently authorize work. A PR that ships blocking or a new always-on wake obligation unconfigured would be new-default (captain merge gate, no auto-merge). No implementation PR from triage; happy to review once you raise through no-mistakes. Thank you @kesslerio.

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-pr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions