0.2.16: record the creator decision — _amCreator is a METHOD, not a flag
Every consumer asking "is this node the creator?" via `!!sb._amCreator` was
reading a truthy prototype function and getting `true` unconditionally.
hyper-proto-peer's members-diag did exactly that, so its `amCreator` field has
always reported `true` for every node, creator or not, and could never express
the negative case.
That is not cosmetic. The field was cited as evidence that a joining machine
had stolen the creator role during a live incident, and it is likely the source
of a standing "amCreator:true on BOTH nodes" concern recorded for wj62 — a
condition the field would report whether or not it were true.
_open() now records the decision it actually makes as `this._isCreator`,
alongside the existing log line. Additive: one property, no behaviour change.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
d574b7846201a32204bf0a82b8ba6c952dc410f4
by plankatron <fleeky@gmail.com> · 2026-07-27T22:10:23.000Z