Same API, fake neighbours

barracks testing

Barracks has one command-line switch. Fall in.

  1. --enable-testmode starts a listener on loopback only, on an ephemeral port, with a fixed test identity. Fake clients stand in for Docker, the GPUs, the teacher model, Hugging Face and Citadel.
  2. The management API is the same API. Test mode changes the neighbours, not the routes.
  3. Without the switch it is real mode: a real Docker client, a real GPU reader, and a listener on the private network.
  4. The Forge's rule for tests: inject a fixture at a seam production already has. Never add a configuration key that means "skip the check".
  5. A switch that makes a check optional is a switch someone will leave on.

Dismissed.

Hroda