GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CF-5d (#14945): M5 read waves over tenant-DB projections · Issue #14970 · developing-today/code

CF-5d (#14945): M5 read waves over tenant-DB projections #14970

New issue
Copy link
New issue
Copy link
Backlog
Backlog
CF-5d (#14945): M5 read waves over tenant-DB projections#14970
Copy link
Labels
effort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation state

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 25, 2026
Issue body actions

CF-5d — M5 read waves over tenant-DB projections (child of #14945, programme #14866). Blocked by CF-5c.

Blocked by CF-5c (the pm-service serving substrate): the read waves serve from the deployed pm-service Worker, which does not exist until CF-5c lands its async store + Worker entry. That is the literal input this wave consumes; nothing else blocks it.

Scope: the pm-service read waves over tenant-DB projections — board, roadmap, program, queue views, quota, events, overview, today, digest, reports, /aa, /chat — plus the console's Now/queue views served over the same projections, ending the two-stacks-two-numbers serving divergence. Board family stays tenant Turso (design §2). Surfaces whose data is not yet in the tenant projections land their projection as part of their wave, recorded per surface.

#14865 gate: per-surface write-amplification check recorded before each surface's cutover.

Acceptance: each listed surface serves hosted at pm.security.cab over the projections with data-plane freshness visible; per-surface records on this issue (what moved, what stayed, deploy/rollback via versions + route flip per design §4). Secrets by name only.

Design of record: doc/2026-11-25_design_cloudflare-first-migration.md (PR #14940). Premise evidence: #14945 comment 7157705797.

{
  "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-25T08:58:53Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "c11f41086f57d626be7eb582763b721f8f557408"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • M5 read waves serve over tenant-DB projections as specified in the issue body, verified against a live tenant projection
  • Read-wave behaviour matches the parent programme (CF-5 (#14866): PM hosted read surfaces (M4+M5) #14945 / CF-5) contracts — no regression in the M4 surfaces already hosted
  • Evidence (commands, outputs, or PR link) recorded on this issue before closure (PR feat(pm-service): add hosted program pool read wave (#14970) #15724; Fleet run #45899134450: 18 tests passed and package typecheck succeeded on a1a06d0; merged as 7f6fc0b)

Activity

  1. developing-today-fleet
    added
    priority/highImportant and time-sensitive
    kind/infrastructureInfrastructure / host-portability work
    on Nov 25, 2026
  2. developing-today commented on Nov 25, 2026

    @developing-today
    developing-todayBot
    on Nov 25, 2026 – with developing.today
    Contributor
    More actions

    CODE-5453

  3. developing-today-fleet
    marked this as blocked on Nov 25, 2026
    • CF-5c (#14945): pm-service serving substrate — async tenant store + Worker entry #14969
  4. developing-today-fleet
    added
    status/needs-triageNot yet triaged; needs a first look
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 25, 2026
  5. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-25T03:14 CST
    • Found via: monitor reconciliation — Duty 2 intake enrichment
    • Task: Intake pass (protocol §5): verified still live, acceptance criteria appended, labels normalized
    • Expectation: Triage and route through the pilot queue when a lane is free
    • Links: this issue

    Live check: no merged PR or commit referencing this issue was found in this run's merged-PR pull, and the issue is open with no resolving PR — it reads as still live, not solved.
    Related: parent programme context named in the title/body (see issue body).
    Notes: Filed this morning as part of a coordinated slice wave; several sibling slices are already claimed by lanes — this one was unclaimed at intake time.
    Risks: Scope is programme-sized; the acceptance criteria are the monitor's reading of the slice spec in the body — the claiming lane should re-validate them against the parent design before implementing.
    Suggested approach: claim through the pilot queue, work the body's spec in order, and check off the acceptance criteria with evidence as each lands.

  6. dezren39
    added a commit that references this issue on Nov 25, 2026

    feat(pm-service): CF-5d first read wave — overview + queue views over…

    1796aa5
  7. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    agent-note:v1
    Agent: xaltha (fleet lane, Muse seat)
    State: claimed — CF-5d first read wave landed as PR #15154; issue stays open for the remaining surfaces + live cutover

    Blocker re-check (fresh, 2026-11-25): CF-5c (#14969) substrate PR #15043 MERGED and the pm-service Worker deployed green (health reports the merge SHA). What remains on #14969 is provisioning the PM_TENANT_DB_URL / PM_TENANT_DB_TOKEN Worker secrets (no pm-tenant Turso credential exists in the secrets broker under that name) — that blocks the live half of this issue's acceptance, not code waves over the projections, so this slice proceeded on the code half.

    PR #15154 (branch xaltha/14970-m5-read-waves, commit 1796aa5, base main 02ff71b):

    • New src/read-api/waves.ts: pure derivations over the merged pool + board summaries.
    • Overview — moved: GET /api/overview.json (totals + breakdowns by state/status/area/horizon/kind/contentKind + board summaries).
    • Queue — moved: GET /api/queue.json (open pool grouped by Status; blocked = held by a still-open pool item; readyRefs = no live blocker; closed/absent blockers do not hold an item) — the hosted half of the console Now/queue family.
    • Freshness visible: every wave response carries per-board latest snapshot stamps + latestSnapshotAt (null = honest absence).
    • Stayed: program, quota, events, today, digest, reports, /aa, /chat — their data is not in the tenant projections yet; their waves land their projection first. Per-surface record is in the pm-service README.
    • sweep: eliminate write amplification (whole-table rewrites) in PM Stack, queues, bridge #14865 write-amplification check: zero new writes — no new projection/table/write path; only the SELECTs the existing routes already issue.

    Tests: new test/read-api-waves.test.ts (hand-computed oracle: totals, breakdowns, freshness, blocked/ready split, empty-store honesty; both routes end-to-end over a seeded tenant DB via real migrations + snapshot landing) and the CF-5c async parity suite extended to both new routes (byte-identical sync vs async).

    Verification status (honest): remote-only per the runbook. fleet queue dispatch is blocked by TLS defect #13185; the fleet-command.yml fallback dispatch returned HTTP 500 from this seat (no run created — verified against the run list), and a direct pm-stack-tests.yml workflow_dispatch on this branch returned the same HTTP 500, so no remote run could be created this run. The suites ride (a) the nightly pm-stack-tests.yml, which includes the pm-service suites, and (b) the pm-service deploy workflow on merge, which runs bun test + typecheck before any upload. No local test run was substituted.

    Remaining for this issue: the other surfaces' waves (each lands its projection first), and the live record once #14969's tenant secrets are provisioned and the Worker redeploys.

  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    Verification update (xaltha lane, 2026-11-25): PR #15154's remote verification run 45657703594 (fleet-command, developing-today/fleet) completed with conclusion success (created 2026-11-25T16:47:19Z, completed 16:58:35Z) — the dispatched pm-service read-wave tests (read-api-waves + read-api-async) passed. Metadata only — no CI logs read. This verifies the code half in PR #15154; live acceptance still depends on #14969's Turso Worker-secrets provisioning as previously noted.

  9. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note:v1 — ruling impact (recorded by a CF-5 lane, 2026-11-26): the owner ruling on #14866 (comment 7189808145) supersedes this issue's premise line 'Board family stays tenant Turso (design §2)'. Board data's target is now D1 (the #9079 placement is superseded), shaped by #15482/#15494. Still blocked_by #14969 as recorded — the blocker is unchanged; only the data-plane target moved. Refs #14866 ruling.

  10. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 26, 2026
  11. dezren39
    added a commit that references this issue on Nov 26, 2026

    feat(pm-service): CF-5d first read wave — overview + queue views over…

    07f91e8
  12. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    Member
    More actions

    Lane 4 (fleet queue task 23954, PR shepherd): the first read wave, PR #15154, is merged (squash 07f91e8) after re-verification on its head.

    • pm-stack tests: 3865 pm-service tests passed, 0 failed.
    • pm-service typecheck: green.

    It adds the /api/overview.json and /api/queue.json waves, with freshness in the served shape. They read through the existing SQL store layer, so they follow whichever data plane #14969 or the #14866 D1 ruling wires up. Until then they answer the designed 503.

    This issue stays open for the remaining surfaces and the live cutover.


    Generated by Claude Code

  13. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    Decided: The next independent CF-5d read slice is GET /api/program.json, derived from the existing Project pool epicRef values and board snapshot freshness; each pool item appears once, and missing epic or snapshot data stays explicit.
    Why: Current main has no program route in the pm-service handlers, while the async and sync handlers already load the same pool and freshness data. This adds a named M5 surface without a new write path; live tenant reads remain gated by #14969.
    Undo: Remove the route and tests; the schema and write path remain unchanged.
    By: agent-next-24-local

  14. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    Progress: PR #15724 contains the failing-first program route test. Fleet run 45894574298 on commit 4552c21 confirmed the intended baseline failure: GET /api/program.json returned 404 (expected 200). The route is absent on main; implementation is now in progress.

  15. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    CF-5d slice 2 update: PR #15724 adds the program grouping read wave. Fleet run 45899134450 passed the program grouping and async/sync parity tests (18 tests, 45 assertions) and package typecheck on commit a1a06d0. The final refresh to main added no pm-service files. The route is code-complete but still returns the designed 503 until the live tenant plane in #14969 is configured. Next slice: after this PR, verify /api/program.json against a live tenant projection and record its freshness plus deploy/rollback evidence; then continue the remaining M5 surfaces.

  16. dezren39
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #15724 from developing-today/agent-next-24-local/2…

    7f6fc0b
  17. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    CF-5d slice 2 landed: PR #15724 merged as 7f6fc0b. It adds /api/program.json in sync and async handlers, grouping all Epic headers and child rows (including duplicate rows across boards), retaining unassigned items, and exposing board snapshot freshness. Fleet run 45899134450 passed the program grouping and async/sync parity tests (18 tests, 45 assertions) and tsc --noEmit on commit a1a06d0. Acceptance remains open for live tenant-plane reads and the remaining M5 surfaces; #14969 is still blocked. Next slice: after #14969 provides a live pm-service projection, verify /api/program.json at the deployed route with freshness and rollback evidence, then continue the remaining M5 read surfaces.

  18. dezren39
    added
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    CF-5d program HTML slice ready for verification: PR #16133 adds hosted GET /program reusing the landed programFromPool projection and the same loaders/freshness as /api/program.json (Epic groups incl. cross-board duplicate headers, missing headers explicit, unassigned rows, HTML-escaped, honest snapshot absence; GET-only, SELECT-only, zero new writes).

    Evidence: failing-first remote run 45991741288 (new HTML tests fail on unowned /program, existing JSON tests pass), then green remote run 45992441311 on fdbb8c6 — 34 pass, 0 fail, 144 assertions (program + dashboard + async-parity suites) and tsc --noEmit clean. Own reviewer approved. No local runs substituted; no D1/binding work (that stays with #14969); live cutover still genuinely depends on #14969 and is not claimed.

    Next remaining slice: after #14969 provides a live tenant projection, verify /api/program.json and /program against the deployed route with freshness plus deploy/rollback evidence; then continue the remaining M5 surfaces (quota, events, today, digest, reports, /aa, /chat).

  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Decided: Merge the code-only /program HTML slice now; live cutover stays gated on the technical #14969 tenant-plane dependency, not on any owner action.
    Why: No owner question exists anywhere in this thread — the only blockers named are CF-5c/#14969 (technical: D1 adapter/binding/provisioning). The slice was verified on its own evidence: failing-first remote run 45991741288, then green run 45992441311 (34 pass, 0 fail, 144 assertions + tsc clean) on the exact merged head fdbb8c6, plus independent review. PR #16133 merged as db929f9.
    Undo: Revert db929f9 (route/render/test/docs only; no data-plane changes).
    By: oc-code-06 (parent verification; worker slice by subagent ses_e5de343796bffevC7uRLPmjRS2)

    Keeping status/blocked: its reason here is the genuine technical dependency on #14969, not an owner gate (FDR-0013 repair rule applies only to owner-reason blocks). No user/escalated label exists, so no hands item. Next slice after #14969 lands a live tenant projection: verify /api/program.json and /program against the deployed route with freshness plus deploy/rollback evidence, then continue remaining M5 surfaces (quota, events, today, digest, reports, /aa, /chat).

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

    effort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.