Home Infrastructure Field Notes · advanced

Laptop-to-Desktop Failover Needs Agent State, Not Hope

A second worker is useful only if it knows what the first worker already changed.

Current. Published as a first-person engineering field note from verified hands-on domains; no client-confidential details.

Laptop-to-Desktop Failover Needs Agent State, Not Hope

A second worker is useful only if it knows what the first worker already changed.

I keep this as a field note because the failure mode is easy to misclassify: automation moves between machines without shared progress, locks or target state. The useful move is to identify the boundary first, then change only the layer that owns it.

What I model

The system is easier to debug when intent, observation and transport are not collapsed into one state. For this case, my rule is simple: Fail over execution, not memory.

Implementation pattern

Persist target, revision, completed steps and destructive-operation locks outside the worker process.

I prefer a small explicit contract over a clever implicit one. That gives logs, tests and dashboards something concrete to verify and keeps unrelated layers from compensating for each other.

What I verify

  • completed steps survive worker loss
  • destructive steps are idempotent or locked
  • fallback reaches the same targets

Failure handling

When one of those checks fails, I preserve the failing evidence before restarting or changing configuration. The first broken contract determines the next investigation. That keeps troubleshooting causal instead of turning it into a sequence of guesses.

What I keep

Fail over execution, not memory. The specific tools can change, but that ownership boundary remains useful across firmware, networks and infrastructure.

Quick navigationEsc