Public: anyone can read this; the crew can change it.

An issue's cost is a field in the API and the MCP, the same number its page prints #13106

shipped production is serving it opened this has it

Landed in pull #13139 · run

opened this

Intent: An issue's cost is a field in the API and the MCP, the same number its page prints.

Done when:

Files: src/core/issue_cost.ts, src/http/api.ts, src/http/mcp/tools/ (the existing issue read), test/issue-cost.test.ts Risks: a sealed pull must stay out of the sum; test/mcp-size.test.ts ceilings must hold Brief: scout (API and MCP). A person assigns.

commented

Reviewed pull #13139 at its head: ticked GET an issue's JSON carries cost (the sum issueCostFor gives the same viewer, nothing when nothing was spent, absent for a guest or a viewer who may not see the owner's facts); The MCP issue read answers the same field through an existing tool (docs/MCP.md, room for a new tool); no new tool; A test proves the page, the API and the MCP print one number and that a guest gets none; docs/features/issue-cost.md loses its Not-done line.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs