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,81 @@
{
"module": "time-sync",
"version": "1",
"capabilities": [
"package-manager",
"service-manager"
],
"tools": [
"time_sync_status",
"time_sync_servers",
"time_sync_sync_now"
],
"resources": [
{
"id": "servers",
"type": "file",
"path": "/etc/systemd/timesyncd.conf.d/50-mesh.conf",
"mode": "0644",
"template": "files/50-mesh.conf",
"names-on-purpose": {
"0.europe.pool.ntp.org": "the public NTP pool's European zone: the world's time service, the same for every installation; nearest to every machine of this mesh",
"1.europe.pool.ntp.org": "the public NTP pool's European zone: the world's time service, the same for every installation; nearest to every machine of this mesh",
"2.europe.pool.ntp.org": "the public NTP pool's European zone: the world's time service, the same for every installation; nearest to every machine of this mesh",
"3.europe.pool.ntp.org": "the public NTP pool's European zone: the world's time service, the same for every installation; nearest to every machine of this mesh",
"0.arch.pool.ntp.org": "the distribution's own NTP pool, timesyncd's compiled-in fallback, stated so the drop-in says the whole of what timesyncd uses",
"1.arch.pool.ntp.org": "the distribution's own NTP pool, timesyncd's compiled-in fallback, stated so the drop-in says the whole of what timesyncd uses",
"2.arch.pool.ntp.org": "the distribution's own NTP pool, timesyncd's compiled-in fallback, stated so the drop-in says the whole of what timesyncd uses",
"3.arch.pool.ntp.org": "the distribution's own NTP pool, timesyncd's compiled-in fallback, stated so the drop-in says the whole of what timesyncd uses"
}
},
{
"id": "retire-ntpd",
"type": "process",
"name": "time-sync-retire-ntpd",
"artifact": "tools",
"run": [
"./time-sync-tools",
"retire",
"ntpd.service",
"ntpdate.service"
],
"run-once": true
},
{
"id": "daemon",
"type": "service",
"unit": "systemd-timesyncd.service",
"state": "running",
"boot": "enabled",
"restart-on": [
"servers"
]
},
{
"id": "ntp",
"type": "package",
"package": "ntp",
"absent": true
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/time-sync-tools",
"binary": "time-sync-tools",
"loads": [
"time-sync-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}