feat(cold-turkey): the writing lock (#162)
CI / ci (push) Canceled after 0s

Wires #161's goal engine and #160's contract into the app: armed
from a corner dot or View ▸ Start Cold Turkey…, enforced by the
macOS app-kiosk (7-option presentation combo + fullscreen, restored
on completion), readout with hairline + near-goal terracotta, and
a completion note fading back into focus. While held: focus exit,
reading, new buffers, ⌘W/⌃⌘F/⌘N refused (key-code-matched monitor
— character matching is layout/Caps-blind; no .closeItem placement
exists), ⌘Q asks once per #163's ruling. Typing continuity holds by
construction — lock ⇒ focus freezes the branch under the editor and
chrome mounts as overlays only. Arm values type directly (1…1000
words / 1…60 min, defaults 250/5). Nothing persists.

Wayfinder map #158 Build S2; suite 620, flip-verified pins.
This commit is contained in:
AlexKucera committed 2026-11-04 15:58:47 +01:00
1 parent 7b6abb5d65
commit a9e199fce4
16 files changed
+1167 -19

No files matched your search

+4
View File
@@ -61,6 +61,10 @@ _Avoid_: trash, cold storage
The rendered presentation of a Piece's text: view-and-select, never editing. Toggled explicitly; clicking the text drops into editing at that spot. Distinct from a Pass, which critiques rather than presents.
_Avoid_: preview, read mode
**Cold Turkey**:
A self-imposed writing lock nested inside Focus: armed from a quiet corner dot (or View ▸ Start Cold Turkey…), enforced by the macOS app-kiosk (fullscreen, no ⌘Tab/⌘Q/⌘W), editor-only, one goal — net new words or minutes. Completion returns quietly to Focus; the block dies with the session, nothing persists. Internal Swift state: `writingLock`.
_Avoid_: blocker, sprint, pomodoro, focus timer
### The Mentor Loop
**Mentor**: