operator-session: the gate's 401 redirect lands on the BARE apex, portless — no host-resolver rule maps it and the guest's :443 is only reachable on a forwarded port, so the private-path admin door is unreachable from the drive browser (sig b5659a227… #1238

Closed
opened 2026-09-05 18:48:47 +00:00 by matou-build-agent · 3 comments

The failure

Drive 20260905T182413Z (private-path / archive target, commit bf9507ad) went red at the new operator-session leg after 439ms:

page.goto: net::ERR_NAME_NOT_RESOLVED at https://admin.e2e-drive.idss.internal:39423/

artifacts/legs.json — founding-prefix green (682s), operator-session red. artifacts/verdict.json — firstRedLeg: operator-session, commit bf9507adef136f4c263b37299838164788f84191 (the #1236 sandcastle build that added this leg).

The error message names the wrong host. Playwright builds navigation errors as `${errorText} at ${url}` using the URL passed to goto, NOT the hop that actually failed (playwright-core@1.62.1/lib/coreBundle.js:37450). The door resolved and answered fine.

The evidence

The ceremony browser's own network log inside the trace zip (report/data/f789385d…zip → 0-trace.network) records exactly two requests for this navigation:

GET https://admin.e2e-drive.idss.internal:39423/                                   → 302
GET https://e2e-drive.idss.internal/authz/signin?rd=https://admin.e2e-drive.idss.internal/  → -1 (failed)

So the admin door 302'd (the auth gate's 401 → sign-in redirect, working as designed) and the redirect target is what failed to resolve. Two independent reasons it cannot work under the drive's topology:

  1. Bare apex, not a subdomain. The redirect host is e2e-drive.idss.internal. The ceremony browser's rule is MAP *.e2e-drive.idss.internal 127.0.0.1 (app/tests/e2e/fixtures/provision.ts:91-93) — the wildcard requires at least one label, so the bare apex is unmapped and Chromium hands back ERR_NAME_NOT_RESOLVED.
  2. Portless. The redirect carries no port, so even once resolved the browser would dial 127.0.0.1:443. On the private path the guest's :443 is reachable only through the ephemeral host-side forward (:39423 this drive, read from the guest unit at provision-archive.live.spec.ts:155-165). Nothing listens on host :443. The rd= return trip has the same defect: rd=https://admin.e2e-drive.idss.internal/, port dropped.

Both come from one line — internal/clan/frontdoor.go:521:

fmt.Fprintf(b, "              redir https://%s/authz/signin?rd={http.request.scheme}://{http.request.host}{http.request.uri} 302\n", cfg.Apex)

cfg.Apex is portless by construction, and Caddy's {http.request.host} is the host without port ({http.request.hostport} is the portful placeholder).

Verified on the box, not inferred:

  • The browser was launched with the rule. test.trace records Launch browser at ceremony.ts:257 with args: [--ignore-certificate-errors, --host-resolver-rules=MAP *.e2e-drive.idss.internal 127.0.0.1].
  • The rule works. Probing chromium.launch on this machine with those exact args, https://admin.e2e-drive.idss.internal:39423/ yields ERR_CONNECTION_REFUSED (resolved, nothing listening); without the arg it yields ERR_NAME_NOT_RESOLVED. Same result headless and headed under Xvfb. So the wildcard rule is fine — the bare apex is the gap.
  • The trace's embedded source snapshots for provision-archive.live.spec.ts, foundingPrefix.ts and ceremony.ts are byte-identical to the checkout at bf9507ad; the drive checkout /home/swarm/swarm/Matou/idss is clean at that commit. No stale-tree explanation.

The suspected layer

A lab-topology gap opened by #1236, not a selector or a wait ceiling. Before #1236 the private-path tail dialled the loopback API port and never crossed the gate, so the gate's redirect chain was never exercised on this path. establishAdminDoorSession (app/tests/e2e/fixtures/provision.ts:815-879) now navigates the gated door, and its doc comment's assumption — "whose context holds the --host-resolver-rules that map *.<apex> to the guest" — is not sufficient for the hop the gate actually emits.

Note the guest cannot fix this itself: it serves on :443 and has no knowledge of the host-side forward port, so a portful redirect is not something the deployed gateway can derive. The transparency has to come from either the drive's resolver rules or a deliberate product change.

This is not archive-specific. provision-nextcloud.live.spec.ts walks the same gate at files.<apex> (oidcSignInAsOperator), and renderGateRedirect is shared — that drive should be expected to hit the identical wall.

Two candidate shapes (this is why it needs a ruling)

A — harness/lab transparency. Make hostResolverRules() cover the bare apex and remap the port onto the guest's web forward: MAP *.<apex> 127.0.0.1:<webPort>,MAP <apex> 127.0.0.1:<webPort>. Chromium's MAP syntax supports a replacement port, and --ignore-certificate-errors is already set so SNI/cert is not a blocker. Cost: webPort is only known once the guest is up, but hostResolverRules() is evaluated at provision-archive.live.spec.ts:145 before runFoundingPrefix, and the browser is launched inside it at foundingPrefix.ts:381. So the port has to be threaded through the shared fixture (or the tail browser opened after the port read, re-running transplantCredentials). Touches provision.ts, provision.test.ts, foundingPrefix.ts, provision-archive.live.spec.ts, provision-nextcloud.live.spec.ts.

B — product. Emit {http.request.hostport} and a portful sign-in target from renderGateRedirect. Changes what a deployed community's front door hands a member's browser.

The ruling needed: may the lab collapse every apex port onto the web forward at the resolver? That papers over a whole class of wrong-port product defect — which is exactly the class #1236 itself was (a panel handed out on a port that fronted no gate). If the answer is no, B is the lane and it needs its own DDR.

Refusal

Healing was refused under rule 1 and rule 3, and shape A additionally trips rule 2:

  • Rule 1 (would weaken/edit a check). app/tests/e2e/fixtures/provision.test.ts:51 pins the exact rule string: expect(hostResolverRules()).toBe(\MAP *.${APEX} 127.0.0.1`)`. Any correct fix in shape A rewrites that expectation line.
  • Rule 3 (product-behaviour surface). Shape B changes internal/clan/frontdoor.go:521 — the redirect a real community's gate serves an unauthenticated browser. That is a deploy-visible behaviour and a design decision.
  • Rule 2 (line/file cap). Shape A spans 5 files (provision.ts, provision.test.ts, foundingPrefix.ts, and both live specs), over the 3-file cap.

No edits were made; the working tree is clean at bf9507ad.

Follow-on to check once the door is reachable

Not proven either way by this run (the walk never got past DNS), but worth pinning during the fix: on the private path the passkey is registered against RP id localhost — ceremony.ts refuses any other host for the reset URL ("the RP id is bound to localhost and any other host is an origin mismatch"). establishAdminDoorSession expects a kanidm passkey walk at the door's OIDC origin. If that origin is not localhost, the transplanted resident key will not be offered and the leg will red again one hop further along.

drive 20260905T182413Z red at operator-session: page.goto: net::ERR_NAME_NOT_RESOLVED at https://admin.e2e-drive.idss.internal:39423/ Call log: - navigating to "https://admin.e2e-drive.idss.internal:39423/", waiting until "domcontentloaded"
evidence: /home/swarm/swarm/Matou/idss/test-results/private-path/20260905T182413Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## The failure Drive `20260905T182413Z` (private-path / archive target, commit `bf9507ad`) went red at the new `operator-session` leg after 439ms: ``` page.goto: net::ERR_NAME_NOT_RESOLVED at https://admin.e2e-drive.idss.internal:39423/ ``` `artifacts/legs.json` — `founding-prefix` green (682s), `operator-session` red. `artifacts/verdict.json` — `firstRedLeg: operator-session`, commit `bf9507adef136f4c263b37299838164788f84191` (the #1236 sandcastle build that added this leg). **The error message names the wrong host.** Playwright builds navigation errors as `` `${errorText} at ${url}` `` using the URL passed to `goto`, NOT the hop that actually failed (`playwright-core@1.62.1/lib/coreBundle.js:37450`). The door resolved and answered fine. ## The evidence The ceremony browser's own network log inside the trace zip (`report/data/f789385d…zip` → `0-trace.network`) records exactly two requests for this navigation: ``` GET https://admin.e2e-drive.idss.internal:39423/ → 302 GET https://e2e-drive.idss.internal/authz/signin?rd=https://admin.e2e-drive.idss.internal/ → -1 (failed) ``` So the admin door 302'd (the auth gate's 401 → sign-in redirect, working as designed) and the **redirect target** is what failed to resolve. Two independent reasons it cannot work under the drive's topology: 1. **Bare apex, not a subdomain.** The redirect host is `e2e-drive.idss.internal`. The ceremony browser's rule is `MAP *.e2e-drive.idss.internal 127.0.0.1` (`app/tests/e2e/fixtures/provision.ts:91-93`) — the wildcard requires at least one label, so the bare apex is unmapped and Chromium hands back `ERR_NAME_NOT_RESOLVED`. 2. **Portless.** The redirect carries no port, so even once resolved the browser would dial `127.0.0.1:443`. On the private path the guest's `:443` is reachable only through the ephemeral host-side forward (`:39423` this drive, read from the guest unit at `provision-archive.live.spec.ts:155-165`). Nothing listens on host `:443`. The `rd=` return trip has the same defect: `rd=https://admin.e2e-drive.idss.internal/`, port dropped. Both come from one line — `internal/clan/frontdoor.go:521`: ```go fmt.Fprintf(b, " redir https://%s/authz/signin?rd={http.request.scheme}://{http.request.host}{http.request.uri} 302\n", cfg.Apex) ``` `cfg.Apex` is portless by construction, and Caddy's `{http.request.host}` is the host **without** port (`{http.request.hostport}` is the portful placeholder). **Verified on the box, not inferred:** - The browser *was* launched with the rule. `test.trace` records `Launch browser` at `ceremony.ts:257` with `args: [--ignore-certificate-errors, --host-resolver-rules=MAP *.e2e-drive.idss.internal 127.0.0.1]`. - The rule works. Probing `chromium.launch` on this machine with those exact args, `https://admin.e2e-drive.idss.internal:39423/` yields `ERR_CONNECTION_REFUSED` (resolved, nothing listening); without the arg it yields `ERR_NAME_NOT_RESOLVED`. Same result headless and headed under Xvfb. So the wildcard rule is fine — the bare apex is the gap. - The trace's embedded source snapshots for `provision-archive.live.spec.ts`, `foundingPrefix.ts` and `ceremony.ts` are byte-identical to the checkout at `bf9507ad`; the drive checkout `/home/swarm/swarm/Matou/idss` is clean at that commit. No stale-tree explanation. ## The suspected layer A lab-topology gap opened by #1236, not a selector or a wait ceiling. Before #1236 the private-path tail dialled the loopback API port and never crossed the gate, so the gate's redirect chain was never exercised on this path. `establishAdminDoorSession` (`app/tests/e2e/fixtures/provision.ts:815-879`) now navigates the gated door, and its doc comment's assumption — "whose context holds the `--host-resolver-rules` that map `*.<apex>` to the guest" — is not sufficient for the hop the gate actually emits. Note the guest **cannot** fix this itself: it serves on `:443` and has no knowledge of the host-side forward port, so a portful redirect is not something the deployed gateway can derive. The transparency has to come from either the drive's resolver rules or a deliberate product change. **This is not archive-specific.** `provision-nextcloud.live.spec.ts` walks the same gate at `files.<apex>` (`oidcSignInAsOperator`), and `renderGateRedirect` is shared — that drive should be expected to hit the identical wall. ## Two candidate shapes (this is why it needs a ruling) **A — harness/lab transparency.** Make `hostResolverRules()` cover the bare apex *and* remap the port onto the guest's web forward: `MAP *.<apex> 127.0.0.1:<webPort>,MAP <apex> 127.0.0.1:<webPort>`. Chromium's MAP syntax supports a replacement port, and `--ignore-certificate-errors` is already set so SNI/cert is not a blocker. Cost: `webPort` is only known once the guest is up, but `hostResolverRules()` is evaluated at `provision-archive.live.spec.ts:145` *before* `runFoundingPrefix`, and the browser is launched inside it at `foundingPrefix.ts:381`. So the port has to be threaded through the shared fixture (or the tail browser opened after the port read, re-running `transplantCredentials`). Touches `provision.ts`, `provision.test.ts`, `foundingPrefix.ts`, `provision-archive.live.spec.ts`, `provision-nextcloud.live.spec.ts`. **B — product.** Emit `{http.request.hostport}` and a portful sign-in target from `renderGateRedirect`. Changes what a deployed community's front door hands a member's browser. The ruling needed: may the lab collapse every apex port onto the web forward at the resolver? That papers over a whole class of wrong-port product defect — which is exactly the class #1236 itself was (a panel handed out on a port that fronted no gate). If the answer is no, B is the lane and it needs its own DDR. ## Refusal Healing was refused under **rule 1** and **rule 3**, and shape A additionally trips **rule 2**: - **Rule 1 (would weaken/edit a check).** `app/tests/e2e/fixtures/provision.test.ts:51` pins the exact rule string: `expect(hostResolverRules()).toBe(\`MAP *.${APEX} 127.0.0.1\`)`. Any correct fix in shape A rewrites that expectation line. - **Rule 3 (product-behaviour surface).** Shape B changes `internal/clan/frontdoor.go:521` — the redirect a real community's gate serves an unauthenticated browser. That is a deploy-visible behaviour and a design decision. - **Rule 2 (line/file cap).** Shape A spans 5 files (`provision.ts`, `provision.test.ts`, `foundingPrefix.ts`, and both live specs), over the 3-file cap. No edits were made; the working tree is clean at `bf9507ad`. ## Follow-on to check once the door is reachable Not proven either way by this run (the walk never got past DNS), but worth pinning during the fix: on the private path the passkey is registered against RP id `localhost` — `ceremony.ts` refuses any other host for the reset URL ("the RP id is bound to localhost and any other host is an origin mismatch"). `establishAdminDoorSession` expects a kanidm passkey walk at the door's OIDC origin. If that origin is not `localhost`, the transplanted resident key will not be offered and the leg will red again one hop further along. drive `20260905T182413Z` red at `operator-session`: `page.goto: net::ERR_NAME_NOT_RESOLVED at https://admin.e2e-drive.idss.internal:39423/ Call log: - navigating to "https://admin.e2e-drive.idss.internal:39423/", waiting until "domcontentloaded"` evidence: `/home/swarm/swarm/Matou/idss/test-results/private-path/20260905T182413Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: b5659a2277df -->
Owner

RULED (agent, two-way under ADR 0174 — Ben vetoes async): shape A, lab transparency — the drive presents the guest's :443 at the apex names. Shape B (a portful gate redirect) is REJECTED.

Why B cannot work: the gate redirect is only the first hop. internal/controlapi/signin.go:107 callbackURL() is https://<apex>/authz/callback — the redirect_uri the gate's OIDC client REGISTERS with kanidm at founding (exact-match by the OIDC contract), the rd fallback is https://<apex>/, and the session cookie is Domain=<apex>. A per-request port cannot flow through a registered redirect_uri, so a portful 302 would just move the wall one hop. The product contract, already encoded everywhere the chain touches, is the community door is the apex on :443 — a private-path operator exposes :443 (#331's port-forward/UPnP is that story). Under that contract the deployed chain is self-consistent: the operator's own browser takes the first hop locally (https://admin.<apex>:<webPort>, #1236) and every later hop through the public :443 route. What the LAB lacks is that public route — so the lab supplies it.

What to build

  1. hostResolverRules(webPort) in app/tests/e2e/fixtures/provision.ts: MAP *.<apex> 127.0.0.1:<webPort>,MAP <apex> 127.0.0.1:<webPort> — the bare apex (the sign-in + callback host) AND the wildcard, both remapped onto the guest's host-side :443 forward. This is the product contract stated as a lab fact: "apex:443 is the guest's 443". Update the provision.test.ts:51 pin deliberately (a new expectation, not a loosened one): it must assert BOTH rules carry the port and the bare apex is present.
  2. Thread webPort to the browser launch. The ceremony browser launches inside runFoundingPrefix (foundingPrefix.ts:381) before the tail reads the port at provision-archive.live.spec.ts:155-165; make ceremonyLaunch.hostResolverRules lazy (a () => string evaluated at launch, when the guest unit exists — guestWebPort(unitText) is already the reader) or read the port before launching. Both provision-archive.live.spec.ts and provision-nextcloud.live.spec.ts (which walks the same gate at files.<apex> and is expected to hit the identical wall) take it.
  3. Keep the masking honest. Chromium's MAP replacement port overrides ANY requested port for those hosts, which could hide a product URL that names a wrong port. Mitigation, both required: (a) keep #1236's dashboardDoorUrl / [data-field="portal-address"] assertion reading the port off the APP'S OWN TEXT (navigation cannot mask that), and (b) the operator-session leg records the FIRST request's URL + status from the page (the door 302 at admin.<apex>:<webPort>) in its evidence so a wrong-port hand-out is visible in legs.json.
  4. Do not touch renderGateRedirect / signin.go (the :443 contract stands; the portless {http.request.host} in rd is correct under it). Do not loosen the browse assertion.

Close = the archive drive #1235 passes operator-session AND browse-catalogue on the re-fire; nextcloud provision fixtures green offline (pnpm --filter app exec vitest run tests/e2e/fixtures/). GOTCHAS entry on landing: "the OIDC chain is apex:443 by registration — a lab on a forwarded port maps the apex NAMES to the forward; it never asks the product to carry the port."

## RULED (agent, two-way under ADR 0174 — Ben vetoes async): **shape A, lab transparency — the drive presents the guest's :443 at the apex names.** Shape B (a portful gate redirect) is REJECTED. **Why B cannot work:** the gate redirect is only the first hop. `internal/controlapi/signin.go:107` `callbackURL()` is `https://<apex>/authz/callback` — the redirect_uri the gate's OIDC client REGISTERS with kanidm at founding (exact-match by the OIDC contract), the rd fallback is `https://<apex>/`, and the session cookie is `Domain=<apex>`. A per-request port cannot flow through a registered redirect_uri, so a portful 302 would just move the wall one hop. The product contract, already encoded everywhere the chain touches, is **the community door is the apex on :443** — a private-path operator exposes :443 (#331's port-forward/UPnP is that story). Under that contract the deployed chain is self-consistent: the operator's own browser takes the first hop locally (`https://admin.<apex>:<webPort>`, #1236) and every later hop through the public :443 route. What the LAB lacks is that public route — so the lab supplies it. ## What to build 1. **`hostResolverRules(webPort)`** in `app/tests/e2e/fixtures/provision.ts`: `MAP *.<apex> 127.0.0.1:<webPort>,MAP <apex> 127.0.0.1:<webPort>` — the bare apex (the sign-in + callback host) AND the wildcard, both remapped onto the guest's host-side :443 forward. This is the product contract stated as a lab fact: "apex:443 is the guest's 443". Update the `provision.test.ts:51` pin deliberately (a new expectation, not a loosened one): it must assert BOTH rules carry the port and the bare apex is present. 2. **Thread `webPort` to the browser launch.** The ceremony browser launches inside `runFoundingPrefix` (`foundingPrefix.ts:381`) before the tail reads the port at `provision-archive.live.spec.ts:155-165`; make `ceremonyLaunch.hostResolverRules` lazy (a `() => string` evaluated at launch, when the guest unit exists — `guestWebPort(unitText)` is already the reader) or read the port before launching. Both `provision-archive.live.spec.ts` and `provision-nextcloud.live.spec.ts` (which walks the same gate at `files.<apex>` and is expected to hit the identical wall) take it. 3. **Keep the masking honest.** Chromium's MAP replacement port overrides ANY requested port for those hosts, which could hide a product URL that names a wrong port. Mitigation, both required: (a) keep #1236's `dashboardDoorUrl` / `[data-field="portal-address"]` assertion reading the port off the APP'S OWN TEXT (navigation cannot mask that), and (b) the `operator-session` leg records the FIRST request's URL + status from the page (the door 302 at `admin.<apex>:<webPort>`) in its evidence so a wrong-port hand-out is visible in legs.json. 4. **Do not** touch `renderGateRedirect` / `signin.go` (the :443 contract stands; the portless `{http.request.host}` in `rd` is correct under it). Do not loosen the browse assertion. Close = the archive drive #1235 passes `operator-session` AND `browse-catalogue` on the re-fire; nextcloud provision fixtures green offline (`pnpm --filter app exec vitest run tests/e2e/fixtures/`). GOTCHAS entry on landing: "the OIDC chain is apex:443 by registration — a lab on a forwarded port maps the apex NAMES to the forward; it never asks the product to carry the port."
Author
Member

swarm-claim host=matou-dev-server-01 run=18487
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=18487 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1238 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1238,
  "status": "success",
  "commits": [
    "35d7cc91"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/ceremony.test.ts",
    "app/tests/e2e/fixtures/ceremony.ts",
    "app/tests/e2e/fixtures/legs.ts",
    "app/tests/e2e/fixtures/provision.test.ts",
    "app/tests/e2e/fixtures/provision.ts",
    "app/tests/e2e/provision-archive.live.spec.ts",
    "app/tests/e2e/provision-nextcloud.live.spec.ts",
    "app/tests/e2e/settings-brand-reapply.live.spec.ts",
    "docs/GOTCHAS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter app exec vitest run tests/e2e/fixtures/",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "hostResolverRules(webPort) maps bare apex AND wildcard onto 127.0.0.1:<webPort> (ruling item 1)": "provision.ts hostResolverRules(webPort) returns `MAP *.${APEX} 127.0.0.1:${webPort},MAP ${APEX} 127.0.0.1:${webPort}`; pinned red-first in provision.test.ts (both rules, port present, bare apex present)",
    "webPort threaded to browser launch lazily (ruling item 2)": "provision.ts ceremonyResolverRules() thunk reads guestWebPort off the committed guest unit at launch; CeremonyLaunchOpts.hostResolverRules accepts () => string and ceremonyLaunchArgs resolves it at launch (ceremony.ts); ceremony.test.ts pins the thunk resolves once at launch; provision-archive + provision-nextcloud + settings-brand-reapply pass ceremonyResolverRules by reference",
    "masking kept honest — app-text port pin + first-request evidence (ruling item 3)": "(a) #1236's dashboardDoorUrl / portal-address app-text pin untouched; (b) LegMarkers gains optional door{url,status} and the archive operator-session leg stamps the door's first requested URL+status into legs.json",
    "renderGateRedirect/signin.go NOT touched (ruling item 4)": "git diff touches no Go files — only app/tests/e2e TS, docs, STATUS.md",
    "nextcloud provision fixtures green offline": "CI=true pnpm --filter app exec vitest run tests/e2e/fixtures/ → 331/331 passed (exit 0); vue-tsc clean"
  },
  "summary": "The lab maps both the bare apex and *.<apex> onto the guest's :443 forward (lazy at browser launch) so the gate's portless 401 redirect resolves, per Ben's shape-A ruling; the product :443 registration contract is untouched.",
  "blockers": []
}
**close-report** for #1238 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1238, "status": "success", "commits": [ "35d7cc91" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/ceremony.test.ts", "app/tests/e2e/fixtures/ceremony.ts", "app/tests/e2e/fixtures/legs.ts", "app/tests/e2e/fixtures/provision.test.ts", "app/tests/e2e/fixtures/provision.ts", "app/tests/e2e/provision-archive.live.spec.ts", "app/tests/e2e/provision-nextcloud.live.spec.ts", "app/tests/e2e/settings-brand-reapply.live.spec.ts", "docs/GOTCHAS.md" ], "tests": [ { "command": "CI=true pnpm --filter app exec vitest run tests/e2e/fixtures/", "exit_code": 0 }, { "command": "CI=true pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 } ], "criteria": { "hostResolverRules(webPort) maps bare apex AND wildcard onto 127.0.0.1:<webPort> (ruling item 1)": "provision.ts hostResolverRules(webPort) returns `MAP *.${APEX} 127.0.0.1:${webPort},MAP ${APEX} 127.0.0.1:${webPort}`; pinned red-first in provision.test.ts (both rules, port present, bare apex present)", "webPort threaded to browser launch lazily (ruling item 2)": "provision.ts ceremonyResolverRules() thunk reads guestWebPort off the committed guest unit at launch; CeremonyLaunchOpts.hostResolverRules accepts () => string and ceremonyLaunchArgs resolves it at launch (ceremony.ts); ceremony.test.ts pins the thunk resolves once at launch; provision-archive + provision-nextcloud + settings-brand-reapply pass ceremonyResolverRules by reference", "masking kept honest — app-text port pin + first-request evidence (ruling item 3)": "(a) #1236's dashboardDoorUrl / portal-address app-text pin untouched; (b) LegMarkers gains optional door{url,status} and the archive operator-session leg stamps the door's first requested URL+status into legs.json", "renderGateRedirect/signin.go NOT touched (ruling item 4)": "git diff touches no Go files — only app/tests/e2e TS, docs, STATUS.md", "nextcloud provision fixtures green offline": "CI=true pnpm --filter app exec vitest run tests/e2e/fixtures/ → 331/331 passed (exit 0); vue-tsc clean" }, "summary": "The lab maps both the bare apex and *.<apex> onto the guest's :443 forward (lazy at browser launch) so the gate's portless 401 redirect resolves, per Ben's shape-A ruling; the product :443 registration contract is untouched.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1238
No description provided.