{"at":"2026-11-23T05:21:52.139Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:21:52.438Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:21:52.488Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:21:52.798Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2024-11-05","serverInfo":{"name":"graphyloop-mcp","version":"0.6.5"}}}}
{"at":"2026-11-23T05:21:52.798Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:21:52.798Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:21:52.799Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Spawn a swarm agent. type (required): coder|tester|reviewer|architect|explorer|security|coordinator|frontend|data. Optional: id (default auto-generated), capabilities (comma-separated overrides), role (worker|peer|leader).","inputSchema":{"properties":{"capabilities":{"description":"Comma-separated capability overrides","type":"string"},"id":{"description":"Custom agent id (default auto-generated)","type":"string"},"role":{"description":"worker | peer | leader (default: worker)","type":"string"},"type":{"description":"Agent type: coder, tester, reviewer, architect, explorer, security, coordinator, frontend, data","type":"string"}},"required":["type"],"type":"object"},"name":"agent_spawn"},{"description":"List all swarm agents with type, status, role, and health.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"agent_list"},{"description":"Distribute tasks across swarm agents. tasks (required): JSON string array of {id, type, description, priority}. Returns per-task assignments with opencodeAgentType and prompt.","inputSchema":{"properties":{"tasks":{"description":"JSON array of {id, type, description, priority} task objects","type":"string"}},"required":["tasks"],"type":"object"},"name":"task_distribute"},{"description":"Swarm status: agents, active agents, tasks completed/failed, pending tasks, memory count.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"swarm_state"},{"description":"Record a task result and update agent metrics. taskId + status (required; status: completed|failed). Optional: agentId, error.","inputSchema":{"properties":{"agentId":{"description":"Agent id (default: task assigned agent)","type":"string"},"error":{"description":"Error message when failed","type":"string"},"status":{"description":"completed | failed","type":"string"},"taskId":{"description":"Task id","type":"string"}},"required":["taskId","status"],"type":"object"},"name":"task_record"},{"description":"Store a memory entry. content (required). Optional: agent (default system), type (decision|pattern|lesson|event|task, default event), metadata (object or JSON string).","inputSchema":{"properties":{"agent":{"description":"Agent id (default: system)","type":"string"},"content":{"description":"Memory text","type":"string"},"metadata":{"description":"Optional metadata object","type":"object"},"type":{"description":"decision | pattern | lesson | event | task (default: event)","type":"string"}},"required":["content"],"type":"object"},"name":"memory_store"},{"description":"Keyword-search stored memories, ranked by match quality with a recency bias. query (required), limit (optional, default 10), type (optional: decision|pattern|lesson|event|task).","inputSchema":{"properties":{"limit":{"description":"Max results (default 10)","type":"string"},"query":{"description":"Search query","type":"string"},"type":{"description":"Only search this memory type: decision | pattern | lesson | event | task","type":"string"}},"required":["query"],"type":"object"},"name":"memory_search"},{"description":"Delete one memory entry by id (ids come from memory_search results). Use this to correct a wrong or outdated memory instead of letting it be recalled forever.","inputSchema":{"properties":{"id":{"description":"Memory id to delete, e.g. mem-1700000000000-ab12","type":"string"}},"required":["id"],"type":"object"},"name":"memory_forget"},{"description":"Plan a multi-layer feature as parallel waves before writing any code. goal (required): the request in plain words, e.g. \"inventory system with stock levels, a dashboard and deploy to vercel\". Returns wave 0 (the driver, or ONE agent when the code is unmapped, freezes the contract: schema + API + props + test scenarios, AND the context pack ctx-<slug>.md next to it: per lane path:line + current code excerpt + pattern to copy) -> wave 1 parallel builders (data, backend, frontend, tests; the driver keeps the most coupled lane) -> wave 2 integration -> wave 3 parallel verifiers (test, typecheck, security, performance, review) -> wave 4 gated deploy, with per-task file ownership, acceptance checks and dependsOn. Every lane brief ends with the turn-economy footer (batch reads, first edit by turn 5, no project-wide lint/test/build). A goal with no data/backend/frontend/pipeline signal answers shape no-fanout; work touching 8 known files or fewer (inlineThreshold 8) is done inline unless it splits into 2+ independent slices of about 5 minutes each. Pass the returned tasks array (JSON) straight to task_distribute.","inputSchema":{"properties":{"goal":{"description":"The feature request, verbatim","type":"string"},"includeDeploy":{"description":"Force the deploy wave on even if the goal does not mention shipping","type":"boolean"},"maxParallel":{"description":"Local builder concurrency cap (default 4, RAM-bound)","type":"string"}},"required":["goal"],"type":"object"},"name":"plan_feature"},{"description":"Masked readiness report for the project credentials (Supabase, Vercel): which keys are set, where each one comes from (process env, graphyloop store, .env file), and what is still missing. Values are NEVER returned — only a mask. Call this before database or deploy work instead of asking the user to paste keys.","inputSchema":{"properties":{"provider":{"description":"supabase | vercel | all (default all)","type":"string"}},"required":[],"type":"object"},"name":"secrets_status"},{"description":"Store one credential in the project-local secret store (<project>/.graphyloop/secrets.json, chmod 600, git-ignored before the first write). key (required) e.g. SUPABASE_URL, SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, VERCEL_TOKEN. value (required) is written to disk and echoed back masked only. Use this once per key, then env_sync.","inputSchema":{"properties":{"key":{"description":"UPPER_SNAKE_CASE key name","type":"string"},"provider":{"description":"supabase | vercel (optional; inferred from the key)","type":"string"},"value":{"description":"The credential value (stored, never echoed back)","type":"string"}},"required":["key","value"],"type":"object"},"name":"secrets_set"},{"description":"Write the stored credentials into the env file the framework actually reads (default .env.local), add the framework public aliases for public keys only (NEXT_PUBLIC_*/VITE_*, never for a service-role key), refresh a values-free .env.example, and make sure .gitignore covers the env files. Values move file-to-file: the result lists key NAMES, never values.","inputSchema":{"properties":{"force":{"description":"Overwrite a key that already has a different value (a timestamped backup is kept)","type":"boolean"},"providers":{"description":"Comma-separated provider filter, e.g. \"supabase\"","type":"string"},"target":{"description":"Env file name inside the project (default .env.local)","type":"string"}},"required":[],"type":"object"},"name":"env_sync"},{"description":"Readiness check + ordered command plan for database setup and/or deploy. target: db | deploy | all (default all). Returns the detected stack, blockers (missing credentials, no build script, env file not git-ignored), warnings, and the exact commands to run — every destructive step (db push, --prod deploy) carries the approval gate it needs. Executes nothing itself.","inputSchema":{"properties":{"target":{"description":"db | deploy | all (default all)","type":"string"}},"required":[],"type":"object"},"name":"preflight"},{"description":"Which skills are actually installed on this machine (project .opencode/skills, .dsh/skills, .agents/skills; ~/.config/opencode/skills, ~/.claude/skills, ~/.dsh/skills, ~/.omp/agent/skills, ~/.gemini/skills, ~/.agents/skills). Reports the graphyloop-bundled skills (70, of which 12 are graphyloop-authored: graphyloop-waves, graphyloop-workflow, api-contract-design, api-hardening, frontend-security, web-accessibility, web-performance, dependency-audit, supabase-setup, vercel-deploy, secrets-hygiene, swarm-memory) and which skills the squad routes on but are missing. Call it before claiming a skill was used — a missing skill is stated in one line, never faked.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"skills_status"},{"description":"Shut down the swarm (terminates agents, keeps memory) and exit the MCP server.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"shutdown"}]}}}
