GeezerVison is showing github.com — Migrate pr-diff-review pair to draft-native OpenCode reviews (#2174 wave 2, partial) · Issue #15343 · developing-today/code
Migrate pr-diff-review pair to draft-native OpenCode reviews (#2174 wave 2, partial) #15343DescriptionRefs #2174
Refs #14222
Follow-on from the Muse→OpenCode cron wrapper inventory (#14222): pr-diff-review + pr-diff-review-b (2h each, enabled at inventory) carry the disposition migrate — wave 2, partial: OpenCode sessions draft the diff reviews; Claude spot-checks, per the study §3 second-wave analysis (~50M/day of ~97M/day saved).
Caveat recorded in the inventory: since the study, the pair's charters were amended for review-loop Stage B (#2313, registry amendment 2026-11-22) — for epic #2055 PRs they now issue live verdicts, merge on accept, and close on reject. That raises the judgment content above what the study assessed; the port design must state explicitly which parts (drafting vs verdicts) move.
Gating: #2174 requires monitoring gaps 1-4 closed and demonstrated on a pilot before wave migration proceeds. Per the #14222 inventory record, gaps 1 (PR #8437) and 3 (PR #11158) are merged; gap 2 (token accounting, #2072 exporter work) and gap 4 (server residency) were still open at inventory time — verify their state before starting. Not enqueued at filing: the queue broker is unreachable (incident #15131); enqueue when it recovers.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-26T02:42:44Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
Activitydeveloping-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions Intake review
🤖 Agent note · filed
Related: part of the #2174 wave-2 migration batch filed 2026-11-26T02:42Z (siblings include issues #15339-#15342, #15344, #15345, #15346). No PR resolves this issue.
Gating (from the issue body): issue #2174 requires monitoring gaps 1-4 closed and demonstrated on a pilot before wave migration proceeds; gaps 1 (PR #8437) and 3 (PR #11158) are merged per the issue #14222 inventory, gaps 2 (token accounting, issue #2072 exporter work) and 4 (server residency) were open at inventory time — their current state must be verified before work starts. Merged PR #15351 is the spawning inventory record, not a resolution. Not enqueued at filing (queue broker outage, incident issue #15131).
Risks: the pair's judgment content grew after the study (live verdicts, merge-on-accept, close-on-reject for epic #2055 PRs) — a port that moves verdicts by accident would break the review loop's separation rule (the producer never self-accepts). The drafting/verdict split is the load-bearing design decision here.
Suggested approach: verify gaps 2/4 first; then write the split down as the port's first artifact before any session is re-pointed.
dezren39 commented on Nov 26, 2026 Triage verdict (lane code-i)
Verdict: Needs real implementation work — not a small fix.
This is an effort/m feature (kind/infrastructure, epic/opencode-platform, priority/normal) to migrate the pr-diff-review + pr-diff-review-b pair to draft-native OpenCode reviews under program #2174, wave 2 partial. It cannot be resolved with a small edit or closing keyword.
Assessment:
- Well-formed: acceptance criteria and intake notes are present (meta/enriched); intake review filed by fleet monitor at 2026-11-26T04:23Z.
- Gating: issue OpenCode scheduled tasks: migrate the Muse→OpenCode cron wrappers into OpenChamber scheduled tasks (waves, monitoring gates) #2174 requires monitoring gaps 1–4 closed and demonstrated on a pilot before wave migration proceeds; gaps 1 (PR feat(pm-stack): scheduled-history collector — per-run history for OpenChamber scheduled tasks (#2174 Gap 1) #8437) and 3 (PR feat(scheduled-history): Gap 3 watchdog over OpenChamber run history (#2174) #11158) are merged per inventory Muse→OpenCode cron wrapper inventory with dispositions (#2174 slice) #14222; gaps 2 (token accounting, issue External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072 exporter work) and 4 (server residency) were open at inventory time — verify current state before work starts.
- Risk: since the study, the pair charters were amended under review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313 (registry amendment 2026-11-22) so they issue live verdicts, merge on accept, and close on reject for epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055 PRs — that raises judgment content above what the study assessed. The port design must state explicitly which parts move to OpenCode (drafting) and which stay with Claude (spot-checks and Stage B verdict/merge/close). The drafting/verdict split is load-bearing; moving verdicts by accident breaks separation.
- Depends: inventory record Muse→OpenCode cron wrapper inventory with dispositions (#2174 slice) #14222 (merged PR doc: Muse→OpenCode cron wrapper inventory with dispositions (#14222) #15351); Stage B amendment review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313. Sibling batch: Migrate openchamber-conductor (dispatcher + babysitter successor) to OpenChamber scheduled tasks (#2174 wave 1) #15339–Migrate repo-fleet-monitor gathering half to an OpenChamber scheduled task (#2174 wave 2, partial) #15342, Replace pool-quota-steward's Claude pass with a thin check over quota-gatherer output (#2174 wave 2, partial) #15344–Assess main-ci-failure-fix-trigger for OpenChamber scheduled-task port (#2174 wave 2) #15346.
- Note: not enqueued at filing (queue broker outage, incident fleet-stalling: queue broker unreachable since 2026-11-25T14:00:28Z #15131) — enqueue when it recovers.
Next: Verify gaps 2 and 4, then write the drafting/verdict split as the port’s first artifact before any session is re-pointed; proceed through design → plan → implement.
Triage recorded by lane code-i (task 23867), 2026-11-26. dezren39 commented on Nov 26, 2026 Gap verification — acceptance criterion 1 (lane xaltha, task 24184, 2026-11-26)
Verified the current state of #2174 monitoring gaps 2 and 4 before any migration work, per this issue's first acceptance criterion. Gaps 1 (PR #8437) and 3 (PR #11158) are merged per the #14222 inventory.
Gap 2 — token accounting (OpenCode-side exporter, #2072 work): NOT CLOSED.
- External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072 ("External-system observability: unified PM + queue + quota attribution") is still OPEN, labelled status:in-review and queue/queued. The OpenCode-side exporter twin of runtime-db-export has no merged closure record.
- Partial evidence exists that the underlying data is flowing: the primary-seat pilot read on OpenCode scheduled tasks: migrate the Muse→OpenCode cron wrappers into OpenChamber scheduled tasks (waves, monitoring gates) #2174 (task #24171, 2026-11-26) found 57/57 scheduled runs in a 48h window carrying OpenCode
session_v2 token attribution. Attribution in the history store is not the exporter External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072 tracks; the gap stays open until External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072 closes.
Gap 4 — server residency (scheduler dies with the OpenChamber server process): NOT VERIFIED CLOSED.
Verdict: The #2174 gate (gaps 1–4 closed and demonstrated on a pilot before wave migration proceeds) is not yet satisfied for this wave-2 item. Migration/port work on the pr-diff-review pair does not start. Next actions belong to the gate owners: close #2072 (gap 2) and record the gap-4 residency confirmation on #2174. Once both land, the next slice here is the port design stating the drafting (OpenCode) vs verdict/spot-check/Stage-B (Claude) split.
Queue task 24184 is parked with that resume condition. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Gate re-verification — acceptance criterion 1 (lane code-f, task 24184, 2026-11-27)
Re-checked the #2174 migration gate before any port work. Still not satisfied; no migration slice starts.
Task 24184 re-parked: resume when #2072 closes AND the server-residency confirmation lands on #2174. The next slice then is the port design with the drafting (OpenCode) vs verdict/spot-check/Stage-B (Claude) split.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|