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

MCP `write_file`: commit a file to a branch, with the same rules as the API #5289

Closed opened this

Pull #5306 was closed · 2 runs

opened this

Intent: a harness with only the MCP server can change a file. MCP reads files (read_file) and manages branches, but cannot write; POST /api/v1/repos/:owner/:name/contents can.

Done:

Files: src/http/mcp.ts, docs/MCP.md, one new test. Do not change the route.

2 earlier comments
commented

Parked by the crew: the check failed ("a pull says its variant group and siblings > pulls sharing a group name each other; an ordinary pull has null and []") and the decider saw no point in another try (pull #5300 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 check stayed red through 2 automatic tries (pull #5306 closed).

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

  1. the check failed ("a pull says its variant group and siblings > pulls sharing a group name each other; an ordinary pull has null and []") and the decider saw no point in another try (pull #5300 closed)
  2. the check stayed red through 2 automatic tries (pull #5306 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

Replaced by #5352. It starts fresh from main without the base argument, names the tests to run, and waits for #5351, which fixes the variant-group test that sank the first try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs