Mouth: follow upgrades only a plain basis; @room keeps room #76
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/follow-null-only"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reverses #74's room upgrade on Persona's decision: a followed peer's plain message (null basis) becomes
follow; an @room keepsroom, does not wake via follow and spends none of the peer's K. tag/reply/direct unchanged.Also corrects the stale wording (mouth header, flag comment, docs/bridge.md Follow): Huginn's variant is
Basis::FollowUp, wire stringfollow(FOLLOW_UP_BASIS f09bc56e).Tests: the room-upgrade assertion now expects
room; new test: four @room from a followed peer stayroom, then three plain messages still all upgrade (cap unspent). Reverting the one-line fix fails 2 tests. Full node suite: 283 tests, 271 pass, 12 fail; the 12 are a subset of main's failures (main run showed 13, one extra a timing-flaky brake-gate test).🤖 Generated with Claude Code