Software an AI configures and a person watches
Drop configuration screens. Expose a documented API. Keep the runtime deterministic and the audit log append-only.
Settings screens do not just make software harder to use. They decide which features get built. Every option needs a UI control, a label, a default, validation, and help text, so product teams simplify the data model until it fits on a form. HAIG moves configuration to an AI working over a documented HTTP API in a human-started session. People keep direct controls for right now, plain-language readback of what happens next, and a live append-only change log.
1The notes
Three short, self-contained technical notes cover the argument, the design rules, and the runtime model built alongside them. Start with the field note for concrete examples from two live home systems.
-
01
HAIG: why settings screens limit features
The core claim proven in production code from two systems in one house: a seven-decision morning routine in Haus (
start.first_of, shared triggers, andhold: 30) and a 32-line 3D fireworks program compiled to VM bytecode in luxd. -
02
HAIG: Human-AI Interface Guidelines
The full thesis: what changes compared with a classic HIG, documented API plus skill first (MCP optional), append-only roll-forward history with no undo button, human-started sessions, observation capture, core versus extensions, and litmus tests.
-
03
Two truths and pure functions
Extracted from HAIG on purpose. How a deterministic runtime keeps wanted state (ASoT) and actual state (ESoT) apart, why some observed events become new ASoT as bounded layers in
f(t), run versus ask, and virtual-clock purity.
2Six rules at a glance
Everything in these notes comes down to six operational rules tested daily on live hardware.
| Rule | What it means in practice |
|---|---|
| No settings forms | Grow the data model freely instead of flattening it to fit a screen. People watch state, speak intent, use direct right-now controls, and capture physical observations. |
| One documented API | Apps, scripts, and AI agents call the exact same routes. GET /api describes every route, input, output, and error. Agents with a shell pair it with a skill; MCP is optional. |
| Server-side guard rails | Limits, schema checks, dry runs, virtual-clock simulations, and bytecode verifiers live in the server, never in the prompt. |
| Plain-language readback | The server translates stored configuration into sentences so people verify behavior without reading JSON. |
| Roll forward, no undo | Every write records actor, diff, reason, and outcome in an append-only log. Agent writes without a reason fail. Fixes roll forward as new changes. |
| No AI in the run loop | The AI runs only when a person starts a session, asks instead of guessing hidden defaults, and gets approval for new persistent behavior. Stored config runs offline. |
3Where these notes come from
None of this was written as abstract theory first. Every guideline was revised after colliding with real hardware in two systems running one house:
- Haus (
tkhaus): A home hub and native iOS app running lights, thermostats, shades, and living-room TV across multiple bridges and protocols, driven by a deterministic timeline engine. - luxd: A fleet of custom ESP32 LED strip controllers, a host daemon, a Rust bytecode VM and DSL compiler, and a native app driving exterior and indoor strips in shared 3D house coordinates.