Publish proper PR reviews from a dedicated bot account #19

Closed
opened 2026-07-20 22:03:24 +01:00 by nimmo · 0 comments
Owner

Completed: dedicated-account formal PR reviews

The original core objective is delivered on main at db44a09.

  • Formal reviews are published through Forgejo's PR-review API against the exact reviewed head commit.
  • The deployed dedicated publishing account is clankbot. PR #34, authored by nimmo, received its formal review on commit eab2a1c: #34 (comment)
  • Advisory COMMENT reviews require no approval or merge authority.
  • Trusted configuration can explicitly grant approval or request-changes authority. Approval is conditional on checks, validated findings, coverage, questions and limitations. The tool never merges or edits source.
  • Fork protections, publishing-token boundaries and account requirements are implemented/documented.
  • Mocked tests cover formal publication, exact commit/event selection, authority settings and advisory comment updates.
  • Explicit comment-triggered re-reviews can include human discussion after the latest bot-authored formal report (#21, merged in PR #34).

Decisions superseding the original scope

  • The original blanket prohibition on automated approval was replaced by opt-in trusted decision authority in #27. Human merge authority remains unchanged.
  • Formal runs intentionally submit new commit-linked reviews and preserve review history; only advisory mode maintains an updateable primary comment.
  • The original illustrative account name ai-review is satisfied by the deployed dedicated account clankbot.

Optional follow-up

Precise inline findings and their anchor validation are not implemented. They are now tracked separately in #35, which does not block closure of this delivered formal-publication issue.

Closure evidence

PR #34 merged as db44a09074b5fc3af2d58fb70aa1c7b0f9977981 after passing CI and a matching Clankbot verdict of Ready to merge. Its live preflight verified the actual Actions publishing credential's /user access without exposing the credential. Broader operator documentation reconciliation remains in #3.

## Completed: dedicated-account formal PR reviews The original core objective is delivered on main at `db44a09`. - Formal reviews are published through Forgejo's PR-review API against the exact reviewed head commit. - The deployed dedicated publishing account is clankbot. PR #34, authored by nimmo, received its formal review on commit `eab2a1c`: https://git.nimmog.uk/nimmo/forgejo-auto-pr-review/pulls/34#issuecomment-3014 - Advisory COMMENT reviews require no approval or merge authority. - Trusted configuration can explicitly grant approval or request-changes authority. Approval is conditional on checks, validated findings, coverage, questions and limitations. The tool never merges or edits source. - Fork protections, publishing-token boundaries and account requirements are implemented/documented. - Mocked tests cover formal publication, exact commit/event selection, authority settings and advisory comment updates. - Explicit comment-triggered re-reviews can include human discussion after the latest bot-authored formal report (#21, merged in PR #34). ## Decisions superseding the original scope - The original blanket prohibition on automated approval was replaced by opt-in trusted decision authority in #27. Human merge authority remains unchanged. - Formal runs intentionally submit new commit-linked reviews and preserve review history; only advisory mode maintains an updateable primary comment. - The original illustrative account name `ai-review` is satisfied by the deployed dedicated account `clankbot`. ## Optional follow-up Precise inline findings and their anchor validation are not implemented. They are now tracked separately in #35, which does not block closure of this delivered formal-publication issue. ## Closure evidence PR #34 merged as `db44a09074b5fc3af2d58fb70aa1c7b0f9977981` after passing CI and a matching Clankbot verdict of Ready to merge. Its live preflight verified the actual Actions publishing credential's `/user` access without exposing the credential. Broader operator documentation reconciliation remains in #3.
nimmo closed this issue 2026-10-10 18:03:33 +01:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/forgejo-auto-pr-review#19
No description provided.