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

API /map and MCP `map` list open issues by default and count the done ones: trevato/forge's answer under 150 KB #6176

shipped production is serving it opened this has it
opened this

Measured 2026-10-26: GET /api/v1/repos/trevato/forge/map is 729 KB, and its issues holds 2,337 rows, 1,969 of them done. MCP map returns the same mapJson. An agent pays tokens for closed history it rarely needs.

Done when:

  • [ ] By default issues and edges hold only open issues and the edges between them. counts.done still says how many are done.
  • [ ] ?done=1 on the API, or done: true on MCP map, returns everything as today.
  • [ ] ready, blockedOn, critical and pillars are unchanged, because they are computed on the whole graph.
  • [ ] docs/MCP.md, the OpenAPI document and llms.txt name the new argument.
  • [ ] A test with 2,000 closed and 300 open issues asserts the default answer has no closed issue and is under 150 KB, and that done brings them back.

Files: src/web/pages/map.ts (mapJson), src/http/api.ts, src/http/mcp/tools/map.ts, docs/MCP.md, the OpenAPI source, tests. Risk: crew prompts and the planner read this route. Search src/ for readers of issues from /map and keep them working.

commented

Parked by the steward, 2026-10-26 (owner: "get us unclogged now then resume everything else"). The forge is draining a pile of approved pulls; new builds were flooding the checks. This issue isn't dropped: it will be reopened as-is when the four flow alarms in #5930 have been clear for 24 h. The list is kept in the steward's parked-2026-10-26 file.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs