Skip to content

Comment command review requests (@cipherstash-agent review) #6

Closed

Description

@cipherstash-agent

Parent

#1

What to build

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.

Blocked by


Generated by Claude Code

Metadata

Metadata

Assignees

Labels

ready-for-agentFully specified, ready for an AFK agent

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions