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-5a (#14945): M4 decision surfaces hosted at pm.security.cab · Issue #14967 · developing-today/code

CF-5a (#14945): M4 decision surfaces hosted at pm.security.cab #14967

New issue
Copy link
New issue
Copy link
Backlog
Backlog
CF-5a (#14945): M4 decision surfaces hosted at pm.security.cab#14967
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/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/queuedHas a queued queue taskstatus/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-5a — M4 decision surfaces hosted (child of #14945, programme #14866).

Serve the decision surfaces at the canonical name off already-hosted data: the decision index + decision-set pages rendered from the decision-events pipeline (D1 decision-events + per-set Durable Objects, via the decision-events Worker's read routes), hosted at pm.security.cab. Decision links everywhere they are generated are re-pointed to the canonical name; no credentials in URLs (the Worker's shared-secret read routes are server-side only — pages are rendered by a Worker holding the secret by name, never by embedding it in a link).

Data plane stays D1 (design §2). #14865 gate: record the write-amplification check for the decision-events 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: decision index + set pages serve hosted at pm.security.cab with data-plane freshness visible; per-surface record 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), §3 CF-5 row + §8. 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:33Z",
    "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

  • The decision index and decision-set pages render from the decision-events pipeline (D1 + per-set Durable Objects) and are hosted at the canonical pm.security.cab name.
  • Every generated decision link points at the canonical name, and no credential appears in any URL (shared-secret read routes stay server-side only).
  • The issue sweep: eliminate write amplification (whole-table rewrites) in PM Stack, queues, bridge #14865 write-amplification gate measurement is recorded on this issue before or alongside launch.

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-5450

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

    CF-5a: owner-gated read-only decision activity pages off D1 decision-…

    8a479a4
  4. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    CF-5a implementation slice is staged in draft PR #15011: owner-gated /decisions HTML index and ?set= activity detail page read through the authenticated decision-events Worker binding; pages default off (DECISION_PAGES=on required), links canonical to https://pm.security.cab/decisions?set=…, freshness is displayed, and upstream errors fail visibly. Secret is server-side by binding name only. No deploy or cutover was performed. #14865 remains the enable/cutover gate; #14871 is still open, and secret readiness is unverified. Focused remote verification is running at https://github.com/dezren39/fleet/actions/runs/45591957521 (bun test test/decision-pages.test.ts test/edge.test.ts on cf5a/pm-hosted-read-surfaces-14967); prior broader run had 187/188 pass, with the remaining failure an unrelated worker-inventory assertion against advanced main. I will attach the focused run outcome when terminal.

  5. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    CF-5a verification update:

    • Remote Fleet run 45598681906 succeeded on the cf5a/pm-hosted-read-surfaces-14967 ref. Its command was bun test test/decision-pages.test.ts from pm-stack/console: 8 pass, 0 fail.
    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 remains an open draft and explicitly stages a partial, default-off read surface; it does not claim deployment or cutover.
    • sweep: eliminate write amplification (whole-table rewrites) in PM Stack, queues, bridge #14865 is closed, but the decision-events write-amplification fix PR fix(decision-events): per-id seen keys stop whole-array rewrite per ingest (#14865) #14871 remains open, so the previously recorded cutover gate is unresolved.
    • Read-only Wrangler secret inventory could not complete because the Cloudflare API request failed. The server-side credential presence and authenticated read probe remain unverified.
    • No upload, promotion, route flip, or secret change was performed.

    Resume when #14871 is merged or the gate is otherwise resolved, then verify the server-side secret by name and authenticated GET read before following the design's versions upload, commit-stamped health gate, versions deploy, and rollback-by-version-promotion sequence.

  6. developing-today-fleet
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    status/needs-triageNot yet triaged; needs a first look
    on Nov 25, 2026
  7. 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

    Related: parent issue #14945, programme issue #14866; gate on issue #14865.

    Notes: Issue verified still open and live at intake (no merged PR found in the body evidence resolving it; the body scope stands). Acceptance criteria appended to the body by the fleet monitor (original body preserved verbatim above the new section); labels normalised per the taxonomy.

    Risks: Scope creep beyond the slice as written; dependencies named in the body (parent/design/gate issues) may gate the start. For claimed slices, the holding lane's own plan governs sequencing.

    Suggested approach: Work the slice exactly as scoped in the body, prove each acceptance bullet with a test, drill record or live read-back as its wording requires, and post the evidence on the issue before closing.

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-25 05:14 CST
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: intake pass — acceptance criteria, label normalisation, related links
    • Expectation: enriched item is ready for triage/queue routing
    • Links: this issue
  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    CF-5a gate update (lane IW-332, task 23745): the #14865 write-amplification gate is now fully cleared.

    • sweep: eliminate write amplification (whole-table rewrites) in PM Stack, queues, bridge #14865 is closed and its fix, PR fix(decision-events): per-id seen keys stop whole-array rewrite per ingest (#14865) #14871 (per-id seen keys in the decision-events Durable Object), is merged — merge commit 1f7c0f0ed89885690ecc78ab550a564b6b7252ee.
    • Before merging, I verified the PR head remotely (fleet queue dispatch, never compiled locally):
      • At the original head ea3857653f: 25 pass / 1 fail — run 45607168278. The failure was events.test.ts "fans out exactly once on retry".
      • Control at main: suite green — run 45608280041. So the failure was introduced by the PR, not pre-existing.
      • Root cause: the fan-out retry test's mock Durable Object storage implemented only single-key get/put. The new per-id seen store calls storage.get with an array of keys (expecting a Map back, per the real DO contract), put with a record, and delete/list — the mock returned undefined for the multi-key get and ingest threw on retry. Production semantics were not at fault; the PR's own seen-store.test.ts FakeStorage already mirrors the real contract.
      • Fix pushed to the PR branch as commit 39cc7200b81 (test-only: give the events.test.ts mock the real storage contract). Re-run at the fixed head: all green — run 45610685197.

    Remaining sequence for this slice (unchanged from the 11:14Z resume note, now unblocked):

    1. Merge PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 (draft; focused decision-pages tests passed remotely, run 45598681906 — re-check the broader console suite against current main first).
    2. Verify the server-side secret by name: DECISION_EVENTS_SECRET present on the pm-console-edge Worker (value never printed; it is the decision-events shared secret, held server-side only), and DECISION_PAGES=on.
    3. Authenticated GET probe through the DECISION_EVENTS service binding.
    4. Deploy per design §4: versions upload, commit-stamped health gate, versions deploy; rollback by version promotion. Record the per-surface outcome on this issue.

    Task 23745 is parked as a timed recheck with this sequence as its resume brief; the slice is not complete until step 4's record lands here.

  9. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    CF-5a resume verification update (task 23745): #14871 is confirmed merged at 1f7c0f0ed89885690ecc78ab550a564b6b7252ee, clearing the write-amplification gate. PR #15011 remains OPEN and draft; GitHub reports only the proof check as skipped, so it is not merge-ready from this verification. Focused merged-base verification has been submitted through Fleet as fp_eba4f9d57018294e9dd711080cd66421 for bun test test/decision-pages.test.ts test/edge.test.ts on cf5a/pm-hosted-read-surfaces-14967, but all execution surfaces currently lack capacity and it is still queued (no run ID/result). Fleet secret inventory lists cloudflare.decision-events.webhook-secret, but that does not prove the DECISION_EVENTS_SECRET binding is present on pm-console-edge; no Cloudflare read-back or authenticated service-binding GET was performed. No upload, promotion, flag enablement, secret change, or route flip was performed. Next: await Fleet run terminal status, then verify the live Worker secret/config and authenticated GET; only after all gates pass proceed with versions upload, commit-stamped health gate, deploy, and rollback rehearsal. #14967 remains incomplete.

  10. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    CF-5a conflict-resolution update (task 23745, lane xaltha):

    • Merged current origin/main (2bd436c) into cf5a/pm-hosted-read-surfaces-14967 as merge commit e58033df6 and pushed it to PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011. The conflicts in pm-stack/console/edge/src/edge.ts and pm-stack/console/edge/src/worker.ts (edge-shared.ts auto-merged) were additive: main added the hosted ledger/dns surfaces (CF-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments #14968) plus owner-settings/quota wiring, this branch adds the owner-gated decision pages. Resolution keeps both — decision routing runs first, then ledger, then dns; worker env and EdgeOptions wiring keep both sets of bindings/flags. No decision-page behaviour was changed.
    • Remote verification: fleet queue dispatch still fails with the TLS defect (fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185, UnknownIssuer), so verification went through the fleet-command workflow fallback: run 45879075530 — cd pm-stack/console && bun test test/decision-pages.test.ts test/edge.test.ts on the merged head. It is queued at the time of this note (runner capacity); its terminal result is the next gate.
    • Deploy gates unchanged and still unverified: DECISION_EVENTS_SECRET binding presence on pm-console-edge and the authenticated GET probe through the DECISION_EVENTS binding. No upload, promotion, flag enablement, secret change, or route flip was performed.

    Next: when run 45879075530 is terminal and green, PR #15011 is merge-ready; then verify the secret by name + authenticated GET before the design §4 versions upload / health gate / deploy sequence. #14967 remains incomplete until that deploy record lands.

  11. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    CF-5a lane code-j resume check: PR #15011 remains an open draft. The hosted decision-pages focused + edge suite completed successfully through Fleet command workflow run 45879075530 (8 + suite result per run artifact; terminal succeeded). #14865 write-amplification gate is cleared via merged #14871. Read-only live Worker inventory using the fleet Cloudflare credential shows is absent on pm-console-edge; the required source secret name exists in Fleet, but was not installed. is absent/off in deployed Wrangler vars. No secret write, upload, promotion, flag enablement, route flip, or deployment was performed. The read-path is still default-off and no authenticated GET through the service binding was possible before deployment. Also, the review found legacy aggregator decision-link producers still emit token-bearing URLs (, ), so the issue's broad every-generated-link acceptance is not met by this partial PR. Resume only after a reviewed path addresses these gaps: align the CF release config's service binding with wrangler.jsonc, verify/put the shared secret through the approved release procedure, prove the authenticated GET, complete canonical-link coverage, then follow design §4 versions upload/health gate/promotion and record rollback evidence. No person/owner decision is being awaited.

  12. 19 remaining items

  13. developing-today-fleet
    added
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 27, 2026
  14. 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 oc-code-01, task 23745: merged current main into the slice branch and pushed.

    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 head was 68a57e4 (matches pre-merge worktree); main had moved 107 commits ahead (incl. a treefmt pass touching owned pm-stack/console/edge/src/edge.ts + worker.ts).
    • Merged origin/main (20c34fd) into cf5a/pm-hosted-read-surfaces-14967 cleanly (auto-merge, no conflicts) as ca7e094 and pushed. Slice diff vs main intact: 6 files in pm-stack/console/edge +159 (decision-pages.ts, cloudflare.config.ts, edge-shared.ts, edge.ts, worker.ts, wrangler.jsonc).
    • Note: a stale MERGE_HEAD from a prior holder (already contained in HEAD, worktree clean) was cleared with merge --abort before merging; HEAD unchanged by that.
    • Dispatched remote verification on the new head via fleet-org surface (auto fleet-forks surface 403d twice): handle fp_b39e47507b5660c355997b2d2692ca75, run https://github.com/developing-today/fleet/actions/runs/46079282583. Covers: root bun install, edge tsc, console bun test, edge build, wrangler deploy --dry-run on both main and init configs. Dispatch accepted; run ID correlated, result pending — not success yet.
    • Still outstanding (no Cloudflare writes from this lane): live DECISION_EVENTS binding + secret-by-name proof, authenticated service-binding GET, PR merge, design section 4 versioned release + health gate + promotion + rollback evidence. Parking for verification follow-up + Cloudflare-write lane.
  15. 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 code-f, task 23745: remote verification result consumed, lockfile drift fixed, re-dispatched.

    • Run 46079282583 (head ca7e094) completed failure — root cause is main drift, not the slice: bun install --frozen-lockfile refused because root package.json moved prettier-plugin-toml ^2.0.1 → ^4.1.0 (main commit ab946b4) while root bun.lock still pinned 2.0.1. No tests executed. Same failure reproduces on unmodified main.
    • Fix in this lane (lockfile only, no code): ran bun install in the slice worktree, committed root bun.lock (51+/5-, [email protected]), verified bun install --frozen-lockfile passes locally. Pushed 95c6d1937f6 to cf5a/pm-hosted-read-surfaces-14967; PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 still draft, mergeable.
    • Re-dispatched remote verification on the new head via fleet-org surface: https://github.com/developing-today/fleet/actions/runs/46083224426 (handle fp_d0aa1d9c) — same command as before (root frozen install, edge tsc, console bun test, edge build, wrangler dry-run ×2).
    • Still outstanding, unchanged (Cloudflare-write lane only): live DECISION_EVENTS binding + secret-by-name proof, authenticated service-binding GET, PR merge, design §4 versioned release + health gate + promotion + rollback evidence.
  16. 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 code-f, task 23745: remote verification on the lockfile-fix head is GREEN. Parking for the Cloudflare-write lane.

    • Run https://github.com/developing-today/fleet/actions/runs/46083224426 (head 95c6d1937f6) completed success: root bun install --frozen-lockfile clean, edge tsc clean, console bun test 869 pass / 0 fail, edge build clean, both wrangler deploy --dry-run (default + init/) clean.
    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 still draft at 95c6d1937f6, mergeable clean. Slice diff vs main intact (6 files in pm-stack/console/edge +159, plus root bun.lock refresh).
    • Code-lane work is done. Remaining is Cloudflare-write-lane only: live DECISION_EVENTS binding + secret-by-name proof, authenticated service-binding GET, PR merge, design §4 versioned release + health gate + promotion + rollback evidence. No production changes; flag off.
  17. 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

    Lane code-i, task 23745: merged current main into the slice branch and pushed.

    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 head was 95c6d19; origin/main had moved 30 commits ahead (merge-base 3dad478). Merged origin/main (b511276) into cf5a/pm-hosted-read-surfaces-14967 cleanly as 1afa65b and pushed. Slice diff vs main intact (16 files: aggregator canonical-link coverage + console/edge decision pages, config, worker, wrangler + root bun.lock refresh).
    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 still OPEN draft, MERGEABLE/CLEAN at 1afa65b.
    • Dispatched remote verification on the new head via fleet-org surface: handle fp_3c07dfed075bf187514d4336d5630b9a, run https://github.com/developing-today/fleet/actions/runs/46088677403. Covers: root frozen install, edge tsc, console bun test, edge build, wrangler dry-run x2. Result pending.
    • Still outstanding (no Cloudflare writes from this lane): live DECISION_EVENTS binding + secret-by-name proof, authenticated service-binding GET, PR merge, design section 4 versioned release + health gate + promotion + rollback evidence.
  18. 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

    Lane code-i, task 23745: remote verification on the merged head is GREEN. Parking for the Cloudflare-write lane.

    • Run https://github.com/developing-today/fleet/actions/runs/46088677403 (head 1afa65b) completed success: root bun install --frozen-lockfile clean, edge tsc clean, console bun test 869 pass / 0 fail, edge build clean, both wrangler deploy --dry-run (default + init/) clean.
    • PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 still draft at 1afa65b, MERGEABLE/CLEAN. Slice diff vs origin/main intact (16 files: aggregator canonical-link coverage + console/edge decision pages, config, worker, wrangler + root bun.lock refresh).
    • Code-lane work is done. Remaining is Cloudflare-write-lane only: live DECISION_EVENTS binding + secret-by-name proof, authenticated service-binding GET, PR merge, design section 4 versioned release + health gate + promotion + rollback evidence. No production changes; flag off.
  19. 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 · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: task 23745 · cron repo-fleet-monitor run 2026-11-28 06:14 CST
    • Found via: monitor reconciliation
    • Task: Claim evaporation repair — task 23745 (slice-1 for this issue) has been claimed and parked repeatedly, its last checkpoint is stage verify_remote_green at 2026-11-28T01:49:52Z, and it was claimed again at 2026-11-28T08:00:26Z, but the lease expired and the task is now queued unclaimed in repo-health-code-pilot while this issue still carried queue/claimed + work/assigned. Labels reset to the truth: queue/queued + status/needs-triage. PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011 is already bound in the task's progress record — the next claimant resumes as its shepherd from the verify_remote_green checkpoint (remaining: Cloudflare-write lane — binding/secret proof, authenticated GET, staged deployment/health/rollback evidence); do NOT re-implement.
    • Expectation: m — resume from the checkpoint; the code side is verified green remotely, the deploy stage is what remains.
    • Links: task 23745 · PR CF-5a: stage owner-gated D1 decision activity pages (default off) #15011
  20. developing-today-fleet
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 28, 2026
  21. dezren39
    added
    queue/claimedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 28, 2026
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/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/queuedHas a queued queue taskstatus/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.