testing-agentmeet
Skill28 starsChanged 7 months agoMITView on GitHub
Test AgentMeet end-to-end flows for room creation, agent token registration, /read polling, and read receipt UI rendering.
- Reads credentials
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when validating AgentMeet runtime behavior, especially PRs that touch frontend/src/app/api/v1, room creation, agent …
- Distinctive: line 20
If the Vercel preview is protected or project secrets are unavailable, test locally with Docker PostgreSQL:
- Distinctive: line 30
Wait until Postgres is ready:
- Very specific: line 36
Run Next.js from the repo root:
- Very specific: line 56
After API assertions create messages and read receipts, open the test room URL and assert the transcript shows the message plus ✓✓ …
- Very specific: line 60
Use an ESM-compatible Node script (node --input-type=module) or another HTTP client to verify:
- Distinctive: line 77
If preview auth cannot be bypassed and no production secrets are available, clearly report that the deployed preview and live Supabase …
- Distinctive: line 78
Do not claim production env vars are correct unless you directly test the deployed preview or inspect Vercel env configuration.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AgentMeet E2E Testing
Use this skill when validating AgentMeet runtime behavior, especially PRs that touch frontend/src/app/api/v1, room creation, agent registration, message polling, or read receipts.
Devin Secrets Needed
- None required for the local fallback flow.
- Optional for protected deployed preview testing, if available:
VERCEL_ACCESS_TOKENor browser login/session that can bypass Vercel preview protection.- One database URL env var for the deployed project:
DATABASE_URL,POSTGRES_URL,POSTGRES_PRISMA_URL, orSUPABASE_DB_URL. NEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_ANON_KEYfor browser Realtime testing.
Local fallback environment
If the Vercel preview is protected or project secrets are unavailable, test locally with Docker PostgreSQL:
docker run --name agentmeet-test-postgres \
-e POSTGRES_PASSWORD=agentmeet_test \
-e POSTGRES_DB=agentmeet_test \
-p 127.0.0.1:55432:5432 \
-d postgres:16-alpineWait until Postgres is ready:
docker exec agentmeet-test-postgres pg_isready -U postgres -d agentmeet_testRun Next.js from the repo root:
DATABASE_URL='postgresql://postgres:agentmeet_test@127.0.0.1:55432/agentmeet_test' \
PGSSLMODE=disable \
FRONTEND_URL='http://localhost:3000' \
NEXT_PUBLIC_SUPABASE_URL='https://example.supabase.co' \
NEXT_PUBLIC_SUPABASE_ANON_KEY='dummy-anon-key-for-local-e2e' \
npm --prefix frontend run dev -- --hostname 0.0.0.0The dummy Supabase values allow the UI bundle to load. This local fallback verifies persisted data and read receipt rendering after page load/refresh, but does not verify live Supabase Realtime delivery.
Browser checks to record
- Open
http://localhost:3000. - Click Start an agent call.
- Assert the room page opens with No agents here yet, Copy invite prompt, and Invite Agent, with no visible
API error 500. - Click Invite Agent and then the popover Copy action.
- Assert the invite UI describes API credentials/endpoints and does not show the old
/waitflow. - After API assertions create messages and read receipts, open the test room URL and assert the transcript shows the message plus
✓✓checkmarks.
API assertions
Use an ESM-compatible Node script (node --input-type=module) or another HTTP client to verify:
POST /api/v1/roomsreturns HTTP 201 with:agent_idmatchingag_plus 8 hex chars.agent_tokenmatchingat_plus 8 hex chars.poll_urlcontaining/read?token=<agent_token>.
GET /api/v1/{room}/agent-join?format=jsonreturns HTTP 200 with a secondagent_id, a secondagent_token, andendpoints.read_messages.urlcontaining/read?token=<second_agent_token>.- The second join response should not contain the first agent token.
POST /api/v1/{room}/messagewith each validagent_tokenreturns HTTP 201 and increasingmessage_idvalues.- First
/read?token=<second_agent_token>returns exactly the first agent's unread message andread_byincludes the second agent ID. - Repeating
/read?token=<second_agent_token>returnsmessages: []. - First
/read?token=<first_agent_token>returns exactly the second agent's unread message andread_byincludes the first agent ID. POST /api/v1/{room}/messagewith an invalid token returns HTTP 401 and messageInvalid agent token.
Known testing limitations
- Protected Vercel preview URLs might redirect to Vercel login. Try the Vercel MCP
get_access_to_vercel_urlorweb_fetch_vercel_urltools, but they may fail depending on access. - If preview auth cannot be bypassed and no production secrets are available, clearly report that the deployed preview and live Supabase Realtime were not directly verified.
- Do not claim production env vars are correct unless you directly test the deployed preview or inspect Vercel env configuration.
Cleanup
docker rm -f agentmeet-test-postgresDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

