GeezerVison is showing github.com — design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) · Issue #1182 · developing-today/code
design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182DescriptionFinding
Drew's settled rule (2026-10-25): the aggregator may be public ONLY behind a password/auth gate (e.g. Cloudflare Access); today it's loopback+tailnet only, so his "single URL" works only on-tailnet. Kaneo already proves the pattern (kaneo.security.cab via pm-tunnel + its own auth). The decision is made; the implementation for the aggregator was never filed.
Proposal
Design + (on Drew's go in this issue) implement: a hostname (e.g. pm.security.cab) via the existing pm-tunnel, Cloudflare Access in front (identity = Drew's Google SSO), aggregator itself unchanged (still binds loopback+tailnet; tunnel reaches loopback). Document the auth model + break-glass (tailnet path unaffected). This issue is the design/record - implementation waits for Drew's explicit go recorded here.
Acceptance
Acceptance criteria
- A design is recorded (on this issue or in repo
doc/) naming the hostname, the Cloudflare Access policy (identity = Drew's Google SSO), and the failure modes.
- Implementation does not start until Drew's explicit go is recorded on this issue — that gate is part of the acceptance, not a delay.
- After Drew's go: the URL serves the dashboard post-Access-login and rejects unauthenticated requests, verified from off-tailnet; the aggregator itself still binds loopback+tailnet only, and the tailnet break-glass path is unaffected and documented.
Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 28, 2026 Intake review
Related: epic #1184 (parent — this is its "one public URL" child) · #1253 (SSO propagation design, which starts from the Access identity settled here) · #1254 (PWA/push — its delivery path depends on behind-Access vs tailnet-only) · Kaneo's kaneo.security.cab via pm-tunnel as the working pattern proof.
Notes: Still live — verified this run: no merged PR puts the aggregator behind Access; merged-PR searches return only unrelated number coincidences. The access decision itself is settled (Drew, 2026-10-25, per the body); what is missing is the recorded design and Drew's go. The issue arrived with a ## Acceptance section; the appended ## Acceptance criteria formalizes it, gate included. effort/m for design + implementation once approved.
Risks / suggested approach: this is the one item in this batch with a genuine Drew gate — the design can be written now, but implementation must wait for his recorded go; the monitor has NOT added user/escalated, because the issue itself is the record he will answer on and the design step is unblocked.
— repo-fleet-monitor intake pass, 2026-10-28T04:00Z dezren39 commented on Nov 22, 2026 Triage task 20962 revalidation (2026-11-22): the premise remains true at current main 306e7568c410e91662bc42e6d69a3dd145f334eb. pm-stack/README.md:25 says the Aggregator is at 127.0.0.1:4870 plus tailnet and has “no public route”; pm-stack/systemd/pm-tunnel.service:9-13 describes the remotely managed tunnel ingress for Kaneo and does not route the dashboard. The latest recorded decision on this issue explicitly defers the public URL, keeps the dashboard loopback/tailnet-only, and says to revisit only on a new trigger. Therefore this is confirmed but intentionally not routed to implementation; no Cloudflare change or production exposure is authorized. Existing status/triaged is accurate and retained; the design record remains open per that decision. dezren39 commented on Nov 24, 2026 Design recorded (9-point, implementation GATED on your go here): doc/2026-11-24_design_id1182_pm-public-url.md — hostname proposal, Cloudflare Access policy (Google SSO), failure modes, break-glass. No implementation until your explicit go is recorded on this issue. Queue task 21678. dezren39 commented on Nov 24, 2026 oc-code-08, second-pass verify-and-route (queue task 21736, 2026-11-24): design is recorded in doc/2026-11-24_design_id1182_pm-public-url.md. Implementation stays gated on Drew's explicit go on this issue, because it changes public exposure (Cloudflare Access). No implementation started and no follow-on filed. Blocked as escalated to user until that go is recorded. developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · picked up
- Agent: felix (Muse lane)
- Found via: fleet queue draw (design rung)
- Task: Write the full design document for design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 in
doc/ — one public URL for the dashboard behind Cloudflare Access, grounded in the current pm-stack topology (console + edge worker as it exists on main today, not only the 2026-10 aggregator picture). Docs-only PR, left unmerged.
- Note: Prior triage (2026-11-01, task 2468) recorded a sketch on this issue and a later comment cites
doc/2026-11-24_design_id1182_pm-public-url.md, but that file is not on main — this pass produces the design doc of record in the repo. The implementation gate stands: no implementation until Drew's explicit go is recorded here.
developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · design recorded
- Agent: felix (Muse lane)
- Deliverable: PR docs(pm-stack): design of record for #1182 — one public URL behind Cloudflare Access #14740 (unmerged) adds
doc/2026-11-24_design_pm-public-url.md — the design of record for this issue. Head 1fe534e4e.
- Why a new doc: the design file cited in an earlier comment (
doc/2026-11-24_design_id1182_pm-public-url.md) is not on main; this doc supersedes that citation and satisfies acceptance criterion 1 (design recorded in repo doc/).
Key decisions in the design:
- One URL:
pm.security.cab — dashboard at / through the console's gate, console at /console. No second hostname or Access app.
- The console is the front door, not a direct tunnel ingress to :4870. The 2026-11-01 sketch's
pm.security.cab -> http://localhost:4870 ingress is rejected: what shipped instead (edge Worker on the hostname's route + tunnel to pm-console :4872, dashboard paths passed through to the aggregator for a signed-in owner) keeps exactly one origin-side owner check. The aggregator stays loopback+tailnet only, unchanged.
- Access policy ratified as declared in
pm-stack/console/scripts/expose.py: one Access application on the hostname, default-deny, a single Allow policy for the owner's identity only, 24h session — with expose.py as the policy's only writer (dashboard hand-edits are drift).
- The one gap to the settled model, recorded plainly: Google SSO (the settled identity) is fully wired in
expose.py but not yet provisioned — the one-time PIN is the interim sign-in method. Enabling Google is provisioning only: store google.access-sso.client-id / google.access-sso.client-secret and the next expose run turns it on.
- Origin-side JWT verification stays mandatory (edge + console verify the Access token; Access is the outer gate, not the only check), and the aggregator's design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 Access-JWT author derivation should be switched on for the console pass-through path.
Slices listed in the doc (not filed — they start on your go, which remains this issue's gate): S1 enable Google SSO · S2 off-tailnet acceptance verification · S3 aggregator JWT author derivation · S4 close-out.
dezren39 commented on Nov 25, 2026 Triage pass 2 (queue task 21736, revalidated 2026-11-25): the design record is now on main via merged PR #14740 (merge confirmed 2026-11-25T03:46:55Z; doc/2026-11-24_design_pm-public-url.md). It reconciles the current console/edge front door and Access model and explicitly preserves the implementation gate; the issue also has the 2026-11-22 decision to keep the dashboard without a new public exposure trigger. No separate implementation task is warranted from this pass: it would duplicate the recorded design and violate its own gate. Keep #1182 open as the design/trigger record; revisit only if a new trigger changes the recorded direction. No Cloudflare or runtime changes made. developing-today-fleet commented on Nov 26, 2026
Agent note — task 24963 (lane code-f): verdict TRIAGED, no new packet.
Verified fresh 2026-11-26 (against origin/main):
- Design recorded:
doc/2026-11-24_design_pm-public-url.md on main via merged PR docs(pm-stack): design of record for #1182 — one public URL behind Cloudflare Access #14740 (merged 2026-11-25T03:46:55Z). Acceptance criterion 1 satisfied; supersedes the earlier uncited filename.
- Implementation gated: no Drew go recorded on this issue; the 2026-11-22 direction (no new public exposure trigger) stands. Filing an implementation task would violate the recorded gate.
- This issue: OPEN, status/triaged + status/in-review, no hold labels. Stays OPEN as the design/trigger record; revisit only if a new trigger changes the recorded direction.
- Verdict: no actionable fleet work in this packet. No new packet filed. No Cloudflare or runtime changes made.
developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · triage re-verified — Drew gate stands, design already landed (1837-I)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|