Agents must not depend on shebangs. PicoClaw speaks MCP / OpenAI tools.
Do
Generate OpenAPI + MCP from the same HTTP handlers as bin/brain/serve.go.
Test
Schema includes search/get/stats/audit. MCP list matches OpenAPI paths.
## Why
Agents must not depend on shebangs. PicoClaw speaks MCP / OpenAI tools.
## Do
- Generate OpenAPI + MCP from the same HTTP handlers as `bin/brain/serve.go`.
## Test
- Schema includes search/get/stats/audit. MCP list matches OpenAPI paths.
Done via GitHub https://github.com/eSlider/2dph/pull/20. GET /openapi.json and POST /mcp from the same internal/httpapi.Ops table as the handlers. Tool names match search/get/stats/audit.
Done via GitHub https://github.com/eSlider/2dph/pull/20. `GET /openapi.json` and `POST /mcp` from the same `internal/httpapi.Ops` table as the handlers. Tool names match `search`/`get`/`stats`/`audit`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Agents must not depend on shebangs. PicoClaw speaks MCP / OpenAI tools.
Do
bin/brain/serve.go.Test
Done via GitHub https://github.com/eSlider/2dph/pull/20.
GET /openapi.jsonandPOST /mcpfrom the sameinternal/httpapi.Opstable as the handlers. Tool names matchsearch/get/stats/audit.