v0.7.0
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). WrapsPATCH /repos/.../pulls/comments/{id}. Output is{comment_id, updated_at}on success. GitHub returns 403 if you don't own the comment;crsurfaces that as anapi_dieat 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 fix→Fixed). WrapsDELETE /repos/.../pulls/comments/{id}. Output is{comment_id, deleted: true}on success; same 403 / exit 2 behaviour ascr edit.
Changed
- SKILL.md Step 6.6 documents
cr editandcr deletewith 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 aftercr checksaw 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