The grant bed's consumer takes a slug: its derived identity was one character over what a backend keeps

This commit is contained in:
2026-09-21 19:32:36 +02:00
parent 1b2443690d
commit e4c924a85e
@@ -152,6 +152,9 @@ test("the mesh grants a consumer redis's cache, and the credential it delivers a
const consumerManifest = JSON.stringify({
module: "cacheuser",
version: "1",
// `mesh_anchor_cacheuser` is 21 characters, over the 20 a backend keeps (ADR 0049); the slug
// makes the consumer identity `mesh_anchor_cache`.
slug: "cache",
requires: ["redis-cache"],
// `contributes` (not just `requires`) is what makes a consumer *ask* — the grant forms from a
// contribution. It must be non-empty; redis's provisioner ignores the value (it uses the login