Skip to content

[2190 by GPT-5.6 Sol] Use ProPR branding for packaged Linux and macOS desktop app icons - #2195

Merged
integry merged 2 commits into
1950-epic-cross-platform-dskfrom
2190/gpt-5.6-sol-use-propr-branding-for-pa-20260907-1839-5h1
Sep 7, 2026
Merged

integry merged 2 commits into
1950-epic-cross-platform-dskfrom
2190/gpt-5.6-sol-use-propr-branding-for-pa-20260907-1839-5h1

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2190

Branch: 2190/gpt-5.6-sol-use-propr-branding-for-pa-20260907-1839-5h1
Commits: ✅ Changes committed (fc3fcb4)


AI Processing Completed

Execution Details:

Summary:
Implemented GitHub issue #2190.

  • Added reproducible ProPR PNG and multi-resolution macOS .icns assets derived from the canonical PWA mark.
  • Configured Linux BrowserWindow, DEB/RPM launcher icons, and packaged runtime resources.
  • Configured macOS application/Dock icon metadata without altering signing or notarization.
  • Added CI verification for Linux/macOS package metadata, runtime assets, and extracted release artifacts.
  • Added packaged Linux smoke evidence proving the native 512×512 icon loads.
  • Added focused preview evidence.

Validation:

  • Desktop typecheck passed.
  • Full desktop suite passed: 649 tests, 27 skipped.
  • Linux Forge package and packaged-icon verification passed.
  • Icon reproducibility check passed.
  • DEB/RPM creation was unavailable locally because dpkg/fakeroot are not installed; release CI installs and validates them.

Detailed Logs:

  • Conversation: 122 messages
  • Session: 01a07d2b-b2c8-7681-af52-f02c09cf1448

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2190-2026-09-07T19-04-50-237Z-conversation.json
  • output: /tmp/claude-logs/issue-2190-2026-09-07T19-04-50-237Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #2190.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Packaged ProPR desktop icon

Packaged ProPR desktop icon

The exact 512×512 ProPR PNG copied into the packaged Linux runtime and native launcher packages; the macOS ICNS is reproducibly derived from the same mark.

Suggested agent tools

  • Xvfb with a lightweight desktop panel: Needed to capture the packaged Electron window and taskbar icon on the native Linux shell surface in this agent image.

…and macOS de

Implemented by ProPR AI using gpt-5.6-sol model.

Implementation completed successfully.
@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=9 max=2

@propr-dev propr-dev Bot added the ultrafix label Sep 7, 2026
@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 9/10, max cycles: 2)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root clean-install integrated validation: icon reproducibility check confirms the committed assets match the canonical ProPR artwork; all 22 focused icon/path/window-option/asset tests pass, no skips. Root inspected Forge runtime-resource, Linux DEB/RPM icon and macOS ICNS configuration. Native package build and actual window-icon verification remain to do; no runtime screenshot claim yet.

@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-5.6-sol

Overall Evaluation

This PR correctly adds ProPR branding to Linux and macOS desktop packages, with reproducible asset generation and platform-specific runtime/package verification. The implementation is merge-ready within scope, conditional only on the remaining pending checks completing successfully.

✅ Consistent canonical source — Both desktop assets are deterministically derived from the pinned 512×512 PWA icon, and tests compare the committed files byte-for-byte with regenerated output.

✅ Complete platform integration — Linux receives the icon through BrowserWindow, packaged resources, DEB, and RPM configuration, while macOS receives the generated ICNS through Forge bundle metadata.

✅ Strong release-path coverage — The changed smoke tests and native artifact lifecycle validate the runtime icon, launcher metadata, and extracted macOS application resources across unsigned and production packaging paths.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Verify exact packaged ICNS bytes

apps/desktop/scripts/desktop-icon-assets.mjs validates the packaged macOS ICNS container and image dimensions but does not confirm that its contents match the reproducibly generated ProPR asset. Comparing its digest or bytes with the committed ICNS would strengthen artifact-integrity evidence. This is optional because the generator test already verifies the source asset exactly and Forge is configured to package that verified file.

Score

The scoped implementation is coherent, well tested, and has no verified code blocker or current-head failure. Remaining checks are pending, so final merge should wait for their successful completion.

Score: 9/10


🤖 Review Details

  • Model: GPT-5.6 Sol
  • Time: 2m 28s
  • Tokens: 57,757 (53,296 in / 4,461 out)
  • Cost: $0.35

View Task


💡 Next step: Comment /fix to address F# merge blockers only.
F# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. Suggestions require a separate ordinary follow-up request.

🤖 Review by ProPR

@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Root CI triage: both macOS package jobs fail the new verifier on current fc3fcb4: run 34154187855, x64 job 101842796233 and ARM job 101842796271, desktop-icon-assets.mjs:92 -> macOS application icon metadata is not branded. Please inspect the actual Electron Packager emitted CFBundleIconFile and corresponding Contents/Resources file. Packager may legitimately retain an Electron/icon filename while replacing its bytes; do not assume filename alone proves or disproves branding. Correct packaging if the asset is wrong, or correct the verifier to follow the actual metadata and verify the referenced asset matches canonical generated ProPR ICNS bytes. Preserve valid non-empty ICNS/dimensions and extracted-artifact checks; no skipping/widening to accept an arbitrary icon. Add regression for real emitted bundle shape and get both mac jobs passing.
Root independent Linux evidence: clean install, canonical reproducibility and 22 focused tests pass; actual DEB build passes; packaged icon verifier passes; DEB contains branded resources/propr-desktop.png and usr/share/pixmaps/propr-desktop.png plus launcher metadata. Native window smoke is next. This is a targeted macOS correction, not Windows work.

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 407abc2

Summary of Changes

Implemented the targeted macOS correction.

  • Confirmed Electron Packager emits CFBundleIconFile=electron.icns and replaces Contents/Resources/electron.icns with the configured icon bytes.
  • Updated desktop-icon-assets.mjs to follow that safe metadata reference, preserve ICNS structure/dimension validation, and require the exact canonical ProPR ICNS SHA-256.
  • Added regression coverage for the real electron.icns bundle shape and rejection of a valid, correctly dimensioned but unbranded ICNS in desktop-icon-assets.test.mjs.

Validation passed:

  • Icon reproducibility check
  • Desktop typecheck
  • Full desktop suite: 649 passed, 27 skipped
  • git diff --check

No preview was created because this verifier-only correction has no new visual state.


🤖 Implementation Details

  • Model: GPT-5.6 Sol (high)
  • Requested By: @integry
  • Time: 9m 17s
  • Tokens: 1,425,657 (1,415,109 in / 10,548 out)
  • Cost: $1.47
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5574781776✓

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root packaged Linux smoke passes 4/4 isolated launches on integrated candidate a1122a6. Native Electron logs prove desktop.native.icon.ready with asset propr-desktop.png and 512x512 dimensions; packaged asset verifier and actual DEB creation also pass. macOS verifier correction requested in 5574781776 remains outstanding. No live test-account executable replacement for icons yet.

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real native Linux icon verification completed on integrated test build a1122a6: replaced only isolated test-account executable, restored authenticated dashboard without sign-in. X11 _NET_WM_PID matches that app PID 2665066. _NET_WM_ICON contains 262146 CARDINAL items (512x512 pixels plus dimensions). Decoded native icon RGBA SHA256 b52aed84326b3ea1d3bc0f4f7aaa2631577884d65776c5d85ced6d42741b1021 exactly matches canonical PNG decoded through sharp. This proves the actual OS window icon is ProPR artwork, not merely that an asset exists or nativeImage loaded. macOS verifier correction remains active; PR not merged yet.

Implemented the targeted macOS correction.

- Confirmed Electron Packager emits `CFBundleIconFile=electron.icns` and replaces `Contents/Resources/electron.icns` with the configured icon bytes.
- Updated [desktop-icon-assets.mjs](/tmp/git-processor/worktrees/integry/propr/pr-2195-followup-2026-09-07T19-14-15/apps/desktop/scripts/desktop-icon-assets.mjs:91) to follow that safe metadata reference, preserve ICNS structure/dimension validation, and require the exact canonical ProPR ICNS SHA-256.
- Added regression coverage for the real `electron.icns` bundle shape and rejection of a valid, correctly dimensioned but unbranded ICNS in [desktop-icon-assets.test.mjs](/tmp/git-processor/worktrees/integry/propr/pr-2195-followup-2026-09-07T19-14-15/apps/desktop/scripts/desktop-icon-assets.test.mjs:120).

Validation passed:

- Icon reproducibility check
- Desktop typecheck
- Full desktop suite: 649 passed, 27 skipped
- `git diff --check`

No preview was created because this verifier-only correction has no new visual state.

PR: #2195
Comment by: @integry (ID: 5574781776)
Model: gpt-5.6-sol
@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent root verification of corrected head 407abc2: inspected the two-file correction; node 22 --test apps/desktop/scripts/desktop-icon-assets.test.mjs passes 4/4. The verifier follows a basename-only ICNS metadata reference, checks structure/dimensions, and pins exact canonical ICNS bytes; the regression rejects a correctly sized but unbranded asset. Earlier actual Linux DEB and X11 native-window icon proof remain applicable because this correction changes only the macOS verifier/tests. Waiting on corrected native macOS CI and requested fresh review before epic integration.

@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-5.6-sol

Overall Evaluation

The PR correctly implements reproducible ProPR branding across Linux and macOS. No PR-scoped code blocker is evident, but it is not yet merge-ready because three current-head Windows checks are failing and eight checks remain pending; the failures cannot be conclusively traced to changed code from the supplied evidence.

✅ Correct macOS metadata handling — The verifier follows the emitted CFBundleIconFile, restricts it to a safe resource filename, and validates the referenced ICNS against canonical bytes.

✅ Complete Linux coverage — The branded asset is connected to BrowserWindow, Forge resources, DEB/RPM launchers, packaged smoke tests, and extracted-artifact verification.

✅ Strong asset integrity checks — Generated PNG and ICNS files are reproducibly derived, dimension-checked, and pinned by SHA-256, including a regression test for Electron’s emitted bundle shape.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The implementation is well-scoped and thoroughly tested, but current-head failures prevent a merge-ready rating until CI is green or those failures are explained.

Score: 7/10


🤖 Review Details

  • Model: GPT-5.6 Sol
  • Time: 2m 39s
  • Tokens: 59,233 (54,475 in / 4,758 out)
  • Cost: $0.42

View Task


💡 Next step: Comment /fix to address F# merge blockers only.
F# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. Suggestions require a separate ordinary follow-up request.

🤖 Review by ProPR

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-head follow-up evidence for 407abc2: fresh ProPR review 5574932296 reports no code blockers. Windows-only CI failures are explicitly deferred by user scope and are not a Linux/macOS delivery gate. Both macOS native package jobs now pass, including metadata/icon verification and staged native install/deep-link/relaunch/removal; Run Full Test Suite passes. Independently downloaded Linux x64 acceptance artifact from run 34155420081 into /tmp/propr-2195-acceptance.jGcafg: verified all 60 screenshot and 4 supporting-file sizes/SHA-256 values against the manifest and inspected first-run/remote-pairing captures. Full local verifier reached OCR but this host lacks Tesseract, so no claim of repeated local OCR; CI captured its own acceptance evidence. Remaining two Linux native lifecycle jobs are still running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant