Pre-release

Lumen

Built to turn your Mac off, and wake it again, from your iPhone, iPad or another Mac. Not yet tested on real hardware.

A native Apple-platform product (working title): a menu-bar Mac app with a privileged helper, an iPhone and iPad client, and an optional relay for remote use. Built around a small, documented protocol and a written threat model.

  • Noise-KK-style handshake (custom HKDF construction, X25519, ChaChaPoly, pinned by known-answer tests; not reviewed by a cryptographer). iPhone and iPad pair only by QR code; the Apple TV pairs by approval on the Mac with a code shown on both screens.
  • Root daemon over XPC and Bonjour discovery. A Cloudflare Worker relay for remote access is built and tested, but not yet deployed.
  • Live Activity, Siri and App Intents, timers, schedules, and wake through a second Mac. Live Activity and the second-Mac wake still need testing on real hardware.
  • Power Guard and lumenctl mcp: coding agents get exactly five tools: keep the Mac awake, or ask it to sleep or soft-off once work is done (owner policy and a cancellable countdown apply). No file, input or immediate-shutdown tool; the Mac app enforces the limits.
  • 304 Swift tests plus 12 relay tests, Swift 6 strict concurrency, threat model and decision records. Pre-release app; release planned for January 2027.
  • Honest status: real sleep, shutdown and wake, the signed root helper and Wake-on-LAN have so far run only against test doubles and simulators, not on real hardware. The Apple TV app was not built for this release.
  • Swift
  • SwiftUI
  • XPC
  • CryptoKit
  • MCP
  • Cloudflare Workers
  • App Intents
Look inside: numbers from the codebase
Tests304 Swift tests (212 + 92) and 12 relay tests, passing on 24 Nov 2026swift test, npm test
Codeabout 30,000 non-blank lines of Swift 6 with strict concurrency, no third-party Swift dependencieswc over *.swift
HandshakeNoise-KK-style, pinned by known-answer tests against an independent implementationdocs/adr/0003
Agent tools5 MCP tools; keep-awake holds capped at 8 h each and 12 h in a rowREADME.md
Decision records8 ADRs, plus a threat modeldocs/adr/
Not yet on hardwarepower actions, root helper, Wake-on-LAN, wake through another Mac, FileVault unlock, Live ActivityREADME.md

From docs/mcp-transcript.md: an agent asks for a restart and for a tool that does not exist.

# action the server never offers (restart)
-> {"jsonrpc": "2.0", "id": 8, "method": "tools/call", "params": {"name": "sleep_when_work_done", "arguments": {"action": "restart"}}}
<- {"jsonrpc":"2.0","id":8,"result":{"content":[{"type":"text","text":"action must be sleep or turn-off."}],"isError":true}}

# tool that does not exist (shutdown_mac)
-> {"jsonrpc": "2.0", "id": 9, "method": "tools/call", "params": {"name": "shutdown_mac", "arguments": {}}}
<- {"id":9,"jsonrpc":"2.0","result":{"content":[{"type":"text","text":"Unknown tool shutdown_mac."}],"isError":true}}

Numbers from the private Lumen codebase (the code stays private; the app release is planned for January 2027). Paths are relative to its root.

iPhone · iPad SwiftUI · Siri Live Activity Relay CF Worker Mac menu-bar app root daemon · signed XPC Second Mac wakes the sleeping one LOCAL NETWORK · BONJOUR REMOTE NOISE-KK-STYLE · QR PAIRING iPhone · iPad SwiftUI · Siri · Live Activity LOCAL NETWORK BONJOUR Relay CF Worker REMOTE NOISE-KK-STYLE HANDSHAKE QR PAIRING Mac menu-bar app · root daemon · signed XPC Second Mac wakes the sleeping one
How a command travels between devices.
Animated from real screenshots (25 s, no sound): simulator screenshots of the iOS app in demo mode with sample Macs. Not a recording of real hardware. Text inside the frames was regenerated by the model and has small artefacts.

Contact

Let's talk about what you're building.

Open to backend, applied-AI and automation roles. Case-study details and code walkthroughs on request: Orbit is open source on GitHub; Lumen is a pre-release app with its release planned for January 2027.

Available now · 20–30 h/week alongside my BSc · contract or employment · Bratislava, Prague, remote or hybrid