๐Ÿ–ฅ๏ธ Fleet Identity Tracking

How HER (the AI administrator) knows exactly which of 13 identical Dell laptops she is talking to โ€” and why this prevents chaos.

The Problem: 13 identical machines, cloned from the same disk image, with the same hostname, same SSH keys, and same machine ID. Without identity tracking, they all look like the same machine to the network.

๐Ÿงฌ The Identity Crisis

When you clone a hard drive and copy it to 12 more machines, every copy is perfectly identical at first:

AttributeClone 1 (Dell02)Clone 2 (Dell03)Clone 3 (Dell04)
Hostnamedell01dell01dell01
SSH Host KeysSameSameSame
Machine IDSameSameSame
Tailscale IdentitySameSameSame
IP AddressDHCP randomDHCP randomDHCP random
What goes wrong: Tailscale sees 3 machines with the same identity and gets confused. SSH warns about "host key changed" on every connection. Network logs show 13 machines with the same name. You can't tell which machine a student is having trouble on.

๐Ÿ›ก๏ธ The HER Identity Protocol

Every time HER (the AI administrator) connects to any school machine, she runs a two-step identity check:

1
Read the hostname
hostname
Expected: Dell01, Dell02, ... Dell12
2
Read the identity marker
cat /var/lib/her-agent/identity.json
This JSON file contains the machine's unique fingerprint.

Example Identity Marker โ€” Dell01 (Golden Master)

{ "hostname": "Dell01", "mac": "22:23:7a:d0:2d:aa", "role": "school-workstation", "fleet_id": "Dell01", "clone_date": "2026-06-04T07:34:56+08:00", "managed_by": "HER", "status": "golden-master" }

Example Identity Marker โ€” Dell07 (Clone)

{ "hostname": "Dell07", "mac": "22:23:7a:d0:2d:bb", "role": "school-workstation", "fleet_id": "Dell07", "clone_date": "2026-06-04T07:34:56+08:00", "managed_by": "HER", "status": "clone" }

โš™๏ธ How Identity Is Born (The Post-Clone Script)

When a new machine boots for the first time after cloning, it runs post-clone.sh. This script gives the machine its unique identity:

๐Ÿ“ฆ
Clone Disk
Image Written
โ†’
๐Ÿ”Œ
First Boot
โ†’
๐Ÿ“ก
Read MAC Address
22:23:7a:d0:2d:aa
โ†’
๐Ÿท๏ธ
Generate Hostname
Dell01 โ†’ Dell07
โ†’
๐Ÿ”‘
Regenerate SSH Keys
Unique per machine
โ†’
๐Ÿ†”
Create Identity Marker
/var/lib/her-agent/

What Changes vs. What Stays the Same

AttributeGolden Master (Dell01)Clone (Dell02-12)
All installed softwareIdenticalIdentical
User accountsIdenticalIdentical
Desktop wallpaper/settingsIdenticalIdentical
HostnameDell01Dell02, Dell03, ...
MAC Address22:23:7a:d0:2d:aaUnique per NIC
SSH Host KeysOriginal keysRegenerated
Machine IDOriginalRegenerated on boot
Tailscale KeysDell01's keysMust re-authenticate
Identity MarkerDell01 golden-masterUnique per clone

๐Ÿ” Why This Matters (The Scenarios)

Scenario 1: The Student Can't Log In

Without identity tracking: "Some laptop isn't working." Which one? Where is it?

With identity tracking: HER connects, reads identity.json, sees it's Dell07 in Room 304. Tailscale IP is 100.102.84.87. Problem diagnosed in 10 seconds.

Scenario 2: Deploying a Software Update

Without identity tracking: Push update to all 13 machines. One fails but you can't tell which because they all have the same name in the logs.

With identity tracking: HER targets Dell09 specifically, reads its identity marker, and knows exactly which machine needs attention.

Scenario 3: The "Ghost" Machine

Without identity tracking: Two clones both think they are Dell01. They fight over the same Tailscale IP. Network traffic goes to the wrong machine randomly.

With identity tracking: Post-clone script ensures each machine has a unique identity before it ever joins the network.

๐Ÿค– The HER Fleet Dashboard (Concept)

What HER sees when she checks the fleet:

$ ssh fleet-status โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Machine โ”‚ Tailscale IP โ”‚ Status โ”‚ Uptime โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚ Dell01 โ”‚ 100.102.84.80 โ”‚ ๐ŸŸข Online โ”‚ 3d 4h โ”‚ โ”‚ Dell02 โ”‚ 100.102.84.81 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell03 โ”‚ 100.102.84.82 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell04 โ”‚ 100.102.84.83 โ”‚ ๐ŸŸก Rebooting โ”‚ 0m 12s โ”‚ โ”‚ Dell05 โ”‚ 100.102.84.84 โ”‚ ๐ŸŸข Online โ”‚ 1d 18h โ”‚ โ”‚ Dell06 โ”‚ 100.102.84.85 โ”‚ ๐Ÿ”ด Offline โ”‚ โ€” โ”‚ โ”‚ Dell07 โ”‚ 100.102.84.86 โ”‚ ๐ŸŸข Online โ”‚ 5h 22m โ”‚ โ”‚ Dell08 โ”‚ 100.102.84.87 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell09 โ”‚ 100.102.84.88 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell10 โ”‚ 100.102.84.89 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell11 โ”‚ 100.102.84.90 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ”‚ Dell12 โ”‚ 100.102.84.91 โ”‚ ๐ŸŸข Online โ”‚ 2d 1h โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Each machine is uniquely identifiable, remotely reachable, and its status known instantly.

๐Ÿง  The Philosophy

"If you can't name a thing, you can't reason about it. If you can't reason about it, you can't manage it."

Identity tracking is not just a technical detail โ€” it's the foundation of fleet management. 13 machines that all look the same to the network are 13 problems waiting to happen. 13 machines with unique identities are a fleet you can teach with, demo with, and rely on.

๐Ÿ“ Files That Make This Work

FileLocationPurpose
identity.json/var/lib/her-agent/identity.jsonMachine's unique fingerprint
post-clone.sh.scripts/post-clone.shGenerates identity after cloning
fleet-bootstrap.sh.scripts/fleet-bootstrap.shVerifies identity, adds HER's SSH key
fleet-clone.sh.scripts/fleet-clone.shDeploys golden master to all machines
dell-fleet~/.ssh/config.d/dell-fleetSSH shortcuts for all 13 machines

๐Ÿš€ What's Next

After cloning is complete:

  1. Every machine will have a unique hostname and identity marker
  2. HER can SSH into any machine by name (ssh Dell07)
  3. The fleet dashboard will show real-time status of all 13 machines
  4. Software updates can be pushed to specific machines or the entire fleet
  5. Usage analytics can track which machines are most/least active
Want to see it in action? After the fleet is cloned, HER will demonstrate live: connecting to Dell07, reading its identity marker, deploying a software update, and checking its status โ€” all from the living room.