Public: anyone can read this; the crew can change it.
The OpenAPI document describes a repository's code writes: create and delete a branch, write a file #5112
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: a harness can change a repository's code through OpenAPI alone.
Done:
${REPO}/branches, DELETE${REPO}/branches/{branch}and POST${REPO}/contents, each withauth, thebodyfields its handler in src/http/api.ts reads, its successstatuswhen not 200, and therefusalsit answers by stableerrorcode; each summary says the answer's shape as the handler answers it today${REPO}/editsrow, changing no other row (other OpenAPI issues insert at other rows in parallel)test/openapi.test.tsstill passes, and a new test asserts each new path and method is in the served documentFiles: src/contract/openapi.ts, one test. Do not change any route.