12 KiB
Fabric Live Audit 2026-05-18
Status: live operational audit of the current fabric. This document records the real state observed on 2026-05-18 and explicitly calls out where runtime behavior still differs from the target architecture.
The target layering model referenced by this audit is documented in FABRIC_SERVICE_OVER_TRANSPORT_MODEL.md. The current execution sequence derived from this audit is maintained in FABRIC_EXECUTION_PLAN_2026-05-19.md.
Current confirmed state
- Inter-node transport for the live node-agent fleet is
QUIC over UDP. - The
0.2.327-registrybootstraprewriterollout initially exposed a backend ingestion defect: freshhome-*/test-*heartbeats were returning HTTP500, not because QUIC or registry bootstrap was broken, but because PostgreSQL rejected\u0000inside heartbeat JSON withunsupported Unicode escape sequence (SQLSTATE 22P05). - Backend heartbeat ingestion now sanitizes
\u0000before persistence. - After that fix,
home-*andtest-*resumed normal heartbeat flow and converged onto the new release line with live registry promotion. - The active node set
home-1home-2home-3test-1test-2test-3usa-los-1ifcm-rufms-s-mo1crcurrently spans:home-*,test-*, andusa-los-1on0.2.327-registrybootstraprewrite;ifcm-rufms-s-mo1crstill remaining on0.2.322-controlendpointsrewrite.
ifcm-rufms-s-mo1crrecovered through the compatibility recovery path and is no longer stale.ifcm-rufms-s-mo1crhas already migrated off compat overlaphttp://vpn.cin.su:19191/api/v1and now reportshttps://vpn.cin.su/api/v1, but it still has not advanced to the new registry-aware release line.home-*andtest-*now report:reported_version = 0.2.327-registrybootstraprewritepeer_cache_peers = 7fabric_registry_runtime_report.status = active
usa-los-1is already on0.2.327-registrybootstraprewritebut still reportsfabric_registry_runtime_report.status = missing, which means this node remains a runtime bootstrap/config rewrite gap rather than a version-gap.- After repairing malformed
RAP_MESH_ADVERTISE_ENDPOINTS_JSONonhome-1/home-2/home-3, thehomearea now emits enriched heartbeat metadata again instead of falling back to the thinc3payload. - Live stale-risk snapshot at
2026-05-18T19:39Znow reports:compat_control_dependency_nodes = 1(ifcm-rufms-s-mo1cr)registry_candidate_only_nodes = 1(ifcm-rufms-s-mo1cr)direct_peer_alert_nodes = 5area_diversity_alert_nodes = 6
- Live heartbeat/update status snapshot after the
0.2.325-updatehintwakerollout still shows:ifcm-rufms-s-mo1crheartbeat fresh at2026-05-18 23:08:44 UTCfabric_control_endpoint = http://vpn.cin.su:19191/api/v1peer_cache_peers = 7- latest update status still stuck at
2026-05-18 20:50 UTC - this is now classified as
updater_wake_unsupported, not just a generic stale or compat-control symptom
Why TCP traffic is still visible
Visible TCP traffic is not coming from the inter-node fabric transport. It is coming from the temporary compatibility recovery overlap that is still active.
Observed live listeners:
docker-test19191/tcp- compatibilityControl API/downloadsbridge18080/tcp- web-admin18090/tcp- release files18121/tcp- backend Control API19132/udp,19133/udp,19134/udp- QUIC fabric listeners
usa-los-119131/udp- QUIC fabric listener19191/tcp- external compatibility bridge currently held open so compat recovery contracts can still reachControl API/downloads
Therefore:
TCPis still present by design for recovery overlap.UDP/QUICis the current node-to-node transport.- The statement "the fabric is fully UDP-only" is not yet true at the full
system level while
19191/tcpcompatibility recovery remains enabled.
Why nodes were still falling away
1. Nodes do not yet operate from a fully active signed registry gossip plane
Observed on the live ifcm-rufms-s-mo1cr heartbeat after the backend/runtime
refresh:
fabric_registry_runtime_report.status = candidate_onlyresolved_service_count = 0resolved_services.control-api = no_active_recordresolved_services.update-store = no_active_recordresolved_services.update-cache = no_active_record
This means the current runtime still depends on compatibility control URLs more than the target architecture allows. The node is alive in the fabric, but not yet operating from a fully resolved active registry view.
2. Compat control/download contracts are still real dependencies
Observed on the live ifcm-rufms-s-mo1cr heartbeat after recovery:
mesh_outbound_session_report.fabric_control_endpoint = http://vpn.cin.su:19191/api/v1
This confirms the root recovery lesson:
- a NAT node without manual host access was still anchored to the old recovery contract;
- until that contract was temporarily restored, the node could not advance;
- the node did not disappear because QUIC failed; it disappeared because the recovery/control overlap was removed before the node had converged.
3. Direct peer resilience is still below the intended threshold
Observed from the live stale-risk snapshot at 2026-05-18T19:39Z:
ifcm-rufms-s-mo1crpeer_connection_ready = 2peer_connection_relay_ready = 3target_ready_peers = 3
home-1peer_connection_ready = 1direct_ready_areas = [usa]external_area_ready_count = 1/2
home-2peer_connection_ready = 1direct_ready_areas = [usa]external_area_ready_count = 1/2
home-3peer_connection_ready = 1direct_ready_areas = [usa]external_area_ready_count = 1/2
test-1/2/3peer_connection_ready = 3- but
direct_ready_areas = [usa] - therefore each still triggers
external_area_deficit:1_of_2
usa-los-1peer_connection_ready = 1direct_ready_areas = [ifcm, home, test]target_ready_peers = 3
This means the direct-path resilience target is not satisfied yet, even though the nodes are healthy.
The practical reason is simple:
- the cluster has only a small number of externally reachable direct QUIC endpoints;
- some nodes still advertise only private/LAN-reachable direct candidates;
- relay-ready adjacency is masking direct peer deficit, but it does not replace the requirement for at least three direct-ready peers.
3.1 Public endpoint confirmation must be cross-area, not local hairpin
The live home/test topology also exposed a verification mistake in the
runtime model:
homeandtestsit behind the same public router address94.141.118.222;- some public QUIC candidates are valid only when tested from another area such
as
usaorifcm; - a same-area probe can fail purely because the local router does not support hairpin NAT / NAT reflection.
Operational consequence:
- a public endpoint marked as
external-network-requiredmust be treated as non-authoritative when the failure came fromselforsame_area; - the public candidate should be confirmed or rejected by
cross_areaobservers instead.
4. Observability is still heterogeneous
Live heartbeat coverage is now richer than it was earlier in the day, but it is still not fully converged in behavior:
test-*,ifcm,usa-los-1, and now repairedhome-*expose endpoint, peer recovery, and registry sections again.ifcmis still the only node that currently reportscompat controlandregistry candidate_only, so the observability gap has narrowed into a real single-node convergence issue instead of a fleet-wide blind spot.
What is true right now
- The fleet is converged on one live node-agent version.
- QUIC/UDP is the actual node-to-node transport.
- Compatibility
19191/tcpis still required for recovery overlap. - Signed registry gossip is not yet the sole active discovery/control source.
ifcmstill depends on the compat19191control overlap.- The plain
3 direct peerstarget is insufficient on its own; the live fleet now clearly shows thatcross-area direct diversityis the next real gate.
Control/API migration progress
The codebase now carries a more explicit migration contract for control access:
- install profiles prefer canonical
control_plane_endpointsover a compat singletonbackend_url; - host runtime env generation now exports removed control-plane endpoint env key;
- node heartbeat/control reporting prefers that canonical endpoint set when it is present.
- stale updater status behind a fresh heartbeat is now classified separately as
updater_subscription_gap; - heartbeat update hints now have a second-stage recovery path: after writing
update-trigger.json, a live node can also wake its local updater task/service.
This does not instantly rewrite older runtime wrappers on already-installed nodes by itself. It does remove the same trap for the next install, reinstall, or update-service rewrite cycle.
Operational rule until the next audit
Do not remove the compatibility 19191/tcp recovery overlap while any of the
following remain true:
- any live node still reports a
fabric_control_endpointon the19191contract; - any live node has
fabric_registry_runtime_report.status != active; - any externally significant node has fewer than 3 direct-ready peers;
- any node can only recover through compat
Control API/downloadsoverlap.
Required next work
Update 2026-05-19:
rap-node-agent 0.2.325-updatehintwakewas released with a local updater wake path driven by heartbeat update hints.- The release exists because
ifcm-rufms-s-mo1crshowed that a node can keep sending fresh heartbeat while the updater subscription plane silently stops progressing. - This is now treated as a first-class recovery-plane problem, not as a vague stale-node symptom.
- The live rollout already moved
home-*,test-*, andusa-los-1onto0.2.325-updatehintwake. ifcm-rufms-s-mo1cris now the only remainingupdater_wake_unsupportedblocker.- Live
ifcmpeer telemetry also exposed a distinct transport-resilience defect: on one stale-relay/bootstrap path the node tried a relay endpoint with the certificate fingerprint from a different private direct candidate, producingCRYPTO_ERROR ... quic peer certificate fingerprint mismatch. - That bug is now fixed in the runtime line tracked as
0.2.332-relaycertintentfix.
A. Finish signed registry activation
Each node must be able to resolve active records for at least:
control-apiupdate-storeupdate-cache
without falling back to the 19191 compatibility contract.
B. Promote full direct endpoint dissemination
All nodes with public reachability must advertise every valid public direct QUIC endpoint, and nodes must retain enough live peer memory to reconnect without operator intervention.
C. Enforce the direct-ready floor as a live alert
If a node has fewer than 3 direct-ready peers, this must remain a real operational alert even when relay-ready peers exist.
D. Normalize heartbeat observability
Every production node must emit the same minimum audit surface:
- endpoint candidates
- peer recovery counts
- registry runtime state
- update runtime state
without mixing rich and reduced heartbeat schemas across the fleet.
E. Replace the naive peer-count rule
The live fleet shows that a plain "3 links per node" rule is not a sufficient resilience model.
The current corrective design is documented in FABRIC_AREA_AND_PEER_STABILITY_MODEL.md and introduces:
areaas a failure-domain label;- direct-ready vs relay-ready separation;
- cross-area diversity requirements;
- full-directory retention for small fleets.