Before you boot a real PC
Your disk is guarded, twice.
TannX OS has its own ATA/AHCI drivers and can write to the first internal disk. Two guards exist:
- The medium marker.
diskon, which arms every write path, reads LBA 256 and looks for AGENTOS-MEDIUM. Images built by make and sticks written by make usb-hybrid carry it. On a machine whose first disk is not a TannX medium, diskon arms RAM-backed slots instead: writes are lost on reboot, the foreign disk is never touched.
ahcibless needs confirm and deliberately stamps the marker onto a SATA disk to dedicate it to TannX OS. Only on a disk you are willing to lose. awrite is likewise explicit and destructive. usb backup refuses to overwrite a stick that carries a FAT, MBR or GPT signature unless forced.
Also: Secure Boot must be off (the loader is not signed). smpon is opt-in because a faulting application processor boot-loops a real machine. Some firmware only looks for a GPT ESP; OVMF and both test machines accept the MBR-hosted one.
Getting data back out
Serial first, UDP second.
The OS mirrors every console character to COM1 (115200 8N1) and accepts input from it – a null-modem cable to the dev box is the most robust wire, and wish-bridge.sh runs the whole test harness over it. In the default build wish and netwish broadcast to UDP port 4711 and the OS pushes agent results and status lines there too; the LLM client discovers the proxy by broadcasting to port 4080.
Remote control (EXEC, REBOOT, STATUS, …) exists only in make REMOTE_CTL=1 builds, is unauthenticated, and belongs on an isolated lab LAN.
Hardware wish list
What would widen the verified set.
a mini-PC with NVMe, xHCI and Intel I225/I226 (no QEMU model – a driver can only be written against silicon)a Realtek RTL8125 cardUSB sticks of different makesa USB-TTL serial adaptera machine that can be power-cycled remotely, for SMP