operator-docs-editing: WOPI callback gated by front-door forward_auth; + video OIDC red #1625

Closed
opened 2026-09-19 05:48:53 +00:00 by matou-build-agent · 2 comments

Drive 20260919T042605Z — artifacts/verdict.json: 39 legs, 35 green, 4 red, 0 skip, firstRedLeg: operator-docs-editing, commit 4ffd4810.

This is NOT the known frontier

The brief names pairing as the known red. That is not what happened here: legs.json records {"leg":"pair","status":"green","ms":254} and zero skipped legs — so there are no skip reasons naming the own-VPS carrier issue. Pairing flipped. These four reds are new ground, and they are two defects, each hit twice (once as operator, once as member).

Access note

The access line in the brief was refused: root@209.38.83.115: Permission denied (publickey,keyboard-interactive). The box is up — it wants the drive's own key. I used the identity the drive recorded in artifacts/live-box.json (state/rent-operator/id_ed25519), read-only, and mutated nothing.


Defect 1 — operator-docs-editing / member-docs-editing: the WOPI callback is gated by the front door

Leg record:

docs-editing: proof-operator's document /roles-proof-1789795850019.odt (file 84) was REFUSED by the editor — "Document loading failed …"; editor frame "(none)"

coolwsd on the live box (journalctl -u coolwsd):

ERR  #30: WOPI::CheckFileInfo (16ms) failed or no valid JSON payload returned. Access denied. Original response: [<!DOCTYPE html>...]| wsd/wopi/CheckFileInfo.cpp:133
ERR  #30: CheckFileInfo failed for [https%3A%2F%2Ffiles.roles-proof.idss.nz%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F84_ocj1jdcucir8], State::Fail| wsd/RequestVettingStation.cpp:341

Replaying that GET on the box names the HTML:

HTTP/2 302
location: https://roles-proof.idss.nz/authz/signin?rd=https://files.roles-proof.idss.nz/index.php/apps/richdocuments/wopi/files/84_ocj1jdcucir8
server: Caddy

So it is Caddy's forward_auth — not Nextcloud, and not the coolwsd allow-list: 507ff9e4 / GOTCHAS #265 is genuinely fixed (coolwsd now serves the editor frame before failing). coolwsd is a server-side daemon carrying a per-open WOPI access_token and never a community session cookie, so the gate 302s it to /authz/signin and it parses the sign-in HTML as JSON.

Verified defective line — internal/clan/files.go:99-105, no richdocuments WOPI entry:

var FilesExemptPaths = []string{
	"/remote.php/dav*",
	"/remote.php/webdav*",
	"/public.php/dav*",
	"/status.php",
	"/ocs/v1.php/cloud/users*",
}

Layer: product (IDSS render). Same shape as #790.

Plugging it needs a ruling between two real doors:

  1. Exempt the WOPI subtree at the front door — add /index.php/apps/richdocuments/wopi* to FilesExemptPaths. Narrow and token-governed, but it opens a session-less subtree on files.<apex>.
  2. Keep the gate shut and move the callback off the public door — point richdocuments' WOPI callback at NextcloudLoopbackTarget (internal/clan/files.go:140 = 127.0.0.1:8084, which matches the nginx listener I saw in ss -tlnp). That then requires widening Collabora's allow-list in internal/clan/docsediting_attach.go, which today pins files.<apex> alone.

That is a trust-boundary choice, not a mechanical repair.


Defect 2 — operator-video / member-video: kanidm refuses the plugin's response_mode

The leg text ("showed its OWN login form … a second login form") describes the symptom. The box shows the cause.

PeerTube (journalctl -u peertube):

[peertube-plugin-auth-openid-connect] error: Error in handle callback. {
  "errName": "ClientError",
  "errMessage": "invalid response encountered"
}
GET /plugins/auth-openid-connect/router/code-cb?code=…&state=… 302
GET /login?externalAuthError=true 200

kanidm, same second, client_id=video:

GET /ui/oauth2?scope=openid+email+profile&redirect_uri=…%2Fcode-cb&response_mode=form_post&…&client_id=video&response_type=code → 303
WARN 🚧 [warn]: Invalid response mode form_post requested - many clients request this incorrectly but proceed with response_mode=query. Remapping to query.
POST /oauth2/token → status_code: 200

The chain, confirmed inside the closure this drive shipped:

  • dist/main.js:232 hard-codes response_mode: 'form_post'.
  • kanidm rejects form_post and remaps to query, so the callback arrives as a GET (the access log confirms GET …/code-cb?code=…).
  • the bundled oauth4webapi then throws form_post responses are expected to use the POST method, which openid-client 6.8.8 wraps at build/index.js:138 as e('invalid response encountered', …) — the exact string PeerTube logged.

Corroborating: the token exchange succeeded (POST /oauth2/token → 200), so client id, secret, redirect_uri and PKCE are all correct — this is not a credential or registration fault. c92ca62f's closure fix worked: the plugin is present as plugins/node_modules/peertube-plugin-auth-openid-connect -> /nix/store/l60ijw…-1.2.0, and systemctl --failed is empty. internal/clan/video.go sets scope, discover-url, client-id, client-secret, the property maps and auth-display-name — nothing governing response mode.

Layer: product, at the IDSS/plugin seam.

Plugging it also needs a ruling on shape: patch response_mode to query in the derivation IDSS already owns (ADR 0257 builds this plugin into the closure, so it is in reach), or carry a plugin setting / version bump. Note kanidm's warning says the query-remap tolerance "WILL BE REMOVED in a future release", so requesting form_post is wrong independent of which fix lands.


Prior work already in the run directory

artifacts/healer-refusal.json reaches these same two diagnoses and refused both under its refusal rule 3 (trust-boundary / non-mechanical), confident: false. I verified its two source-line claims against the repo and both hold. Caveat: it cites a harness fix at commit dd782cc (an SSO_BUTTONS selector it says was masking defect 2); that commit is not in this repo's history — unpushed, or in another tree — so treat its "the video presentation is already fixed" claim as unconfirmed.

What's absent

  • state/founding-state.json — missing; logs/founding-state.log records cat: … No such file or directory.
  • logs/broker-journal.txt — -- No entries --.
  • Every logs/guest-*.log is a 127-byte stub (no SSH hostfwd … the guest was never created). Expected, not a fault: this is a rented-droplet drive and artifacts/host.json records "qemu": "exit ENOENT".
  • Present and used: artifacts/legs.json, verdict.json, journey.json (rows + fault), logs/droplet-journal.txt (659 KB), logs/droplet-caddy.txt, and the playwright report.

Confidence

Both defects are localised to a named line with live-box evidence, but neither fix shape is decidable without a human ruling — defect 1 is a front-door trust-boundary choice, defect 2 a choice between patching a vendored derivation and carrying a setting. Hence confident: false, matching the healer's own refusal. A swarm agent can act immediately once either door is picked.

drive 20260919T042605Z red at member-docs-editing: docs-editing: proof-member's document /roles-proof-1789795966209.odt (file 101) was REFUSED by the editor — "Document loading failed — Keyboard navigation help Skip to app navigation Skip to main
evidence: /home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260919T042605Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

**Drive `20260919T042605Z`** — `artifacts/verdict.json`: 39 legs, **35 green, 4 red, 0 skip**, `firstRedLeg: operator-docs-editing`, commit `4ffd4810`. ## This is NOT the known frontier The brief names pairing as the known red. That is not what happened here: `legs.json` records `{"leg":"pair","status":"green","ms":254}` and **zero skipped legs** — so there are no skip reasons naming the own-VPS carrier issue. Pairing flipped. These four reds are new ground, and they are **two defects, each hit twice** (once as operator, once as member). ## Access note The access line in the brief was refused: `root@209.38.83.115: Permission denied (publickey,keyboard-interactive)`. The box is up — it wants the drive's own key. I used the identity the drive recorded in `artifacts/live-box.json` (`state/rent-operator/id_ed25519`), read-only, and mutated nothing. --- ## Defect 1 — `operator-docs-editing` / `member-docs-editing`: the WOPI callback is gated by the front door Leg record: > `docs-editing: proof-operator's document /roles-proof-1789795850019.odt (file 84) was REFUSED by the editor — "Document loading failed …"; editor frame "(none)"` coolwsd on the live box (`journalctl -u coolwsd`): ``` ERR #30: WOPI::CheckFileInfo (16ms) failed or no valid JSON payload returned. Access denied. Original response: [<!DOCTYPE html>...]| wsd/wopi/CheckFileInfo.cpp:133 ERR #30: CheckFileInfo failed for [https%3A%2F%2Ffiles.roles-proof.idss.nz%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F84_ocj1jdcucir8], State::Fail| wsd/RequestVettingStation.cpp:341 ``` Replaying that GET on the box names the HTML: ``` HTTP/2 302 location: https://roles-proof.idss.nz/authz/signin?rd=https://files.roles-proof.idss.nz/index.php/apps/richdocuments/wopi/files/84_ocj1jdcucir8 server: Caddy ``` So it is **Caddy's `forward_auth`** — not Nextcloud, and not the coolwsd allow-list: `507ff9e4` / GOTCHAS #265 is genuinely fixed (coolwsd now serves the editor frame before failing). coolwsd is a server-side daemon carrying a per-open WOPI `access_token` and **never a community session cookie**, so the gate 302s it to `/authz/signin` and it parses the sign-in HTML as JSON. Verified defective line — `internal/clan/files.go:99-105`, no richdocuments WOPI entry: ```go var FilesExemptPaths = []string{ "/remote.php/dav*", "/remote.php/webdav*", "/public.php/dav*", "/status.php", "/ocs/v1.php/cloud/users*", } ``` **Layer: product** (IDSS render). Same shape as #790. **Plugging it needs a ruling between two real doors:** 1. Exempt the WOPI subtree at the front door — add `/index.php/apps/richdocuments/wopi*` to `FilesExemptPaths`. Narrow and token-governed, but it opens a session-less subtree on `files.<apex>`. 2. Keep the gate shut and move the callback off the public door — point richdocuments' WOPI callback at `NextcloudLoopbackTarget` (`internal/clan/files.go:140` = `127.0.0.1:8084`, which matches the nginx listener I saw in `ss -tlnp`). That then requires widening Collabora's allow-list in `internal/clan/docsediting_attach.go`, which today pins `files.<apex>` alone. That is a trust-boundary choice, not a mechanical repair. --- ## Defect 2 — `operator-video` / `member-video`: kanidm refuses the plugin's `response_mode` The leg text ("showed its OWN login form … a second login form") describes the symptom. The box shows the cause. PeerTube (`journalctl -u peertube`): ``` [peertube-plugin-auth-openid-connect] error: Error in handle callback. { "errName": "ClientError", "errMessage": "invalid response encountered" } GET /plugins/auth-openid-connect/router/code-cb?code=…&state=… 302 GET /login?externalAuthError=true 200 ``` kanidm, same second, `client_id=video`: ``` GET /ui/oauth2?scope=openid+email+profile&redirect_uri=…%2Fcode-cb&response_mode=form_post&…&client_id=video&response_type=code → 303 WARN 🚧 [warn]: Invalid response mode form_post requested - many clients request this incorrectly but proceed with response_mode=query. Remapping to query. POST /oauth2/token → status_code: 200 ``` The chain, confirmed inside the closure this drive shipped: - `dist/main.js:232` hard-codes `response_mode: 'form_post'`. - kanidm rejects form_post and **remaps to query**, so the callback arrives as a **GET** (the access log confirms `GET …/code-cb?code=…`). - the bundled `oauth4webapi` then throws `form_post responses are expected to use the POST method`, which `openid-client` 6.8.8 wraps at `build/index.js:138` as `e('invalid response encountered', …)` — the exact string PeerTube logged. Corroborating: the **token exchange succeeded** (`POST /oauth2/token → 200`), so client id, secret, redirect_uri and PKCE are all correct — this is not a credential or registration fault. `c92ca62f`'s closure fix worked: the plugin is present as `plugins/node_modules/peertube-plugin-auth-openid-connect -> /nix/store/l60ijw…-1.2.0`, and `systemctl --failed` is empty. `internal/clan/video.go` sets `scope`, `discover-url`, `client-id`, `client-secret`, the property maps and `auth-display-name` — **nothing governing response mode**. **Layer: product**, at the IDSS/plugin seam. **Plugging it also needs a ruling on shape:** patch `response_mode` to `query` in the derivation IDSS already owns (ADR 0257 builds this plugin into the closure, so it is in reach), or carry a plugin setting / version bump. Note kanidm's warning says the query-remap tolerance **"WILL BE REMOVED in a future release"**, so requesting form_post is wrong independent of which fix lands. --- ## Prior work already in the run directory `artifacts/healer-refusal.json` reaches these same two diagnoses and refused both under its refusal rule 3 (trust-boundary / non-mechanical), `confident: false`. I verified its two source-line claims against the repo and both hold. **Caveat:** it cites a harness fix at commit `dd782cc` (an `SSO_BUTTONS` selector it says was masking defect 2); that commit is **not in this repo's history** — unpushed, or in another tree — so treat its "the video presentation is already fixed" claim as unconfirmed. ## What's absent - `state/founding-state.json` — missing; `logs/founding-state.log` records `cat: … No such file or directory`. - `logs/broker-journal.txt` — `-- No entries --`. - Every `logs/guest-*.log` is a 127-byte stub (`no SSH hostfwd … the guest was never created`). Expected, not a fault: this is a rented-droplet drive and `artifacts/host.json` records `"qemu": "exit ENOENT"`. - Present and used: `artifacts/legs.json`, `verdict.json`, `journey.json` (`rows` + `fault`), `logs/droplet-journal.txt` (659 KB), `logs/droplet-caddy.txt`, and the playwright report. ## Confidence Both defects are localised to a named line with live-box evidence, but **neither fix shape is decidable without a human ruling** — defect 1 is a front-door trust-boundary choice, defect 2 a choice between patching a vendored derivation and carrying a setting. Hence `confident: false`, matching the healer's own refusal. A swarm agent can act immediately once either door is picked. drive `20260919T042605Z` red at `member-docs-editing`: `docs-editing: proof-member's document /roles-proof-1789795966209.odt (file 101) was REFUSED by the editor — "Document loading failed — Keyboard navigation help Skip to app navigation Skip to main ` evidence: `/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260919T042605Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: 4907080df969 -->
Author
Member

Session-runner (bens-mac-04) attempt under ADR 0174. Both defects confirmed against the tree; both stop on a human. Relabelled ready-for-session → ready-for-human.

What I verified in the repo (no live box touched — SSH still wants the drive's own key)

  • Defect 1 is real. internal/clan/files.go:99-105 FilesExemptPaths carries /remote.php/dav*, /remote.php/webdav*, /public.php/dav*, /status.php, /ocs/v1.php/cloud/users* — and no richdocuments WOPI entry. So coolwsd's server-to-server CheckFileInfo callback (which carries a per-open WOPI access_token, never a community session cookie) hits files.<apex> and Caddy's forward_auth 302s it to /authz/signin; coolwsd parses the sign-in HTML as JSON and fails the open. This is the identical shape as #790 (the OCS-users exempt path was added for the exact "the gate 302s a token-bearing non-browser client and it reads back sign-in HTML" failure). 507ff9e4 / GOTCHAS #265 (the coolwsd allow-list allow="true") is genuinely fixed and is a different layer — confirmed.
  • Defect 2 is real. internal/clan/video.go renderVideoOIDC PUTs the plugin settings (scope, discover-url, client-id, client-secret, the property maps, auth-display-name) and sets nothing governing response_mode. The plugin is fetched from npm as four hash-pinned tarballs and built into the closure (renderVideoLet, ADR 0257) — it is not vendored in this tree, so IDSS today has no lever on the response_mode: 'form_post' the plugin hard-codes. The response_mode grep hits in internal/idp/* are the IdP-bridge side, unrelated. kanidm rejects form_post, remaps to query (warning it "WILL BE REMOVED in a future release"), the code arrives as a GET, and the bundled oauth4webapi throws form_post responses are expected to use the POST method. Token exchange succeeding (POST /oauth2/token → 200) rules out credentials/registration — confirmed the fault is response-mode alone.
  • Healer caveat resolved. artifacts/healer-refusal.json cited a harness SSO_BUTTONS selector fix at dd782cc that isn't in history. That fix has since landed on main as ddc57138 (different sha; "SSO_BUTTONS … the one OUR OWN deploy sets", sig eb7521dbc40d). So the roles walk can now press our community sign-in button — which only exposes defect 2 more directly; it does not fix it.

Why human

Neither fix is a two-way door under ADR 0174 (§3 one-way list: security-posture widenings; provable only by non-routine spend). Each is a ruling ask; proposed defaults below.

Defect 1 — the WOPI callback (a front-door auth-loosening). Two real doors:

  • Door 1 (proposed default): add /index.php/apps/richdocuments/wopi* to FilesExemptPaths (files.go:99). It is the #790-shaped fix: a client-protocol path governed by the per-file WOPI access_token, not the browser session — the same class as the DAV / OCS-users paths already exempt. Narrow (the richdocuments WOPI subtree, not blanket /index.php/apps/*); a suspended member's disabled Nextcloud account can't mint a WOPI token, so suspension still bites. But it is a new session-less-reachable subtree on the public files.<apex> door — an auth-requirement loosening, which ADR 0174 §3 reserves for Ben.
  • Door 2: keep the gate shut, move the callback to loopback. Point richdocuments' WOPI callback at NextcloudLoopbackTarget (127.0.0.1:8084, files.go:140) and widen Collabora's WOPI allow-list in docsediting.go/docsediting_attach.go (which today pins files.<apex> alone) to admit the loopback host. Keeps files.<apex> fully gated but adds a network-layer loopback trust path and needs two coordinated changes + a new trust seam.

I recommend Door 1 (smaller, precedented). Whichever you pick is render-proven only; live proof rides the next rented-services re-drive's operator-docs-editing / member-docs-editing legs (a document must open in the Collabora editor).

Defect 2 — the plugin requests the wrong response_mode. form_post is wrong independent of the fix (kanidm rejects it and will drop the query-remap tolerance).

  • Proposed default: patch response_mode 'form_post' → 'query' in the closure-built plugin (a substituteInPlace/sed phase in the videoOIDCPlugin runCommand, renderVideoLet), pinned by a render test asserting the patch phase. A version bump is blocked (2.x needs PeerTube ≥ 8.3.0; we pin 8.1.x); a plugin response_mode setting is unconfirmed and the box shows 1.2.0 hard-codes it, so a patch is the only in-reach lever.

I did not land this blindly: the plugin's dist/main.js isn't in this tree (fetched from npm), so a robust patch needs the plugin source, and the change is unprovable offline — its only proof is the same paid rented-droplet re-drive's operator-video / member-video legs. Landing an unverifiable patch against fetched third-party code would burn a paid live drive if the exact string/mechanism is off — the anti-pattern the #1614 arc records.

Routing

Both fixes are authored-ready the moment the two doors are picked; each is render-proven then closed on the next rented-services re-drive (rehearsal-183 family — operator spend, the executor's queue-armed job, never a one-shot session's per my standing). No code landed this session (no clean orthogonal two-way sub-part exists — every candidate change presupposes one of the rulings above).

Ruled by agent under ADR 0174 — veto anytime.

Session-runner (bens-mac-04) attempt under ADR 0174. Both defects confirmed against the tree; both stop on a human. Relabelled `ready-for-session` → `ready-for-human`. ## What I verified in the repo (no live box touched — SSH still wants the drive's own key) - **Defect 1 is real.** `internal/clan/files.go:99-105` `FilesExemptPaths` carries `/remote.php/dav*`, `/remote.php/webdav*`, `/public.php/dav*`, `/status.php`, `/ocs/v1.php/cloud/users*` — and **no richdocuments WOPI entry**. So coolwsd's server-to-server `CheckFileInfo` callback (which carries a per-open WOPI `access_token`, never a community session cookie) hits `files.<apex>` and Caddy's `forward_auth` 302s it to `/authz/signin`; coolwsd parses the sign-in HTML as JSON and fails the open. This is the identical shape as #790 (the OCS-users exempt path was added for the exact "the gate 302s a token-bearing non-browser client and it reads back sign-in HTML" failure). `507ff9e4` / GOTCHAS #265 (the coolwsd allow-list `allow="true"`) is genuinely fixed and is a different layer — confirmed. - **Defect 2 is real.** `internal/clan/video.go` `renderVideoOIDC` PUTs the plugin settings (`scope`, `discover-url`, `client-id`, `client-secret`, the property maps, `auth-display-name`) and sets **nothing governing `response_mode`**. The plugin is fetched from npm as four hash-pinned tarballs and built into the closure (`renderVideoLet`, ADR 0257) — it is **not vendored in this tree**, so IDSS today has no lever on the `response_mode: 'form_post'` the plugin hard-codes. The `response_mode` grep hits in `internal/idp/*` are the IdP-bridge side, unrelated. kanidm rejects `form_post`, remaps to `query` (warning it "WILL BE REMOVED in a future release"), the code arrives as a GET, and the bundled `oauth4webapi` throws `form_post responses are expected to use the POST method`. Token exchange succeeding (`POST /oauth2/token → 200`) rules out credentials/registration — confirmed the fault is response-mode alone. - **Healer caveat resolved.** `artifacts/healer-refusal.json` cited a harness `SSO_BUTTONS` selector fix at `dd782cc` that isn't in history. That fix **has since landed on main as `ddc57138`** (different sha; "SSO_BUTTONS … the one OUR OWN deploy sets", sig eb7521dbc40d). So the roles walk can now *press* our community sign-in button — which only exposes defect 2 more directly; it does not fix it. ## Why human Neither fix is a two-way door under ADR 0174 (§3 one-way list: security-posture **widenings**; **provable** only by non-routine spend). Each is a ruling ask; proposed defaults below. **Defect 1 — the WOPI callback (a front-door auth-loosening).** Two real doors: - **Door 1 (proposed default): add `/index.php/apps/richdocuments/wopi*` to `FilesExemptPaths` (`files.go:99`).** It is the #790-shaped fix: a client-protocol path governed by the per-file WOPI `access_token`, not the browser session — the same class as the DAV / OCS-users paths already exempt. Narrow (the richdocuments WOPI subtree, not blanket `/index.php/apps/*`); a suspended member's disabled Nextcloud account can't mint a WOPI token, so suspension still bites. But it is a **new session-less-reachable subtree on the public `files.<apex>` door** — an auth-requirement loosening, which ADR 0174 §3 reserves for Ben. - **Door 2: keep the gate shut, move the callback to loopback.** Point richdocuments' WOPI callback at `NextcloudLoopbackTarget` (`127.0.0.1:8084`, `files.go:140`) and widen Collabora's WOPI allow-list in `docsediting.go`/`docsediting_attach.go` (which today pins `files.<apex>` alone) to admit the loopback host. Keeps `files.<apex>` fully gated but adds a network-layer loopback trust path and needs two coordinated changes + a new trust seam. I recommend **Door 1** (smaller, precedented). Whichever you pick is render-proven only; **live proof rides the next rented-services re-drive's `operator-docs-editing` / `member-docs-editing` legs** (a document must open in the Collabora editor). **Defect 2 — the plugin requests the wrong `response_mode`.** `form_post` is wrong independent of the fix (kanidm rejects it and will drop the query-remap tolerance). - **Proposed default: patch `response_mode` `'form_post'` → `'query'` in the closure-built plugin** (a `substituteInPlace`/`sed` phase in the `videoOIDCPlugin` `runCommand`, `renderVideoLet`), pinned by a render test asserting the patch phase. A version bump is **blocked** (2.x needs PeerTube ≥ 8.3.0; we pin 8.1.x); a plugin `response_mode` *setting* is unconfirmed and the box shows 1.2.0 hard-codes it, so a patch is the only in-reach lever. I did **not** land this blindly: the plugin's `dist/main.js` isn't in this tree (fetched from npm), so a robust patch needs the plugin source, and the change is **unprovable offline** — its only proof is the same paid rented-droplet re-drive's `operator-video` / `member-video` legs. Landing an unverifiable patch against fetched third-party code would burn a paid live drive if the exact string/mechanism is off — the anti-pattern the #1614 arc records. ## Routing Both fixes are authored-ready the moment the two doors are picked; each is render-proven then closed on the next rented-services re-drive (`rehearsal-183` family — operator spend, the executor's queue-armed job, never a one-shot session's per my standing). No code landed this session (no clean orthogonal two-way sub-part exists — every candidate change presupposes one of the rulings above). Ruled by agent under ADR 0174 — veto anytime.
Owner

Ruled and landed. Ben ruled option 1 in session (2026-09-19): the WOPI callback bypasses the front-door gate, bound to the community's own editor. Landed 5f1dcfb1 with ADR 0258 — a NEW class, source-bound callback paths: a Caddy matcher of path /index.php/apps/richdocuments/wopi* /apps/richdocuments/wopi* AND remote_ip <loopback + the founding's public IP>, rendered only while docs-editing is placed, never folded into the open FilesExemptPaths; a missing sidecar yields loopback alone, no source list renders no bypass (GOTCHAS #272). The binding is in Caddy because Nextcloud behind it has no trusted_proxies.

Defect 2 (video) is fixed and LIVE-PROVEN: 89420211 (the plugin verifies ES256, GOTCHAS #267) + 8a9e4b93 (the role claim carries PeerTube's numeric role id, #270) — #1620 run 6 20260919T143405Z green 38/38, frames eyeballed (operator greeted "dear administrator!", member "dear user!").

Render- and unit-proven; the docs-editing half is live-unproven until the next #1620 fire (all three services). Closing — a red there files fresh evidence.

**Ruled and landed.** Ben ruled **option 1** in session (2026-09-19): the WOPI callback bypasses the front-door gate, bound to the community's own editor. Landed `5f1dcfb1` with **ADR 0258** — a NEW class, source-bound callback paths: a Caddy matcher of `path /index.php/apps/richdocuments/wopi* /apps/richdocuments/wopi*` AND `remote_ip <loopback + the founding's public IP>`, rendered only while docs-editing is placed, never folded into the open `FilesExemptPaths`; a missing sidecar yields loopback alone, no source list renders no bypass (GOTCHAS #272). The binding is in Caddy because Nextcloud behind it has no `trusted_proxies`. **Defect 2 (video)** is fixed and LIVE-PROVEN: `89420211` (the plugin verifies ES256, GOTCHAS #267) + `8a9e4b93` (the role claim carries PeerTube's numeric role id, #270) — #1620 run 6 `20260919T143405Z` green 38/38, frames eyeballed (operator greeted "dear administrator!", member "dear user!"). Render- and unit-proven; the docs-editing half is live-unproven until the next #1620 fire (all three services). Closing — a red there files fresh evidence.
ben 2026-09-19 22:17:03 +00:00
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.

Dependencies

No dependencies set.

Reference
Matou/idss#1625
No description provided.