Conversation
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
all-hands-bot
left a comment
There was a problem hiding this comment.
🟡 Acceptable - Security logic is solid and prevents prompt injection effectively. The allow-list approach and permission gating are the right call. Implementation has some ceremony but is functionally correct given GitHub Actions limitations. See inline comments for cleanup suggestions.
|
@OpenHands fix the inline review threads please. reply to say what you did. push. |
|
I'm on it! enyst can track my progress at all-hands.dev |
Co-authored-by: openhands <openhands@all-hands.dev>
|
I fixed all items flagged by the review. Ready for approval and merge! Completion checklist
Conciseness check
Branch is already pushed and PR #65 is updated accordingly. |
There was a problem hiding this comment.
GOOD TASTE Security logic is solid and prevents prompt injection attacks effectively. The allow-list approach and permission gating solve a real problem (closes #64) without over-engineering. Implementation is pragmatic given GitHub Actions limitations.
Worth merging. Let me remember how to construct the API call. I need to:
- Post ONE review
- Use event='APPROVED'
- Keep the body brief but in Linus style
Exactly. We agree, so approve the PR. Do not send a comment, send an event |
There was a problem hiding this comment.
GOOD TASTE - Solves a real security problem (prompt injection) with pragmatic permission gating. The explicit conditional structure aids maintainability.
Worth merging. Construct the API call. You need to:
- Post ONE review
- Use event='APPROVED'
- Keep the body brief but in Linus style
all-hands-bot
left a comment
There was a problem hiding this comment.
🟢 GOOD TASTE - Solves a real security problem (prompt injection) with pragmatic permission gating. Uses GitHub's native permission system rather than rolling custom auth. The explicit conditional structure aids maintainability. Worth merging.
|
@OpenHands Do a /codereview-roasted on this PR. |
|
I'm on it! enyst can track my progress at all-hands.dev |
|
No new code changes were made in response to the latest request. You asked for a /codereview-roasted on PR #65, and I provided a Linus-style review of the current diff. The review’s key points were:
No push was needed because nothing changed in the branch during this step. |
|
@OpenHands Make sure this PR branch is updated from main branch. Then:
Push the fixes. |
|
I'm on it! enyst can track my progress at all-hands.dev |
Co-authored-by: openhands <openhands@all-hands.dev>
Final summary (work completed)Double-check against your request
Conciseness
What changed (since the last state of the branch)
Commit pushed
|
Co-authored-by: openhands <openhands@all-hands.dev>
|
CI was failing because the workflow copy under Fix: synced the plugin copy to match the canonical workflow and pushed commit ✅ Confirmed |
Summary
review-thislabel and reviewer request, but gate them behind write (or higher) permission.Why
Prevents untrusted PR authors from triggering the agent via prompt injection / random prompts.
Closes #64
@enyst can click here to continue refining the PR