COUNTERFACTUAL DEBUGGING FOR MCP HOUSEHOLD AUTOMATIONS
Replay the incident. Test the fix. Block regressions.
Reconstruct a decision from stored evidence, test a proposed change with the production policy engine, and see what changes before approval.
Connecting to your household through MCP…
01 / INCIDENTLoading
Loading incident…
Retrieving saved decisions through MCP…
02 / CANDIDATE FIXIn memory · not saved
Add Saturday to the schedule
- Current
- —
- Candidate
- —
Preflight evaluates with a simulated approval (preflight-simulation). It never saves, approves or activates this candidate.
03 / SAFETY INVARIANTSServer-enforced
Holds for every candidate
- Door unlock is always denied, even with approval
- An unapproved routine never executes
- Missing sunset evidence means no action
- No action at or before sunset
- Preflight changes no device, event or receipt
04 / PREFLIGHT SUITE · REAL MCP TOOL run_preflight
Baseline against candidate
Not run yet. Six policy cases, evaluated server-side by the production rules.
| Scenario | Baseline | Candidate | Change | Safety |
|---|
No saved run this visit
Live household simulated devices · persisted decisions
05 / ROUTINE REVIEWLoading
Light the way home
Retrieving the saved draft…
- When
- —
- Schedule
- —
- Condition
- After sunset, using a dated simulation fixture
- Allowed
- Turn on the porch light
A boundary that stays in placeDoor unlocking is always denied, even with approval. Missing sunset evidence means no action.
Approval applies to this exact revision. It does not run the routine.
06 / SIMULATED HOMENo real devices
Your home, right now
SIMULATION / EVENINGDevice state loading. Wednesday, 21 October · 7:00 pm
Asia/Kolkata · simulated sunset at 6:00 pm
Retrieving current state from PostgreSQL through MCP…
THIS VISITNo scenario run this visit
07 / SAVED DECISIONSPOSTGRESQL VIA MCP
The proof behind the decision
Loading history…Every decision has a reason.
Select a saved decision to reconstruct it as an incident and inspect its rules, approval and action receipt.