Skip to content

Preserve reader links after hosted plans are inscribed - #12

Merged
rohenaz merged 1 commit into
masterfrom
codex/preserve-link-on-inscribe
Sep 4, 2026
Merged

Preserve reader links after hosted plans are inscribed#12
rohenaz merged 1 commit into
masterfrom
codex/preserve-link-on-inscribe

Conversation

@rohenaz

@rohenaz rohenaz commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Move an inscribed hosted plan to its chain URL in the browser
  • Preserve the existing #k reader-link fragment during that move
  • Keep the loading state while the transition happens

Why

The server never receives URL fragments. The previous server redirect therefore dropped the reader secret, leaving wallet-free recipients unable to open the inscribed plan.

Live reproduction

A hosted plan was created with bitplan 0.0.16 --link, inscribed successfully, and its hosted proxy returned the expected 410 with the chain origin. Opening the hosted reader link then moved to the chain URL without #k, reproducing the access failure.

Verification

  • bun test — 474 pass
  • bun run --cwd apps/web check
  • bun run --cwd apps/web typecheck

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bitplan Ready Ready Preview Sep 4, 2026 7:36pm UTC

Request Review

@rohenaz
rohenaz merged commit aecc6f5 into master Sep 4, 2026
3 checks passed
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.

1 participant