You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986
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):
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
Policy artifact (table as data, e.g. YAML/JSON beside the framework doc) that a dispatcher can consume without parsing prose.
Placement record emitted for at least the queue-worker handoff path and the OpenChamber dispatcher path.
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
Built this shift — the one-path PoC (acceptance item 3): PR feat(fleet): placement-record PoC — queue-worker handoff path (#4986) #10915, branch queue/14492-4986-placement-poc. A Go package + CLI (pkgs/fleet/placement, cmd/placement-record) that consumes the policy of record and emits the placement record the policy's own placement_record schema declares (option, rule, pool_read_at, supervision) for the queue-worker handoff path. Evaluated from the policy data, not a copied table: question order with first-match-wins, the R2 guard exclusions (R3 unreachable under the guard; R8 skippable), supervision from the chosen option, pool_read_at as n/a for the schema's non-quota options (Actions minutes, Jules) and otherwise held to the B5 ≤60-minute gate unless the record carries an explicit B4 reliance, and E1 exceptions. Tests run against the checked-in policy (all rule paths, guard, B5, exceptions) — green; go vet/gofmt clean.
Demonstration record (live run for a queue-worker triage handoff, in the PR body): option: Muse, rule: R6, pool_read_at: 2026-11-17T02:38:57Z, supervision: "Self (it is the supervisor class)", with the R2 exclusions recorded.
Remaining after this PoC is reviewed: wire the record into the live queue-worker handoff and the OpenChamber dispatcher path (acceptance item 2, the permanent rollout), then the weekly audit sample (item 4).
agent-note:v1
task: 14492
lane: any-o (openchamber-scheduled-lane, repo-worker-code)
state: triaged
summary: Triage verdict 2026-11-17 (fresh gh). #4986 OPEN; labels task/triage, status/triaged, user/review (reviewed by code-v 2026-11-10, no Drew-only decision). Gate cleared: #2024 is CLOSED; the blocker was its design review. Placement-record PoC PR #10915 "feat(fleet): placement-record PoC — queue-worker handoff path (#4986)" MERGED 2026-11-17T02:56:35Z (CodeRabbit check cancelled, no other checks). Remaining scope per the task's own progress: rollout wiring of the placement record across fleet dispatches. That is not verified complete and is larger than a single claim, so no follow-on implementation was started here. Next: the owner decides whether #4986 closes on #10915 or a rollout follow-on is filed.
Activity
developing-today commentedon Nov 3, 2026
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
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: handed_off (task 8569)
dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
opencode, so the task is handed off to the opencode claimant, which launches a bound session to triage issue implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986 at current main.137 remaining items
dezren39 commentedon Nov 11, 2026
🤖 Agent note · blocked (dependency declared structurally)
--blocked-by-issue developing-today/code#2024, max TTL 3 days). The broker rechecks the gate itself; when design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024 closes (the review's terminal state) the task returns to the pool on its own. If the review lands as a comment without closing design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024, the TTL expiry returns the task for a fresh check — re-block only if the gate is still real.dezren39 commentedon Nov 16, 2026
Agent note — task 14492 dependency-blocked on #2024 (lane any-c)
user/reviewwas already reviewed by lane code-v (2026-11-10, note 6761522845) with no Drew-only decision — that review stands. The gate is unchanged: issue design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024 (design: task-placement framework v1 — decision rules and shared-pool efficiency model) is still OPEN and its synthesis review has not landed; implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986's PoC implements design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024's framework, so it cannot start before design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024 settles. (PR placement framework v1: encode the decision table as placement-policy.yaml (#6760) #6766 already merged covers acceptance item 1, per the task record.)--blocked-by-issue). The broker returns it to queued automatically when design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024 closes; dep TTL 3 days. This replaces the legacy handed_off state — no session is launched and nobody is waiting on a handoff.dezren39 commentedon Nov 17, 2026
🤖 Agent note · PoC built — PR #10915 open for review (task 14492, queue repo-health-code-pilot, lane code-a)
placement-policy.yaml, decision table as data).queue/14492-4986-placement-poc. A Go package + CLI (pkgs/fleet/placement,cmd/placement-record) that consumes the policy of record and emits the placement record the policy's ownplacement_recordschema declares (option,rule,pool_read_at,supervision) for the queue-worker handoff path. Evaluated from the policy data, not a copied table: question order with first-match-wins, the R2 guard exclusions (R3 unreachable under the guard; R8 skippable), supervision from the chosen option,pool_read_atasn/afor the schema's non-quota options (Actions minutes, Jules) and otherwise held to the B5 ≤60-minute gate unless the record carries an explicit B4 reliance, and E1 exceptions. Tests run against the checked-in policy (all rule paths, guard, B5, exceptions) — green;go vet/gofmtclean.option: Muse, rule: R6, pool_read_at: 2026-11-17T02:38:57Z, supervision: "Self (it is the supervisor class)", with the R2 exclusions recorded.dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged (bulk-intake concurrence) — gate cleared today; implementation in flight under task 14492, PR #10915 open
status/triaged, no hard-stop labels (user/reviewwas reviewed by lane code-v on 2026-11-10 with no Drew-only decision — that review stands). Gate issue design: task-placement framework v1 — decision rules and a shared-pool efficiency model #2024 verified CLOSED this run. PR feat(fleet): placement-record PoC — queue-worker handoff path (#4986) #10915 verified OPEN this run.pkgs/fleet/placement+cmd/placement-record, queue-worker handoff path) is open for review under that task.Merge pull request #10915 from developing-today/queue/14492-4986-plac…
dezren39 commentedon Nov 17, 2026
agent-note:v1
task: 14492
lane: any-o (openchamber-scheduled-lane, repo-worker-code)
state: triaged
summary: Triage verdict 2026-11-17 (fresh gh). #4986 OPEN; labels task/triage, status/triaged, user/review (reviewed by code-v 2026-11-10, no Drew-only decision). Gate cleared: #2024 is CLOSED; the blocker was its design review. Placement-record PoC PR #10915 "feat(fleet): placement-record PoC — queue-worker handoff path (#4986)" MERGED 2026-11-17T02:56:35Z (CodeRabbit check cancelled, no other checks). Remaining scope per the task's own progress: rollout wiring of the placement record across fleet dispatches. That is not verified complete and is larger than a single claim, so no follow-on implementation was started here. Next: the owner decides whether #4986 closes on #10915 or a rollout follow-on is filed.