The node-engine owns the composition it alone runs (H1, H2)

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
This commit is contained in:
2026-11-02 18:24:05 +01:00
parent 98fbc490a4
commit 9a12f2851f
218 changed files with 33022 additions and 54 deletions
@@ -0,0 +1,97 @@
{
"module": "xdg",
"version": "1",
"capabilities": [
"package-manager"
],
"tools": [
"xdg_user_dirs",
"xdg_default",
"xdg_open_handlers",
"xdg_autostart",
"xdg_check"
],
"config": {
"desktop-dir": {
"type": "string",
"description": "The desktop folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
},
"publicshare-dir": {
"type": "string",
"description": "The public share folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
},
"videos-dir": {
"type": "string",
"description": "The videos folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
}
},
"resources": [
{
"id": "package-xdg-user-dirs",
"type": "package",
"package": "xdg-user-dirs"
},
{
"id": "package-xdg-utils",
"type": "package",
"package": "xdg-utils"
},
{
"id": "user-dirs",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.dirs",
"owner": "${machine:account}",
"mode": "0600",
"template": "files/user-dirs.dirs"
},
{
"id": "user-dirs-locale",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.locale",
"owner": "${machine:account}",
"mode": "0644",
"template": "files/user-dirs.locale"
},
{
"id": "user-dirs-update",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.conf",
"owner": "${machine:account}",
"mode": "0644",
"template": "files/user-dirs.conf"
},
{
"id": "default-applications",
"type": "file",
"path": "/etc/xdg/mimeapps.list",
"mode": "0644",
"template": "files/mimeapps.list"
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/xdg-tools",
"binary": "xdg-tools",
"loads": [
"xdg-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}