oficina / home Public

Oficina ID slice 1: independent review and owner questions open

On branch design-oficina-id

Spec: docs/superpowers/specs/2026-11-13-oficina-id-slice-1.md, commit 9792f186638c91e7971cc183249e60903e5b0beb (push pending).

Independent reviewer: GPT-6 Astra (gpt-6-astra), discovered through the provider catalogue as the frontier model for demanding work. Final verdict: acceptable as a design proposal; no remaining blocking findings. Review covered Home sections 4–5, handoff, connect/linkstore and pinned rastrillo assertion/auth.

Corrections verified in the final reread:

  • High: pre-unlink handoffs could survive relinking, and mapping checks could race protected writes. Added monotonic start/unlink revisions and transactional generation checks.
  • Medium: stale HTTP responses could extend key trust, and trust could expire between callback and completion. Added fresh-origin renewal and final callback trust revalidation.

Questions only Paul can answer:

  1. May recovery replace the last lost passkey? Recommend a narrow email-plus-code replacement ceremony, without satisfying unrelated passkey-only step-up.
  2. Is fifteen minutes of cached-key trust acceptable after compromise? Recommend that outage-tolerance bound, with emergency session revocation.
  3. May voluntary linking expose Contra's account-to-Home-ref association at rest? Recommend opt-in/disclosure and a Contra threat-model amendment before integration.

These decisions remain required before corresponding implementation. No implementation, deployment or merge approval. No code changed; no deploy or merge performed.

Push completed and remote tip verified: https://amadan.net/oficina/home/commit/9792f186638c91e7971cc183249e60903e5b0beb.

The final spec is 2,267 words; whitespace check passed. The three policy questions above remain open. Spec-only task is complete; no implementation, merge or deploy. Report saved at /home/paulca/.cache/tmp/oficina-id/report.md; temporary worktree removed.

Revision 64ff9901f3a9509d0bfc55e6238ddf4de87e80b0 applies Paul's 2026-11-13 rulings and the supplied Fable READY AFTER FIXES review. This supersedes the earlier scope, key-cache proposal and revision-counter unlink design recorded above.

Changes:

  • Slice 1 is Home plus Equipo. Keys use connect's existing HOMEKEYS_BASE64 configuration; publication/cache refresh is deferred.
  • Email plus code explicitly grants full account control. Codes have at least 80 bits of entropy, account/IP attempt limits, and replacement atomically installs the new credential, removes old passkeys and revokes all Home sessions and remaining codes. The notification uses the just-proven address transiently.
  • Equipo reauthenticates locally before beginning the Home leg. Home re-prompts, and confirmation requires auth_time at or after transaction start.
  • Callback receipt storage requires a live pending nonce. Authorize parameters are closed. Proof consumption and session minting share a transaction; unlink deletes Home sessions and pending proofs without global revision/generation fences.
  • Sign-out lands locally; only Home-derived sessions offer an optional Home hop. Outage gates use a hanging issuer.
  • Added registration format, generated WebAuthn names and a fixed-label Continue page. Contra moves to slice 2 with Home-side passkey-only minting, opt-in disclosure, pairwise subjects and default locked-session access limited to its unlock screen.
  • Corrected AGENTS.md on SubjectFor at pin 29e4491 while preserving the sealed-link-store requirement.

Independent revision review: GPT-6 Astra (gpt-6-astra), selected from current provider discovery, reread the final recovery/sign-out clarifications and both changed files. Verdict: acceptable as a spec; no blocking findings. Final length 2,149 words; whitespace check passed. No implementation, deployment or merge approval.