oliver-zehentleitner / maity

cli: maity gh pr edit, so a placed agent can update its own PR's body

Sign in to report

tsk-y2ydmwqnjrd0 Open

In a placement, maity gh pr offers only create and view. A placed agent can't update its own PR's body after a review round, so the lead has to paste it every time (#1960, #1961, #1972, #1983 today).

Done when:

  • maity gh pr edit <n> --body-file F updates the body, and only for a PR whose head branch is the placement's own branch on the project's repository;
  • the attribution check that create applies runs on the new body too;
  • there are tests, and docs/agents.md plus docs/runners.md say so in the same PR.