Floor sign-in: tracker OAuth2 login, Matou-only, per-viewer project visibility #295

Closed
opened 2026-10-21 05:36:17 +00:00 by ben · 1 comment
Owner

Operator surface (fleet-tui/floor, not vendored). Ben: only Matou users may open the Floor/Board, and each viewer sees only the projects their own tracker account can see; a machine slot busy on a hidden project reads "info unavailable".

Identity: Forgejo OAuth2 on the tracker (authorization code + PKCE), org membership required, session cookie, tokens in process memory. Visibility: asked of the tracker with the viewer token once per repo per session (fail closed). Narrowing: server-side per socket (server/redact.js) — hidden repos''' queue/done/asks/repos/runners/usage rows dropped; slot holders, runs and drives blanked (redacted: true) so busy stays busy. Sign-in is OFF without FLOOR_OAUTH_CLIENT_ID/_SECRET/_ISSUER + FLOOR_ORG (replay, tests); run.sh sources ~/.config/dev-factory/floor-oauth.env.

Design: docs/superpowers/specs/2026-10-21-floor-signin-design.md. Lands by fast-forward of branch floor-signin; the hosted dev-factory.matou.nz needs the four variables in its service environment to turn sign-in on (deploy/README.md).

Operator surface (fleet-tui/floor, not vendored). Ben: only Matou users may open the Floor/Board, and each viewer sees only the projects their own tracker account can see; a machine slot busy on a hidden project reads "info unavailable". Identity: Forgejo OAuth2 on the tracker (authorization code + PKCE), org membership required, session cookie, tokens in process memory. Visibility: asked of the tracker with the viewer token once per repo per session (fail closed). Narrowing: server-side per socket (server/redact.js) — hidden repos''' queue/done/asks/repos/runners/usage rows dropped; slot holders, runs and drives blanked (redacted: true) so busy stays busy. Sign-in is OFF without FLOOR_OAUTH_CLIENT_ID/_SECRET/_ISSUER + FLOOR_ORG (replay, tests); run.sh sources ~/.config/dev-factory/floor-oauth.env. Design: docs/superpowers/specs/2026-10-21-floor-signin-design.md. Lands by fast-forward of branch floor-signin; the hosted dev-factory.matou.nz needs the four variables in its service environment to turn sign-in on (deploy/README.md).
Author
Owner

Landed on main by fast-forward: 92415fe..6511e01. Journal: docs/journal/2026-10-21-295.md. Owed on the host: the hosted floor service needs FLOOR_OAUTH_CLIENT_ID/_SECRET/_ISSUER + FLOOR_ORG (+ FLOOR_PUBLIC_URL) to turn sign-in on.

Landed on main by fast-forward: 92415fe..6511e01. Journal: docs/journal/2026-10-21-295.md. Owed on the host: the hosted floor service needs FLOOR_OAUTH_CLIENT_ID/_SECRET/_ISSUER + FLOOR_ORG (+ FLOOR_PUBLIC_URL) to turn sign-in on.
ben closed this issue 2026-10-21 05:37:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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/dev-factory#295
No description provided.