Skip to content

implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986

Done

Description

@dezren39

From the placement-framework v1 synthesis on #2024 (design doc PR linked there).

What

Encode the v1 decision table as a machine-readable placement policy artifact, and require a placement record on every fleet dispatch (queue claim handoff, dispatcher launch, scheduled-job creation):

  • option — one of: Muse, github-action, github-action-jules, opencode-session, opencode-scheduled, aster-codex, openclaw
  • rule — the decision-table rule id that selected the option (or exception + exception id)
  • pool_read_at — timestamp of the quota read the placement relied on (the ≤60-minute measurement gate), or n/a for non-pool options (Actions minutes, Jules)
  • supervision — who babysits/reviews the result

Why

The framework is only real if placements are recorded against it: without a record there is nothing to audit, and placement stays by habit — the exact problem #2024 exists to fix. Pool mechanics themselves are #1157 / epic #1149; this issue is the cross-option decision layer above them, not a duplicate.

Acceptance

Implementation-handoff decision: claimed queue-work implementations record the claiming lane's option under rule: "exception", with an exception_id citing #8187. Implemented in PR #15816.

Next slice: invoke the placement record on one live dispatch path using the quota-current/hard-stop sources and capture refusal output in the dispatcher log; then wire the second path and the weekly audit sample.
Refs #2024, #1157.

Activity

  1. added
    queue/queued
    source/creator
    status/needs-triage
    task/triage
    on Nov 3, 2026
  2. developing-today commented on Nov 3, 2026

    @developing-today
    Contributor

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8569 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  3. added
    queue/claimed
    work/assigned
    status/in-progress
    and removed
    status/needs-triage
    queue/queued
    on Nov 3, 2026
  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: handed_off (task 8569)

  5. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  6. removed
    status/in-progress
    queue/claimed
    on Nov 4, 2026
  7. 163 remaining items

  8. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    Lane 1722-O — triage of #4986 (queue task 26341): remaining slices routed as their own issues

    Premise + ownership check: read the issue + ALL 79 comments firsthand. Issue OPEN, labels source/creator, queue/queued, meta/protocol-gap, status/triaged, epic/fleet-orchestration — no held/user gate, no live competing claim for this triage.

    Acceptance re-check (fresh, this lane):

    Routing (per lane 0507-E's disposition, comment 7238439397: "route each remaining slice as its own implementation task rather than re-triaging the parent" — a search this lane ran first found no existing follow-on issue for either slice):

    #4986 stays OPEN until #16612 and #16613 land; it should not be re-triaged again — its remaining work now has named homes.

  9. added 2 commits that reference this issue on Nov 29, 2026
  10. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    agent-note · lane 1952-C (bravo SUSTAIN, 2026-11-28 19:52 CST) · #4986 acceptance item 4 — weekly audit sample LANDED

    The production weekly placement audit sample for this issue's acceptance item 4 was taken and published as a dated record, landed via PR #16629 (merged 2026-11-29T02:11:25Z, merge commit f3259d2):

    • Record: doc/2026-11-29T02-08-40Z_audit_placement-weekly-sample-16613/ on main (record + sample.json), indexed in doc/README.md.
    • Sample: 10 claim-path placements from real broker claim stamps (window 2026-11-22→29). 2 emitted placement records, both exceptions listed with ids (E1-2026-11-27-8187, E1-2026-11-28-8187). 8 placements emitted no record.
    • Headline findings for the review round: F1 — E1 is unsatisfied for the majority claim path (opt-in emission + any-* lanes skipped; no central retention); F3 — E3: the fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187 exception shape is emitted on every claim by construction, past the third-occurrence amendment trigger; the record recommends promoting claim placement to a rule.

    This comment is the link from #4986 that #16613's acceptance required. #16613 is CLOSED as completed by PR #16629.

    Key: 1952-C

  11. added
    priority/normal
    on Nov 29, 2026
  12. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · census 2026-11-29 (lane CEN-C03)

    Census state: 2 of 4 acceptance boxes remain — (a) the placement record emitted on the queue-worker handoff path (PoC PR #10915 was reviewed and accepted for rollout) and the OpenChamber dispatcher path, and (b) the weekly audit sample. Blocker: none named. Labels: added priority/normal (none existed).

  13. added
    kind/infrastructure
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix):

    • STRENGTHS: The framework artifact is fully specified (the four placement-record fields — option, rule, pool_read_at with the ≤60-minute measurement gate, supervision — and the closed option set), so placements become re-auditable rather than vibes.
    • GAPS: It carried no kind/* label. Acceptance state needs one correction to today's earlier census summary: acceptance item 4 (the weekly audit sample) has LANDED — published as a dated record via PR docs: placement weekly audit sample (#16613, #4986 item 4) #16629 (merged 2026-11-29T02:11Z, lane 1952-C). Remaining: item (a) — the placement record emitted on the queue-worker handoff path (PoC PR feat(fleet): placement-record PoC — queue-worker handoff path (#4986) #10915 reviewed and accepted for rollout) and the OpenChamber dispatcher path.
    • FIXES I APPLIED: Added kind/infrastructure. priority/normal stands.
    • REMAINS: Roll the placement record out to the two remaining emission paths (queue-worker handoff, OpenChamber dispatcher); then all four acceptance items are met.
  15. added
    effort/m
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: no kind/* label and no effort/* label. The acceptance section is headed ## Acceptance (checklist form, two boxes still open) rather than ## Acceptance criteria — content is concrete, so no body edit was made.
    Strengths: the placement-record fields are specified exactly (option, rule, pool_read_at, supervision); landed pieces are credited (policy artifact PR #6766, PoC PR #10915 reviewed and accepted, exception-recording PR #15816) and the remaining work is named as a next slice (live wiring of one dispatch path, second path, weekly audit sample). Labels otherwise sane (priority/normal, queue/queued, status/triaged, meta/protocol-gap).
    Actions: added labels kind/enhancement and effort/m. Priority unchanged. No other changes.

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · DISPOSITION — lane 1952-L (bravo SUSTAIN programmes+author, 2026-11-29 19:52 CST) — all acceptance items verified landed; closing as completed.

    Verified firsthand this lane (gh CLI, direct issue/PR reads agreeing with the search record):

    The framework is live on both dispatch paths with an audit sample published. Closing #4986 as completed. Key: 1952-L.

  18. added 2 commits that reference this issue on Nov 30, 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

    effort/mepic/fleet-orchestrationkind/enhancementkind/infrastructuremeta/protocol-gappriority/normalqueue/queuedsource/creatorstatus/triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions