Repository navigation
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. |
|
Codex review: blocked before merge. Reviewed September 24, 2026, 6:13 AM ET / 10:13 UTC (Revision 7). ClawSweeper reviewWhat this changesAdds a public Plugin SDK contract for visual renderer plugins, allowing video integrations to send timed media and receive a browser-source URL, with registration, tests, docs, and a chat-renderer lint cleanup. Merge readiness⛔ Blocked before merge - 6 items remain Keep this PR open. Current main lacks the live-visual SDK capability, and the packed-provider trace gives strong evidence for owner-retirement behavior. Two source-proven session and provider-selection defects remain. Priority: P2 Review scores
Verification
How this fits togetherPlugins declare capabilities in manifests and register runtime providers. A video integration resolves an enabled provider, opens a media session, and uses the returned browser-source URL. flowchart LR
A[Provider plugin manifest] --> B[Capability registry]
C[Video integration] --> D[Provider selection]
B --> D
D --> E[Owned media session]
C --> E
E --> F[Renderer browser source]
Decision needed
Why: The current stable release lacks the subpath, and the companion compatibility correction is deliberately waiting for a supporting release; release sequencing requires maintainer intent. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +208, Tests +179, Docs +4, Config +4, Other +4. Total +399 across 35 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one generic provider path with admission ending at session close, provider selection isolated from retired siblings, and an explicit tested host-version requirement for companion plugins. Do we have a high-confidence way to reproduce the issue? Not applicable to the requested new capability. Both patch defects have clear source-level paths, but this read-only review did not execute them. Is this the best way to solve the issue? No, not yet. The shared provider registry is the appropriate extension point, but session-close admission and selection around retired sibling providers need repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 340cb1c8402a. LabelsLabel changes:
Label justifications:
EvidenceWhat 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 (6 earlier review cycles)
|
937b6f6 to
b124476
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Real-provider evidence is now complete. Using the merged lobster plugin through normal plugin admission, I verified: authenticated browser-source startup; sample-clock PCM delivery; stale provider/media rejection after owner retirement; cleanup when retirement overlaps a real renderer open; and invalidation of both authenticated browser URLs. The proof exposed a packaged asset-path bug, fixed with clean-install coverage in RomneyDa/openclaw-avatar-plugin#3. The premature 2026.9.4 compatibility claim is corrected in RomneyDa/openclaw-facetime-plugin#3. @clawsweeper re-review |
b124476 to
e77e60f
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Redacted real-provider runtime trace from exact core head The proof harness loads the packed lobster plugin through normal OpenClaw plugin admission. It opens a real authenticated loopback renderer, connects its WebSocket transport, and confirms PCM PTS 480 becomes 20 ms on the 24 kHz media clock. It then gates publication around a second real renderer open, starts owner retirement, and asserts:
No tokens, URLs, IP addresses, private endpoints, or user data are emitted. The packed asset fix and clean-install regression coverage are in RomneyDa/openclaw-avatar-plugin#3. The released-version compatibility correction is in RomneyDa/openclaw-facetime-plugin#3. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Superseded by #158392, which now carries the live-visual provider seam, lifecycle fencing, operator-assisted FaceTime carrier, and current-main rebase as one validated stack. Closing this draft to avoid parallel conflicting review. |
What Problem This Solves
External video integrations cannot discover a renderer without importing another plugin directly.
User Impact
Video integrations can resolve an enabled live-visual provider, open a timed media stream, and consume its browser-source URL without coupling plugins together. Integrations retain ownership of conversations, media clocks, and delivery; renderer plugins own only their visual surface, bounded input handling, health, and cleanup.
Why This Change Was Made
Adds a focused
openclaw/plugin-sdk/live-visualcontract and normal capability-provider registration/resolution.Resolved providers are bound to the exact selected plugin instance:
open()finishes across owner retirement is closed inside that owner and is never published to the caller.The companion avatar provider and FaceTime consumer are merged. Real-provider verification found and fixed a packaged renderer asset-path bug in avatar PR #3. FaceTime PR #3 corrects its compatibility docs: released OpenClaw 2026.9.4 does not contain this SDK subpath.
Evidence
pnpm test src/plugin-sdk/live-visual.test.ts: 3/3 pass, covering registration/resolution, retained provider rejection, media/health rejection, owner-scoped terminal close, disposal ordering, and retirement duringopen().liveVisualProviderscapability and consumers resolve one by ID.pnpm check:changed: pass on exact heade77e60f289; includes all TypeScript graphs, SDK export/surface budgets, plugin boundaries, dead-export scans, lint, and 0 runtime import cycles.Base CI prerequisite
The rebased branch carries Peter Steinberger's attribution-preserving
fix(ci): restore chat renderer lint checkscommit from #149735. The old base exceeded the UI max-lines budget independently of this SDK change, while #149735 is blocked by unrelated matrix flakes. This commit can be dropped if #149735 lands first.