Repository navigation
Description
CF-4 — PM front door + tunnel tier (#14107 M1 + M3).
Generalise the pm-console-edge pattern into the PM front door at pm.security.cab (one front door — settled by Drew's 2026-11-24 ruling): per-surface route state (hosted | tunnel) in edge config, automatic read fallback with the fall always visible (writes never auto-fall), the client-fallback layer in the served shell (the page's own JS walks the tier chain for dynamic reads, per the amendment), and the /health surface rendering per-surface tier + deployed commit + age. Formalise the PM cloudflared tunnel as repo config + NixOS declaration, with Cloudflare Access applications per the #14107 posture (human door, machine paths, beside-products as separate name classes).
M1's shell work is already packetised as queue task 21686; this issue is the programme-level slice that carries M1+M3 to done.
Acceptance: front door routes every PM surface by route state; a surface can be flipped hosted↔tunnel and the flip is visible on /health; the tunnel is declared in repo + NixOS; Access posture live for the PM names.
Child of #14866 (Cloudflare-first migration programme). Design of record: doc/2026-11-25_design_cloudflare-first-migration.md (PR #14940). Secrets by name only. Deploys follow the versions standard in design §4 unless this issue says otherwise.
{
"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:48:17Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- The PM front door serves through the tunnel tier: the public entry reaches the PM surface via the tunnel with no direct origin exposure.
- Authentication/authorization behaviour at the front door matches the existing PM surface (no anonymous access to authenticated surfaces).
- The routing is verified end-to-end once and the verification is recorded here.
Activity
developing-today commentedon Nov 25, 2026
CODE-5432
developing-today-fleet commentedon Nov 25, 2026
agent-note:v1 — claimed by felix lane (queue task 23736), premise check done 2026-11-25.
Premise verdict: NOT already done, and the live acceptance is blocked by two in-flight prerequisites:
acceptance-pending— its own checkpoint states "staged upload/health-gate/route-flip not yet implemented and deployed". CF-4's front-door route flip depends on that pipeline existing. (M1's PR feat(pm): expose decision worker deploy version #14155, deploy-version stamping, is merged; the route-flip pipeline is not.)pm-stack/console/edge(no route-state/tier code in the edge sources);infra/pm-cloudflare/state.jsondeclares the single tunnel + one Access application for the hostname, not the per-name-class posture (human door / machine paths / beside-products) the PM stack: migrate fully to Cloudflare hosting (fallbacks: CF Tunnel, then Tailscale DNS) #14107 amendment requires.Disposition: task 23736 parked with a non-person resume condition — resume when #14806 closes (tunnel + Access config green) AND task 21686's M1 acceptance completes (route-flip pipeline deployed). The repo-side route-state work should be built on top of the M1 pipeline rather than as a competing partial implementation against the parked M1 lane's branch/worktree.
developing-today-fleet commentedon Nov 25, 2026
agent-note:v1 — ITEM-WORK-305 lane (queue task 23736): premise re-check, 2026-11-25.
Task 23736 was re-served by
fleet agent nextalthough its recorded resume condition is still unmet (the known re-serve pattern for parked tasks). Fresh verification from this lane:main CI failure: pm-console-cloudflare config (run 45534453946) #14806 leg — NOW MET. main CI failure: pm-console-cloudflare config (run 45534453946) #14806 is CLOSED/completed (closed 2026-11-25T03:23:04Z; its fix landed via PR fix(pm-cloudflare): preserve Google sign-in when credentials are absent #14828 and was independently verified). The earlier premise note's "live fix track" wording rested on queue task 23690's record — a claimed task sitting on a closed issue, which is a reconcile item for that task's holder, not evidence the pm-cloudflare config is still failing.
M1 leg — STILL UNMET. Queue task 21686 (PM stack: migrate fully to Cloudflare hosting (fallbacks: CF Tunnel, then Tailscale DNS) #14107 M1) is parked at stage
acceptance-pending, not_before 2026-11-25T10:36:10Z. Its own checkpoint states the staged upload / health-gate / route-flip pipeline is "not yet implemented and deployed". CF-4's acceptance — flip a surface hosted↔tunnel and see the flip on /health, Access posture live for the PM names — cannot be verified until that pipeline exists.CF-4 itself — not done. Verified on origin/main
bf90140c91d4: no per-surface route state exists inpm-stack/console/edge/src(edge.ts mentions the tunnel only in comments);infra/pm-cloudflare/state.jsonstill declares the single tunnel plus one Access application for the hostname, not the per-name-class posture (human door / machine paths / beside-products).Disposition: task 23736 re-parked from this lane. Wake condition (duplicated here, in the park reason, and in progress.next, per the park-record protocol): resume when queue task 21686 completes (M1 acceptance verified). The #14806 leg of the original condition is already satisfied; it is kept in the recorded condition for completeness. No code was written in this pass: building the route-state layer now would compete with the M1 lane's front-door work in the same owned paths (
pm-stack/console/) before its deploy pipeline exists — the split the filing lane recorded on this issue stands.dezren39 commentedon Nov 25, 2026
agent-note:v1 — oc-code-07 re-check, 2026-11-25.
Task 23736 was re-served. Fresh dependency check: queue task 21686 remains claimed (lane any-o; M1 checkpoint
acceptance-pending; M1 acceptance explicitly incomplete: staged upload/health-gate/route-flip not implemented and deployed). Issue #14107 remains OPEN. The #14806 issue leg is already closed, but the M1 prerequisite remains unmet. No code changed in this pass; working inpm-stack/console/before M1 acceptance would overlap the active front-door/deploy-pipeline work.Disposition: park task 23736 until queue task 21686 completes. Resume only after that task completes and M1 acceptance is verified.
developing-today-fleet commentedon Nov 25, 2026
agent-note:v1 — felix lane (queue task 23736), 2026-11-25: re-drawn by fleet agent next; premise re-checked fresh. Issue #14806 leg remains satisfied (closed, fix PR #14828). Queue task 21686 (M1, #14107) is still claimed by repo-worker-code at stage acceptance-pending — the staged upload/health-gate/route-flip pipeline is not yet implemented and deployed, so CF-4's premise is still unmet. Re-parking task 23736 behind task 21686 terminal with an hourly recheck. Refs #14944
developing-today-fleet commentedon Nov 25, 2026
Intake review
🤖 Agent note · filed
meta/enrichedNotes: Still live — no merged PR explicitly resolves this issue (checked this run). Acceptance criteria were appended to the body (original text preserved verbatim above the new section).
Risks: Scope is as stated in the body; if the underlying surface has moved since filing, the picker should re-validate against current main before implementing.
Suggested approach: Work from the acceptance criteria top-down; verify each criterion with the cheapest decisive check (test, run, or read-back) and record the evidence on the closing PR.
feat(pm-edge): per-surface route state for the front door (#14944)
dezren39 commentedon Nov 26, 2026
agent-note:v1 — xaltha lane, 2026-11-26: premise re-checked fresh and a non-competing slice landed.
Claim check: this issue is Felix-claimed (queue task 23736) and parked behind queue task 21686 (M1, #14107, still acceptance-pending: staged upload/health-gate/route-flip not yet implemented and deployed); #14806 leg remains satisfied (closed, PR #14828). No open PR referenced #14944. The park's stated reason for no code was competing with the M1 lane in
pm-stack/console/before its deploy pipeline exists.What changed this pass: PR #15519 lands the route-state layer in the edge's own paths only — per-surface
hosted | tunnelstate in the PmEdge DO storage, a flip on the trusted/internal/routechannel, the read-only automatic-fall model of design §5.1 + amendment D2 (writes never auto-fall), and per-surface tier/serving/fall on/console/health. It flips no surface, changes no request path, and touches no deploy-pipeline files, so it does not compete with the M1 lane; it is the layer the M1 route-flip pipeline will set.Verification (remote, fleet-command.yml fallback, queue/shell down + #13185): run 45795427996, command
bun test test/route-state.test.ts test/edge.test.ts— Execute step completed/success (no CI logs read).Still open on CF-4 (unchanged, gated on 21686/M1 acceptance): live hosted↔tunnel flip verification, tunnel NixOS declaration, live Access posture for the PM names, and the client-fallback shell layer. Refs #14944
4 remaining items
developing-today-fleet commentedon Nov 26, 2026
agent-note:v1 — felix lane (CF-4), 2026-11-26: progress record for the rollback note above (comment 7190090064).
POST /console/api/routeon the edge, delegating to the same flip logic as/internal/route, + one test beside the internal-channel test inpm-stack/console/test/edge.test.ts. Branchfelix/cf4-route-flip-endpoint, head d363c82.bun test test/route-state.test.ts test/edge.test.tsinpm-stack/consoleat the PR head. At the time of this note the run is still QUEUED behind a fleet-wide backlog (every recent fleet-command run is queued; some were cancelled by their owners). The terminal result will be recorded here when it lands; the PR is not verified until it does.pm-console-edge-deploygreen at the merge commit → flipboardto hosted, read/console/health, flip back, read again, record both reads here.Merge pull request #15546 from developing-today/felix/cf4-route-flip-…
developing-today-fleet commentedon Nov 27, 2026
Disposition — lane 2137-L, 2026-11-26 ~21:42 CST (fallback-list premise check)
Fresh evidence not yet recorded on this issue: PR #15546 is MERGED — merged 2026-11-26T13:07:07Z, merge commit
398910895686dd208017f9f84091cdc8e36f460a, headd363c8243a19c03ab9a3b18d5886f66d6c8b3d87(the owner route-flip endpoint the felix lane opened in comment 7190314289; the last PR-side note at 11:12Z still had it open/pending verification). PR #15519 (route-state layer) merged earlier today was already recorded here by shepherd lane AO.Remaining gates verified live this pass — no slice taken by this lane:
queue/claimed,work/assigned,status/in-progress,status:in-review— M1 acceptance (staged upload / health-gate / route-flip pipeline) still incomplete per the parked checkpoint.status:in-review,meta/epic) — programme sequencing applies.Disposition: stand down — workable remainder is owned by the Felix lane and gated on M1 acceptance; wake when queue task 21686 completes / #14107 unclaims.
developing-today-fleet commentedon Nov 27, 2026
Shortlist premise re-check — code-h, 2026-11-27 ~13:55Z (no slice taken, no PR)
Code on origin/main (verified, not trusted from prior notes): route-state layer (#15519, ae3967f) and owner flip endpoint (#15546, 3989108) are both merged and in main; tunnel declared in repo (
infra/pm-cloudflare/state.json+apply.py) and NixOS (nixos/services/pm-stack/default.nix);/console/healthrenders per-surface routes (edge.tshealthRoutes).Live read-only checks (no production action taken):
GET https://pm-console-edge.developing-today.workers.dev/console/health→ ok, self-check all-ok,routes: {}(nothing flipped — expected).GET https://pm.security.cab/anonymous → 302 to Cloudflare Access login. Auth posture holds.version: 27fa159a1925withdeployedAt: null, ageSeconds: null— i.e. it is serving pre-feat(pm-console-edge): report full-SHA version with deployment age in health #16170 code (full-SHA + age landed in feat(pm-console-edge): report full-SHA version with deployment age in health #16170, merged today; code-j verified those fields live at 13:38Z on task 21686, presumably via the hostname/tunnel door). Either the edge deploy has not caught up on workers.dev, or the two doors serve different builds. Flagging for 21686/code-j, not acted on here.Why no slice from this lane: the remaining CF-4 items are (a) the live hosted↔tunnel flip + record — a supervised production action sequenced for the Felix lane, not an unattended scheduled lane; (b) the client-fallback shell layer — owned by parked task 21686 (code-j); (c) request-path consultation — sequenced to CF-5. No unblocked, unowned code slice exists, so per feature-slice I stand down without a PR rather than manufacture one. Wake when 21686 completes or the supervised flip is scheduled.
developing-today-fleet commentedon Nov 27, 2026
Disposition — lane 0937-N, 2026-11-27 09:37 CST alpha DRIVE (fallback-list rank 12, PRIMARY; sibling 0937-M bench)
Premise + ownership check firsthand: read the issue and ALL comments, plus a fresh second read of the latest comments and open PRs referencing #14944 (none open).
Stand down — live claim + gate, no claim made by this lane, no code written:
/console/healthrenders per-surface routes.Wake: queue task 21686 completes / M1 acceptance verified, or the supervised flip is scheduled by its owner lane.
developing-today-fleet commentedon Nov 28, 2026
🤖 Agent note · shortlist re-verify — lane oc-code-04, 2026-11-27 (no slice taken, no PR).
Fresh verification, not trusted from prior notes:
ae3967f6c65) and owner flip endpoint (pm-console-edge: owner route-flip endpoint for the front door (CF-4, #14944) #15546,39891089568) both merged and present. Only "fallback" inpm-stack/console/srcis env-var defaults inconfig.ts— the client-fallback shell layer (page JS tier-chain walk) still does not exist.not_before 2026-12-04T12:00:00Z; latest checkpoint today: m1_acceptance still incomplete, remainder (deploy/DNS, remaining pipelines, front-door/client-fallback, live drill) explicitly sequenced as supervised run. PM stack: migrate fully to Cloudflare hosting (fallbacks: CF Tunnel, then Tailscale DNS) #14107 OPEN.Remaining acceptance is (a) the live hosted↔tunnel flip + record — supervised production action for the Felix lane; (b) the client-fallback shell layer — owned by parked task 21686; (c) request-path consultation — sequenced to CF-5. No unblocked, unowned code slice exists, so per feature-slice this lane stands down without a PR. Wake when 21686 completes / M1 acceptance verified, or the supervised flip is scheduled.
developing-today-fleet commentedon Nov 28, 2026
Lane oc-code-05 shortlist-draw stand-down on #14944 (~2026-11-28T04:50Z): no slice taken.
Fresh premise + ownership check: issue OPEN, no open PRs referencing it, no comments since 00:16Z (oc-code-04 re-verify). Concurs: route-state layer + owner flip endpoint merged on main, but client-fallback shell layer still absent and owned by parked task 21686 (M1, not_before 2026-12-04, m1_acceptance incomplete — deploy/DNS, remaining pipelines, front-door/client-fallback, live drill sequenced as supervised run). CF-4 task 23736 parked behind 21686. Remaining acceptance (live hosted<->tunnel flip, client-fallback layer) is blocked/owned elsewhere; no unblocked, unowned code slice exists. Standing by on 21686 completion / supervised flip scheduling.
developing-today-fleet commentedon Nov 29, 2026
Lane 2022-H premise check (delta PRESS AUTHOR, 2026-11-28 20:22 CST) — stand down, live claim + gate, no claim made, no code written.
Read issue + all 15 comments firsthand (gh CLI only, no clones). Concurs with lanes 2137-L, 0937-N, oc-code-04 and oc-code-05:
not_before 2026-12-04T12:00:00Z, m1_acceptance still incomplete (deploy/DNS, remaining pipelines, front-door/client-fallback, live drill sequenced as a supervised run, per oc-code-04 2026-11-28T00:16:00Z)./console/healthrenders per-surface routes.Wake: queue task 21686 completes / M1 acceptance verified, or the supervised flip is scheduled by its owner lane.
Key: 2022-H
dezren39 commentedon Nov 29, 2026
🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).
Verdict: blocked. Landed vs remaining is recorded precisely by prior stand-downs. The one-front-door ruling (Drew, 2026-11-24) is cited in the body; the writes-never-auto-fall rule is explicit. Landed: PRs #15519, #15546.
Blockers / ownership: Felix-claimed (task 23736). Remainder = the supervised live flip + the client-fallback layer owned by M1 task 21686 (parked, not_before 2026-12-04) + CF-5-sequenced request-path consultation.
Labels/priorities were verified correct in the census — no label changes were needed. (priority high confirmed.)
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: The front-door shape follows Drew's 2026-11-24 one-front-door ruling, with the safety properties stated (route state per surface, reads may fall back visibly, writes never auto-fall) and the tunnel formalised as repo config + NixOS declaration with the Access posture per name class. kind/infrastructure + priority/high already set.
GAPS: Two of three layers exist: the route-state layer (PR #15519) is merged AND deployed, the tunnel amd-6-pm-stack is healthy, the Access posture is live, and the flip endpoint itself merged (PR #15546, owner-authenticated POST /console/api/route). What remains: (1) the live flip verification (procedure recorded on this issue, comment 7190314289) — a supervised live operation; (2) the client-fallback shell layer does not exist yet (queue task 21686, parked acceptance-pending; CF-4's own task 23736 is parked on it in proper form).
FIXES I APPLIED: None — labels and priority verified correct.
REMAINS: Nothing for Drewry. The flip verification is Felix-supervised programme work; the shell layer is a normal implementation slice when unparked.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found
Strengths
## Acceptance criteriasection present. The latest lane note (2026-11-28) records a stand-down on a live claim + gate rather than a collision — the claim discipline working as intended.Actions taken by this census
developing-today-backup commentedon Nov 30, 2026
Gate verdict — lane 0337-G, 2026-11-30 (alpha DRIVE programmes)
The carried record conflict on this issue (Side A: unblocked, a gate not gated — vs Side B: "#14944/#14947 blocked", evidence unquoted) is now settled firsthand:
gh api rate_limitrc=0 with body, then two agreeing live reads of this issue (REST, this lane).queue/blocked,status/blocked,queue/parked, orstatus/parkedlabel exists. Live label set:status/in-progress, priority/high, effort/m, meta/enriched, kind/infrastructure, app/pm-stack— identical to the stored record. On labels, Side A is correct.not_before 2026-12-04T12:00:00Z, acceptance-pending; task 23736 is parked on it in proper form; (3) request-path consultation, sequenced to CF-5./console/healthper-surface rendering.Disposition: no unblocked, unowned code slice exists on CF-4 today. This lane takes no claim (the Felix claim + parked M1 task are live ownership in proper form, and the flip is a live production operation = genuine stop for an unattended lane). Priority validation 0337-G: priority/high concurred.
Wake (machine-checkable): queue task 21686 completes / unparks (not_before 2026-12-04T12:00:00Z) → the client-fallback shell layer becomes a normal implementation slice; or the Felix lane records the supervised flip verification here.
Key: 0337-G
developing-today-fleet commentedon Nov 30, 2026
Gate verdict — CONFIRMED independently — lane 0437-H, 2026-11-30 (alpha DRIVE programmes)
Second-lane confirmation of lane 0337-G's settlement (comment 7274591541, 2026-11-30T09:43:10Z), from this lane's own two agreeing live reads (REST, minutes apart, after two consecutive
gh api rate_limitrc=0):status/in-progress, priority/high, effort/m, meta/enriched, kind/infrastructure, app/pm-stack.queue/blocked,status/blocked,queue/parked, orstatus/parkedlabel exists. On labels, Side A (unblocked) is correct — confirmed.not_before 2026-12-04T12:00:00Z, acceptance-pending), (3) request-path consultation sequenced to CF-5. Already landed: PR feat(pm-edge): per-surface route state for the PM front door (#14944) #15519 (route-state layer), PR pm-console-edge: owner route-flip endpoint for the front door (CF-4, #14944) #15546 (owner flip endpoint), tunnel declared in repo + NixOS.Verdict (two lanes, two agreeing read-pairs): the blocked-vs-unblocked record conflict is SETTLED — #14944 carries no blocked/parked label and no unblocked, unowned code slice exists today. No claim taken by this lane. Wake unchanged: task 21686 completes/unparks (2026-12-04T12:00:00Z) or the Felix lane records the supervised flip verification here. Priority validation 0437-H: priority/high concurred.
Key: 0437-H