From 80409564f21e1c795c780ad6f117e7d534df4ab7 Mon Sep 17 00:00:00 2001 From: n30nex Date: Mon, 23 Nov 2026 18:43:12 -0500 Subject: [PATCH] docs(traces): distinguish requested and reached hops in summaries --- docs/api-contract.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/api-contract.md b/docs/api-contract.md index 87ac103..a666a97 100644 --- a/docs/api-contract.md +++ b/docs/api-contract.md @@ -937,7 +937,10 @@ A list item: } ``` -`pathHashes` and `snrValues` come from the most complete observation. The detail is +`pathHashes` and `snrValues` come from the observation with the most reached hops. +`pathHashes` lists the requested hops. Each SNR value, including zero, confirms one +leading hop on that path. The overview shows that prefix, up to the shorter of the +two arrays. Packet detail keeps the full requested path. The detail response is `{ traceTag, packets }`, one entry per packet: `{ packetHash, routeType, routeTypeName, scope, firstHeardAt, lastHeardAt, rawPath, resolvedRoute }`. `rawPath` is `[{ hash, snr }]` as received; `resolvedRoute` uses the resolved hop shape from packet detail.