I4012 — A remote node's loopback runtimes are not dialed, so its hub is
dial_targets leaves out a record of another node whose endpoints are all loopback: such a runtime cannot be reached from this machine, and counted against MAX_TARGETS_PER_NODE it crowds out the node's hub, the one runtime of that machine bound beyond loopback.
BLOKOVÁNO vlna 0 · p0 · profil implementation · bezpečné paralelně
Blocked. This issue cannot start until milestone:mesh-connectivity is done. The status is derived from that, not declared.
Cíl
dial_targets leaves out a record of another node whose endpoints are all loopback: such a runtime cannot be reached from this machine, and counted against MAX_TARGETS_PER_NODE it crowds out the node's hub, the one runtime of that machine bound beyond loopback.
Proč
On 2026-10-23 the owner's two MacBooks had shared no session, claim, handover or review for over five hours while both hubs were up and discovery saw every runtime present. Each MacBook ran a dozen loopback worktree servers; their records sorted before the hub's and filled the eight-per-node cap, so no runtime of either machine ever dialed the other's hub (57 373 dial failures on one server).
Aktuální stav
dial_targets (apps/majordomus-cli/src/mesh/cooperation.rs) admits every trusted record of the repository with an endpoint, whatever node it is on and whether its endpoints are reachable from here.
Cílový stav
Another node's loopback-only records are not dial targets; this node's own loopback siblings still are, and the other node's hub is dialed.
Rozsah
- apps/majordomus-cli/src/mesh/cooperation.rs
- .ai/repo/project/issues/I4012.yaml
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- A record of another node advertising loopback alone is never a dial target
- A record of this node advertising loopback is still a dial target
- A remote hub is dialed although the node has more loopback runtimes than the cap
Validace
- cargo test --lib mesh::cooperation
- bash test/run.sh 368_mesh_handover_resolves 924_one_executor_across_machines 3826_a_hosted_hub_is_trusted_and_closed_to_strangers
Požadované důkazy
- another_node_s_loopback_runtimes_are_not_dialed_and_its_hub_is
Důkazy
Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.
Časová osa
- zahájeno
- —
- ověřeno
- —
- dokončeno
- —
Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.
Canonical record: .ai/repo/project/issues/I4012.yaml. Read it back with majordomus plan show I4012.