Repository navigation
docs(browser): audit engine licenses and non-AGPL alternatives - #154382
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: needs maintainer review before merge. Reviewed September 23, 2026, 11:54 AM ET / 15:54 UTC (Revision 9). ClawSweeper reviewWhat this changesDocuments browser-engine licenses, artifact provenance, and non-AGPL alternatives, adds deployment warnings, and completes a Gateway test fixture’s required configuration field. Merge readiness✅ Ready for maintainer review Keep open: the licensing audit remains useful and is absent from current main. No actionable correctness or security findings remain, and current GitHub metadata resolves the previous conflict concern. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s browser tool connects configured profiles to browser engines. This documentation helps operators distinguish the OpenClaw adapter’s license from the independently installed engine and its redistribution obligations. flowchart TD
A[Operator requirements] --> B[License and artifact guidance]
B --> C[Choose browser engine]
C --> D[Configured browser profile]
D --> E[OpenClaw browser tool]
E --> F[External browser engine]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +4, Docs +167, Other +2. Total +173 across 4 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep the dated licensing guidance beside the existing deployment examples, with explicit limits on redistribution and alternative-engine readiness. Do we have a high-confidence way to reproduce the issue? Not applicable to the licensing audit; the ancillary fixture omission is directly visible against the existing required type, but no failing test was executed. Is this the best way to solve the issue? Yes. Extending the existing deployment guide and adding pinned-source provenance addresses the documentation gap without introducing another engine integration or claiming complete legal compliance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b28166ffb99c. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
d8f53eb to
a683367
Compare
f2e0ba9 to
5ae236a
Compare
a683367 to
456c7ba
Compare
5ae236a to
ad477e6
Compare
456c7ba to
8ba9b89
Compare
ad477e6 to
bfde96a
Compare
8ba9b89 to
aee1cdc
Compare
|
@clawsweeper re-review Please review the current exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
bfde96a to
a49a81d
Compare
aee1cdc to
4a9f390
Compare
|
@clawsweeper re-review Please review the current exact head |
|
🦞👀 Re-review progress:
|
a49a81d to
d0eef0d
Compare
4a9f390 to
7c67530
Compare
Preserve the reviewed browser-stack change while incorporating the landed prerequisites. Original revision: 8f41f08a1e92c079ad19ab9f3b849be26cf1559b
8f41f08 to
455a42f
Compare
Supply the required empty policyConfig in the placement lifecycle read fixture. This repairs the inherited check-test-types-core-4 failure while keeping the production browser-stack changes unchanged.
|
Merged via squash.
|
…law#154382) * docs(browser): audit engine licenses and non-AGPL alternatives Preserve the reviewed browser-stack change while incorporating the landed prerequisites. Original revision: 8f41f08a1e92c079ad19ab9f3b849be26cf1559b * test(gateway): complete prepared placement read fixture Supply the required empty policyConfig in the placement lifecycle read fixture. This repairs the inherited check-test-types-core-4 failure while keeping the production browser-stack changes unchanged.
Current signed head:
ea418a67d7fa72213bacc1a8543336ff5907d6fa. The inherited placement lifecycle test fixture now supplies requiredpolicyConfig; the previously failingcheck-test-types-core-4passes on corrected PR04ea418a67d7fa72213bacc1a8543336ff5907d6fa(run35883329532, job107258058958). Production browser behavior is unchanged by that correction. Exact combined packaged proof at3582077699e1a97d705438a0d2d49c7f2c216d26passed all controls with clean cleanup. Remaining required hosted/native landing gates and independent final QA are tracked separately; this is not a claim that every PR has landed.Related: #154341
Current landing verification — 2026-09-23
Current PR head:
7c67530301b75a086ed15c7425252f63850c3a42. Vincent authorized prerequisite-first landing of the experimental opt-in Lightpanda stack and its additive engine/config/status contract. No merge or deployment is claimed here; exact-head hosted checks and native landing gates remain required.This prerequisite-driven restack is patch-identical to the reviewed boundary; it incorporates the resolved main/config baseline from #154359. Earlier native AutoReview remains tied to the unchanged source patch, not relabeled as a new run. Current-head hosted CI and a fresh completed ClawSweeper review remain required.
Proof scope: dated evidence below retains its original source identity. The new combined image/profile-preservation run at
dd25d85031ab090b4b4ad9cba0ad4beeff9debb8is pending in #154607 and #154608; no earlier image is relabeled as that repair proof.This boundary’s patch is unchanged; only prerequisite ancestry changed to include the reviewed admission and benchmark repairs.
Fresh isolated native AutoReview found no remaining actionable P0–P2 defects after the accepted PR02/03/06 repairs and adjudication of the metadata/external-profile false positives. Exact reviewed file hashes and unchanged boundary patch IDs bind those reviews through the prerequisite-driven restack; patch-identical head changes are not relabeled as new review runs.
Final combined proof at
71e4fb2b164423175c6b0324365cc18e5c7808ef: all 47,508 tracked files/symlinks and modes match the tested source. Route/schema tests 53/53, five-file formatting and scoped type-aware lint pass; a real pinned Lightpanda 0.4.1 workflow passes ref actions, exactly-once submission, capability/single-page checks and the repaired stale-target validator.A fresh complete application image built in 238.447s, image
sha256:ac252a09fd89aa2f041a37078d13fc7c8f6107835923cab2644fa9ed76084fbd. Its build-info matches the exact combined commit. The unchanged default Playwright script passes (16.754s). Packaged Gateway/browser smoke passes (22.336s): Chromium start/open/snapshot/stop, same-route Chromium selector-wait success, and four Lightpanda selector rejections with exactBROWSER_CAPABILITY_UNSUPPORTED/engine: lightpandastructured errors before adapter contact. This isolated Linux amd64 proof uses synthetic pages and no provider/account actions. Source inventory is unchanged after build/runtime; owned containers are removed and the task daemon is stopped.Historical evidence below retains its original source and scope. In particular, the old broad
staleTargetRejectedassertion is superseded by the new positive-control/exact-error proof, and historical memory sampled across full validation is not a measurement of the repaired validator. No new three-run performance matrix, native macOS/Windows runtime proof, whole-Gateway memory saving, or broad website compatibility is claimed. The full image’s Lightpanda negative probes cover pre-adapter admission; actual Lightpanda ref actions are covered separately by the current source-controller workflow.ClawSweeper’s synthetic-fixture qualification landed in openclaw/clawsweeper#1646. Qualification is not review approval or proof of deployment: the fresh full-input browser review must still demonstrate admission on its actual trusted policy and exact head/body. No gate is bypassed.
Stack continuation: #154342 → #154359 → #154360 → this PR. Base:
feat/lightweight-browser-03-portable-benchmarks.What Problem This Solves
The lightweight-engine samples need a licensing and artifact review before anyone treats them as an MIT-safe deployment. The maintainer requested a dependency/license audit and investigation of Vercel, Cloudflare, and alternatives.
User Impact
Lightpanda 0.4.1 is AGPL-3.0-or-later, not MIT. OpenClaw's independently authored adapter remains MIT; this is not an MIT-only engine/image or a blanket legal-compliance conclusion. No engine is bundled, mirrored, installed, or enabled by this change.
Documents existing Playwright/
wsobligations, the precise upstream artifact/source pins, verified binary/image integrity, and outstanding redistribution gaps. Compares Chromium headless shell, Cloudflare Kitesurf, Obscura, and Vercel's automation-client boundary.Obscura 0.2.3 is the strongest standalone lightweight non-AGPL candidate reviewed, but includes five MPL-only dependencies and unresolved archive notices/build-provenance issues. It is not declared integrated or production-ready. Chromium headless shell also has LGPL/MPL notices; wrapper licenses do not relicense engines.
Evidence
Reviewed head:
d8f53eb0207.git diff --checkpassed. Fresh independent review found no actionable issues; image/archive inspections were not repeated by the reviewer.The preceding source changes retain their original scope; PR03 now also supplies its required docs-title glossary entry. Nothing merged, released, or deployed. Cross-platform functional comparison belongs in the next PR.
Premerge preparation — 2026-09-21
Source head recorded on 2026-09-21:
8ba9b89b114dd810426a181b02183464bf49afcd. Ready for review/CI, not merged or deployed.Documentation-only stack layer; inherits corrected benchmark/deployment prerequisites.
The stack is rebased onto
72c2cf7c2faaa8994cb207e0ef4797d0a8bd834bto incorporate canonical fixes for the two observed tooling timeouts (not an unrelated retry): #154627, #154509, #154335, #154345 and #154567. The actual affected tooling tests now pass 32/32 in 129.99s. Runtime-proved combined sourceb9085a3475f2af46a9990e5986e87978719bb9fepasses extension types, Madge and config-doc checks; 47,508 tracked entries match the remote proof snapshot with zero mismatches.Before rebasing, the scoped CI repairs passed 156 Docker tests, 56 Chrome/boundary tests, and the 30 affected navigation tests, plus Knip, line-cap, import boundaries, temporary-path/raw-fetch guards, Madge, config docs and formatting. Independent final scoped review is clean. Rebased checks continue on the exact heads; older results remain bound to their measured sources.
A real final-source native-spawn benchmark smoke passes startup, temporary-root handling, the public import path, navigation, snapshot, typing/click, wait/text and exactly-once submission (cold task plus one warm task, Chromium headless shell 153.0.8010.12, Linux amd64/Node24.19.0). This is a behavior smoke, not a replacement performance benchmark.
The earlier complete application image at
07cce573cdf01b1146e677e6ea865ef3eb954955passed its build, unchanged default Playwright upgrade script, full-Chromium channel sibling, and packaged Gateway/browser start → navigate → snapshot → stop with Gateway exit0. That image is explicitly bound to its earlier source. The rebased complete application image atb9085a3475f2af46a9990e5986e87978719bb9fealso passed: full unmodified image build244.381s; unchanged default Playwright script11.483s; full-Chromium channel sibling1.953s; packaged Gateway/browser lifecycle18.971s. Image IDsha256:a50fa9eb0e34302e54b2ee2f51ae34b083d608c8160278430df6dde424ba97ad. All47,508 tracked entries matched before and after. The task-only daemon stopped cleanly with zero containers.The final combined head
c6198e521533e350d0222c884922e5935e803b1cdiffers from this measured image source only by two truthfulSAFETYcomments documenting existing non-null-object guards (PR02 route boundary and PR03 benchmark). Diff inspection and TypeScript transpilation with comments removed prove identical emitted JavaScript. The image is not relabeled as built from the later comment-only SHA. Full assertion/max-lines ratchets and plugin inventory pass without baseline changes.Normal hosted CI is active on the corrected heads. Scanner input qualification is separate from approval: the inherited synthetic status-redaction fixture still needs trusted ClawSweeper policy-owner qualification; the literal is preserved and no gate is bypassed. No skipped, blocked, pending, failed, or canceled run is counted as passing. Experimental opt-in Lightpanda/config-contract maintainer acceptance and prerequisite-first landing remain review decisions.
Review order
Land prerequisites first; each upper PR targets the preceding branch. No merge or deployment has been performed.