Skip to content

fix: native diagram notices identify the wrong Pele version - #189998

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/pele-native-audit-20261101
Nov 1, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/pele-native-audit-20261101

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes native diagram bundles identifying Pele as 1.6.0 even though they ship 1.9.0.

User Impact

Accurate third-party version attribution in Android and Apple renderer resources. No rendering, dependency, permission, or license-term changes.

Why This Change Was Made

Correct the canonical notice used by both native packaging paths and guard its Pele/DOMPurify headings against the package pins. No new production machinery: one notice line changes, with an 11-line regression allocation.

Evidence

  • Real renderer build and Apple resource preparation reproduced the stale heading before the fix.

  • Version-parity regression failed on the old notice; final focused suite passes 3/3, independently rerun by the parent with the repository-owned runner.

  • Native asset and Apple cache suites: 9/9 passed. Real renderer build and Apple preparation/cache-hit checks passed; shared and Apple resources match byte-for-byte.

  • Installed Pele MIT + Lucide ISC text matches redistributed notices; license text is unchanged.

  • Focused lint, strict single-file typecheck, format, and whitespace checks passed. Fresh isolated Codex P0–P3 autoreview: scoped-clean.

  • No Android device/SDK or Apple execution toolchain was available. This is packaging proof, not current-head native visual/runtime acceptance. No leases or native CI dispatches/reruns.

  • Exact-head CI run 41267056700, attempt 1 failed the unrelated checks-ui-e2e (5/7) normal-chat sidebar deletion assertion (sidebar-deletion-invalidation.e2e.test.ts:222: 3 snapshot writes, expected at most 1). Lead and independent source review found the complete UI, E2E configuration, workflow, dependencies, and runtime inputs unchanged from tested base d1b6e30; the changed notice emits standalone text, and the tooling assertion/allocation do not enter this IndexedDB path. This is source-derived unrelatedness, not baseline reproduction or root-cause repair; CI remains failed. The initial classifier called it new because the matching main job passed without comparing selected scope. No CI rerun or repush.

Credit

Requested by @vincentkoc; Vincent Koc is credited in the commit.

Work sessions

Keep redistributed notices aligned with the installed Pele and DOMPurify pins without changing dependencies or license terms.

Co-authored-by: vincentkoc <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 1, 2026 02:54
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 1, 2026 02:59
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Corrects the shared Pele notice from 1.6.0 to 1.9.0 and checks redistributed dependency headings against package pins.

Example: A native renderer bundle includes Pele 1.9.0.

  • Before: Its shared notice identifies Pele 1.6.0.
  • After: Its shared notice identifies Pele 1.9.0.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-verifiable; packaging execution is reported rather than independently inspectable, and CI is not yet qualified.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored notice correction is outside the ordinary contributor proof gate; its body reports real renderer and Apple resource preparation with matching notice bytes, but provides no public terminal trace or artifact for independent inspection.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Distributed renderer resources name an older Pele version than the version they contain.
Reason: Accurate attribution is an existing packaging contract, and the maintainer-authored correction preserves the established rendering and licensing behavior.

Merge readiness

✅ Ready for maintainer review

This PR corrects a verified attribution mismatch still present on main, with no actionable code findings; a failing UI check remains unqualified.

Priority: P3
Reviewed head: 9faa278b5832b53b2e917bd15301ade549bc15b0

Before merge

None.

Findings

None.

Agent review details

How this fits together

The shared renderer build packages pinned dependencies and copies the canonical notice into generated assets consumed by Android and Apple; browser builds also emit that notice.

flowchart LR
  A[Dependency pins] --> B[Shared renderer build]
  C[Canonical notice] --> B
  B --> D[Android assets]
  B --> E[Apple resources]
  C --> F[Browser notice]
Loading

Technical review

Best possible solution:

Keep the one-line correction in the existing canonical notice and retain the focused parity regression.

Do we have a high-confidence way to reproduce the issue?

Current-main source directly establishes the 1.9.0 package pin and stale 1.6.0 notice copied by the native build; no execution was performed during this review.

Is this the best way to solve the issue?

The patch repairs the authoritative notice rather than adding packaging-specific copies, and its independent package-to-notice assertion catches the demonstrated mismatch.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against e7fdb9b17701.

Provenance checked

  • Shared dependency notice keeps the original intent (7372366: The notice cleanup retained complete Pele attribution while removing retired Mermaid dependencies; the later dependency refresh advanced Pele to 1.9.0.)
  • Native asset regression suite keeps the original intent (2879ff8: The existing suite protects Android's package-local build invocation for shared worktrees; this PR preserves that assertion and adds the distinct notice-parity contract.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Source 0, Tests +11, Other +2. Total +13 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 12 1 +11
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 3 15 2 +13

Labels

Label changes:

  • add P3: This corrects distributed attribution metadata without changing rendering, dependency resolution, permissions, or license terms.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This corrects distributed attribution metadata without changing rendering, dependency resolution, permissions, or license terms.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 31, 2026, 11:10 PM ET / November 1, 2026, 03:10 UTC.

@roboclaw-bot
roboclaw-bot disabled auto-merge November 1, 2026 03:12
@roboclaw-bot
roboclaw-bot merged commit 0e24b7e into main Nov 1, 2026
182 of 185 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/pele-native-audit-20261101 branch November 1, 2026 03:16
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
…#189998)

Keep redistributed notices aligned with the installed Pele and DOMPurify pins without changing dependencies or license terms.

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant