New open standard (open-standards/mesh): the serving/routing fabric in front
of many models and many backends. A request declares a joule ceiling and a
fidelity floor; the mesh routes it cheapest-sufficient, meters the decode, and
seals a mesh/1 JCR-1 receipt whose headline figure is microjoules per accepted
token (measured at the meter, not estimated). Rides on JCP grants + JCR-1
receipts + the family energy meter; dispatches to JouleClaw; routes across
EOC/Sandbox. No new cryptography.
mesh-rs reference workspace:
- mesh-schema content-addressed ServeRequest (joule ceiling + fidelity
floor), F0–F4 fidelity, honest two-part Energy, model-as-recipe,
route-decision audit + outcome counters
- mesh-router energy-weighted cheapest-sufficient routing with full candidate
audit (admit iff fidelity >= floor AND estimate <= ceiling)
- mesh-engine ServingEngine trait + deterministic, weights-free ReferenceEngine
- mesh-engine-gguf real backend over the family's pure-Rust GGUF/safetensors
substrate (feature `gguf`); proven serving a real Falcon-H1
decode end-to-end (authorise -> route -> meter -> seal -> chain)
- mesh-meter meter window; estimator + optional RAPL/NVML/Apple bridge
- mesh-receipt mesh/1 receipt (canonical det-CBOR + COSE_Sign1/EdDSA),
uj_per_accepted_token sealed in, refuses dishonest HwShunt,
hash-chained log
- mesh-core orchestration: authorise JCP grant -> route -> meter -> seal;
prompt payload passed to the engine, never sealed (hash only)
- mesh-openai OpenAI-compatible ingest: /v1/chat/completions <-> ServeRequest,
std-only reference server returning the sealed receipt in
usage.energy (feature `server`)
- mesh-conformance deterministic reference serve + field-by-field checks +
gen-vectors; published v1 vectors
SPEC.md (CC-BY-4.0), README, CONTRIBUTING, conformance/v1; registered in the
repo standards index. cargo test --workspace green; clippy --all-targets clean.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
7 lines
262 B
JSON
7 lines
262 B
JSON
{
|
|
"alg": "EdDSA (COSE -8)",
|
|
"profile": "mesh.receipt/1",
|
|
"pubkey_hex": "ea4a6c63e29c520abef5507b132ec5f9954776aebebe7b92421eea691446d22c",
|
|
"steward": "did:key:z6MkvDqGT54cXesYGvABpF1UapVNwjCqRcafi4Px6Thv5T3Z",
|
|
"wedge_metric": "uj_per_accepted_token"
|
|
}
|