Skip to content

WakeProof

WakeProof is an iOS alarm that uses Claude Opus 4.7 vision + reasoning as a self-commitment device, not just a feature.

Core trick

Sends a live camera photo and a baseline photo to Claude vision, which judges authenticity and blocks alarm dismissal until verification passes.

Tags

Description

WakeProof is an iOS alarm that uses Claude Opus 4.7 vision + reasoning as a self-commitment device, not just a feature. Capture a baseline photo during onboarding; when the alarm rings, the only way to dismiss it is to take a live photo that Opus 4.7 verifies against the baseline. Unlike pixel-match "photo missions" in alarms like Alarmy (unchanged since 2014), Opus 4.7 reasons about authenticity. It catches printed photos, screen displays held to the camera, half-closed eyes, missing micro-expressions — every shortcut a sleep-deprived user might attempt at 6 AM. The same Opus 4.7 call does three jobs in one model: vision (face + morning state recognition), reasoning (anti-spoof detection with traceable judgment), and insight (writes a personalized weekly reflection from accumulated wake history). A naive build would stitch three narrower models; with Opus 4.7 it's one call. Around the verification core, three retention hooks reinforce the commitment loop, each tied to a specific behavioural-economics signal: a Streak Calendar (continuity visual feedback) gamifying consecutive verified mornings, an Investment Dashboard (accumulated-data loss aversion) surfacing the user's growing trust profile, and an opt-in Share Card (social reward + autonomy preservation) that turns a streak into a postable artefact without the product ever auto-posting. None of these use Opus 4.7 — they're what make the verification meaningful beyond the moment it happens, turning a one-time demo into something that compounds. The result is an alarm that becomes a contract you can't unsign. The Apple Clock alarm can be muted in two seconds. WakeProof can't — not without proving you're actually upright, in the right room, with your eyes open. Built solo in 5 days. Local-first SwiftData. No backend except the Opus 4.7 verification call. Open source under MIT.
lemon03390/WakeProof★ 00 forksSwiftMITCreated Apr 21, 2026 · last push Apr 26, 2026

README excerpt

# WakeProof

> An iOS alarm that verifies you're actually awake using Claude Opus 4.7 vision.
> A self-commitment device, not a sleep tracker. Future-you can't cheat past-you's contract.

Built for the Cerebral Valley × Anthropic **"Built with Opus 4.7: a Claude Code hackathon"** (Apr 21–26, 2026).

🎥 **[Watch the 3-minute demo](https://www.youtube.com/watch?v=ZmX75DBO_xA)** — full failure → contract → success arc with anti-spoof reasoning trace shown live.

## The problem

iOS Clock alarms can be dismissed with a thumb on the lock screen, eyes still closed, body still horizontal. Third-party "alarm" apps give you a math puzzle you solve in bed. None of them prove you're *out of bed*.

## The mechanic

1. **Onboarding** — user takes a baseline photo at their designated awake-location (kitchen, bathroom sink, desk lamp).
2. **Alarm rings** — keeps ringing. Only way to silence it is to take a new live photo.
3. **Verification** — Claude Opus 4.7 compares new photo to baseline: same location, eyes open, upright, room lit, appears alert.
4. **Anti-spoofing** — retries add random action prompts: "blink twice", "show your right hand".
5. **Fail** — alarm continues escalating. No dismiss button.

## The commitment loop

Verification is one moment. The product wraps it with retention hooks that keep the contract alive between alarms — each tied to a specific behavioural-economics signal:

- **Streak Calendar** (`HOOK_S7_6` — continuity visual feedback) — month-grid showing per-day ve

Team