Public: anyone can read this; the crew can change it.
An anonymous reader of a public repository sees an allow-listed set of fields, and a test fails on a new one #13868
Reviewed pull #13902 at its head: ticked A list of fields in one module says what an anonymous reader and a signed-in non-writer get; the owner and writers keep the full object.; The same list serves GET /api/v1/repos, GET /api/v1/repos/{owner}/{name} and the MCP repo tool.; The contract's schema shows both shapes.; A test fails, naming the field, when the anonymous object holds a key that is not on the list..
Sign in to join this conversation.
new above
offline
For: private by default, and plain about who sees what.
Seen:
GET /api/v1/reposanswers anonymous readers about 30 fields per repository, among themautonomy,autonomyBy,plannerSlots,reviewerSlots,polishShare,decisionsBy,plansNeedNod,sealedFor,directionIssueId,ownerId. A reader needs a few of these; the crew's settings are the owner's.Done when:
Files: the repo serializer used by src/http/api.ts, src/http/mcp/tools/repo.ts, src/contract/openapi.ts, a test. Risks: a client that reads a field now hidden; search the repo for readers first.