feat: preserve company plugin custody and provenance - #3642
feat: preserve company plugin custody and provenance#3642Patrick-Erichsen wants to merge 1 commit into
Conversation
|
🦞👀 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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs real behavior proof before merge. Reviewed September 9, 2026, 12:11 AM ET / 04:11 UTC (Revision 3). ClawSweeper reviewWhat this changesAdds staff-held custody and company adoption for imported plugin publishers, preserves release provenance, and displays source attribution and custody information. Merge readiness⛔ Blocked before merge - 6 items remain This remains distinct, useful work absent from current main. The previously reported publication-authorization defect remains unresolved; the supplied browser proof demonstrates the disclosure but does not settle the pending-release authority boundary. Priority: P2 Review scores
Verification
How this fits togetherClawHub imports plugin artifacts into organization publishers and holds releases pending security checks. Custody and publisher authorization determine whether those releases can become publicly discoverable and downloadable. flowchart TD
A[Reviewed company source] --> B[Staff import]
B --> C[Pending plugin release]
D[Publisher membership and custody] --> B
C --> E[Security checks]
E --> F[Publication authorization]
D --> F
F --> G[Public catalog and downloads]
H[Verified company adoption] --> D
Before merge
Findings
Agent review detailsSecurityNeeds attention: The new custody authorization check permits queued publication after organization publish access is revoked. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Reuse current publisher authorization atomically at release promotion, preserving the audited recovery exception and proving existing records retain their identities and download behavior. Do we have a high-confidence way to reproduce the issue? Yes, for the remaining patch defect: stage a curated release, remove the staff actor's publisher membership while retaining their admin role, then complete clean scans. Source shows promotion does not recheck membership; this sequence was not executed during the read-only review. Is this the best way to solve the issue? Not yet. Extending existing organization profiles and release metadata is appropriate, but authorization must be enforced in the final publication transaction; admission-only validation cannot cover changes while scans run. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 39ff7db30c2e. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
ClawHub UI ProofStatus:
Raw proof files: https://github.com/openclaw/clawhub/tree/qa-artifacts/clawhub-ui-proof/pr-3642/company-plugin-custody |
b7d6356 to
0a9a9ba
Compare


Company-owned imports now carry staff-validated provenance under a claimable organization publisher. Registry-authored bundles keep their registry namespace. The package page displays the original author, omitted components and a small custody disclosure only for a matching company-authored release; licensed source icons resolve to the exact upstream commit.
Custody requires an active staff-owned organization and the exact reviewed repository. Publication and scan completion recheck that evidence. A matching verified GitHub organization owner can adopt the publisher through the existing profile workflow while package identity and release history remain intact. Official status continues to use the existing publisher policy.
Validation:
ci:static,ci:unit(6,539 tests),ci:types-build,ci:packages,ci:e2e-http, targeted custody/adoption/publication tests, and real local-auth browser proof. The local ClawHub fixture exercises company and registry publication, catalog/API provenance, the rendered custody tooltip, exact archive downloads and direct OpenClaw 2026.9.3 installs in a disposable OCM environment. Scanner verdicts are controlled worker fixtures, not live-provider certification. Autoreview is clean; the final compiler-caught lookup adjustment uses the existing version verification field and was manually checked against the API response.Comparable before/after browser screenshots and API/install evidence were captured from the actual local ClawHub fixture.