Cold Turkey lock mechanics — macOS kiosk factsheet (probe) #159

Closed
opened 2026-11-04 11:01:58 +01:00 by AlexKucera · 1 comment
Owner

Question

What EXACTLY does macOS enforce for an app-kiosk lock, and what is the minimal correct recipe for Museion? Probe on this machine (macOS 27, latest Xcode) — write a tiny AppKit probe in the scratch dir, run it, read back NSApp.currentPresentationOptions, and report observed behavior, not docs alone:

  • Which NSApplicationPresentationOptions hold and under what conditions (fullscreen? key window?): disableProcessSwitching (⌘Tab), disableForceQuit, disableSessionTermination (logout/restart), hideMenuBar, hideDock — and the autoHide fallbacks.
  • Escape routes to enumerate: ⌘Q (does applicationShouldTerminate refusal cover it, or must the menu item die?), ⌘W close, ⌘M minimize, Mission Control / Spaces swipes, hot corners, Dock reachability, notification-center pull, Stage Manager, force-quit via the login window.
  • Fullscreen mechanics for a SwiftUI-hosted NSWindow: toggleFullScreen vs enterFullScreenMode, when to set/clear presentationOptions around the transition (pairing, auto-clear on exit), and how fullscreen composes with the focus-mode recession chrome (#87 — WorkspaceView/PostEditorView swap surfaces).
  • Typing continuity: can the window leave fullscreen WITHOUT stealing first responder from the NSTextView (map Notes hard AC)? If not clean, name the deferral mechanism (defer geometry exit to typing idle — how to detect: NSTextView event timing vs timer).
  • Sanity: word-goal blocks have no clock, time-goal blocks do — nothing to research there; the readout is the prototype ticket's.

Deliverable: factsheet — exact option set + minimal Swift entry shape, every claim probe-backed. Post as the resolution comment on this ticket; the docs/research/cold-turkey-lock-mechanics.md file lands with the build's authorized commits.

Constraints: app-kiosk ONLY (Screen Time / Family Controls are map-out-of-scope). No privileged helpers. ADR-0009 (no sandbox) holds. Standing rule: no commits/pushes — probe artifacts stay in the scratch dir.

Part of #158

[Generated by AI]

## Question What EXACTLY does macOS enforce for an app-kiosk lock, and what is the minimal correct recipe for Museion? Probe on this machine (macOS 27, latest Xcode) — write a tiny AppKit probe in the scratch dir, run it, read back `NSApp.currentPresentationOptions`, and report observed behavior, not docs alone: - Which `NSApplicationPresentationOptions` hold and under what conditions (fullscreen? key window?): `disableProcessSwitching` (⌘Tab), `disableForceQuit`, `disableSessionTermination` (logout/restart), `hideMenuBar`, `hideDock` — and the autoHide fallbacks. - Escape routes to enumerate: ⌘Q (does `applicationShouldTerminate` refusal cover it, or must the menu item die?), ⌘W close, ⌘M minimize, Mission Control / Spaces swipes, hot corners, Dock reachability, notification-center pull, Stage Manager, force-quit via the login window. - Fullscreen mechanics for a SwiftUI-hosted NSWindow: `toggleFullScreen` vs `enterFullScreenMode`, when to set/clear presentationOptions around the transition (pairing, auto-clear on exit), and how fullscreen composes with the focus-mode recession chrome (#87 — WorkspaceView/PostEditorView swap surfaces). - **Typing continuity**: can the window leave fullscreen WITHOUT stealing first responder from the NSTextView (map Notes hard AC)? If not clean, name the deferral mechanism (defer geometry exit to typing idle — how to detect: NSTextView event timing vs timer). - Sanity: word-goal blocks have no clock, time-goal blocks do — nothing to research there; the readout is the prototype ticket's. Deliverable: factsheet — exact option set + minimal Swift entry shape, every claim probe-backed. Post as the resolution comment on this ticket; the `docs/research/cold-turkey-lock-mechanics.md` file lands with the build's authorized commits. Constraints: app-kiosk ONLY (Screen Time / Family Controls are map-out-of-scope). No privileged helpers. ADR-0009 (no sandbox) holds. Standing rule: no commits/pushes — probe artifacts stay in the scratch dir. Part of #158 [Generated by AI]
AlexKucera added the wayfinder:researchwayfinder:research labels 2026-11-04 11:01:58 +01:00
AlexKucera self-assigned this 2026-11-04 11:02:55 +01:00
Author
Owner

Cold Turkey lock mechanics — macOS kiosk factsheet (probe-backed)

Probed live on this machine: macOS 27.0.1, Xcode 27 / MacOSX27.2 SDK (kioskprobe.swift, scratch dir, windowed + fullscreen AppKit probe; raw phases quoted in §7). Every claim carries a label: [probe] = observed on this machine, [docs] = Apple documentation/header, [practice] = community-consensus behavior, verify live.

1. Verdict — the exact recipe

@MainActor
enum WritingLock {
    static let lockOptions: NSApplication.PresentationOptions = [
        .hideDock,                  // Dock entirely unavailable (rider bit — enables the rest)
        .hideMenuBar,               // menu bar entirely unavailable (requires .hideDock)
        .disableProcessSwitching,   // ⌘Tab, Mission Control, Spaces, App Exposé
        .disableForceQuit,          // ⌥⌘⎋ force-quit panel
        .disableSessionTermination, // Restart / Shut Down / Log Out + power-key panel
        .disableHideApplication,    // ⌘H (key equivalent works even with the menu bar hidden)
    ]

    static func enter(_ window: NSWindow?) {
        NSApp.activate(ignoringOtherApps: true) // options only take effect while frontmost
        NSApp.presentationOptions = lockOptions // set BEFORE the toggle; invalid combos THROW (§5)
        window?.toggleFullScreen(nil)
    }

    static func exit(_ window: NSWindow?) {
        window?.toggleFullScreen(nil)            // [probe] options auto-cleared on exit (macOS 27)
    }                                            // belt for 26.x: NSApp.presentationOptions = [] in windowDidExitFullScreen
}
  • Get the window from SwiftUI via NSApp.keyWindow — toggleFullScreen is the right primitive (see §4 for why enterFullScreenMode is rejected). [probe]
  • ⌘Q/⌘W coverage is delegate-level, not menu-surgery: applicationShouldTerminate → .terminateCancel, windowShouldClose(_:) → false. No menu items need to die. [probe]

Optional hardening bits (all valid alongside the set, all held bit-exact [probe]): .disableAppleMenu (whole Apple menu dead — only matters during transition flashes), .disableMenuBarTransparency, and macOS 27+ only: .disableScreenCornerInteractions (if #available(macOS 27, *)) — the official Hot Corners kill switch; on macOS 26.x hot corners are only suppressed in practice by disableProcessSwitching [practice].

Do NOT use autoHide variants for the lock: autoHideMenuBar accepts either dock bit, but hideMenuBar strictly requires hideDock [probe, §5]. The lock wants hide-everything; autoHide exists for peek-style apps.

Do not reach for .fullScreenAuxiliary or .disableHotKeys — they no longer exist in the macOS 27 SDK (§5).

2. Which option holds under which condition

  • No fullscreen requirement. The full 5-bit combo holds completely in a plain windowed app (A8 below). The only hard coupling is the dock rider: every disable* bit and both menu-bar bits require .hideDock/.autoHideDock, enforced by an ObjC exception at set time — in Swift that is a process abort, not a degradation. [probe]
  • Options take effect only while the app is frontmost; a non-key app's readback reflects whatever app is active. [docs, probe]
  • In native fullscreen the effective set additionally reports the read-only state bit .fullScreen. [probe]
  • The setter never partially accepts: valid combos read back bit-exact, windowed and fullscreen alike. [probe]

3. Every escape route

Route Mechanism Status Label
⌘Q / Quit menu / AppleEvent quit applicationShouldTerminate → .terminateCancel (all quit paths route through terminate:) covered — probe called NSApp.terminate(nil), delegate refused, app kept running [probe]
⌘W close windowShouldClose → false — probe: performClose refused, window stayed on screen covered [probe]
⌘M minimize fullscreen windows refuse miniaturization (⌘M sends the same miniaturize:); probe: performMiniaturize in fullscreen → isMiniaturized false, windowed → true covered while fullscreen; windowed arm-phase minimize stays possible (fine) [probe]
⌘H hide app .disableHideApplication covered [probe: bit held]
⌘Tab / app switcher .disableProcessSwitching covered [docs; bit-held probe]
Mission Control / Spaces swipes / App Exposé same bit covered [docs/practice]
Hot corners .disableScreenCornerInteractions (macOS 27 release note: "…which you can use to disable Hot Corners"); ≤26: suppressed in practice by disableProcessSwitching + hideDock covered on 27; verify live on 26 [docs 27 / practice 26]
Dock .hideDock — "Dock is entirely unavailable" covered [header + probe]
⌥⌘⎋ force-quit panel .disableForceQuit — "Cmd+Opt+Esc panel is disabled" covered [header]
Apple menu Restart/Shut Down/Log Out, power-key panel .disableSessionTermination — "PowerKey panel and Restart/Shut Down/Log Out disabled" covered [header]
Stage Manager no dedicated bit; switcher unreachable with Dock hidden + process switching off covered in practice — verify in prototype [practice]
Notification Center pull no presentation option exists open (accepted: self-imposed lock, no helpers per map) [docs-gap]
Spotlight ⌘Space no presentation option documents it open — verify live in prototype; if open, accepted for v1 [docs-gap]
Logout/restart at login window, hardware power physical acceptable by design (map: the block dies quietly) —

Ranked: bug-if-open = anything in the covered rows found live during the prototype ticket; acceptable-open = physical login-window/power, and (pending that live check) Notification Center + Spotlight + Stage Manager.

4. Fullscreen mechanics + typing continuity

Pairing (enter): assign options, then toggleFullScreen(nil). Probe C: set-before-toggle held bit-exact after the space settled. Ordering is forgiving since the combo also holds windowed (A8) — but set-then-toggle is the clean order. [probe]

Pairing (exit): toggleFullScreen(nil) alone. Probe E2: after the fullscreen exit, presentationOptions read back [] — auto-cleared on macOS 27. Don't rely on it: clear explicitly in windowDidExitFullScreen (idempotent, guards 26.x where this was not observed). [probe, one observation — flagged]

Transition caution: don't churn options mid-transition. Assignments ~0.4 s after a toggle read back stale/merged for up to ~1 s (D1/D3 anomaly). Set once; verify via NSApp.currentSystemPresentationOptions after didEnterFullScreen settles. [probe]

Typing continuity — CLEAN, no deferral needed [probe]: exiting fullscreen with the full combo active preserved first-responder object identity (same NSTextView), and the window stayed key (fs=false key=true resp=textView, identity check true). Mechanism: toggleFullScreen is a window-level space/geometry transition — the responder chain and the SwiftUI content hierarchy are untouched. The known remount hazard (#87: focus toggle remounts MentorPaneView/PostsLibraryColumn) is the focus toggle's own app code, not fullscreen; the lock's enter/exit adds no remount (probe: contentView + responder identity held throughout).

Rejected: NSView.enterFullScreenMode — legacy fake fullscreen: window does not gain the fullscreen style mask, first responder is stolen at entry (probe L2: responder became the bare NSWindow), and exitFullScreenMode trapped the probe process on macOS 27. [probe]

If a build revision ever introduces responder churn, the named deferral mechanism: timestamp keyboard events via an NSEvent local monitor for .keyDown (or an NSTextView keyDown override) into a lastKeystroke: Date; fire the geometry exit only when Date().timeIntervalSince(lastKeystroke) > ~1 s, re-arming on each keystroke — event timestamps, not a polling timer; textDidChange also fires per edit but keyDown is the direct signal.

5. macOS 27 API changes (this SDK; compile + header evidence)

  • Readback renamed: NSApp.currentPresentationOptions → NSApp.currentSystemPresentationOptions — the old name fails to compile against MacOSX27.2. Any Museion code or doc using the old name must move. [probe: compile error]
  • Removed from the enum: .fullScreenAuxiliary and .disableHotKeys — absent from NSApplication.h, compile errors. Apple is narrowing kiosk API, not widening it. [probe: compile error]
  • New: .disableScreenCornerInteractions (bit 15, macos(27.0)), requires .hideDock or .autoHideDock. Alone it is silently dropped — setter returns, no exception, stored options read [] (contrast the disable* family, which throws). [probe]
  • Setter exceptions, exact reasons [probe]:
    • hideDock + autoHideDock: "Both NSApplicationPresentationHideDock and NSApplicationPresentationAutoHideDock were specified; only one is allowed"
    • hideMenuBar without hideDock: "NSApplicationPresentationHideMenuBar specified without NSApplicationPresentationHideDock" — note hideMenuBar demands HIDE specifically; autoHideMenuBar accepts either dock bit
    • any of disableForceQuit/disableMenuBarTransparency/disableProcessSwitching/disableSessionTermination without a dock bit: "One of … was specified without either NSApplicationPresentationHideDock or NSApplicationPresentationAutoHideDock"
    • Swift cannot catch these ObjC exceptions → an invalid combo is a crash. Build the option set only from the validated recipe.

6. Sanity line (ticket's own)

Word-goal blocks carry no clock; time-goal blocks do — nothing to research; the readout is the prototype ticket's.

7. Evidence — selected probe output (kioskprobe, macOS 27.0.1 / SDK 27.2)

[A0 baseline windowed] fs=false key=true resp=textView          requested: [] effective: []
[A8 FULL COMBO windowed] fs=false key=true resp=textView
    requested|effective: hideDock|hideMenuBar|disableProcessSwitching|disableForceQuit|disableSessionTermination
[A9 hideDock+cornerInteractions(macOS27)]  requested|effective: hideDock|disableScreenCornerInteractions
[C combo SET BEFORE toggleFullScreen (after enter)] fs=true key=true resp=textView
    effective: hideDock|hideMenuBar|disableProcessSwitching|disableForceQuit|disableSessionTermination|fullScreen(state-bit)
[E2 after exitFullscreen] fs=false key=true resp=textView  requested: [] effective: []
    responder identity same: true
applicationShouldTerminate called -> REFUSED        (app survived; run continued to exit=0)
windowShouldClose called -> REFUSED                 (F2 window still on screen: true)
F3-FS performMiniaturize in FULLSCREEN — miniaturized: false
F3-W performMiniaturize WINDOWED — miniaturized: true
[L2 inside legacy fullscreen] fs=false key=false resp=Optional(<NSWindow …>)   ← responder stolen
corneralone: setter accepted (no exception), requested: []                      ← silent drop
dockpair / menubaralone / disable*-without-dock: NSInvalidArgumentException, process aborted

Probe artifacts: ~/.hermes/cache/scratch/kioskprobe.swift (+ binary). The repo copy lands as docs/research/cold-turkey-lock-mechanics.md with the build's authorized commits.

[Generated by AI]

# Cold Turkey lock mechanics — macOS kiosk factsheet (probe-backed) Probed live on this machine: **macOS 27.0.1, Xcode 27 / MacOSX27.2 SDK** (`kioskprobe.swift`, scratch dir, windowed + fullscreen AppKit probe; raw phases quoted in §7). Every claim carries a label: **[probe]** = observed on this machine, **[docs]** = Apple documentation/header, **[practice]** = community-consensus behavior, verify live. ## 1. Verdict — the exact recipe ```swift @MainActor enum WritingLock { static let lockOptions: NSApplication.PresentationOptions = [ .hideDock, // Dock entirely unavailable (rider bit — enables the rest) .hideMenuBar, // menu bar entirely unavailable (requires .hideDock) .disableProcessSwitching, // ⌘Tab, Mission Control, Spaces, App Exposé .disableForceQuit, // ⌥⌘⎋ force-quit panel .disableSessionTermination, // Restart / Shut Down / Log Out + power-key panel .disableHideApplication, // ⌘H (key equivalent works even with the menu bar hidden) ] static func enter(_ window: NSWindow?) { NSApp.activate(ignoringOtherApps: true) // options only take effect while frontmost NSApp.presentationOptions = lockOptions // set BEFORE the toggle; invalid combos THROW (§5) window?.toggleFullScreen(nil) } static func exit(_ window: NSWindow?) { window?.toggleFullScreen(nil) // [probe] options auto-cleared on exit (macOS 27) } // belt for 26.x: NSApp.presentationOptions = [] in windowDidExitFullScreen } ``` - Get the window from SwiftUI via `NSApp.keyWindow` — `toggleFullScreen` is the right primitive (see §4 for why `enterFullScreenMode` is rejected). **[probe]** - ⌘Q/⌘W coverage is **delegate-level**, not menu-surgery: `applicationShouldTerminate → .terminateCancel`, `windowShouldClose(_:) → false`. No menu items need to die. **[probe]** Optional hardening bits (all valid alongside the set, all held bit-exact **[probe]**): `.disableAppleMenu` (whole Apple menu dead — only matters during transition flashes), `.disableMenuBarTransparency`, and **macOS 27+ only**: `.disableScreenCornerInteractions` (`if #available(macOS 27, *)`) — the official Hot Corners kill switch; on macOS 26.x hot corners are only suppressed in practice by `disableProcessSwitching` **[practice]**. Do NOT use autoHide variants for the lock: `autoHideMenuBar` accepts either dock bit, but `hideMenuBar` strictly requires `hideDock` **[probe, §5]**. The lock wants hide-everything; autoHide exists for peek-style apps. **Do not reach for `.fullScreenAuxiliary` or `.disableHotKeys` — they no longer exist in the macOS 27 SDK** (§5). ## 2. Which option holds under which condition - **No fullscreen requirement.** The full 5-bit combo holds completely in a plain windowed app (A8 below). The only hard coupling is the **dock rider**: every `disable*` bit and both menu-bar bits require `.hideDock`/`.autoHideDock`, enforced by an ObjC exception at set time — in Swift that is a process abort, not a degradation. **[probe]** - Options take effect only while the app is **frontmost**; a non-key app's readback reflects whatever app is active. **[docs, probe]** - In native fullscreen the effective set additionally reports the read-only state bit `.fullScreen`. **[probe]** - The setter never partially accepts: valid combos read back bit-exact, windowed and fullscreen alike. **[probe]** ## 3. Every escape route | Route | Mechanism | Status | Label | |---|---|---|---| | ⌘Q / Quit menu / AppleEvent quit | `applicationShouldTerminate → .terminateCancel` (all quit paths route through `terminate:`) | covered — probe called `NSApp.terminate(nil)`, delegate refused, app kept running | [probe] | | ⌘W close | `windowShouldClose → false` — probe: `performClose` refused, window stayed on screen | covered | [probe] | | ⌘M minimize | fullscreen windows refuse miniaturization (⌘M sends the same `miniaturize:`); probe: `performMiniaturize` in fullscreen → `isMiniaturized false`, windowed → `true` | covered while fullscreen; windowed arm-phase minimize stays possible (fine) | [probe] | | ⌘H hide app | `.disableHideApplication` | covered | [probe: bit held] | | ⌘Tab / app switcher | `.disableProcessSwitching` | covered | [docs; bit-held probe] | | Mission Control / Spaces swipes / App Exposé | same bit | covered | [docs/practice] | | Hot corners | `.disableScreenCornerInteractions` (macOS 27 release note: "…which you can use to disable Hot Corners"); ≤26: suppressed in practice by `disableProcessSwitching` + `hideDock` | covered on 27; verify live on 26 | [docs 27 / practice 26] | | Dock | `.hideDock` — "Dock is entirely unavailable" | covered | [header + probe] | | ⌥⌘⎋ force-quit panel | `.disableForceQuit` — "Cmd+Opt+Esc panel is disabled" | covered | [header] | | Apple menu Restart/Shut Down/Log Out, power-key panel | `.disableSessionTermination` — "PowerKey panel and Restart/Shut Down/Log Out disabled" | covered | [header] | | Stage Manager | no dedicated bit; switcher unreachable with Dock hidden + process switching off | covered in practice — verify in prototype | [practice] | | Notification Center pull | no presentation option exists | **open** (accepted: self-imposed lock, no helpers per map) | [docs-gap] | | Spotlight ⌘Space | no presentation option documents it | **open — verify live in prototype**; if open, accepted for v1 | [docs-gap] | | Logout/restart at login window, hardware power | physical | **acceptable by design** (map: the block dies quietly) | — | Ranked: bug-if-open = anything in the covered rows found live during the prototype ticket; acceptable-open = physical login-window/power, and (pending that live check) Notification Center + Spotlight + Stage Manager. ## 4. Fullscreen mechanics + typing continuity **Pairing (enter):** assign options, then `toggleFullScreen(nil)`. Probe C: set-before-toggle held bit-exact after the space settled. Ordering is forgiving since the combo also holds windowed (A8) — but set-then-toggle is the clean order. **[probe]** **Pairing (exit):** `toggleFullScreen(nil)` alone. Probe E2: after the fullscreen exit, `presentationOptions` read back `[]` — **auto-cleared on macOS 27**. Don't rely on it: clear explicitly in `windowDidExitFullScreen` (idempotent, guards 26.x where this was not observed). **[probe, one observation — flagged]** **Transition caution:** don't churn options mid-transition. Assignments ~0.4 s after a toggle read back stale/merged for up to ~1 s (D1/D3 anomaly). Set once; verify via `NSApp.currentSystemPresentationOptions` after `didEnterFullScreen` settles. **[probe]** **Typing continuity — CLEAN, no deferral needed [probe]:** exiting fullscreen with the full combo active preserved first-responder **object identity** (same NSTextView), and the window stayed key (`fs=false key=true resp=textView`, identity check `true`). Mechanism: `toggleFullScreen` is a window-level space/geometry transition — the responder chain and the SwiftUI content hierarchy are untouched. The known remount hazard (#87: focus toggle remounts MentorPaneView/PostsLibraryColumn) is the focus toggle's own app code, not fullscreen; the lock's enter/exit adds no remount (probe: contentView + responder identity held throughout). **Rejected: `NSView.enterFullScreenMode`** — legacy fake fullscreen: window does not gain the fullscreen style mask, **first responder is stolen at entry** (probe L2: responder became the bare NSWindow), and `exitFullScreenMode` trapped the probe process on macOS 27. **[probe]** **If a build revision ever introduces responder churn**, the named deferral mechanism: timestamp keyboard events via an `NSEvent` local monitor for `.keyDown` (or an NSTextView `keyDown` override) into a `lastKeystroke: Date`; fire the geometry exit only when `Date().timeIntervalSince(lastKeystroke) > ~1 s`, re-arming on each keystroke — event timestamps, not a polling timer; `textDidChange` also fires per edit but keyDown is the direct signal. ## 5. macOS 27 API changes (this SDK; compile + header evidence) - **Readback renamed:** `NSApp.currentPresentationOptions` → **`NSApp.currentSystemPresentationOptions`** — the old name fails to compile against MacOSX27.2. Any Museion code or doc using the old name must move. **[probe: compile error]** - **Removed from the enum:** `.fullScreenAuxiliary` and `.disableHotKeys` — absent from `NSApplication.h`, compile errors. Apple is narrowing kiosk API, not widening it. **[probe: compile error]** - **New:** `.disableScreenCornerInteractions` (bit 15, `macos(27.0)`), requires `.hideDock` or `.autoHideDock`. Alone it is **silently dropped** — setter returns, no exception, stored options read `[]` (contrast the `disable*` family, which throws). **[probe]** - **Setter exceptions, exact reasons [probe]:** - `hideDock` + `autoHideDock`: *"Both NSApplicationPresentationHideDock and NSApplicationPresentationAutoHideDock were specified; only one is allowed"* - `hideMenuBar` without `hideDock`: *"NSApplicationPresentationHideMenuBar specified without NSApplicationPresentationHideDock"* — note `hideMenuBar` demands HIDE specifically; `autoHideMenuBar` accepts either dock bit - any of `disableForceQuit`/`disableMenuBarTransparency`/`disableProcessSwitching`/`disableSessionTermination` without a dock bit: *"One of … was specified without either NSApplicationPresentationHideDock or NSApplicationPresentationAutoHideDock"* - Swift cannot catch these ObjC exceptions → **an invalid combo is a crash.** Build the option set only from the validated recipe. ## 6. Sanity line (ticket's own) Word-goal blocks carry no clock; time-goal blocks do — nothing to research; the readout is the prototype ticket's. ## 7. Evidence — selected probe output (kioskprobe, macOS 27.0.1 / SDK 27.2) ``` [A0 baseline windowed] fs=false key=true resp=textView requested: [] effective: [] [A8 FULL COMBO windowed] fs=false key=true resp=textView requested|effective: hideDock|hideMenuBar|disableProcessSwitching|disableForceQuit|disableSessionTermination [A9 hideDock+cornerInteractions(macOS27)] requested|effective: hideDock|disableScreenCornerInteractions [C combo SET BEFORE toggleFullScreen (after enter)] fs=true key=true resp=textView effective: hideDock|hideMenuBar|disableProcessSwitching|disableForceQuit|disableSessionTermination|fullScreen(state-bit) [E2 after exitFullscreen] fs=false key=true resp=textView requested: [] effective: [] responder identity same: true applicationShouldTerminate called -> REFUSED (app survived; run continued to exit=0) windowShouldClose called -> REFUSED (F2 window still on screen: true) F3-FS performMiniaturize in FULLSCREEN — miniaturized: false F3-W performMiniaturize WINDOWED — miniaturized: true [L2 inside legacy fullscreen] fs=false key=false resp=Optional(<NSWindow …>) ← responder stolen corneralone: setter accepted (no exception), requested: [] ← silent drop dockpair / menubaralone / disable*-without-dock: NSInvalidArgumentException, process aborted ``` Probe artifacts: `~/.hermes/cache/scratch/kioskprobe.swift` (+ binary). The repo copy lands as `docs/research/cold-turkey-lock-mechanics.md` with the build's authorized commits. [Generated by AI]
Sign in to join this conversation.