ADR 0593 §1 and §7: compose, its bus reader and runtime reader, takein, validate, the overlay generator, the composer's run and mesh-compose, and the judgement of a move leave mesh-sdk for the node-engine's internal packages, so no other module composes and a change to them rebuilds only the node-engine. The shapes others read (the composer's request and verdict, the overlay's names, compositions and answers) stay in mesh-sdk. The node's grant is now a golden file of what the grants part composes, since the composer of the bus's user list leaves mesh-sdk too. 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"
|
|
}
|
|
]
|
|
}
|
|
}
|