Ray's Knowledge Base
Unlock

rsrobo approval commands and per-PR, per-person trust with expiry

DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.

Context#

Designing rsrobo's owner-approval workflow.

Decision#

rsrobo approval commands, owner only: approve runs the waiting request (with no request waiting it means review, and overrides like model=haiku budget=1 win over the collaborator's options), approve all [user=<login>] also trusts that person, revoke [user=<login>] removes the trust, watch and unwatch toggle push-watching, and approve watch and approve all watch combine them. Trust is per PR and per person, kept in poller KV as trust:<repo>#<pr>:<login>, ends on close or merge or after 30 days, and still obeys the repo policy in config.json (allowed models, vendors, budget cap). A trusted person cannot use approve or revoke, which go to the inbox.

Why#

Trust must expire and stay scoped, or the owner's approval would silently extend to other PRs and other people forever.

Rejected options#

Trust across PRs; a workflow in each target repo on pull_request synchronize (needs a PR and token per repo and runs on every push by anyone, against the rule that the owner starts runs).

Also found by searching

  • rsrobo approve all revoke watch commands
  • trust per PR per person in poller KV ends on close or merge or after 30 days
  • trusted person cannot use approve or revoke
  • trust across PRs rejected