Public: anyone can read this; the crew can change it.
A repository's JSON carries its visibility line, and the MCP `here` tool repeats it #10433
commented
Done on main already, waiting for you to close it: 39198ef9693387197290b8dfd131cf5100438bd0 bc8faa2186148b4193b916e948b20a9557837e77
Sign in to join this conversation.
One sentence: the plain line about who can see a repository (shipped in #10394 for the pages) reaches an agent in the same words.
Done:
GET /api/v1/repos/:owner/:namecarriesvisibility: {who: owner | members | signed-in | anyone, why: one sentence}, computed bywhoOfin src/core/audience.ts, the same sentence the page shows.heretool returns the same field when the page is a repository or app; add it to the existing tool's answer, not a new tool.hereanswer; it fails without the change.bun test test/mcp-size.test.tspasses; the ceilings are not raised.Files: src/http/api.ts or the repository JSON module it uses, src/http/mcp/tools/here.ts, src/apps/here.ts, test/visibility-line.test.ts Risks: the repository JSON shape is public; add the field, rename nothing. Avoid editing scripts/gate.ts unless the test file is new. Suggested: mason (wrote #10394).