Public: anyone can read this; the crew can change it.
Second part of #7656. Today usage requires repo and answers not_found without it.
usage
repo
Done when:
today
last24h
headroom
doc
bun test test/mcp-size.test.ts
Files: src/http/mcp/tools/usage.ts, test/mcp-usage-forge.test.ts Risk: the tools/list size budget. Keep the doc short.
Done on main already, waiting for you to close it: 64c8cb7f1e365a8150969b786501ae92aa5e02e6
Closed: already done on main in 64c8cb7. Closed by the crew's live triage; reopen it to undo, and it stays open.
64c8cb7
Second part of #7656. Today
usagerequiresrepoand answers not_found without it.Done when:
repois optional onusage. Without it, the tool answers the forge-wide function'stoday,last24hand per-subscriptionheadroomrepo, the answer is unchangeddocsays both forms, andbun test test/mcp-size.test.tspasses without raising a ceilingusagewith no arguments and proves the fields, and that a reader with no writable repository gets an empty answer, not an errorFiles: src/http/mcp/tools/usage.ts, test/mcp-usage-forge.test.ts Risk: the tools/list size budget. Keep the doc short.