Drop path-redundant meta fields from public outputs (keep only purpose) #13

Closed
opened 2026-06-07 04:15:46 +00:00 by coilysiren · 0 comments
Owner

Follow-up to #12. The meta envelope stamped source, target, probe, tier, and a baseline-vs-current files note into every public output - but all of those are already encoded in the path:

outputs/<src>__<tgt>/<probe>/public/<baseline|current>.yml

Duplicating the path into the file is redundant and can only drift. The one field NOT recoverable from the path is the probe's purpose (its human intent). Strip the envelope to just that:

purpose: ICMP reachability - packet loss and per-response replies; 0% loss = kernel data path up
result:
  ...
  • render_public(cmd_id, result) now wraps {purpose, result}; public_meta and the banner comment are gone.
  • purpose is still sourced once from parsers/_registry.yml (desc) and is constant across baseline/current, so the diff still targets result only.
  • Re-rendered all committed outputs; README updated to say the path carries source/target/probe/tier and the file carries only purpose + result.
Follow-up to #12. The meta envelope stamped `source`, `target`, `probe`, `tier`, and a baseline-vs-current `files` note into every public output - but all of those are already encoded in the path: ``` outputs/<src>__<tgt>/<probe>/public/<baseline|current>.yml ``` Duplicating the path into the file is redundant and can only drift. The one field NOT recoverable from the path is the probe's `purpose` (its human intent). Strip the envelope to just that: ```yaml purpose: ICMP reachability - packet loss and per-response replies; 0% loss = kernel data path up result: ... ``` * `render_public(cmd_id, result)` now wraps `{purpose, result}`; `public_meta` and the banner comment are gone. * `purpose` is still sourced once from `parsers/_registry.yml` (`desc`) and is constant across baseline/current, so the diff still targets `result` only. * Re-rendered all committed outputs; README updated to say the path carries source/target/probe/tier and the file carries only purpose + result.
Commenting is not possible because the repository is archived.
No description provided.