Reviews only in interactive sessions (forge config "reviews") #60

Merged
dario merged 1 commit from dario/reviews-interactive into main 2026-11-23 13:11:38 +01:00
Owner

With "forge": {"reviews": "interactive"} (default "all"), the factory
never posts a review in a headless run; in an interactive session the
reviewer proposes its verdict, summary and inline comments and posts only
what the person approves. Works on every forge.

  • forge.Policy: InteractiveReviewsOnly and Interactive; the guarded
    PostReview refuses with a PolicyError outside interactive sessions.
  • The dispatcher passes both into its policy and, as FACTORY_REVIEWS and
    FACTORY_INTERACTIVE, to factory mcp. A headless review-pr is refused
    before anything runs, and implement-issue -review prints the
    interactive review command instead of reviewing.
  • The review-pr prompt states the rule, and skills/review-pr/SKILL.md
    step 3 says how to propose the review and post only what is approved.
  • Docs: configuration.md (forge.reviews), running-tasks.md (reviews).

Evidence

#23, comment of 2026-11-19, answer 3: "For azure, the agent should
actually not post reviews itself automatically. Reviews are only done in
interactive sessions, where the agent proposes comments and only posts
the comments approved by the engineer." Refined in #23's specification
(decisions 6 and 7) and #52.

Closes #52

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

With "forge": {"reviews": "interactive"} (default "all"), the factory never posts a review in a headless run; in an interactive session the reviewer proposes its verdict, summary and inline comments and posts only what the person approves. Works on every forge. - forge.Policy: InteractiveReviewsOnly and Interactive; the guarded PostReview refuses with a PolicyError outside interactive sessions. - The dispatcher passes both into its policy and, as FACTORY_REVIEWS and FACTORY_INTERACTIVE, to factory mcp. A headless review-pr is refused before anything runs, and implement-issue -review prints the interactive review command instead of reviewing. - The review-pr prompt states the rule, and skills/review-pr/SKILL.md step 3 says how to propose the review and post only what is approved. - Docs: configuration.md (forge.reviews), running-tasks.md (reviews). ## Evidence #23, comment of 2026-11-19, answer 3: "For azure, the agent should actually not post reviews itself automatically. Reviews are only done in interactive sessions, where the agent proposes comments and only posts the comments approved by the engineer." Refined in #23's specification (decisions 6 and 7) and #52. Closes #52 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With "forge": {"reviews": "interactive"} (default "all"), the factory
never posts a review in a headless run; in an interactive session the
reviewer proposes its verdict, summary and inline comments and posts only
what the person approves. Works on every forge.

- forge.Policy: InteractiveReviewsOnly and Interactive; the guarded
  PostReview refuses with a PolicyError outside interactive sessions.
- The dispatcher passes both into its policy and, as FACTORY_REVIEWS and
  FACTORY_INTERACTIVE, to factory mcp. A headless review-pr is refused
  before anything runs, and implement-issue -review prints the
  interactive review command instead of reviewing.
- The review-pr prompt states the rule, and skills/review-pr/SKILL.md
  step 3 says how to propose the review and post only what is approved.
- Docs: configuration.md (forge.reviews), running-tasks.md (reviews).

## Evidence
#23, comment of 2026-11-19, answer 3: "For azure, the agent should
actually not post reviews itself automatically. Reviews are only done in
interactive sessions, where the agent proposes comments and only posts
the comments approved by the engineer." Refined in #23's specification
(decisions 6 and 7) and #52.

Closes #52

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dario merged commit bf166480d1 into main 2026-11-23 13:11:38 +01:00
dario deleted branch dario/reviews-interactive 2026-11-23 13:11:38 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
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
dario/factory!60
No description provided.