ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk carries no composition rule. The catalogue functions only the node-engine's composition reaches (Resolve, Resolution's Compose, Declaration, DataItems, LeftOut, Rules and the rest, the settings, placeholder and template refusals, the rendering helpers) are copied with their tests into internal/compose/resolution; a method of a mesh-sdk shape becomes a function taking it first. The composition calls its own copies, and the captured catalogue its tests read lives here now, shared by mesh-compose's tests. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
{
|
|
"module": "mesh-provisioner-client",
|
|
"version": "1",
|
|
"claims": [
|
|
{
|
|
"name": "node-provisioner",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"own-secrets": {
|
|
"provisioner-broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-provisioner-client",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-provisioner-client",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-provisioner-client"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-provisioner-client",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "client",
|
|
"type": "process",
|
|
"name": "mesh-provisioner-client",
|
|
"artifact": "client",
|
|
"run": [
|
|
"./mesh-provisioner-client"
|
|
],
|
|
"env": {
|
|
"MESH_PROVISIONER_CREDENTIAL": "${dir:state}/broker",
|
|
"MESH_PROVISIONER_STATE": "${dir:state}"
|
|
},
|
|
"user": "mesh-provisioner-client",
|
|
"health": {
|
|
"kind": "unit"
|
|
}
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "client",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-provisioner-client",
|
|
"binary": "mesh-provisioner-client"
|
|
}
|
|
]
|
|
}
|
|
}
|