Skip to content

diagnostics: gossip route omits corrected Leaf participation counters required by C0 gate #519

Description

@dirvine

The documented corrected Leaf forwarding counters are absent from GET /diagnostics/gossip. A read-only live x0x --json diagnostics gossip response contains stats/pubsub_stages/dispatcher/recv_pump/discovery_cache_entries but no participation object. Current source on main822db3e corroborates it: gossip_diagnostics in src/server/routes/network.rs constructs no participation field, while Agent already exposes the PubSubManager participation snapshot.

This prevents applying the documented #380 C0 acceptance meter in docs/380-c0-soak-gate.md and ADR0034. The existing pubsub_stages.outbound_publish_origin.relay_bytes counts nonlocal origin, including subscribed epidemic forwarding; it is not a substitute for corrected non-subscribed participation.relay_bytes.

Scope: expose the existing snapshot through the actual route and add a regression proving field presence/semantics. Preserve Leaf/Full policy and existing fields. This is an observability gap, not proof Leaf enforcement fails or a new network egress rate. Relates to #504 efficiency measurements.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:P2Normal priority: confirmed defect or remaining feature work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions