WP-3a: CaptureRegion geometry + Carbon HotkeyCenter #1

Merged
kua-agent merged 1 commits from wp3a/region-hotkey-20260831 into feat/shotdeck-20260830 2026-08-31 11:01:09 +00:00
Member

Implements SPEC-A2a-capture.md WP-3a section (run shotdeck-20260830, rev 2).

What changed: Sources/ShotdeckCore/Capture/CaptureRegion.swift (AppKit→CG conversion with injectable primaryHeight, isStillValid, Codable, defaultsKey), Sources/ShotdeckCore/Capture/HotkeyCenter.swift (Carbon RegisterEventHotKey, dispatch-table pattern, register returns false on non-noErr), Tests/ShotdeckCoreTests/CaptureRegionTests.swift (GEO-1..8 incl. two secondary-display cases, HK cases). 3 files, +344.

Gates: builder ran swift build && swift test in the worktree (builder claim — independent verify pending: Codex acceptance tests TEST-WP-3a + agy verifier run next). Spec review REVIEW-GLM-A2a: BLOCKERS: 0.

NOT runtime-verified: live hotkey firing needs a GUI session — capped at agent_tested until Ben drives the signed app.

🤖 Generated with Claude Code

Implements SPEC-A2a-capture.md WP-3a section (run shotdeck-20260830, rev 2). What changed: `Sources/ShotdeckCore/Capture/CaptureRegion.swift` (AppKit→CG conversion with injectable primaryHeight, isStillValid, Codable, defaultsKey), `Sources/ShotdeckCore/Capture/HotkeyCenter.swift` (Carbon RegisterEventHotKey, dispatch-table pattern, register returns false on non-noErr), `Tests/ShotdeckCoreTests/CaptureRegionTests.swift` (GEO-1..8 incl. two secondary-display cases, HK cases). 3 files, +344. Gates: builder ran `swift build && swift test` in the worktree (builder claim — independent verify pending: Codex acceptance tests TEST-WP-3a + agy verifier run next). Spec review REVIEW-GLM-A2a: BLOCKERS: 0. NOT runtime-verified: live hotkey firing needs a GUI session — capped at agent_tested until Ben drives the signed app. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kua-agent added 1 commit 2026-08-31 10:41:00 +00:00
kua-agent merged commit 7379e4fbd7 into feat/shotdeck-20260830 2026-08-31 11:01:09 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmd-it/shotdeck#1