Repository navigation
fix(github): let PR contributors continue work across sessions - #200236
Conversation
Co-authored-by: VACInc <[email protected]>
Worked on by: - @VACInc Co-authored-by: VACInc <[email protected]> OpenClaw-Publication: 0e51ff6e-9e0f-89ff-966b-77b1813d9630
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR lets verified contributors continue a shared-publisher-authored PR from another conversation. Example: Linked GitHub account 101 coauthored a PR opened by selected publisher account 42.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides distinct cross-session continuation work, resolves the earlier recovery-advice finding, and has no new actionable code defects identified. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Gateway combines the requester's linked identities, GitHub PR facts, and repository access into an eligible target consumed by workspace preparation, publication, and PR actions. flowchart LR
A[Conversation requester] --> B[Shared PR inspector]
C[Linked GitHub identities] --> B
D[Remote PR commit credit] --> B
B --> E[Repository access checks]
E --> F[Preparation and PR actions]
F --> G[Publisher and head checks]
G --> H[Original PR branch]
Technical reviewBest possible solution: Extend the existing shared eligibility inspector with remote contributor recognition while retaining the current workspace, repository-access, publisher-permission, and head checks. Do we have a high-confidence way to reproduce the issue? Current-main source deterministically refuses a contributor who is neither the linked PR author nor using the original publication conversation; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch uses the existing eligibility owner and its consumers, with a separate module justified by the substantive GraphQL parsing and pagination boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 687dc6c99a32. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +131, Tests +240, Docs +8. Total +379 across 8 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 16, 2026, 8:06 PM ET / November 17, 2026, 01:06 UTC (Revision 3). |
Restore original-conversation and full-write-maintainer recovery options in the eligibility refusal. Prove the advice through the admitted tool and Gateway, and share eligibility wording instead of repeating it in each tool action. Co-authored-by: VACInc <[email protected]>
Includes 0879f3e (#200242), which fixes the inherited missing export blocking this PR CI. Co-authored-by: VACInc <[email protected]>
Worked on by: - @VACInc Co-authored-by: VACInc <[email protected]> OpenClaw-Publication: a148014d-3ad0-870d-aa44-324201d7425d
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Serve valid remote commit credit in the unrelated publisher-PR refusal case, keeping the test at the eligibility boundary instead of failing on an unhandled GraphQL read. Assert recovery advice and no publication writes. Co-authored-by: VACInc <[email protected]>
Worked on by: - @VACInc Co-authored-by: VACInc <[email protected]> OpenClaw-Publication: dc6e778d-7e29-806e-93c3-5a4f6e011bf3
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash auto-merge.
|
…law#200236) Allow GitHub-recognized commit authors, coauthors and committers to continue selected-publisher PRs across conversations while preserving private-repository access, session authority and guarded pushes. Keep recovery advice and shorten tool guidance. Co-authored-by: VACInc <[email protected]>
What Problem This Solves
Fixes credited contributors being blocked from continuing a publisher-authored PR when they move to a different conversation.
User Impact
A verified linked GitHub account already credited as an author, coauthor or committer on the PR can import it and append changes to the original branch across conversations. No new role, grant, configuration or migration is required. Existing private-repository access, session authority, publisher permission and remote-head checks remain in place. Refusals retain the existing advice to use the original publication conversation or ask a full-write maintainer.
Why This Change Was Made
The shared PR eligibility check previously recognized the PR author or the current conversation’s publication receipt, but not the human contributors behind a bot-authored PR. It now checks GitHub-recognized numeric account identities on the current PR commits, only when the PR author is the selected publisher. PR-body mentions and unpublished local trailers do not grant access.
This changes the shared eligibility owner used by inspection, preparation, publication and imported-PR actions. It does not change workspace custody/recovery or grant merge permission. Docs and tool guidance describe the same eligibility; repeated guidance is consolidated without adding prompts or permissions.
Evidence
d8002540ef6bab32d042476198c9e5b110cbe229passed CI run 44181148596, with no failed jobs, and the final Security Review. It merged as bc1e334. No failed-CI exception was used.Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.