Commit the human-read public tier as YAML (was JSON) #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The committed, human-read tier is the public tier - but it was serialized as JSON, which is noisier to eyeball in a diff than YAML. Switch the committed public tier to YAML; keep the gitignored normalized tier (machine diff substrate) as JSON.
Change
dbglib.dump_doc/load_doc/tier_file/tier_extcentralize tier serialization. public -> YAML viayq -p=json -o=yaml, so no PyYAML dependency (matches the existing parser-spec read path that already shells to yq). normalized -> JSON as before.step.pyandbless.pywrite/read through those helpers instead of hardcodingcurrent.json.outputs/**/public/*.json->*.yml.public/*.yml.Diff round-trip fix
YAML renders
0.0as0, so reloading the public baseline gives int0while a fresh probe yields float0.0. The structural diff'stype(a) is not type(b)guard would flag that as a spurious0 -> 0.0every run. Fixed by makingdiff_jsoncompare numbers by value, not type (bools excluded). Verified: yaml-reloaded baseline vs fresh-float = no diff; a real0.0 -> 100.0still reports.Public tier stays leak-scrubbed for the opaque tailnet suffix (#3 unchanged).