Skip to content

v0.7.0

Choose a tag to compare

@tkoehlerlg tkoehlerlg released this 14 May 07:58
· 10 commits to main since this release

Two new CLI primitives that let the agent revise or retract its own posted replies. The conversational loop is iterative: CodeRabbit reacts, commits land, the user changes direction. Without cr edit / cr delete the agent is stuck with whatever it posted first. With them, a Fixed in <sha> reply can backfill the real sha after the commit lands, a Won't fix can flip to Fixed when the user reconsiders, and a stray paste on the wrong thread cleans up without leaving noise.

Added

  • cr edit <pr-url> <comment-id> <new-body>. Edit a review-thread reply you posted earlier (sha backfill, revising the body after CodeRabbit pushed back, flipping templates after a user direction change). Wraps PATCH /repos/.../pulls/comments/{id}. Output is {comment_id, updated_at} on success. GitHub returns 403 if you don't own the comment; cr surfaces that as an api_die at exit code 2.
  • cr delete <pr-url> <comment-id>. Delete a review-thread reply you posted earlier (wrong-thread paste error; changing the response shape entirely, e.g. Won't fixFixed). Wraps DELETE /repos/.../pulls/comments/{id}. Output is {comment_id, deleted: true} on success; same 403 / exit 2 behaviour as cr edit.

Changed

  • SKILL.md Step 6.6 documents cr edit and cr delete with concrete agent-scope triggers: sha backfill / CodeRabbit pushback / user direction change for edit; wrong-thread paste / response-shape flip for delete. Also flags that an edit after cr check saw CodeRabbit's reaction does not re-trigger the bot.

Internal

No breaking changes. Existing cr invocations continue to work unchanged. Error paths (non-existent comment IDs) exit 2 with an explanatory message and no retry.

Full diff: v0.6.0...v0.7.0