R117 · Knowledge for agents › Docs-as-code and project memory

An agent with write access to a smart home: plan doc, house rules, results

Read the original

agentsmcpproject-memoryhuman-in-the-loopgovernance

Source: Matthew Purcell, "I gave an AI the keys to my smart home", Unprompted newsletter on LinkedIn, 2026-11-16. A first-hand account; the author notes it is personal opinion.

The setup

A Home Assistant instance that had grown to about 1,600 entities across 21 areas with years of inconsistent naming (misspellings, rooms that had been repurposed, generic switch names). The goal: clean it up, build dashboards a non-expert could use, and expose a sensible subset to Apple Home.

The process: plan, then act

  1. Plan as a reviewable document. The agent surveyed the live system and wrote a phased plan (clean data, then dashboards, then Apple Home). The author spent a day reviewing it with inline comments and questions before any change, much like reviewing a colleague's design doc.

  2. The doc as running state. Each step had a checklist ticked as it completed, and every decision was written back with its date and reason. When a conversation grew too long, a fresh one was pointed at the doc and resumed from the next unticked item, with no re-explaining.

  3. House rules written into the plan:

    • Full backup before each phase.

    • Tools auto-approved to avoid click fatigue, on the condition that the agent describes exactly what will change and waits for a yes. The author is explicit that a prompt-only rule is not a guarantee and that higher-risk work needs deterministic guardrails.

    • Pilot one device, check it together, then batch the rest.

    • Hard exclusions: never arm or disarm the alarm, open the garage or open a sprinkler valve without specific consent.

Results in four days

Where it went wrong

Lessons for engineers

Review checklist

R112 (agents leaking data where boundaries were assumed but not enforced) and the project-memory entries under index subtopic 4.1.

Connections

See R117 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.