Repository navigation
docs(skill): require fix authorization for unpositioned findings - #2036
Closed
Ethereal49 wants to merge 1 commit into
Closed
Ethereal49 wants to merge 1 commit into
Ethereal49 wants to merge 1 commit into
Conversation
Contributor
|
✅ OpenCodeReview: Review skipped: no items were selected. |
Contributor
|
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. |
prascli
added a commit
to prascli/open-code-review
that referenced
this pull request
Nov 22, 2026
…libaba#2034) - Update both skill copies (core + plugin) with PR alibaba#2036 wording - Step 4: verify location and report finding; report at file level if uncertain - Step 5: apply fix only when user authorized edits under Step 4
Contributor
|
Thank you for the fix, @Ethereal49, and for completing the CLA. While the CLA check on this PR was still pending, #2037 was opened with the same change. I merged #2037, so I’m closing this PR as a duplicate. I appreciate the time you put into the patch and its verification, and I’d welcome your help with any other open issue that interests you. |
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.
Description
Step 4 of the skill requires user authorization before any code change. The
Handling mispositioned commentsprocedure ends with "Apply the fix or suggestion to the correct location", so an agent that receives a finding withstart_lineandend_lineboth0can read that step as permission to edit during a review-only request.This change makes the procedure end at reporting: locate the relevant code, verify the location, and apply a fix only when the user has authorized edits under Step 4. When the position stays uncertain, the finding is reported at file level instead of guessed.
Both copies of the skill are updated with the same text:
skills/open-code-review/SKILL.mdplugins/open-code-review/skills/open-code-review/SKILL.mdNo other section, code, or skill text is touched.
Type of Change
How Has This Been Tested?
Documentation-only change; no Go code or behavior changed.
make testpasses locally — not run: no code change, and the change is limited to Markdown.Manual checks:
grep -n "Apply the fix or suggestion" skills/open-code-review/SKILL.md plugins/open-code-review/skills/open-code-review/SKILL.md— no match after the change (previouslyskills/...:134andplugins/...:139).make check— passed (license-check,english-check,go mod tidy,gofmt,go vet). An earlier run failed on a Go module download (unexpected EOFfromproxy.golang.org); the retry passed.node scripts/github-actions/check-plugin-contract.test.js— passed.node scripts/github-actions/check-translation-sync.test.js— passed.git diffcontains only the two SKILL.md files; their body text stays identical apart from the existing plugin note.Checklist
go fmt,go vet) —make checkpasses.make testnot run because no code changed.AI disclosure: prepared with an AI coding agent (DeepSeek V4.1 Flash) that drafted the wording and ran the checks. I reviewed the final diff and can explain it.
Related Issues
Closes #2034