Follow-up: align Codex theme defaults and prevent terminal surface bleed

Merged
AU
3mo ago
+72-25

Follow-up to #12210. Fresh installs now use Catppuccin Latte/Mocha for adaptive terminal colors. Terminal surfaces remain clipped to their panes during portal resizing and rebinding, and their dimensions come from the actual scroll viewport, including space reserved for a legacy scrollbar. Existing user Ghostty settings retain precedence.

Verification also corrected an existing scrollback test fixture to provide the authoritative scrollbar snapshot required by the current input path. Its original assertions remain intact; this is a test-only adjustment.

Validation:

  • Tagged build succeeded and installed for pushed HEAD 0df0b5b6e5.
  • Xcode Release package test run: 312 tests in 55 suites passed.
  • Built app bundles both Catppuccin palettes, byte-identical to the checked-in resources.
  • Fleet runtime check: three terminals with a focused browser survived 12 window resizes and workspace switching; terminal output and live geometry remained intact. Before/after screenshots show containment and full inactive-pane contrast.
  • Final macOS 15 GhosttySurfaceOverlayTests run: https://github.com/manaflow-ai/cmux/actions/runs/34558113554 (pending).
  • Test wiring, package-lock policy, and whitespace checks passed. Localization audit found no new user-facing strings.

Production requires the normal macOS app release. No backend deployment, database migration, secret, or feature-flag change is needed. Managed defaults apply only when adaptive defaults are enabled and the user's effective Ghostty configuration has no directives.