GeezerVison is showing github.com — Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor · Issue #2153 · developing-today/code
Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153DescriptionImplementation follow-on from the #2132 triage (queue task 3163, 2026-10-29). Parent design: #2132; babysitter design origin: #2021; fleet epic: #2055.
Build the merged session conductor designed on #2132:
- New job
openchamber-conductor (20m cadence, owner goal:keep-the-four-repos-healthy) with one instruction file merged from the current dispatcher and babysitter instructions, preserving both rule sets verbatim where they do not conflict. One run = one capacity inventory + one quota snapshot (measurement gate: no dispatch or reroute without a quota picture ≤60 min old covering all pools), then:
- SWEEP phase first: one pass over all live sessions — answer questions, nudge/kick stalls within the babysitter's existing limits, apply the escalation ladder: (a) reroute pool (Workhorse → Specialist; Summit only for synthesis-class work), (b) move off an exhausted pool, (c) stop the session and hand its task back to the queue parked with a reason — never leave a stopped session silent.
- DISPATCH phase second: launch from the queue head into capacity the sweep confirmed or freed; Workhorse default; verified launch with session↔task binding; fire-and-forget (no babysitting inside dispatch).
- Cutover: enable the conductor, disable
openchamber-dispatcher and openchamber-babysitter (disable, do not delete — rollback is re-enabling the pair). Update the fleet-watchdog roster to the merged job id in the same pass.
- Measurement: for 48h after cutover, the daily token check-in reports the conductor's input per cycle against the pair's check-in Bump build/buck/preludes/buck2-prelude from
3a02ea3 to 370cd4d #5 baseline (149M + 124M per ~15h window); success = ≤60% of the pair at equal sessions served. Report the first comparison on Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132.
Acceptance:
Activitydeveloping-today commented on Oct 29, 2026 dezren39 commented on Oct 30, 2026 Triage verdict — cutover plan CONFIRMED against live definitions, implementation packet enqueued
Queue task 3173 (triage, repo-worker-code, OpenChamber scheduled lane), 2026-10-30T04:4xZ. Read-only: no job was created, enabled, disabled or edited by this triage.
Live state re-verified (source of truth, not the packet)
| Job |
Definition file |
enabled |
cadence |
timeout |
instruction |
openchamber-dispatcher |
~/hatch-personal/workspace/goals/keep-the-four-repos-healthy/crons/minutely/[email protected] |
true |
15m |
2700s |
hidden_files/openchamber-dispatcher-instruction.md |
openchamber-babysitter |
.../crons/minutely/[email protected] |
true |
20m |
1800s |
hidden_files/openchamber-babysitter-instruction.md |
Both carry owner: goal:keep-the-four-repos-healthy and deliver to the same chat a15e5512-51ce-49c1-ad0f-46beaea69b04, each running its own PRELUDE and its own full inventory. The duplicated fixed cost the merge removes is confirmed in the definitions themselves. openchamber-conductor is free: no cron file, no branch in hatch-personal, no open PR mentions it. #2132's triage verdict (task 3163) and this re-check agree; no premise correction needed.
Cutover plan — confirmed, with the exact touch points
- Create
[email protected] in the same crons/minutely/ directory, enabled: true, owner: goal:keep-the-four-repos-healthy, every: 20m, timeout_secs: 2700 (the dispatcher's, per Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132 decision 1), delivery chat a15e5512-… unchanged, PRELUDE block copied verbatim.
- Merged instruction
hidden_files/openchamber-conductor-instruction.md: dispatcher + babysitter rule sets preserved verbatim where they do not conflict; one capacity inventory + one quota snapshot per cycle shared by both phases; SWEEP first then DISPATCH; escalation ladder (nudge/kick within existing limits → reroute pool Workhorse→Specialist, Summit for synthesis only → move off an exhausted pool → stop and hand the task back parked with a reason); measurement gate binding on dispatch and reroute.
- Disable, never delete, the pair: flip
enabled: false in both files above (definitions are versioned in hatch-personal, so this is a one-line-per-file, fully reversible change).
- Watchdog roster — three places, not one (the packet's "update the roster" understates this):
crons/minutely/[email protected] METHOD Query A job_id IN (…) list;
- the same cron file's Query B
job_id IN (…) list;
hidden_files/fleet-watchdog-instruction.md §Fleet roster (line 18), the §Stuck-run threshold table (line 38, currently "dispatcher 60m, babysitter 45m" → one conductor threshold), and the §Watcher gaps rule (line 46, "openchamber-babysitter or repo-fleet-monitor" → openchamber-conductor). Missing the instruction-file edits leaves the watchdog alerting on two jobs that no longer run.
- Rollback = re-enable the two disabled files and disable the conductor. Reversible in one commit; no deletion, no data loss. Confirmed viable.
Two gaps the implementation must close (not blockers, but silent-failure traps)
- Measurement source. The 273M baseline (149M + 124M per ~15h window, check-in Bump build/buck/preludes/buck2-prelude from
3a02ea3 to 370cd4d #5) comes from the daily token check-in, not from dispatcher-log.md / babysitter-log.md, which record dispatches and rounds but no token input. The 48h comparison must read the same check-in source for the conductor, and the conductor's log must additionally record sessions swept + dispatched per window, otherwise "at equal sessions served" is unmeasurable. Ask for this in the implementation acceptance, do not leave it to prose.
- Overlap semantics.
timeout_secs: 2700 on a 20m cadence means runs can overlap pending occurrences; the scheduler coalesces them as cancelled, which the watchdog correctly does not count as failure. Same behaviour the pair has today (2700s on 15m), so it is a documentation note for the conductor instruction, not a design change.
Routing
Implementation packet enqueued on repo-health-code-pilot for this issue, kind small_fix, flagged live-fleet-change, carrying the four acceptance criteria above plus the watchdog three-place roster edit and the measurement-source requirement. Dedupe key repo-health:v1:fix:developing-today/code:issue:2153. #2021's open escalation question is answered by the ladder (step 2); the cutover report must link #2021 and #2055.
dezren39 commented on Oct 30, 2026 dezren39 commented on Oct 30, 2026 🤖 Agent note · parked
- Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
- Session / ID: queue task 3806
- Found via: queue claim
- Task: Live-fleet conductor cutover (Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 as designed on Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132) — parked unworked: claimed at end of a 30-minute scheduled-lane run, and the 45-minute cutover (new conductor cron + merged instruction, disable pair, three watchdog roster touch points, first-run verification, cutover report) cannot fit the remaining budget.
- Expectation: Next lane reclaims after not_before and executes the cutover; resume brief is in the task checkpoint. No files touched, Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 untouched apart from park labels.
- Links: tasks metabolites: Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132 (design), design: scheduled OpenCode preliminary babysitter — sweep sessions, fix easy stalls, escalate the rest #2021, epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055
dezren39 commented on Oct 30, 2026 dezren39 commented on Nov 3, 2026 🤖 Agent note · parked — one acceptance item remains
- Agent: queue worker (repo-worker-code), lane code-a
- Session / ID: task 8468 (parked 24h)
- Done this shift: acceptance item 2 — design: scheduled OpenCode preliminary babysitter — sweep sessions, fix easy stalls, escalate the rest #2021 linked from the Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 cutover report (addendum comment above, 6614026909; pointer on design: scheduled OpenCode preliminary babysitter — sweep sessions, fix easy stalls, escalate the rest #2021, 6614030429).
- Remaining: acceptance item 1 — the 48h conductor cost comparison on Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132. Method (from
hidden_files/conductor-log.md header): baseline dispatcher+babysitter = 273M input per ~15h window (daily token check-in Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 370cd4d #5); read the conductor's input for a named 48h window from the same daily token check-in source; normalise by sessions swept + sessions dispatched summed from the conductor-log cycle entries in that window; verdict against the ≤60%-of-baseline target at equal sessions served; post on Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132 and link it here.
- Why parked, not finished: the check-in source lives in the weekly token-usage pipeline, not in this repo; assembling a defensible 48h input total is its own work block and this shift's budget is spent. Resume: execute the method above, post on Design: session conductor — merge OpenChamber dispatcher + babysitter into one job (implements #2021 as the merged job) #2132, then complete task 8468.
dezren39 commented on Nov 4, 2026 agent-note:v1
event: picked_up
task: 8468
lane: code-i
execution_lane: direct
summary: Task 8468 (triage, acceptance remainder of #2153) claimed by lane code-i on the direct lane. Acceptance item 2 (#2021 link) already done per prior progress; resuming item 1: compute the conductor 48h cost comparison and post it on #2132.
next: assemble figures from the token check-in source and conductor-log.md, post on #2132, complete task 8468 dezren39 commented on Nov 4, 2026 agent-note:v1
event: done
task: 8468
lane: code-i
execution_lane: direct
summary: Both #2153 acceptance items are now met. Item 2 (#2021 linked from the cutover report) was done earlier (6614026909 / 6614030429). Item 1 (48h cost comparison) is posted on #2132 (comment 6640808470): conductor first 48h (2026-10-30T22:13Z -> 2026-11-01T22:13Z) = 398.35M input over 139 runs (2.87M/run, 8.30M/h, 14 sessions dispatched) vs the check-in #5 dispatcher+babysitter baseline of 273.6M per ~14.7h (18.68M/h) = 44% per hour / 46% per 20-min slot — PASS against the <=60% target. Attribution method cross-validated against check-in #8's published conductor figure (96.39M measured vs 96M published). Closing #2153: implementation live since 2026-10-30 and every acceptance item now has posted evidence.
next: none — task 8468 completing as triaged
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|