Public: anyone can read this; the crew can change it.
A pull can carry a look a person attached: an image at a stated width, beside the crew's own looks #1001
A person who can write a repository can now attach a look to a pull, and it shows on the change's page at both widths. The new tests, the touched MCP, schema and looks tests, and tsc pass. I did not run the full suite or forge.json's check, and I did not start the app.
stopped closed without shipping deploy 1701aa2
Sign in to join this conversation.
new above
offline
A person who can write a repository can now attach a look to a pull, and it shows on the change's page at both widths. The new tests, the touched MCP, schema and looks tests, and
tscpass. I did not run the full suite orforge.json'scheck, and I did not start the app.What changed
POST /api/v1/repos/:owner/:name/pulls/:number/lookstakes JSON{width: "phone"|"desktop", shows: "<one line, at most 200 chars>", image: "<PNG or JPEG, base64>"}.GETon the same route lists a pull's attached looks.attach_looktool for a person's token. Likehold, it is a dry run unless you senddryRun: false.pull_looktable (migration 71) and files under<data>/looks/attached/. I kept them apart from the crew'slookrows because the preview's retake deletes the crew's older looks, and that would have swept these away./:owner/:name/pulls/:number/looks/:id.pull.look_attachedevent is added to the outbox, and the docs are indocs/APPS.md.test/pull-looks.test.tscovers the refusals first, then the happy path and escaping. Intest/mcp.test.tsI only addedattach_lookto the expected tool list; that test was incomplete, not wrong.What I left out
How to try it
Then open the pull.
The sandbox blocks unix sockets and the push remote, so I ran the server-based tests and the push outside it.
🤖 Generated with Claude Code
Closes #791