rdmpw3265m-changelog-20260905-0125-xentropy-dark-mode-fleet-rollout
rdmpw3265m-changelog-20260905-0125-xentropy-dark-mode-fleet-rollout
Dynamic appearance and dark mode semantic contrast fix, universal2 binary build, and verified fleet rollout across all 6 macOS hosts.
Summary
Resolved visual defect in XEntropy where container backgrounds and toolbars rendered all-white in dark mode. Modern workbench views now dynamically adapt to system and user theme settings with semantic dark surfaces and high-contrast typography/controls. Built Universal2 release package (x86_64 arm64) signed under Apple Development Team ID ZU2882L4HT, verified canary on canonical hub rdmsm4x, and completed rolling rollout across all 6 fleet machines.
Scope & Hosts Touched
- Canonical Development Hub: rdmsm4x
- Worker Fleet: rdmbair15m5, rdmpw3275m, rdmbair13m5, jdmbair13m5, rdmpw3265m
Files Touched
In repository /Users/richh/dev/apps/Xentropy:
- app/Sources/XEntropy/UIConfiguration.swift: Added dynamic semantic color tokens for background, card background, toolbar, border, and secondary backgrounds adapting dynamically to dark/light appearances.
- app/Sources/XEntropy/RootSplitView.swift: Replaced static white backgrounds with semantic theme dynamic container surfaces and toolbars.
- app/Sources/XEntropy/APIKeyTableView.swift: Updated table view cell and card backgrounds to use dynamic semantic colors.
- app/Sources/XEntropy/CommandExplorerView.swift: Updated card and container backgrounds to dynamic semantic theme tokens.
- app/Tests/XEntropyTests/UITemplateTests.swift: Added unit test coverage validating light and dark appearance dynamic color distinction.
- docs/PRD-DARK-MODE-CONTRAST.md: Documented requirements, contrast ratios, and color token specifications.
- docs/VISUAL-VERIFICATION.md: Recorded visual inspection logs and live screen captures.
Verification Evidence
- Automated Unit Tests:
- swift test --package-path app --enable-xctest
- Result: 100% tests passed (0 failures).
- Binary Architecture & Codesign:
- lipo -archs .../XEntropy: x86_64 arm64 (Universal2).
- codesign -dvv .../XEntropy.app: Team ID ZU2882L4HT, Identifier app.xentropy.XEntropy.
- Local Desktop Visual Verification:
- Live macOS window captured via Quartz window ID 2914.
- Dark mode: verified semantic dark background, high-contrast typography, no blinding white boxes.
- Light mode: dynamic toggle via menu item verified seamless switch to clean light theme without relaunch.
- Fleet Canary & Rolling Deployment:
- Canonical commit: b1309354b803b125e64ffec3f50e33ee8b242840
- Staged release package: ~/Library/Application Support/XEntropy/ReleaseArtifacts/b1309354b803b125e64ffec3f50e33ee8b242840/artifact.tar
- Canary verification on rdmsm4x: scripts/verify_xentropy_fleet_canary_v1.0.zsh --host rdmsm4x -> ARTIFACT_PASS
- Fleet rollout: scripts/install_xentropy_local_instance_v1.0.zsh --all -> installed_launch_pending=6, failed=0
- Fleet-wide verification: scripts/verify_xentropy_fleet_canary_v1.0.zsh --all -> ARTIFACT_SUMMARY passed=6, failed=0 (100% success across all 6 Macs).
Backup Locations & Rollback
- Rollback snapshots preserved on all hosts at: ~/Library/Application Support/XEntropy/DeploymentRollback/
- Prior commit: 379bd16c6848613832ec246d1a6bc81aac35e6fa
- To rollback on any host: scripts/install_xentropy_local_instance_v1.0.zsh --rollback
Outstanding Actions
None. Fix is committed to main on canonical hub rdmsm4x and deployed live to all 6 fleet machines.