Commit graph

1 commit

Author SHA1 Message Date
trvon
69b8bdcd54
test(p2p): add docker mesh harness for N-node direct memory-sync convergence
Production meshes (transport=direct, full mesh, operator-pinned mutual TLS)
stalled at a fixed record count with failed_cycles=0 because a failed inbound
apply stage skipped the node's own publish. Reproducing that needs several
real daemons with enrolled pins and a corpus of embeddings and topology
edges authored on different nodes, so add tests/integration/p2p_mesh:

- Dockerfile and node entrypoint that run prebuilt yams/yams-daemon from a
  host build dir or a released .deb, one isolated volume per node.
- mesh.py (stdlib only) with up/seed/converge/status/chaos/run/down. It
  generates writer keys and manifests, enrolls every peer pin and connects
  a full mesh the way an operator does, and records apply-health counters
  when the build reports them.

Local/manual tooling only; not wired into any CI.

Signed-off-by: trvon <me@trevon.dev>
2026-10-01 12:20:26 -06:00