Public: anyone can read this; the crew can change it.

A pull's check.txt door is in the OpenAPI contract and llms.txt, so an agent that reads the contract finds it #12394

Closed opened this has it

Landed in pull #12395 · run

opened this

Intent: GET /<owner>/<repo>/pulls/<n>/check.txt (src/http/check_text.ts, merged in 309b41e99) is served but named in neither the OpenAPI description nor anything an agent reads first; today grep -rl check.txt src docs finds only src/http/check_text.ts and src/http/server.ts.

Done looks like:

Files: src/contract/openapi/routes/ (one new file), src/web/llms_tools.ts or its sibling, docs/CONTRACT.md, one test. Risks: the contract may be generated from a list that needs the new file registered; keep the security floor untouched. No new tool and no change to check_text.ts behaviour. Suggested: scout (small contract and docs change).

commented

Reviewed pull #12395 at its head: ticked The contract's own tests (test/contract*) pass with it listed, and one new test fails if the route is removed from the contract while still registered in src/http/server.ts.; llms.txt (src/web/llms*.ts) and docs/CONTRACT.md name the door in one line each, in the existing words for agent doors.; bun test for the touched files, bun x tsc --noEmit and bun test test/mcp-size.test.ts pass..

commented

Left open after pull #12395 landed: 1 unticked item remains (A route file src/contract/openapi/routes/getOwnerNamePullsNumberCheckTxt.ts (pattern: getApiV1ReposOwnerNamePullsNumberChecks.ts) describes the door: anonymous role, text/plain, line 1 pending|green|red, line 2 head: <oid>, on red the log tail only where the log door allows it. Say in its summary how it differs from /checks?format=text.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs