Skip to content

docs: sync tutorial/AGENTS pointers after playground route split#88

Open
dormouse-bot wants to merge 1 commit into
mainfrom
fix/playground-doc-sync
Open

docs: sync tutorial/AGENTS pointers after playground route split#88
dormouse-bot wants to merge 1 commit into
mainfrom
fix/playground-doc-sync

Conversation

@dormouse-bot
Copy link
Copy Markdown
Collaborator

Nightly survey caught two doc-staleness items left over from the playground route split (#86), where Playground.tsx became a redirect dispatcher and the real tutorial UI moved into PlaygroundDesktop.tsx / PocketPlayground.tsx / PocketTerminalExperience.tsx.

Changes

  • docs/specs/tutorial.md — the onOpenPocket description said it wires to window.open("/pocket", …), but both call sites (PlaygroundDesktop.tsx:85, PocketTerminalExperience.tsx:67) open POCKET_PLAYGROUND_PATH, which is /playground/pocket (playground-routing.ts:4). Updated the spec to match.
  • AGENTS.md — the tutorial-spec "Read this when touching" pointer listed only the now-redirect Playground.tsx. Added the new playground route files and labeled Playground.tsx/Pocket.tsx as redirect dispatchers, so the "touch code covered by a spec → read the spec" convention still resolves to the right files.

No test added: documentation-only change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 18d5fda
Status: ✅  Deploy successful!
Preview URL: https://b429054d.mouseterm.pages.dev
Branch Preview URL: https://fix-playground-doc-sync.mouseterm.pages.dev

View logs

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