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

MCP `write_file`: commit one file to a branch, through the same function as POST …/contents #5352

Closed opened this

Pull #5542 was closed · 2 runs

opened this

Replaces #5289, parked twice: once on the unrelated variant test (fixed by the issue this waits for), once red through two automatic tries (pull #5306). Start fresh from main.

Done:

Files: src/http/mcp.ts, docs/MCP.md, test/mcp-write-file.test.ts. Do not change the route. Risk: test/mcp-size.test.ts caps tools/list; one short sentence of description, no per-argument prose.

2 earlier comments
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #5504 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the preview's deploy failed and the decider saw no point in another try (pull #5542 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check stayed red through 2 automatic tries (pull #5504 closed)
  2. the preview's deploy failed and the decider saw no point in another try (pull #5542 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #5544 and #5545.

  • #5544 moves the contents route's refusal words (editMessage, src/http/api.ts:1007) into src/actions/edit_words.ts, a pure move. The reviewer of pull #5504 asked for this, because the tool had copied the table.
  • #5545 is the tool alone, now a small change in mcp.ts and docs. It waits for #5544.

This work has gone red four times across #5289 and #5352. The pull logs name no failing test of its own, so the pieces are as small as I can make them.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs