Repository navigation
chore: add Pele notices before the renderer cutover - #185586
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. What this changesAdds complete Pele MIT and embedded Lucide ISC notices to Android, iOS, and shared native renderer resources. Example: Open Settings → Licenses on Android or iOS.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this collaborator-authored PR supplies a useful attribution prerequisite for the renderer stack, preserves existing notices, and introduces no actionable defect. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherNative builds package dependency notice files, which existing license loaders expose in Settings; the shared renderer build also copies its aggregate notice into offline resources. flowchart LR
A[Upstream Pele license] --> B[Native notice files]
B --> C[Android assets]
B --> D[iOS resources]
C --> E[Settings Licenses]
D --> E
A --> F[Shared renderer notice]
F --> G[Offline resources]
Technical reviewBest possible solution: Land the additive notices through the existing packaging owners before switching engines, retaining legacy notices until the separate cleanup. Do we have a high-confidence way to reproduce the issue? This PR prepares attribution for an upcoming dependency change rather than repairing a current runtime failure; no target code was executed during review. Is this the best way to solve the issue? The smallest complete change is to add the upstream text at the existing distribution boundaries and extend their existing packaging assertions, which this diff does. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against de6ac4ff02b1. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +126, Tests +6. Total +132 across 5 files. Added test files: 0. View PR surface stats
LabelsLabel 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 Reviewed October 27, 2026, 2:57 AM ET / 06:57 UTC. |
Co-authored-by: vincentkoc <[email protected]>
a146340 to
c0e2df9
Compare
|
Merged via squash auto-merge.
|
Co-authored-by: vincentkoc <[email protected]>
Follows #184462, merged as df0dc9d. This is the additive notice prerequisite for the smaller Pele stack; it does not switch the renderer.
What Problem This Solves
The Pele cutover needs complete third-party notices on every intermediate web/native distribution.
User Impact
Adds Pele acknowledgements to Android and iOS license inventories and the shared offline notice. The existing Mermaid renderer, notices, stored diagrams and controls are unchanged. No deployment or release is included.
Why This Change Was Made
Separate the complete Pele MIT/Lucide ISC additions from the engine switch and the later removal of obsolete Mermaid-only notices. Keeping existing notices during this short stack transition avoids an attribution gap. Requested by @vincentkoc.
Work sessions
Evidence
On reconciled head
c0e2df97b2ade402abc9e5766460bc082238c778,:app:testThirdPartyDebugUnitTest --tests ai.openclaw.app.AndroidLicenseNoticesTest: 4/4 passed, zero skips/failures/errors. Normal Gradle owners rebuilt and packaged Mermaid offline assets and compiled the app/test sources.Android/iOS Pele files are identical and the shared notice includes their complete MIT and Lucide ISC text; no earlier notice was removed.
Independent P0–P2 review of original source-equivalent patch: no actionable findings. Source/diff checks passed. Apple inventory assertions were updated but not executed locally because Swift/Xcode is unavailable.
Five files, additive only. An initial local Gradle attempt could not resolve the baseline Mermaid dependency after switching from the Pele branch; restoring this checkout’s declared frozen dependencies fixed setup, and the unchanged test command then passed.
Reconciled after the predecessor squash onto main
9d1606006cb533c2952925e4fd149d3f4c606d4a: only the original five-file patch remains; the already-landed renderer-contract test is not duplicated. Originala14634043f301fe48cb8b20340e8c2b735b435bcand reconciledc0e2df97b2ade402abc9e5766460bc082238c778have identical patch ID8e6198724c0ddea2aaa718d050ba82376c6dafb1. All current-main inventory entries and prior shared-notice bytes are preserved. Earlier 4/4 Android proof and independent review remain historical evidence for the original head, not new-head CI.Reconciliation setup: the generic
testDebugUnitTesttask is ambiguous after Android distribution flavors were introduced; the explicittestThirdPartyDebugUnitTesttask above ran successfully. Apple assertions remain source-inspected, not locally executed.