Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,22 @@ the change gets reviewed. The Supabase URL is scoped with `project_ref` and
types, but every schema change goes through `supabase/migrations/` (see
`docs/architecture.md`). Never add the production project here.

**Render MCP is intentionally not in this repo yet.** Two reasons:

- A free Render workspace has one member (Hani), so nobody else could log in to it.
Revisit when the workspace moves to Pro at alpha.
- Unlike the read-only Supabase server, it can write: it updates environment variables
(replacing the whole set), triggers deploys and creates services or databases. Its
OAuth server has no dynamic client registration, so a plain URL entry in
`.ai/mcp.servers.json` won't work. Claude Code and Cursor use Render's official plugin
(`/plugin install render@claude-plugins-official`, `/add-plugin render`) and Codex needs
`codex mcp add render --url https://mcp.render.com/mcp --oauth-client-id codex`.
`scripts/sync-mcp.py` can't emit that Codex setting today.

Until then Hani can install Render's official plugin for himself (not committed). When
adding it for the team, use the `add-shared-tool` skill; the Claude plugin route
(`.claude/settings.json`) fits, and Codex and Cursor stay per person.

**Open Design is intentionally not in this repo.** Codex users add the Open Design plugin
themselves through ChatGPT; everyone else uses the Open Design desktop app. Nothing to
configure here.
Expand Down
7 changes: 5 additions & 2 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ WebSocket connections a live debate needs (browser audio in, claims and fact-che
runs out. Switch to **Starter** ($7/month, always on) before the first outside testers,
because a sleeping server would stall a live debate.
- The account is Hani's. Developers run the API locally; the Render service is the shared
deployed copy.
deployed copy. A free (Hobby) Render workspace allows one member, so teammates can't
be invited (and so can't use a Render MCP) until it is upgraded to Pro ($25/month flat,
unlimited members). Upgrade at alpha, together with Starter.

## Accounts and keys

Expand Down Expand Up @@ -113,7 +115,8 @@ MVP, alpha, pilot, beta, public release (web, then iOS and Android).
project; schema changes are tested by CI.
- **Alpha:** add Docker: a local Supabase per developer (`supabase start`) and containers
for consistent local setup. Google sign-in and a custom email sender. Model evaluation.
Render service on the Starter plan.
Render service on the Starter plan, workspace on Pro, then add the shared Render MCP
(see `docs/ai/README.md`).
- **Before the pilot:** create the production database (checklist below). Invite-only sign-ups.
Hide FastAPI's public API docs in production: `/docs`, `/redoc` and `/openapi.json` are
live on Render today. Pass `docs_url=None, redoc_url=None, openapi_url=None` to
Expand Down