Skip to content

Prism id on stitch alone: each app keeps its own device, nothing to deploy - #186

Merged
afflom merged 5 commits into
mainfrom
claude/project-thread-i4vn2z
Nov 14, 2026
Merged

afflom merged 5 commits into
mainfrom
claude/project-thread-i4vn2z

Conversation

@afflom

@afflom afflom commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

This is a byte-identical copy of UOR-Foundation/template#73's frame/ and identity/ at 09a3d3c, plus its bootstrap/page.mjs and site/page.template.html.

Sign-in runs on stitch's Prism id alone (prism/identity/4), pinned to afflom/stitch e3efc6e:

  • Each app origin keeps its own device of the id.
  • Other apps and devices join with stitch's link offer and a six-digit code.
  • A recovery kit (stitch's threshold recovery, one paper share) brings the id back after every device is lost.
  • Devices meet on stitch's relay, which the page's connect-src now names.

There is no id page, no registry mailbox and nothing to deploy by hand. The try page no longer builds an identity page. See template#73 for details and tests (16 of 16).

🤖 Generated with Claude Code

https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T

Brings the frame and sign-in page in line with UOR-Foundation/template#73:
recovery codes (a new account's first key is an Ed25519 recovery key, so
no account depends on one device), "Lost your device? Use a recovery code"
on any device, a Recovery code button for signed-in accounts, and key IDs
named by κ (sha256:<hex>) with prism/identity/1 records still valid. The
files are byte-identical to the template's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T
@afflom
afflom marked this pull request as draft November 13, 2026 22:43

afflom commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Keeping this draft pending the upstream recovery fixes and qualification in UOR-Foundation/template#73 and UOR-Foundation/kappa-registry#25. All nine changed files at 8ea6d8f exactly match the reviewed template head, so no separate Foundry implementation is needed.

The upstream review identifies mixed-version deployment failures, missing browser retirement of old recovery/lost-device keys, an outdated bearer-secret trust claim, and the need for an actual-registry clean-browser lost-device test. The existing contributor retains these branches; please sync Foundry from the accepted exact upstream head after those repairs, then run this repository's normal acceptance.

This account-signing recovery does not restore browser-local projects, chats or DB3 history. No deployment or real account operation was performed. Do not treat source-copy equality or the dev-registry browser suite as full end-to-end acceptance.

…mplate

Byte-identical copies of UOR-Foundation/template frame/ and identity/:
passkeys give way to stitch's Prism id (pinned in identity/stitch.lock),
with no prompt, recovery codes and the same id in every Prism app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T
@afflom afflom changed the title Keep the Prism account through a lost device (prism/identity/2) Sign in with a stitch Prism id (prism/identity/3), synced from the template Nov 13, 2026
… the trust model

Synced byte for byte from UOR-Foundation/template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T

afflom commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Synced at 40f813d from template a473018. frame/ and identity/ are byte-identical to it. The upstream fixes are answered on template#73: the page lives at /3/ beside the old one, device and code retirement is in the page, the trust model is restated, and the browser flow has run against the real registry. Locally, npm run test:identity passes 15/15 here too. Recovery restores the id, not browser-local projects, chats or DB3 data.


Generated by Claude Code

…eploy

Byte-identical copy of UOR-Foundation/template's frame/ and identity/ at
09a3d3c (prism/identity/4), with its bootstrap/page.mjs and
site/page.template.html: the id page at id.uor.foundation and the registry
mailbox are gone. Each app origin keeps its own device of the visitor's
Prism id (stitch's Prism id, pinned to afflom/stitch e3efc6e); other apps
and devices join by stitch's link offer and a six-digit code; a recovery
kit (stitch's threshold recovery, one paper share) brings the id back; and
devices meet on stitch's relay, which the page's connect-src now names in
place of frame-src for the old accounts origin. The try page no longer
builds an identity page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T
@afflom afflom changed the title Sign in with a stitch Prism id (prism/identity/3), synced from the template Prism id on stitch alone: each app keeps its own device, nothing to deploy Nov 14, 2026
@afflom
afflom marked this pull request as ready for review November 14, 2026 00:46
The frame with the Prism id change (template#73) and its re-lock
(template#75), which also brings the template's newer frame files
(bootstrap/weight.mjs, site/sw.js, lighthouserc.json, frame-sync.mjs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NdLCxdzL1iQw9rg5T
@afflom
afflom merged commit a63ad08 into main Nov 14, 2026
5 checks passed
afflom added a commit that referenced this pull request Nov 14, 2026
Revert #186 identity integration for containment
afflom pushed a commit that referenced this pull request Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants