Skip to content

feat: let agents create a repository without a Prismic account - #500

Draft
lihbr wants to merge 5 commits into
mainfrom
lh/try-prismic-before-signup
Draft

lihbr wants to merge 5 commits into
mainfrom
lh/try-prismic-before-signup

Conversation

@lihbr

@lihbr lihbr commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Before this PR, prismic init and prismic repo create waited for someone to log in, and connecting the Prismic MCP server needed a person too. Plan: Try Prismic before signing up.

Logged out Before After
prismic init, prismic repo create Waits for a login Starts a temporary account and reuses it on this machine. It asks a person first, and never does it in CI
Each command in that account Nothing Prints the claim link and deletion time
After a claim or expiry "Your login expired." "Your temporary account was claimed…" or "…expired, and Prismic deleted its repositories.", then asks to log in

prismic open opens the temporary account in a browser. prismic mcp token prints an Authorization header for any login, and prismic mcp --help tells agents how to add the MCP server without duplicating one.

The CLI doesn't activate MCP: new repositories have it on already (obelix mcpDefault.ts, #412).

Tested end to end against a real repository. The fake Auth0 server also fakes the new /authentication/guest routes, which obelix doesn't serve yet. Reviewed with sol-loop: 2 rounds with GPT 6.2 Sol. Verdict: changes requested, then fixed or declined with reasons.

Merge when

The obelix PR that serves /authentication/guest is merged. Hold the Release Please PR until guests are let in (SRE request 2).

Risks

  • credentials.json gains an optional guest field. Its only other reader, the website generator, writes host alone.
  • Cursor gets a static token, which could land in a committed file. The help says to keep it out of git.

Created with Claude Opus 5.5 in Claude Code.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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