Skip to content

v0.2.0: Public field endpoint

Choose a tag to compare

@Ishaan2053 Ishaan2053 released this 26 Nov 16:33
· 19 commits to main since this release
e57d0b2

Public field endpoint: anyone can connect an MCP client to the booking server and take part in experiment error-style-v1 as a field session.

Public endpoint

MCP endpoint https://second-audience.onrender.com/mcp (streamable HTTP, no authentication)
Landing page https://second-audience.onrender.com/
Health https://second-audience.onrender.com/healthz
Host Render free web service, Docker, region Oregon, one instance, deployed from main after CI passes (render.yaml)
Ledger Shared Supabase Postgres (ap-northeast-1), the same one lab runs write to
Flagsmith Production environment, server-side key only; no model key and no admin credential on the host

Connect with Claude Code:

claude mcp add --transport http second-audience https://second-audience.onrender.com/mcp

Then tell the agent: "Use the second-audience tools. Call begin_task, complete the task it gives you, then call finish_task."

Verification (2026-11-26)

  • /healthz returned status: ok with the deployed commit, and the database and Flagsmith checks were both true.
  • An external Claude Code 2.1.325 client completed scenario s08 over the public URL. The ledger session has source=field, variant=prescriptive, in_experiment=true, outcome=correct.

What changed since v0.1.0

  • SA-10: field hardening (per-IP session limit, concurrent-session cap, kill switch, salted IP hashes, landing page and /healthz).
  • SA-11: Dockerfile (non-root, one process), Render Blueprint, a CI job that builds the image and checks /healthz, a keep-alive ping every 10 minutes, and docs/deployment.md.

Known limitations

  • Free-tier cold start: after 15 idle minutes the service sleeps and takes about a minute to wake. The keep-alive ping keeps it awake in practice.
  • The per-IP limit reads the leftmost X-Forwarded-For entry, which a client can spoof. The global session cap still bounds load.
  • Sessions live in memory: a Render restart drops open sessions, which then stay unfinished in the ledger.