Repository navigation
fix(skills): resolve GitHub identity from authenticated account - #125481
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 8:52 PM ET / August 18, 2026, 00:52 UTC. ClawSweeper reviewWhat this changesThis PR changes the PR-maintainer skill so GitHub assignment mutations derive their assignee from the GitHub account authenticated for the mutation rather than a chat-name mapping. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open for normal human review. The patch replaces a source-proven unsafe identity guess with the authenticated-account flow already used by the canonical PR claim path; the protected Priority: P2 Review scores
Verification
How this fits togetherThe PR-maintainer skill directs agents that triage and mutate GitHub issues and pull requests. It resolves an assignee before an authorized GitHub mutation is made. flowchart LR
A[Maintainer request] --> B[PR-maintainer skill]
B --> C[Resolve authenticated GitHub login]
C --> D{Identity relationship known?}
D -->|Yes| E[Authorized assignment]
D -->|No| F[Leave unassigned or request login]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs 0. Total 0 across 1 file. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep one canonical rule: resolve the assignee from the GitHub account used for the mutation, with no chat-identity fallback. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible: current main hardcodes a chat-derived login while the canonical claim path resolves the authenticated account first; no live mutation was run in this read-only offline review environment. Is this the best way to solve the issue? Yes. The patch aligns the skill with the existing mutation-boundary claim flow and removes the competing chat identity inference. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3dd95d7bf790. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
AI-assisted: Codex
What Problem This Solves
Fixes an issue where maintainer agents could infer a chat user's GitHub identity from an environment-specific hardcoded mapping and assign an issue or PR to the wrong account.
Why This Change Was Made
The maintainer skill now resolves assignment identity from the GitHub account authenticated for the mutation, matching the canonical
scripts/prclaim flow. When the requester differs from that account or the relationship is uncertain, the skill leaves the target unassigned or requires an explicit bare login.User Impact
Maintainer agents no longer guess GitHub assignment identity from chat identity.
Evidence
python3 skills/skill-creator/scripts/quick_validate.py .agents/skills/openclaw-pr-maintainer— passed.git diff --check origin/main...HEAD— passed.origin/maincontainsdefault Peter to steipete, while this branch removes it and documentsgh api user --jq .login/gh_plain api user --jq .login..agents/skills/autoreview/scripts/autoreview --mode local— clean; no accepted/actionable findings.