oficina / home Public

Spec: the inbox cookie is the callback's, not the start's

Fable's final check of feat/web-straight-in (APPROVE) noted limit (c)'s
wording. Docs only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 94823a95c4369842cbf336a40f814fd13fe41ff6 parent 9dbc8e5
1 file changed, +1 −1
  • docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md +1 −1

CI passed — run details

CI log
amadan: .amadan/timeout: this job's budget is 20m0s (this runner allows up to 30m0s)
=== vet ===
CGO_ENABLED=0 go vet ./...
CGO_ENABLED=0 go vet -tags browser ./internal/home/
cd handoff && CGO_ENABLED=0 go vet ./...
cd roster && CGO_ENABLED=0 go vet ./...
cd dashboard && CGO_ENABLED=0 go vet ./...
cd connect && CGO_ENABLED=0 go vet ./...
cd teammode && CGO_ENABLED=0 go vet ./...
=== fmt ===
=== build ===
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina ./internal/operatorlaunch
cd handoff && CGO_ENABLED=0 go build ./...
cd roster && CGO_ENABLED=0 go build ./...
cd dashboard && CGO_ENABLED=0 go build ./...
cd connect && CGO_ENABLED=0 go build ./...
cd teammode && CGO_ENABLED=0 go build ./...
=== go-test ===
CGO_ENABLED=0 go test -count=1 ./...
?   	amadan.net/oficina/home/cmd/home	[no test files]
ok  	amadan.net/oficina/home/cmd/home-placeholder	0.773s
?   	amadan.net/oficina/home/cmd/oficina	[no test files]
ok  	amadan.net/oficina/home/internal/guardstest	0.205s
ok  	amadan.net/oficina/home/internal/home	56.439s
ok  	amadan.net/oficina/home/internal/home/directorydata	1.449s
ok  	amadan.net/oficina/home/internal/home/logtest	0.004s
ok  	amadan.net/oficina/home/internal/home/seal	0.004s
ok  	amadan.net/oficina/home/internal/home/sealtest	0.003s
ok  	amadan.net/oficina/home/internal/home/wisp	0.071s
ok  	amadan.net/oficina/home/internal/operator	6.443s
ok  	amadan.net/oficina/home/internal/operatorlaunch	4.156s
ok  	amadan.net/oficina/home/internal/provisioner	48.611s
cd handoff && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/handoff	0.659s
ok  	amadan.net/oficina/home/handoff/seal	0.002s
cd roster && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/roster	5.117s
cd dashboard && CGO_ENABLED=0 go test ./...
ok  	amadan.net/oficina/home/dashboard	(cached)
cd connect && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/connect	1.399s
ok  	amadan.net/oficina/home/connect/linkstore	0.474s
cd teammode && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/teammode	0.098s
?   	amadan.net/oficina/home/teammode/teammodetest	[no test files]
=== race ===
go test -race -count=1 ./internal/home/ ./internal/operator/ ./internal/operatorlaunch/ ./internal/home/directorydata/
ok  	amadan.net/oficina/home/internal/home	331.454s
ok  	amadan.net/oficina/home/internal/operator	82.270s
ok  	amadan.net/oficina/home/internal/operatorlaunch	22.385s
ok  	amadan.net/oficina/home/internal/home/directorydata	23.435s
ok  	amadan.net/oficina/home/internal/provisioner	397.302s
cd handoff && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/handoff	12.812s
ok  	amadan.net/oficina/home/handoff/seal	1.015s
cd roster && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/roster	6.941s
cd dashboard && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/dashboard	1.063s
cd connect && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/connect	6.146s
ok  	amadan.net/oficina/home/connect/linkstore	6.258s
cd teammode && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/teammode	1.917s
?   	amadan.net/oficina/home/teammode/teammodetest	[no test files]
diff --git a/docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md b/docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md
index 3bf1fc3..1987675 100644
--- a/docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md
+++ b/docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md
@@ -64,7 +64,7 @@ No email, role, grants, document list, encryption keys or authentication-strengt
**Accepted limits of Paul's ruling** (Fable's review of `feat/web-straight-in`, 2026-11-20). "The worst case is signing the victim in to their own account" is too narrow; these are accepted:
- (a) any site can sign a visitor who has an id.* session in to any registered consumer with no click; whether that first visit creates app-side state depends on each app's `Complete`;
- (b) any registered consumer origin, or script running on one, learns a visitor's Oficina subject with no id.* interaction;
-- (c) a junk-nonce `/authorize` overwrites the victim's in-flight intent cookie (and, through the app's start, its inbox cookie), breaking a sign-in in progress;
+- (c) a junk-nonce `/authorize` overwrites the victim's in-flight intent cookie (and, through the app's callback, its inbox cookie; the app's start replaces its pending cookie), breaking a sign-in in progress;
- (d) whether a browser has an id.* session (it leaves id.* at once, or stays on the door) is visible to registered consumers by design; no cross-site read of it was found.
Unchanged: `max_age=300` (linking, and every step-up) still sends a standing session to the door for a new authentication gesture before anything is minted (Linking and unlinking, below); without an id.* session the request still lands on the sign-in door; the assertion still never appears in a URL or a log.