MacBook Notch Turned into Claude Code Approval Button
zack40xx · reddit · 2026-07-11
The author transformed the MacBook notch into an Allow/Deny button for Claude Code, solving the issue of tasks hanging when Claude requests permission while the user is away from the window.
Solution
- While awaiting approval, the notch area displays the current session status and allows direct click to allow or deny
- Uses a PreToolUse hook to block execution
- Writes decisions via Crest
- Combines heartbeat and timeout fallback to prevent the CLI from hanging if the app isn't running
- Can also display the active session's repository, latest actions, and token usage, and renders actual options for AskUserQuestion
Process
- This feature was largely built using Claude Code itself
- The author noted that the approval feature went from idea to launch in just 1 day of pair sessions
- The hook's "block-poll-heartbeat" design was iteratively refined in a real terminal environment
Product Info
- This is the Code mode of the author's custom Mac notch app, Crest
- The base version is free forever with full features open for the first 7 days, no credit card required
- Project URL: crestnotch.app
More from coding & agent
- MCP fault injection study: agent task scores drop 60% under realistic tool failures, scale doesn't help — dair_ai · 2026-10-26
- General agents burn ~140M tokens/month on LinkedIn outreach; scripts do it 60x cheaper — ChrisHarpon2 · 2026-10-26
- OpenAI upgrades Decisions API: 400 questions per call, native voice and image support — OpenAIDevs · 2026-10-26
- NLI alone rejects 5/6 new agent memories; a 0.45 similarity gate fixes it all — Alternative_Pin9598 · 2026-10-26
- LangChain ships Managed Deep Agents 0.9, walkthrough from Interrupt London keynote — LangChain · 2026-10-26
- Knowledge Worker Kit adds a full section on organizing projects — dSebastien · 2026-10-26