open-standards/joulehook/joulehook-rs/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science a3bacf032b joulehook-meter: read Mesh's own provenance labels when bridging usage.energy
The bridge matched only the lower-case spellings "hw_shunt" / "model_based",
but Mesh writes usage.energy.provenance with its wire labels
(mesh_schema::Provenance::jcr1_label: "HwShunt", "ModelBased", "Estimator"),
so every Mesh HwShunt or ModelBased figure fell through to the estimator
floor and was sealed into efficiency/1 under-graded.

Both spellings are now read as the same grade (the lower-case one is
JouleClaw's energy-crate display form); any other label still falls to
Estimator. The new tests feed the bridge real Mesh output
(mesh_openai::chat_completion_response with mesh_schema's jcr1_label, as
dev-dependencies) and check each grade reaches the verified receipt
unchanged. Mesh's usage.energy carries no coverage label and efficiency/1
has no coverage field, so there is no coverage label to map. The proxy's
mock upstream now writes Mesh's spelling.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 22:23:22 -04:00
..
joulehook-hook joulehook: refresh the published deny receipt to jcp/2, and hold it byte for byte 2026-09-30 14:16:01 -04:00
joulehook-mcp joulehook: receipt-surface MCP server (joulehook-mcp) 2026-07-04 12:12:22 -04:00
joulehook-meter joulehook-meter: read Mesh's own provenance labels when bridging usage.energy 2026-10-11 22:23:22 -04:00
joulehook-proxy joulehook-meter: read Mesh's own provenance labels when bridging usage.energy 2026-10-11 22:23:22 -04:00