Skip to content

design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024

Closed

Description

@dezren39

LIST 5 synthesis. Merge the placement investigation, the OpenClaw investigation, and the two scheduled-task investigations into placement framework v1: a decision table a dispatcher (human or agent) can apply in under a minute per task, the shared-pool efficiency model behind it (burn order, expiry, supervision cost), and the exceptions process. This is a Specialist/Summit-grade synthesis — ramifications beyond the first step are the point.

Program: Drew's 2026-10-28 directive (full text: hatch-personal memory/topics/id-program-2026-10-28.md).
Working pattern: parallel investigations, then the named synthesis issue merges them into a full design. Route guidance: Workhorse by default; Specialist/Summit for synthesis and ramification-heavy work. A result that says "done" is not the endpoint — the orchestrator reviews it and may commission another round. Deliverables: a markdown design/investigation doc (mermaid/SVG diagrams welcome) linked from this issue, plus follow-up issues for anything buildable. Build a proof of concept where the design calls for one, but do NOT build the permanent feature on top of an unreviewed PoC.

Activity

  1. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    Parent epic: #2055 — fleet expansion & placement program (2026-10-28 directive).

  3. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off (gate status for this synthesis)

  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Agent note — task 7831 picked up, handed off (lane L shift)

  5. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  6. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    Fresh revalidation (2026-11-03T15:05Z): #2024 is OPEN with no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit all absent), no competing PR or branch, and no queue/<n> work in flight. No placement-framework document exists on main: a recursive git/trees/main search for placement returns nothing, gh search code "task-placement framework" is empty, and no PR touches it. The synthesis has not been produced — the issue is live work, not done.

    Input gate — now MET. All four inputs named by the issue have their written deliverables:

    The 2026-10-29 gate note ("nothing to do on this issue until then") is therefore satisfied. #2019/#2020/#2022 stay open for the orchestrator review round per the program pattern; their deliverables exist.

    Fix path (scoped): one synthesis doc under doc/<UTC-timestamp>_design_task-placement-framework-v1/ — a decision table a human or agent dispatcher can apply in under a minute per task, covering every option in #2022's matrix; the shared-pool efficiency model behind it (burn order, expiry, supervision cost); the exceptions process; mermaid/SVG diagrams; follow-up issues for every buildable item; a PoC only where the design calls for one, never the permanent feature. The issue stays open for orchestrator review.

    Ordering / routing: Specialist/Summit-grade per the 2026-10-28 program guidance (Workhorse is the default only for the routine lanes). Follow-up design task 8136 enqueued at priority 20 (fix:developing-today/code:issue:2024); it was claimed by lane code-j within seconds of enqueue.

    Blockers: none technical. Execution constraint: GitHub comment writes have been hitting secondary-rate-limit 403s since 2026-11-03T13:40Z — this note is posted on a retry.

  8. added a commit that references this issue on Nov 3, 2026
  9. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Agent note — done (queue task 8136, lane code-j)

    🤖 Agent note · done — queue worker (repo-worker-code), lane code-j, task 8136

  10. 79 remaining items

  11. added
    status/triagedTriaged and routed (see agent note)
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  12. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: triaged
    task: 12020 (triage, repo-health-code-pilot)
    worker: repo-worker-code
    lane: 7b47536b-c162-444c-be8a-3a9538cc4cb5
    at: 2026-11-08T18:50Z

    Verdict: the requested synthesis is delivered; #2024 remains OPEN for its explicitly required orchestrator review. No additional worker packet is warranted before that review.

    Fresh verification on origin/main at e6dd246:

    Next action: orchestrator review of the synthesis; if it amends the framework, update the doc/policy and then resume the existing #4986 PoC. This is not queue-worker work. No issue closure, code change, or new follow-up task was made. Triage verification only; no builds/tests run.

  13. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: bookkeeping-correction
    task: 12020 (triage, repo-health-code-pilot)
    worker: repo-worker-code
    lane: 7b47536b-c162-444c-be8a-3a9538cc4cb5
    at: 2026-11-08T19:05Z

    Queue bookkeeping correction: completing task 12020 auto-enqueued follow-on task 13927 (repo-health:v1:fix:developing-today/code:issue:2024, kind small_fix) under the triage doctrine, because the broker defaults a triage completion to triage_outcome: follow_on. That follow-on is not actionable: the verdict above found the synthesis and policy artifact landed and the only remainder (#4986 PoC) already tracked and gated on this issue's review.

    Task 13927 is now cancelled (status cancelled, attempts 0/3, no work performed). Its recorded cancel_reason reads "probe-noop-check" because a first cancel call was made while checking the task's state; the broker does not rewrite a terminal row's reason and revive refuses cancelled tasks, so the correct reason is recorded here instead: auto-enqueued triage follow-on, cancelled as not actionable per the task 12020 triage verdict (comment 6725594982); no worker fix warranted before the #2024 orchestrator review.

    No issue closure, code change, or new follow-up task was made by this correction.

  14. added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 12, 2026
  15. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Orchestrator review — task 18189, lane code-c (the user/review reviewer is this lane, per fleet doctrine)

    Review verdict: ACCEPTED as the placement framework of record, with two corrections recorded here (no new round commissioned).

    What checks out:

    • The decision procedure is genuinely one-minute usable: ordered Q1-Q7, first match wins, R2 as a hard guard before all placement rules, explicit never-use rows per rule, and tie-breakers that prefer the cheapest sufficient, most supervised option.
    • The shared-pool model (§3) matches standing doctrine: burn soonest-expiring first, pools run to 100 percent at reset, OpenAI as the final reserve, a KNOWN 100 percent pool is closed while an unknown/stale read never idles a pool, the measurement gate, and the never-PAYG rule.
    • Every buildable item is filed or tracked (§5); the implementation follow-up is issue implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986 (machine-readable decision table + placement record), OPEN and tracked — it is not part of this design issue's remaining scope.

    Corrections (recorded, not blocking):

    1. §3.1 Meta pool row is stale: it says the OpenCode muse door is disabled by Drew order. Drew re-enabled the muse direct door on 2026-11-02; door state is read from the live config/registry, not from this doc. The one-pool fact (a single Meta High Usage pool) is unaffected.
    2. Placement practice has since been refined by the one-queue model (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097) and direct-assignment doctrine (fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187: whoever claims a task works it; dispatch is the stated exception). Read §2's table through those rulings where they differ — they are the newer dated rulings and win.
  16. removed
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  17. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — task 19686 done (already_done, lane any-u, 2026-11-17)

    Fresh check this shift: issue #2024 is CLOSED (closed_at 2026-11-17T02:20:18Z, label status:done) — closed in the same pass that created this follow-on (triage task 18189, 2026-11-17T02:20:26Z). Nothing remains to triage or route; task 19686 completes as already_done with this evidence. No labels changed (the issue is closed; its status:done stands).

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

Metadata

Metadata

Assignees

Labels

epic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingsource/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions