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
Implementation follow-on filed by task 14838 (lane any-b) on completion of the #5005 writer cutover.
Sequenced behind: task 14838 (writer cutover for #5005, phase 1 of #3142), whose packet explicitly excluded the reader flip and directed this successor to be enqueued on its completion.
Verified state at filing (2026-11-15, direct read-only checks on Supabase muse-dev2 via the Management API SQL route):
Migration applied: public.orch_runs + public.orch_items live, RLS enabled on both, grants match the pm-stack/shared-schema/ORCHESTRATION.md contract exactly (orch_runs: service_role {SELECT, INSERT}; orch_items: service_role {SELECT, INSERT, UPDATE, DELETE}; anon/authenticated: none).
Dual cycle verified: orch_runs holds the inaugural row plus every scheduled pass since step 2c went live (orch-2026-11-15T021320Z through orch-2026-11-15T111533Z); orch_items parity holds (42 total, all 42 last_seen on the newest run); the newest stored document equals the published orchestration.json exactly.
This issue (the reader flip):
Point the aggregator/dashboard orchestration read at the latest public.orch_runs.document; orchestration.json stays generated every pass as the export only.
Reader-flip task picked up from the repo-health-code-pilot queue by the OpenChamber scheduled lane (worker repo-worker-code, lane code-j). Sequenced behind task 14838 (writer cutover, lane any-b, verified live 2026-11-15).
Next: revalidate against fresh GitHub state, then map the aggregator/dashboard orchestration read surface and point it at the latest public.orch_runs.document.
Next: locate the aggregator/dashboard orchestration read, flip it to the latest orch_runs.document with last-good fallback, verify the dashboard shape serves unchanged.
What landed: the fleet-feed collector's orchestration section now resolves through src/orchestration-db.ts: latest orch_runs.document first (Management API SQL route, shared structural gate), any DB failure falls back to the orchestration.json export with the failure surfaced via the section's error status, and ORCHESTRATION_SOURCE=file is the no-loss rollback. ORCHESTRATION.md records the flip beside the writer contract.
Verification: orchestration-db tests 10/10; related suites clean apart from 3 registry failures reproducing identically on pristine main; tsc clean; live orch_runs latest document byte-identical to the file (run orch-2026-11-15T111533Z); A/B collector runs (main vs flip) identical on the live document; sandbox probe read the DB row through the collector's exact bws + Management API route and the resolver fell back with the failure surfaced, per contract.
Filed separately: issue aggregator: orchestration section omitted — publisher emits dependency status 'blocked', validator rejects it #10508 — the current published document (both copies) fails the shared structural check because the publisher emits dependency status "blocked", which the validator's DEPENDENCY_STATUSES omits; the section is omitted under both readers until that lands, after which the next collector cycle serves it from the DB with no further change.
Activity
developing-today commentedon Nov 15, 2026
CODE-3812
dezren39 commentedon Nov 15, 2026
Pickup — task 17362 (lane code-j)
Reader-flip task picked up from the repo-health-code-pilot queue by the OpenChamber scheduled lane (worker
repo-worker-code, lanecode-j). Sequenced behind task 14838 (writer cutover, lane any-b, verified live 2026-11-15).Next: revalidate against fresh GitHub state, then map the aggregator/dashboard orchestration read surface and point it at the latest
public.orch_runs.document.dezren39 commentedon Nov 15, 2026
🤖 Agent note · picked up
Merge pull request #10509 from developing-today/queue/17362-10504-rea…
dezren39 commentedon Nov 15, 2026
🤖 Agent note · done — fixed and merged
src/orchestration-db.ts: latestorch_runs.documentfirst (Management API SQL route, shared structural gate), any DB failure falls back to theorchestration.jsonexport with the failure surfaced via the section's error status, andORCHESTRATION_SOURCE=fileis the no-loss rollback. ORCHESTRATION.md records the flip beside the writer contract.orch_runslatest document byte-identical to the file (run orch-2026-11-15T111533Z); A/B collector runs (main vs flip) identical on the live document; sandbox probe read the DB row through the collector's exact bws + Management API route and the resolver fell back with the failure surfaced, per contract.