Skip to content

feat(commands): @gittensory resume command — parse + classify + clear the auto-review-paused marker #2165

Description

@JSONbored

The inverse of the pause command (#1960): @gittensory resume clears the per-PR auto-review-paused marker so the sweep/webhook path resumes auto-reviewing this PR. Same hard constraint — resume affects only auto-review, never gate enforcement. Depends on the pause bounty for the marker shape. Contributor scope = parser recognition + classifier + authorization + recording a github_app.autoreview_resumed audit event that supersedes the pause marker + tests.

Deliverables

  • Add maybeProcessResumeCommand mirroring the pause handler: classify → evaluateCommandAuthorization("resume") → record github_app.autoreview_resumed keyed to repo#pr
  • Ensure resume takes precedence over an earlier pause marker when the re-review path reads the latest state (test the ordering)
  • Post a public-safe confirmation comment that auto-review is resumed
  • Reuse the shared preamble/classifier + gate-override recording shape
  • Unit tests: authorized resume clears/supersedes the pause marker, unauthorized→denied, skips, and no gate/disposition mutation (both branches)

References

  • src/settings/agent-execution.ts:16 (AgentActionMode)
  • src/queue/processors.ts:5977 (handler pattern)
  • src/settings/command-authorization.ts:89
  • #1960

Part of #1960.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions