067. A Core node relays its own mesh's shard, not the whole network

Status: accepted 2026-10-20 by the owner; being built. Amends what Core meant since ADR-003 and state.Config.Mode's note ("Core relays for the network"). The patch goes when the July pin does: v0.40 carries upstream's fix (ADR-071).

Context

On 2026-10-19 the VPS moved about 356 GB of delivery traffic in a day, against about 5 GB a day the week before. Measured on 2026-10-20:

A Core node relays every shard of the cluster. That was meant as the neighbourly setting, and on an idle network it cost 0.5 GB a day. It also means any application's load on any shard lands on our VPS and on every desktop running Core.

Setting shards did not help. The pinned library subscribed relay to every shard at start whatever shards said. Upstream fixed that on 2026-10-15 (logos-delivery #4513, 7253a291). The fix isn't in a release yet, and our pin is older.

Decision

Consequences