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-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments · Issue #14968 · developing-today/code

CF-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments #14968

New issue
Copy link
New issue
Copy link
Backlog
Backlog
CF-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments#14968
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-sensitivestatus/needs-triageNot yet triaged; needs a first look

Description

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

CF-5b — M4 ledger surfaces hosted (child of #14945, programme #14866).

Serve /alerts and /notifications over the alerts/unified ledgers, plus /dns and /comments, hosted at pm.security.cab. Data planes follow design §2: alerts/push ledgers stay fleet-platform Turso. Each surface shows its data-plane freshness (the #14065 rule: no tier renders invented data to fill a gap).

The preferences redirect is part of this wave but is blocked on #14084 S4 (push unification — the redirect target's shape is S4's output); only that one surface waits, the rest of this wave proceeds.

#14865 gate: record the write-amplification check for the alerts/notifications path on this issue before cutover; an open finding in this path is carried as this slice's first step or waits, saying which.

Acceptance: /alerts, /notifications, /dns, /comments serve hosted at pm.security.cab with freshness visible; preferences redirect live once #14084 S4 lands; 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:38Z",
    "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

  • M4 ledger surfaces (/alerts, /notifications, /dns, /comms) are hosted and reachable as specified in the issue body
  • Each surface returns data from the hosted plane, verified live (not just deployed)
  • Evidence (URLs, commands, outputs, or PR link) recorded on this issue before closure

Activity

Next
  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-5451

  3. 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
  4. 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.

  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

    Claim: lane IW-339 (Archer item lane) taking #14968 — CF-5b M4 ledger surfaces hosted. Plan, in the body's order: (1) the #14865 write-amplification check for the alerts/notifications path, recorded here; (2) hosted read routes for /alerts, /notifications, /dns, /comments on the pm-service substrate landed by #14969 (async adapter + parity tests + versions-standard deploy), each surface carrying its data-plane freshness per the #14065 rule; (3) live verification where the ledger credentials exist by name, with any remainder named explicitly. The preferences redirect stays blocked on #14084 S4 per the body. Worktree on the laptop off the primary clone.

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

    #14865 gate check — alerts/notifications path (recorded before cutover, per this issue's gate)

    Checked the full alerts/notifications write path in pm-stack/aggregator/src on current main (lane IW-339, 2026-11-25):

    • alerts.ts (AlertsStore — the only writer of the alerts + push ledgers): every write is a single-row statement — alerts.incident_events insert per event, alerts.incidents insert-or-dedupe-update per incident, alerts.notification_sends insert per send attempt, push_endpoints/push_preferences upserts per subscription. No whole-set rewrite, no saveAll, no delete-all-reinsert anywhere in the file.
    • notifications.ts: the /notifications roll-up is a pure derivation over ledger rows — it writes nothing.
    • notification-history.ts: append-only JSONL (appendFile per entry, serialized through a write chain) — appends, never rewrites.
    • The aggregator's only saveAll remotes are comments and actions (both already fixed by the sweep: eliminate write amplification (whole-table rewrites) in PM Stack, queues, bridge #14865 sweep, PR pm-aggregator: ship only changed actions/comments rows to Turso (#14865) #14975) and prompt-attachments (uploads — not this path).

    Verdict: no open #14865 finding in the alerts/notifications path. The gate is clear for this slice; nothing is carried as a first step.

    Data-plane note for the surfaces below: the alerts ledgers and shared_comments live in the fleet-platform Turso DB (the store client in aggregator/src/turso-stores.ts, ref turso:fleet-platform), with SQLite table names alerts_incidents, alerts_incident_events, alerts_notification_sends, shared_comments.

  7. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15086 from developing-today/iw339/14968-cf5b-ledg…

    4556f52
  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    CF-5b slice staged: PR #15087 (branch code-h/14968-cf5b-hosted-read-surfaces @ bfff94c). Owner-gated /comments from public.shared_comments, HOSTED_COMMENTS=off default. Fleet verification fp_450f5be11b7fad706911719e063d7d6b running: https://github.com/dezren39/fleet/actions/runs/45613689915. Production stays disabled until live verified-owner request succeeds. Refs #14968

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

    CF-5b slice landed — hosted /alerts, /notifications, /comments in the console edge (PR #15086, merged 4556f52c44d6)

    Lane IW-339 completion record. The #14865 gate verdict for the alerts/notifications path is recorded above (comment 7161913552): clean, nothing carried.

    What moved (staged, default-off — the #14967 pattern):

    • New self-contained module pm-stack/console/edge/src/ledger-pages.ts: serves GET /alerts, /notifications, /comments and their /api/*.json twins from the fleet-platform Turso ledger (HTTP pipeline protocol ported from aggregator/src/turso-stores.ts; tables alerts_incidents, alerts_incident_events, alerts_notification_sends, shared_comments — the same reads the laptop aggregator's AlertsStore/comments store make). Owner is verified by the caller before the handler runs. Fixed SQL only.
    • Freshness on every answer (pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead #14065): read time + the surface's own newest row timestamp, HTML and JSON alike; a failed read answers 503 — never a stale or empty page dressed as current.
    • The /notifications roll-up ports the aggregator's pure derivation with counting rules pinned by tests, with one documented divergence (below).
    • Wiring: EdgeOptions.ledgerPages + route block after owner identification (edge.ts), opt-in env in worker.ts: LEDGER_PAGES=on + PM_LEDGER_DB_URL / PM_LEDGER_DB_TOKEN Worker secrets. Flag off = the paths stay the host's exactly as before. The laptop aggregator keeps serving production; nothing was flipped.

    Live probe (read-only; the credential was resolved and used on the laptop only, never printed): the module's exact queries against the real ledger returned 100 incidents (41 open; newest 2026-11-25T12:05:35Z), 100 events with detail decoded to objects, 271 sends, 2 comments — row shapes match the aggregator's interfaces field for field.

    Finding from the probe — the aggregator's own roll-up dates zero live sends: logSend inserts no timestamp column; the live table's defaulted send-time column is named at (all 271 rows carry it; none carry sent_at/created_at), while sendTimestamp in aggregator/src/notifications.ts reads only sent_at ?? created_at. Against this ledger the laptop /notifications roll-up counts 269/269 sent rows as undated and renders empty. The hosted port falls back to at after those two (dates all 271: 9 classes, 0 undated). The aggregator-side fix is filed as its own issue (number appended in a follow-up note once confirmed filed — the first filing attempt timed out and is being verified, not blindly retried).

    Tests (laptop worktree, bun — named fallback; console suites are bun): new test/ledger-pages.test.ts 10/10; test/edge.test.ts 184/184; test/timed.test.ts green (its Worker-wide scan caught a raw AbortSignal.timeout in the first draft — the module now uses the house src/timed.ts helper). Full console suite on the branch: 688 pass / 2 fail → after the timer fix, the only remaining failure is platform.test.ts's workers-list read through the fleet binary, which fails identically on a pristine-main control worktree (pre-existing, live-state dependent).

    What remains on this issue:

    1. /dns — split out with reason: the DNS surface's data plane is the impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register #902 register pipeline (register.json authoritative + register Markdown fallback → fleet feed DnsSection), not a ledger. Hosting it needs a register-publication decision (where register.json is published for the edge to read), which is a design call above this slice. The hosted /dns page must not be built on the Turso ledger.
    2. The live flip: set PM_LEDGER_DB_URL (the fleet-platform Turso address) + PM_LEDGER_DB_TOKEN (from the vault name turso.fleet-platform-rw-token) as Worker secrets and LEDGER_PAGES=on via scripts/expose.py, deploy the console edge, then record the four routes' live reads at pm.security.cab here (the CF-5c (#14945): pm-service serving substrate — async tenant store + Worker entry #14969 pattern: substrate merged → secrets → live reads recorded → rollback-by-flag-off noted).
    3. The /alerts preferences redirect to the app's preferences screen stays blocked on PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 S4 (unchanged by this slice).
  10. 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

    Follow-up to the completion record above: the aggregator-side roll-up defect is filed as #15090 (notifications roll-up dates zero sends against the live ledger — the send time lives in the sends table's at column). The hosted port in PR #15086 already carries the fallback; #15090 is the laptop aggregator's own fix.

  11. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    Progress: PR #15087 now includes follow-up commit 31810b5. Remote run dezren39/fleet#45613689915 failed two test assertions: stored timestamp formatting and a JWKS cache collision between independently generated test worlds. Both fixture defects are fixed; the four targeted tests pass in a local diagnostic check, but remote confirmation is pending. Read-only review found no severe issue. No production enablement or authenticated live-data proof is claimed; the remaining surfaces and preferences redirect are still outstanding.

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

    CF-5b consolidated state (felix lane, task 23781, 2026-11-25T13:55Z):

    Built and merged: PR #15086 (lane IW-339) — hosted /alerts, /notifications, /comments in the console edge via ledger-pages.ts, staged default-off (LEDGER_PAGES flag + PM_LEDGER_DB_URL/PM_LEDGER_DB_TOKEN secrets), freshness on every answer, fail-closed 503 on read failure. The #14865 gate for the alerts/notifications path was checked and is clear (recorded above). A live read-only probe from the laptop against the real fleet-platform ledger returned 100 incidents / 271 sends / 2 comments with shapes matching the aggregator.

    Duplicate PR: #15087 (oc-code-05 lane) implements a second, parallel /comments surface in the same edge files; it is CONFLICTING since #15086 merged. Duplication notice posted on the PR (comment 7164360744) recommending Felix close it as superseded and optionally port its expired-JWT negative test onto the ledger-pages tests.

    What remains on this issue:

    1. Felix's decision on PR CF-5b: owner-gated hosted /comments read surface (disabled by default) #15087 (close-as-superseded recommended).
    2. The live flip: set the two Worker secrets (token by vault name turso.fleet-platform-rw-token) + LEDGER_PAGES=on, deploy the console edge, then record authenticated live reads of the four routes at pm.security.cab. The authenticated half cannot be verified from a sandbox seat (owner Access session required); both prior lanes stopped at this line, and this lane does too — an unverifiable production flip is not evidence.
    3. /dns: split out by IW-339 with reason — its data plane is the impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register #902 register pipeline, not a ledger; hosting it needs a register-publication decision above this slice.
    4. Preferences redirect: still blocked on PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 S4.

    Task 23781 is being checkpointed and parked on a 24h time recheck with this state; the woken holder should first check whether #15087 was dispositioned and whether the flip's authenticated verification became possible. Refs #14968

  13. 6 remaining items

  14. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    agent-note:v1 state: slice-landed

    PR #15544 merged as 5e40ce9fb2b1cfafe4c187646ad66e9d284831dd. Fleet run 45808177004 completed successfully against PR head b3d0c913ecd94c80232d28cac89f71a736b8a850: bun test pm-stack/console/test/ledger-pages.test.ts reported 16 pass, 0 fail. It verifies the Turso and D1 readers and the fail-closed D1 decoding cases.

    The D1 ledger flip remains off: current aggregator writes still target Turso, so PR #15559 stays do-not-merge until the D1 write/sync path is verified (tracked by #13844/#14084 work). The hosted /dns path is still absent; the #902 register is read by the laptop fleet-feed collector and needs a D1 snapshot publisher.

    Next slice #24162 is queued for 11:55Z: publish the validated #902 DNS section as a D1 snapshot and serve /dns with register/publisher freshness, failing visibly when missing or stale. Preferences remain gated by #14084 S4.

  15. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #15559 from developing-today/felix/14945-cf5-flip-…

    9bb3de0
  16. 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

    Claim: lane ZE (Archer queue lane, queue task 24162) taking #14968 slice 2 — publish the #902 DNS register to hosted D1, per the decision recorded here 2026-11-26T11:52:04Z (decision:v1: validated DnsSection from the existing fleet-feed collector as a latest-snapshot row in fleet-platform D1; hosted /dns reads it with a 15-minute freshness limit, surfacing register generatedAt + publisher receivedAt, failing visibly when missing/stale).

    Premise + ownership check (2026-11-26 ~16:35Z): all 15 comments on this issue read; no held/user label; no competing DNS-snapshot PR in any state; PR #15544 merged; PR #15559 has since merged, so LEDGER_PAGES=on / LEDGER_STORE=d1 are already on main (c2b28df) — this slice does not touch ledger behavior. Plan: aggregator D1 REST publisher (src/dns-publisher.ts) wired into collect-fleet-feed.ts (best-effort, logged, never silent; unconfigured = skipped), hosted reader (console/edge/src/dns-pages.ts) on the existing LEDGER_DB binding behind a new DNS_PAGES flag that is NOT enabled in wrangler.jsonc/cloudflare.config.ts in this slice, plus the packet's named-oracle tests (aggregator/test/dns-publisher.test.ts, console/test/dns-snapshot.test.ts). Verification via fleet Actions exec on the branch; merge under standing authority once verified.

  17. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    feat(pm): publish the #902 DNS register snapshot to D1 and serve host…

    fa6883c
  18. 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

    Slice 2 landed — PR #15657, merged as fa6883c08dd87afe582a0eca7fadd96fdc3bc0af. Queue task 24162.

    What landed (exactly the packet's scope):

    • Aggregator publisher: pm-stack/aggregator/src/dns-publisher.ts — the collector's exact validated DnsSection published as a single-row snapshot (dns_snapshots, id=1) in fleet-platform D1 via the Cloudflare D1 REST API; token by name only (cloudflare.api-token-account-wide); idempotent upsert; a section the shared isDnsSection gate refuses is never published; errors carry no credential/response body. collect-fleet-feed.ts publishes on its existing cadence, best-effort and logged (unconfigured skips, logged; failure logged, never silent, never fails the collector).
    • Hosted reader: pm-stack/console/edge/src/dns-pages.ts — /dns + /api/dns.json from the snapshot on the existing LEDGER_DB binding, owner verified by the caller as with the ledger pages. Every answer exposes register generatedAt, publisher receivedAt, and source; missing/malformed/future-dated/>15-minute snapshots fail visibly with 503.
    • Gating: new DNS_PAGES flag wired in worker.ts/edge.ts/edge-shared.ts, not set in wrangler.jsonc or cloudflare.config.ts — no production route flag enabled in this slice, per the packet. LEDGER_PAGES/LEDGER_STORE untouched.

    Verification (repo CI on the pushed branch; fleet Actions exec was unavailable — broker tunnel Operation not permitted, twice):

    • pm-aggregator tests on the branch (run 45861620769): my 12 dns-publisher.test.ts tests (fake D1 REST endpoint oracle: endpoint, bearer auth, exact statements, idempotent upsert, auth refusal, no secret in errors) all pass; suite total 3,939 tests / 1 fail.
    • That 1 fail is pre-existing on main: baseline dispatch on main (run 45862194278) fails the identical test (turso-stores.test.ts alerts partial-index dedupe; 3,927 tests, same 1 fail). Filed as main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658.
    • Console typecheck on the merge push (pm-console-edge deploy, run 45862663848): the error set is byte-identical to the pre-existing baseline in main CI failure: pm-console-edge deploy (run 45858452597) #15652 (turso-admin.ts ×1, stores-live.test.ts ×3) — this slice adds zero type errors.
    • Open caveat: dns-snapshot.test.ts (fake-D1 oracle: exact storage/readback, stale/missing fail-closed, HTML/JSON parity) is merged but has not yet executed in CI — every workflow that runs console bun test is blocked behind a pre-existing main failure (main CI failure: pm-console-edge deploy (run 45858452597) #15652's typecheck step in edge-deploy/nightly; main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658's aggregator step in pm-stack tests). First green run of any of those workflows executes it; re-check after main CI failure: pm-console-edge deploy (run 45858452597) #15652/main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658 clear.

    Remaining for the surface (not this slice): enable DNS_PAGES=on (deploy flip) once the collector's laptop env names the D1 account/database so snapshots actually publish; live-verify pm.security.cab/dns after the flip. Preferences redirect stays gated on #14084 S4; PR #15559's ledger flip already merged separately.

  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

    Lane 2122-H (agent-work-loop PRESS delta, 2026-11-26) — premise/ownership check, disposition: no lane-sized code slice remains for a fresh lane; remainder is programme coordination gated on named dependencies.

    Read issue + all 17 comments. No live claim and no held/user label at check time; no open PR references #14968. Landed code, verified firsthand by 2122-H via gh: PR #15086 merged (hosted /alerts, /notifications, /comments, default-off ledger pages); PR #15544 merged 2026-11-26T11:26:54Z (D1 ledger reader); PR #15559 merged 2026-11-26T13:06:58Z (flip LEDGER_PAGES=on / LEDGER_STORE=d1); PR #15657 merged 2026-11-26T16:51:56Z (/dns D1 snapshot publisher + hosted reader, DNS_PAGES deliberately not enabled). The #14865 write-amplification gate for the alerts/notifications path was recorded clear on this issue (2026-11-25T12:05:48Z).

    Exact wake conditions for the remainder:

    1. /dns flip: enable DNS_PAGES=on only once the laptop fleet-feed collector's env names the D1 account/database so dns_snapshots actually publish, then live-verify pm.security.cab/dns — laptop-environment dependency, not sandbox-lane work. Note dns-snapshot.test.ts still awaits a first CI execution; its console-test workflows are blocked by open main failure main CI failure: pm-console-edge deploy (run 45858452597) #15652 (main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658 is now CLOSED).
    2. Authenticated live verification of /alerts, /notifications, /comments at pm.security.cab requires the owner's Access session (Access app allows only the owner's email; no service token for this app exists in the vault, per the 2026-11-26T11:26:11Z record) or a minted service token stored by name as cloudflare.access.pm-console-client-id/secret.
    3. Preferences redirect: blocked on PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 S4 — PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 is still OPEN (re-checked by 2122-H).
    4. Freshness caveat on record: the 2026-11-26T11:26:19Z decision keeps the D1 reader staged until ledger writes also reach D1 or a freshness-bounded sync is verified, because the aggregator still writes to fleet-platform Turso.

    2122-H made no claim and no code changes; forcing a duplicate surface here would repeat the #15087 duplication already recorded on this issue.

  20. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    code-f: configure pm-aggregator DNS snapshot D1 publication (#14968)

    4dd4c66
  21. 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

    agent-note:v1 — lane code-f (CF-5b #14968 DNS publication config slice).

    PR open: #16139 (branch code-f/14968-dns-publication-config, head 4dd4c66) — NixOS pm-aggregator Environment adds CLOUDFLARE_ACCOUNT_ID + PM_AGG_D1_DATABASE_ID only. No backend change (PM_AGG_STORE_BACKEND stays turso), no timer resurrection, no DNS_PAGES flip, no deploy. Rollback: remove the two lines, nixos-rebuild switch.

    CI: pm-aggregator tests run 45994119489 completed failure — 4050 pass / 11 fail (resolveBrokerAnswer radio/checklist, GitHub metadata webhook, loadConfig HOME-defaults). None touch the nix change; treating as pre-existing/main until a baseline says otherwise.

    Claim 23781 parked after PR open (not_before 2026-11-27T12:15:29Z); no dangling claim. Live pre-change state verified: D1 dns_snapshots absent, pm-aggregator lacked both D1 identifiers, deployed Access allows owner email only.

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

    agent-note:v1 — lane any-o recheck (task 23781, 2026-11-27T12:49Z).

    PR #16139 still OPEN at unchanged head 4dd4c66 (code-f branch, no takeover by any-o). Branch run 45994119489 = failure, 4050 pass / 11 fail, all 11 in unrelated suites (resolveBrokerAnswer, webhook listener, loadConfig HOME) = base drift, not slice regression. Main pm-aggregator tests still failing (latest main run 45984323925, 10:42Z). #14084 still OPEN (preferences blocker). verify-disposition = merged_verified but issue OPEN with acceptance boxes unchecked; DNS_PAGES off; live auth verify still needs owner session. Must not merge while suite red. Re-parking with event/time condition.

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

    code-g recheck 15:10Z (task 23781, attempt 3): PR #16139 still OPEN at head 4dd4c66 on code-f branch, no new runs; branch CI red is the same 11 base-drift failures as the main baseline (broker-answer #14149, webhook listener, HOME loadConfig #8220 — none in the slice's edge area). Main aggregator suite still red, and pm-console-edge-deploy failed twice on main today (14:57Z, 15:04Z). #14084 still OPEN, so the preferences redirect stays blocked. No takeover of code-f's branch; nothing mergeable, so re-parking with resume on base-green/branch-green or time backstop 16:30Z.

  24. developing-today-fleet commented on Nov 28, 2026

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

    oc-code-06 shortlist recheck (2026-11-28) — no unblocked code slice; first green execution of the slice suite recorded

    Read the issue + all comments and re-verified every gate live. Prior lanes (2122-H, any-o, code-g) stand confirmed: no lane-sized code slice remains for a fresh lane. No code changed in this pass; no takeover of code-f's branch.

    Gates re-checked just now:

    • PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 (preferences redirect blocker) still OPEN (updated 2026-11-26). Redirect stays blocked.
    • PR code-f: configure pm-aggregator DNS snapshot D1 publication (#14968) #16139 (code-f DNS publication env config) still OPEN at head 4dd4c66; branch CI red is the same base-drift set, main pm-stack-tests red too (latest main run 46042145564: aggregator resolveBrokerAnswer + schedule-registry failures). No takeover per lane ownership.
    • main CI failure: pm-console-edge deploy (run 45858452597) #15652 and main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658 (the console-CI blockers named in the last state note) are now CLOSED — but main pm-stack-tests still fails in aggregator steps, and the console bun test step is skipped after the aggregator failure, so dns-snapshot.test.ts still has no green CI execution.

    New measurement — first recorded green execution of the slice suite, laptop at origin/main bc12e038b58:

    • bun test ./test/dns-snapshot.test.ts ./test/ledger-pages.test.ts (pm-stack/console): 26 pass, 0 fail
    • bun test ./test/dns-publisher.test.ts (pm-stack/aggregator): 12 pass, 0 fail

    Next slice (same shape as before, for whoever holds the env): after PR #16139 merges AND the laptop collector env names the D1 account/database so dns_snapshots publish, enable DNS_PAGES=on and live-verify pm.security.cab/dns; authenticated /alerts, /notifications, /comments verification still needs the owner Access session. gh issue view 14968 --json comments --jq '.comments[-1]' shows this note is newest; nothing else outstanding from a sandbox seat.

  25. developing-today-fleet commented on Nov 28, 2026

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

    🤖 Agent note · queue-slice re-verify — lane oc-code-04, task 23781, 2026-11-28 ~02:36Z (no slice taken, no PR, no takeover).

    Fresh verification, not trusted from prior notes:

    • Code on origin/main: ledger-pages.ts serves /alerts, /notifications, /comments from D1 (PRs CF-5b (#14968): hosted ledger surfaces read D1 fleet-platform #15544 + pm console edge: flip ledger pages to D1 (CF-5, #14968) #15559 merged); dns-pages.ts serves /dns with 15-min freshness 503 rule (PR feat(pm): publish the #902 DNS register snapshot to D1 and serve hosted /dns (#14968 slice 2) #15657 merged 2026-11-26). verify-disposition = merged_verified, issue still OPEN with boxes unchecked.
    • PR code-f: configure pm-aggregator DNS snapshot D1 publication (#14968) #16139 (code-f DNS publication env config, nixos/services/pm-stack/default.nix) still OPEN at head 4dd4c66, updated 2026-11-27T17:36Z — owned branch, no takeover.
    • PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 (preferences-redirect blocker) still OPEN — redirect stays blocked.
    • Remaining acceptance is live hosted verification at pm.security.cab (owner-session/supervised production action) + the preferences redirect after PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 S4 — neither is an unowned code slice for this lane.

    Per feature-slice (one PR that moves one criterion with its test): nothing landable without duplicating code-f or performing a supervised production action, so standing down. Re-pick when #16139 merges/closes, #14084 S4 lands, or the supervised live verify is scheduled.

  26. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    Merge pull request #16139 from developing-today/code-f/14968-dns-publ…

    a56c5ed
  27. developing-today-fleet commented on Nov 28, 2026

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

    CF-5b DNS publication config landed — PR #16139 merged (a56c5ed)

    What moved: refreshed the parked code-f branch onto current main (merge 2deee6e, no conflicts — the 3-line slice intact at nixos/services/pm-stack/default.nix:411-413) and dispatched verification. Remote run 46102777961 (pm-aggregator tests, workflow_dispatch on the exact new head): SUCCESS — all 5 jobs green (aggregator tests+typecheck, notify-relay, contract corpus, projector tests, browser acceptance). The one failure-level annotation on the aggregator job is the problem-matcher echoing a passing test's intentional stderr (the PM_AGG_SOURCE fixture-refusal guard asserting), not a test failure. A sibling lane merged the PR off this green run at 2026-11-28T03:31Z.

    After this PR: the pm-aggregator NixOS unit names CLOUDFLARE_ACCOUNT_ID + PM_AGG_D1_DATABASE_ID — the same env names pm-stack/aggregator/scripts/collect-fleet-feed.ts's publisher reads (createDnsPublisherGetter returns null/skips without them). Next actual dns_snapshots publication happens on the laptop collector's next run after nixos-rebuild.

    Evidence: run https://github.com/developing-today/code/actions/runs/46102777961 (head 2deee6e = PR merge's second parent); merge a56c5ed

    What remains on this issue:

    1. /dns flip: confirm a dns_snapshots row lands in D1 after the laptop rebuild, then enable DNS_PAGES and live-verify pm.security.cab/dns (laptop-env dependent, not sandbox work).
    2. Authenticated live reads of /alerts, /notifications, /comments at pm.security.cab still need the owner's Access session (no service token exists for that app).
    3. Preferences redirect still blocked on PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 (OPEN).

    Next slice: once a snapshot row exists, the DNS_PAGES enable + live-verify; or the D1 writer/sync path for the ledger tables (aggregator still writes alerts/comments to Turso).

  28. developing-today-fleet commented on Nov 28, 2026

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

    code-h recheck (2026-11-28 ~06:10Z) — no lane-actionable slice; standing down

    Fresh verification, not trusted from prior notes:

    • CF-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments #14968 OPEN, acceptance 0/3 boxes. verify-disposition: linked PRs pm console edge: hosted M4 ledger surfaces — /alerts, /notifications, /comments (#14968) #15086, CF-5b (#14968): hosted ledger surfaces read D1 fleet-platform #15544, pm console edge: flip ledger pages to D1 (CF-5, #14968) #15559, feat(pm): publish the #902 DNS register snapshot to D1 and serve hosted /dns (#14968 slice 2) #15657 MERGED (CF-5b: owner-gated hosted /comments read surface (disabled by default) #15087 closed unmerged) → merged_verified, issue still OPEN.
    • PR code-f: configure pm-aggregator DNS snapshot D1 publication (#14968) #16139 (code-f DNS publication env config) MERGED a56c5ed 03:31Z — confirmed via gh. No takeover needed; nothing left on that branch.
    • PM push unification: one registry, one sender, the Android app as a first-class endpoint #14084 (preferences-redirect blocker) still OPEN (updated 03:50Z) — redirect stays blocked.
    • Live probe just now: unauthenticated GET pm.security.cab/dns and /comments both return 302 to Cloudflare Access login — no hosted data verifiable without the owner's Access session.

    Remaining acceptance is (1) a dns_snapshots row landing in D1 after the laptop rebuild + DNS_PAGES enable (laptop-env dependent, not sandbox work), (2) authenticated live reads (owner Access session), (3) preferences redirect after #14084 S4. None is an unowned sandbox code slice. No code changed in this pass.

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-sensitivestatus/needs-triageNot yet triaged; needs a first look

    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.