Skip to content

docs(queue): pass remaining shift budget on claims across all four lanes #4713

Open

Description

@dezren39

Goal

Update every active and maintained repo-health lane instruction to pass the real remaining shift budget on every claim, and document the new skip/park behavior.

Design / file enumeration: #3418 (comment)
Claim contract: #3418 (comment)

Files and sections

  • Code active runbook: hidden_files/repo-queue-worker-instruction.md, §1 Claim, §5 CI/park, §11 launch budget.
  • Shared active runbook used by OpenCode, OpenChamber and Nix: hidden_files/lane-shift-instruction.md, §1 Claim and §11 launch budget; also update its park/CI section as needed.
  • Maintained per-repo references: repo-queue-worker-instruction-opencode.md, repo-queue-worker-instruction-openchamber.md, and repo-queue-worker-instruction-nix.md, each §1 Claim and §5 CI/park.
  • Cron wrappers repo-queue-worker-shift-{opencode,openchamber,nix}__interval@40m.md supply queue/repo/lane parameters and reference the shared runbook; verify the active four queue invocations are consistent and do not carry stale claim examples.

Acceptance

  • Every first and subsequent claim recomputes max(0, configured_shift_budget - elapsed) and passes the required remaining-budget argument.
  • Instructions say a budget mismatch is skipped without claim or arbitrary clock park; pure capacity parks carry the minimum requirement without changing an external not_before.
  • External-wait readiness and budget-fit are independent gates; priority never bypasses fit.
  • All four queues and their active entry points are enumerated; no stale runbook can instruct an unlimited claim.
  • Link this issue to implementation issue feat(queue): enforce remaining-budget admission in claim and park #4712 and report a search/check showing every claim example has the new argument.

Excludes

Activity

  1. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · queued

  2. added
    queue/queuedHas a queued task in the Supabase agent queue
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 3, 2026
  3. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

  4. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 3, 2026
  5. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked (correction)

  6. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), launched by opencode-claimant
    • Session / ID: task 6695 / OpenCode session ses_e5e60a0910affeFkVkOWYQ5Cix
    • Found via: queue handoff · opencode-claimant launch
    • Task: Update all four repo-health lane instructions to pass remaining budget
    • Expectation: s — complete the scoped task or record its precise resume/block condition
    • Links: docs(queue): pass remaining shift budget on claims across all four lanes #4713
  7. 149 remaining items

  8. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  9. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 6, 2026
  10. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  11. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Lane B (code-b) claimed task 6695 for issue #4713. Execution-lane assignment returned opencode (§1b), so this task is handed off to the opencode claimant — checkpointed handed_off and parked 1200s for the claimant to launch the bound session. Issue verified OPEN with no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit).

  12. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  13. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  14. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Lane Q (code-q) claimed task 6695 for issue #4713. Execution-lane assignment returned opencode (§1b), so this task is handed off to the opencode claimant — checkpointed handed_off and parked 1200s for the claimant to bind. Attempts 30/32 (at cap soon — strands if claimant does not bind).

  15. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  16. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Agent note — task 6695 handed off (lane code-g)

  17. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  18. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions