mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 02:29:33 +01:00
RC3's lid path went dark on the real MacBook without a word: it waited for CBClamshellState, gave up after two tries, and wrote ClamshellUpdate 1 back on every failed proof, and none of its silent paths left a trace without a Terminal launch. Now, while the lid sensor (AppleClamshellState) says closed, the built-in display is off and the Mac is on its power adapter, the logo is told the lid is open (and each keyboard that it is closed) at the start of every cycle, with no tries and no give-up: monotone, so nothing is toggled in between. With no other display on the display sleeps, which also keeps the logo dark, so if the first rise does not move it the logo is told the display woke (DisplayPowerStateEvent 2); DidSleep is written back at the end only if that was sent. The end of a blink, and the marker recovery, still put the logo back to dark as a closed lid has it. What the closed lid did last is a line in the View menu, under Apple Logo Blink Styles: "Lid Closed: blinking", "blinking (display told awake)", "stayed dark, macOS keeps the logo off", or why it was not tried (on battery, no keyboard to keep dark, no lid sensor), with the time. The child writes it to logo-lid next to desktop.json, with the readings on a second line; the app reads it every two seconds. The battery and keyboard gates stay: the lid helper only holds on the adapter, and a keyboard told the lid is open would light under it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>