Skip to content

fix(agent): Windows icons and installer auto-launch for 0.0.13 - #1343

Merged
AnthonyRonning merged 5 commits into
masterfrom
codex-winpolish-maple
Oct 28, 2026
Merged

AnthonyRonning merged 5 commits into
masterfrom
codex-winpolish-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Windows currently shows a generic app icon and finishes an interactive installation without opening Maple. Embed the existing Dev/Prod Maple artwork in the executable and setup/uninstaller, then launch the verified stable launcher when a successful interactive installer closes. Silent /S installs stay quiet.

Existing 0.0.12 installations keep their stable launcher. Normal GUI startup repairs only the profile's two known Start menu links and installed-app icon using a persistent, content-addressed profile ICO. It preserves shortcut targets, arguments and custom properties, validates the active registered installation, respects install/uninstall ownership, and refuses foreign/reparse/linked paths. Cosmetic errors do not gate Maple or updates. Historical launcher/uninstaller PE resources themselves remain unchanged.

Bump the independent Agent workspace to 0.0.13 for the next signed release and the 0.0.12-to-0.0.13 Windows updater test. Exactly nine version fields change; the two dependency edges use versions already present in the lockfile. No updater archive layout, signature/admission policy, release workflow or signing environment changes.

The existing Windows packaging smoke now observes the installer's actual auto-launched GUI and real shortcut metadata migration. Original signature, ACL, exact inventory, ACP, first-render, pinned pointer/repeat install, host-stop and state-preserving uninstall checks remain. Final executable ICON1 images must exactly match the selected canonical profile artwork.

Validation:

  • Normal repository hooks passed on the complete product patch, including just ci-lint and just ci-test (452 seconds). Subsequent Windows-only fixture corrections reuse those Mac gates; current pinned formatting and all 85 Windows packaging Python tests pass. No additional full Mac suite was run for the fixture transport.
  • PE reader: 17 passed, one existing native-Windows test skipped on macOS. Both actual profile RC resources were linked into nonexecuted x64 PE fixtures; canonical icon bytes passed and the opposite profile was rejected.
  • Native PR run 40644769938 passed all seven selected lanes and actual ci-ok. Windows Clippy passes; all six shell cases passed within 94 updater unit tests and five bootstrap integration tests.
  • Package run 40644796822 compiled, packaged and completed first installation/CLI/ACP, then timed out in the new PowerShell/WScript fixture seed before GUI launch. The precise blocked WScript operation was unobservable; logs are preserved. This is not evidence that auto-launch or migration passed.
  • Replace that automation layer with the direct native IShellLinkW/IPersistFile API in an isolated Python child, retaining the 20-second/deadline, 8 KiB output and exact-child cleanup bounds. Fixed-phase checkpoints identify a future blocked operation. No timeout increase, retry or assertion relaxation.
  • Add a fast native Rust↔Python behavioral case to the existing updater suite: actual direct helper read/seed, independently inspected shortcut properties, real icon refresh and unchanged malformed/foreign/argument links. It runs before another expensive package rehearsal.
  • Fast native run 40648744293 caught the new helper comparing shortcut target strings, while the app already canonicalizes admitted target paths. The ownership check refused before any seed write; its exact raw/expected pair was not logged, so 8.3 expansion is a hypothesis. All six previous shell cases, 94 other updater unit tests and five bootstrap tests passed; the other six PR lanes passed. No installer rebuild was dispatched on that failed source.
  • Commit f8f4832c makes only the fixture compare ordinary local files after reparse checks and strict canonicalization. It retains empty arguments and raw metadata, rejects foreign canonical paths and same-file hardlink aliases, and adds bounded target diagnostics. The native regression tests raw/canonical/short expected paths through the same public Python API without skipping, retrying or increasing timeouts. Production Rust is unchanged.
  • Current-head PR run 40650706251 passed all seven default lanes and its actual ci-ok on f8f4832c. All seven native shell/helper cases passed within 95 updater units + five bootstrap tests, with zero failures or ignored tests. The native regression exercises the actual direct Python COM helper and aliases/foreign hardlink/property preservation.
  • After that native success, exact-head Windows package smoke 40651632592 passed. Its actual unsigned Dev build completed the positive first/repeat silent install, signed-out ACP, GUI first render, both shortcut-icon migrations, real interactive NSIS Install/Close auto-launch, stable bootstrap/pointer preservation, host stop and state-preserving uninstall. Final PE icon bytes and installed payload inventory were verified. This is unsigned Dev installation proof; signed production verification still follows the authorized master merge.
  • Independent source, raw COM ABI and fixture lifetime reviews found no concrete blocker. No new resolved dependency versions, workflow, lane or signing policy changes.

The normal PR plan selects Windows Clippy and the native updater suite directly from the changed paths. Both its actual ci-ok and the separately selected exact-head Windows package smoke must pass; a subset dispatch verdict does not replace PR CI. Signed production packaging and downloaded verification follow on the actual master producer after an authorized merge. No signed version-to-version update is claimed before the user's updater test.

@AnthonyRonning
AnthonyRonning merged commit 26fc5e6 into master Oct 28, 2026
40 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-winpolish-maple branch October 28, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant