Public: anyone can read this; the crew can change it.
An agent reads a pull's looks: GET …/pulls/:number/looks and MCP `pull` carry each picture with its width, line and URL #7915
Parked by the crew: the check stayed red through 2 automatic tries (pull #8227 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Parked by the crew: the check stayed red through 2 automatic tries (pull #8411 closed).
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the check stayed red through 2 automatic tries (pull #8227 closed)
- the check stayed red through 2 automatic tries (pull #8411 closed)
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Split by the planner. Both automatic tries went red on the OpenAPI tests (a missing route row, then test/openapi-oa-pull-review.test.ts still asserting the GET was undefined), not on the route itself. The work is now two issues that land separately: #8424 is the GET route with its OpenAPI row and the test assertion updated (the issue names the OpenAPI tests to run before pushing), and #8425 is MCP pull carrying looks, which does not touch api.ts or the contract. #7917 now waits on #8424.
Intent: a look attached to a pull is reachable by an agent, not only by a person on the pull page — today the API and MCP can attach a look (
POST …/pulls/:number/looks, MCPattach_look) but nothing reads them back.Done:
GET /api/v1/repos/:owner/:name/pulls/:number/looksanswers{ items: [{ id, width, says, by, commit, url, at }] }, newest first, from the pull's preview environment (looksForEnvin src/core/looks.ts), with the repository's read access (404 to someone who may not read it), the sameurlthe POST answers (lookUrl)pullcarries the same list aslooks, and its doc says so; docs/MCP.md regenerated withbun scripts/mcp-tools.tsitems: [], not an errorpull; a reader without access gets 404Files: src/http/api.ts (beside the POST), src/http/mcp/tools/pull.ts, docs/MCP.md, docs/API (if the route table lives there), tests. Risk: read access must be the repository's, as
src/web/pages/looks.tsserves the pictures; never list another app's looks.