rdmbair15m5-changelog-20260922-0351-feat-20260904-10-ecsui-trueblack-liquidglass-intensity
rdmbair15m5-changelog-20260922-0351-feat-20260904-10-ecsui-trueblack-liquidglass-intensity
Upstreamed RTTy reference implementation of trueBlack
appearance mode and 6-step LiquidGlassIntensity into
ECSUI and ecs0lib, folded duplicate
ECS0ThemeMode into ECS0AppearanceMode, and
verified full consumer sweep.
Scope
- Hosts:
rdmsm4x(canonical source root),rdmbair15m5(local test & working root). - Repositories:
~/dev/lib/ECSUI(commit2903eca)~/dev/lib/ecs0lib(commit8550854)~/dev/apps/AINetNode(commita9ba336)~/dev/apps/updateRoo(commit0a6fc50)~/dev/apps/replicantDB(commit5edcc5f)
Exact Files Touched
~/dev/lib/ECSUI/Sources/ECSUI/ECS0UI.swift~/dev/lib/ECSUI/Tests/ECSUITests/ECSUITests.swift~/dev/lib/ecs0lib/Sources/ECS0UI/ECS0UI.swift~/dev/apps/AINetNode/Sources/AINetNode-app/Theme/LEDTheme.swift~/dev/apps/updateRoo/Sources/updateRoo-app/Theme/LEDTheme.swift~/dev/apps/replicantDB/Sources/replicantDB/ReplicantDBApp.swift
Key Architecture & Implementation Details
- Single Appearance Mode Enum
(
ECS0AppearanceMode):- Added
.trueBlackcase with.darkcolor scheme and non-deferring self-resolution. - Built dual-representation String initialization
(
init?(rawValue:)) accepting canonical (system,light,dark,trueBlack) and legacy raw strings (System Auto,Light Mode,Dark Mode,True Black). - Folded
ECS0ThemeModeas apublic typealias ECS0ThemeMode = ECS0AppearanceMode, maintaining single-enum unity while preserving backward compatibility.
- Added
- 6-Step Liquid Glass Intensity Scale
(
ECS0LiquidGlassIntensity):- Implemented
.off,.low,.medium,.standard("default"),.high,.maximum("max"). - Added
sliderValue(0.0 to 5.0) andnearest(to:)quantization. - Configured
effectScale(0 to 1.72),usesClearGlass(truefor.lowand.medium), andinsetSurfaceScale(0.58 to 1.48). - Added
EnvironmentValues.ecs0LiquidGlassIntensityandecs0LiquidGlassIntensity(_:)view modifier.
- Implemented
- Appearance Profile Configuration Integration:
- Added
glassIntensity: ECS0LiquidGlassIntensitytoECS0AppearanceProfileConfigurationwith default.standard. - Implemented backward-compatible custom
Decodabledecoding so legacy JSON withoutglassIntensitysafely defaults to.standard.
- Added
- Adaptive Liquid Glass View Modifier:
- Updated
ECS0LiquidGlassModifierto accept explicitintensityor consumeEnvironmentValues.ecs0LiquidGlassIntensity. - On macOS 26+, conditionally renders
.glassEffect(.clear, in: shape)for clear glass intensities and.glassEffect(.regular, in: shape)for standard/high/max intensities. - Renders
.background, in: shapewhen reduce transparency is active or intensity is.off. - Fallback material scaling on visionOS and older OS versions.
- Updated
- ECSColorPalette.trueBlack:
- Pure
#000000background cosmic,#0A0D14slate panel, space blue accents, and white text/border tokens.
- Pure
- Consumer Alignments:
AINetNodeandupdateRoo: Added.trueBlackmapping toiconName.replicantDB: Added.trueBlackmapping tolabelandsymbol.
Verification Evidence
ECSUI:swift testpassed 59 tests in 7 suites with 0 failures (including 7 new tests covering trueBlack, 6-step intensity scale, configuration JSON roundtrip, backward compatibility, and single enum typealiases).ecs0lib:swift test --filter M4_PermissionsAndUITestspassed cleanly.AINetNode:swift buildrc=0.updateRoo:swift buildrc=0.SubnetCalculator:swift buildrc=0.XEntropy:swift buildrc=0.replicantDB:swift buildrc=0.AirFleet:swift testpassed 74 tests in 13 suites with 0 failures.RDconfTTY:swift buildrc=0.RTTy:swift test --filter LatencyCorepassed with rc=0.
Git Remotes & Parity
ECSUI: Pushed toorigin,fleet,backup(2903eca).ecs0lib: Pushed toorigin,fleet,backup(8550854).AINetNode: Pushed toorigin,fleet,backup(a9ba336).updateRoo: Pushed toorigin,fleet,backup(0a6fc50).replicantDB: Pushed tofleet,backup(5edcc5f).- Local checkouts on
rdmbair15m5forECSUI,ecs0lib, andreplicantDBfast-forwarded and verified clean.
Rollback & Undo
- To revert library changes:
git -C ~/dev/lib/ECSUI revert 2903ecagit -C ~/dev/lib/ecs0lib revert 8550854 - To revert consumer changes:
git -C ~/dev/apps/AINetNode revert a9ba336git -C ~/dev/apps/updateRoo revert 0a6fc50git -C ~/dev/apps/replicantDB revert 5edcc5f
Outstanding Owner Actions
- None. All changes tested, committed, and pushed across fleet remotes.