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
67 lines
1.1 KiB
Plaintext
67 lines
1.1 KiB
Plaintext
{
|
|
"module": "ca-trust",
|
|
"version": "1",
|
|
"slug": "catrust",
|
|
"capabilities": [
|
|
"service-manager"
|
|
],
|
|
"requires": [
|
|
"internal-acme-ca"
|
|
],
|
|
"seats": [
|
|
{
|
|
"name": "the-mesh-trust-anchor",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "the-mesh-trust-anchor",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "anchor",
|
|
"type": "file",
|
|
"path": "${dir:state}/anchor",
|
|
"mode": "0755",
|
|
"template": "files/anchor"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/mesh-ca-trust.service",
|
|
"mode": "0644",
|
|
"template": "files/mesh-ca-trust.service"
|
|
},
|
|
{
|
|
"id": "trust",
|
|
"type": "service",
|
|
"unit": "mesh-ca-trust.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"anchor",
|
|
"unit"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|