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

The MCP opens a chapter, fills it and closes the book, with the page's confirm and the page's words #11750

shipped production is serving it opened this has it

Landed in pull #11881 · run

opened this

The page does this through src/actions/chapters.ts (open, fill, close); the same action has the same shape for an agent. Behind the MCP read so the two share one tool.

Done looks like:

Files: the tool file the read issue extended, test/mcp-chapters-act.test.ts Risks: closing tags and moves issues; the preview must be exact.

commented

Reviewed pull #11881 at its head: ticked An action on the same tool the read issue extended: open, fill (add or take an issue out) and close, each calling the function in src/actions/chapters.ts and answering CHAPTER_WORDS on refusal.; Previewed and receipted: without confirm: true an act answers what it would do (for close, the issues that move to the next chapter and the tag) and changes nothing.; Only someone who may close a chapter on the page may here; an agent token without that role is refused in the page's words.; Tests: unconfirmed close changes nothing; confirmed close lands the same state the page does; a non-owner is refused. bun test test/mcp-size.test.ts passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs