Take the catalogue's composition rules into the node-engine
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
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"module": "dbus",
|
||||
"version": "1",
|
||||
"capabilities": [
|
||||
"package-manager",
|
||||
"service-manager"
|
||||
],
|
||||
"claims": [
|
||||
{
|
||||
"name": "node-message-bus",
|
||||
"scope": "node"
|
||||
}
|
||||
],
|
||||
"emits": [
|
||||
"bus.stalled",
|
||||
"bus.recovered",
|
||||
"bus.restarted",
|
||||
"service.appeared",
|
||||
"service.left",
|
||||
"policy.denied"
|
||||
],
|
||||
"tools": [
|
||||
"dbus_names",
|
||||
"dbus_introspect",
|
||||
"dbus_monitor",
|
||||
"dbus_check",
|
||||
"dbus_health"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"id": "dbus",
|
||||
"type": "package",
|
||||
"package": "dbus"
|
||||
},
|
||||
{
|
||||
"id": "broker",
|
||||
"type": "package",
|
||||
"package": "dbus-broker"
|
||||
},
|
||||
{
|
||||
"id": "broker-units",
|
||||
"type": "package",
|
||||
"package": "dbus-broker-units"
|
||||
},
|
||||
{
|
||||
"id": "system-bus",
|
||||
"type": "service",
|
||||
"unit": "dbus-broker.service",
|
||||
"state": "running"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "tools-go",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/dbus-tools",
|
||||
"binary": "dbus-tools",
|
||||
"loads": [
|
||||
"dbus-tools"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user