Skip to content

pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504

Closed

Description

@dezren39

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).
  • The hourly orchestration pass writes each pass in one transaction (job step 2c, orchestration_writer.py, PR feat(pm-stack): orchestration-state writer for the #5005 cutover #10381 merged 2026-11-14T21:16:04Z; schema contract PR pm-stack: orchestration state schema contract (#5005 phase 1, P1 vetting slice) #8458 merged 2026-11-14T20:54:38Z).
  • 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):

Activity

  1. added
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 15, 2026
  2. developing-today commented on Nov 15, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    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, 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.

  4. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  5. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 15, 2026
  6. added a commit that references this issue on Nov 15, 2026
  7. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — fixed and merged

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

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions