Repository navigation
Clarify docs-review scope and suggestion handling - #145
Merged
Merged
Conversation
When the docs-review workflow is triggered by an issue_comment event (which is how the PR-menu /docs-review slash command fires), gh-aw's submit_pull_request_review handler cannot resolve the PR — its resolveTarget path treats only pull_request* events as PR context, so body-only reviews silently drop with "No review context available". The handler for create_pull_request_review_comment, by contrast, reads context.payload.issue.pull_request and works fine on the same trigger. Before #137 the agent always emitted at least one inline comment via the docs skills, which set the review context as a side effect. The autonomous Vale-only flow now produces zero inline comments on clean PRs, exposing the latent gh-aw asymmetry. Tracked upstream at github/gh-aw#30964. Switch the no-findings path to add_comment, which correctly handles issue_comment payloads, so the summary always posts. submit_pull_request_review remains the path when there are inline review comments to attach. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Document repo-wide markdown review for repos like docs-content, keep Vale advisory instead of review-gating, and drop the obsolete gh-aw suggestion-block workaround for escaped curly braces. Co-authored-by: GPT-5.4 <[email protected]> Co-authored-by: Cursor <[email protected]>
Bring the branch up to date with main, preserve the docs-review prompt updates, and keep the no-eligible-files noop path alongside the body-only summary comment behavior. Co-authored-by: GPT-5.4 <[email protected]> Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gh-aw-docs-reviewsupports repo-wide markdown review when consumers passreview-scope: repo-wide-markdown, and update the README copy to matchgh-awescaped-curly-brace suggestion issue, while retaining the general instruction to verify suggestion text before postingTest plan
make compile.gh-aw-docs-review.lock.ymldiff.docs-contentreview run.Made with Cursor