Repository navigation
Product page: one layout for every stage - #60
Merged
Merged
Conversation
Every action on openproduct available as an MCP tool: listings and descriptions, images, posts, milestones, launches, seats, crew, discussions and the contributor's side, behind scoped, revocable agent credentials (OAuth 2.1 with dynamic registration, or personal tokens). Each tool calls its website route's own handler, and a parity test keeps every write route covered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Agent credentials (opa_ tokens, by hash only) with scopes and an optional listing restriction, minted two ways: OAuth 2.1 for MCP clients (dynamic registration, PKCE S256, refresh rotation with reuse detection, RFC 9728 and 8414 discovery) and personal tokens from Settings -> Connected agents. /mcp/me is the signed-in MCP endpoint and always asks for an agent's own credential; agent tokens are refused on every other route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Every replaced refresh hash is kept and any of them revokes the grant (2306); a replayed code revokes what it produced and only its own client can redeem it; /oauth/authorize never redirects on a refusal; registration is bounded per /64 and overall, and prunes what nobody can use; the consent and Connected agents pages are never framed and say only fixed sentences; a new token's cookie is cleared once shown; 429 for a rate limit; an empty state is echoed; the agent cache is bounded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
On the gateway's MCP_HOST (prod: mcp.openproduct.live) /mcp is the signed-in endpoint and the discovery documents name it; every other host is unchanged. The website names one MCP address everywhere (mcpEndpoint), and Settings gains an Agents & MCP section; /me/settings/agents becomes the Agents & MCP home and leads with how to connect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
infra/mcp-domain: a discovered, prod-only Terraform component on platform state that attaches mcp.openproduct.live to openproduct-gateway-prod as a Workers Custom Domain with the brokered deploy token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…ullely/openproduct into claude/laughing-feynman-a9bvkq
…menu - Left rail: a signed-in "Account" group with Settings and Agents & MCP. - Avatar menu: a dedicated "Account" section under the person with Settings, Agents & MCP and Weekly digest; the digest row moves out of "You", which keeps only what you hold. - Gear and plug glyphs added to the icon set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Measured in CI (run 46383775862); the eight routes the two new rail links pushed over move to the measurement plus 100 bytes, as LR2-LR7 did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
An established maker publishing a listing nobody had reviewed failed with a bare 500, from the website and from MCP. TS1 publishes that listing indexed; migration 1370's CHECK profiles_indexable_requires_review refused exactly that row, and the handler tests use a faked repository, so it never met the real table. Migration 2320 drops the CHECK: the ladder writes `indexable` at publish (new makers unindexed, restricted cannot publish), and a CHECK cannot read the maker's level. The publish now runs through the real SQL in reads-publish.test.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The overview is where a listing is edited now. Each card reads as the public page does and opens its step's own form in place (the same intent on the same actions route); a background save closes it, and Cancel or Escape close it unsaved. With no script every pencil is still a link to its step, and the step pages stay. - About: name, tagline, links, pitch and install line (DetailsForm). - Category and stack: a new card with TopicsForm; the hero's "Add a category" and "+ Stack" and the checklist rows open it. - Media: the media island is the card itself; the hero band shows the hero image, and "Change background" hands the next file to it as the hero. - The strip keeps Listing and People and roles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The strip is Listing then People and roles; Details, Media and Category and stack keep their pages outside it. /submit's script grew 308 B from the shared studio chunk; its limit moves to the measurement plus 100 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
On the single page the media island is the overview's Media card, and it kept the rows it mounted with, so a refresh after any act left it drawing the old list (web-perf's refresh lane: 0 of 10 landed). It now adopts the server's rows whenever they change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The product page was a second editor (a Manage / Visitor switch with its own forms). The studio's single page is the one editor now: - The header's switch is one "Studio" link for the crew who write, to the listing's studio page. The product page is the visitor's page for everybody; useMaker draws the maker's controls only inside MakerStudio. - The studio hosts what only the product page had: the stage, Needs you, New post and the milestones manager (their own components and routes), and the details form gains the try link and the links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The talk lane's crew finds Needs you on the listing's studio page, where it lives now. The Studio link adds 56-107 B to the product pages' script; each limit moves to CI's measurement plus 100 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…udio Answering and resolving a thread are not editing the listing, so they check that the reader writes on the crew rather than the studio's mode, which is off everywhere outside the studio now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…an-a9bvkq # Conflicts: # tests/web-perf/src/budgets.mjs # tests/web/src/product-maker-view.test.ts # web/src/app/studio/[org]/[profile]/product-tools.tsx # web/src/app/studio/[org]/[profile]/settings/page.tsx
An idea drew a page of its own (the lavender note, no tabs), so freeploy looked nothing like spliteco. Every listing now draws the same header card and the four tabs (About, Updates, Crew, Talk); the stage is what its badge says. What only an idea asks stays: I'd use this before Follow, and the dashed Needs a first builder slot in the Crew card. Removed: IdeaPage, pageKindOf, the idea's tab redirect, and the idea's own web-perf snapshots (the listing baselines are its layout now). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
pullely
marked this pull request as ready for review
December 2, 2026 11:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Owner request: freeploy's page looked different from every other listing, and all listings should share one layout.
An idea-stage listing drew a page of its own: the lavender note, a quoted tagline, stage chips and no tabs. Every listing now draws the same page at every stage: the header card (cover, logo, name with its stage badge, pitch, facts, actions, links), then the About / Updates / Crew / Talk tabs and the side column.
Kept for ideas, inside the shared layout:
Removed:
IdeaPageand its helpers, andpageKindOf./talk,/crewand/updatesare now ordinary tabs.Tests
listingbaselines now cover its layout. The idea route's budget check expectsdata-hero-stage, and the Talk lane reads an idea's Talk tab.Generated by Claude Code