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
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
{
|
|
"module": "systemd",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"service-manager",
|
|
"package-manager"
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "node-service-manager",
|
|
"scope": "node",
|
|
"serves": [
|
|
"units",
|
|
"status",
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"enable",
|
|
"disable",
|
|
"journal",
|
|
"failed",
|
|
"reset-failed",
|
|
"wanted-by",
|
|
"unlink-dangling"
|
|
]
|
|
}
|
|
],
|
|
"emits": [
|
|
"link.removal"
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/systemd-tools",
|
|
"binary": "systemd-tools",
|
|
"loads": [
|
|
"systemd-tools"
|
|
],
|
|
"env": {
|
|
"MESH_SYSTEMD_STATE": "${dir:state}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "package",
|
|
"type": "package",
|
|
"package": "systemd"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
]
|
|
}
|