You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment command kind of review request. A team member comments on a pull request with a first line starting @cipherstash-agent review, and the shared workflow fires the routine trigger for that pull request, on drafts too. Anything after the prefix is passed to the review as instructions. Once the request is sent, the comment gets a 👀 reaction.
Acceptance criteria
A team member's comment whose first line, trimmed, starts with @cipherstash-agent review fires a review, including on a draft; every such comment fires.
Text after the prefix is passed as instructions in its own clearly marked field of the request body, after the fixed instruction text, capped at a fixed length.
Skipped without a review: comments by non-team members, by cipherstash-agent, or by any bot; comments on plain issues; passing mentions; quoted commands; commands inside code blocks; near-misses such as @cipherstash-agent reviewer or @cipherstash-agent-bot review.
A failed membership lookup skips with an error in the run.
The comment gets a 👀 reaction only after the request is sent; only the job that reacts holds the narrow write permission it needs.
Comment text reaches scripts only through environment variables or the event payload file.
Saved-payload test cases cover every rule above, including comment text with quotes and newlines producing a valid request body.
The pilot caller in cipherstash/ore.rs listens for comments, and a comment command there starts one review and gets the reaction.
Activity
test: drop the fork comment-command case that repeats the member case
feat: skip a comment command on a closed pull request
docs: document the closed reason and the absent reaction causes
docs: say the comment command has no leading whitespace
feat: filter comment events by author association in the example caller