From 5162c3b05f2c174546e066d7ca32d8a09c4ced36 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 30 Sep 2026 09:56:18 +0200 Subject: [PATCH] The host is a module, so the mesh can build it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit novox/hq 04-ISSUES/142 and ADR 0142. Nothing delivered the host because nothing could compile it, and nothing could compile it partly because the host was not a thing the mesh builds at all — it had no manifest. One bundle in Go, for arch, built from cmd/mesh-host. A system is required for a compiled artifact because a binary is pinned at link time so a host refuses to touch a machine it was not built for (ADR 0005), and `arch` is what all four of this mesh's machines report themselves to be. Another system is another artifact and another build, which is what ADR 0142 means by one per target. No resources yet. What places a version into a directory named for it needs an archive resource whose path carries the version, and nothing interpolates one — the second half of 0141's insight, and the next piece. --- module.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 module.json diff --git a/module.json b/module.json new file mode 100644 index 0000000..6a66ace --- /dev/null +++ b/module.json @@ -0,0 +1,17 @@ +{ + "module": "mesh-host", + "version": "1", + "slug": "host", + "build": { + "artifacts": [ + { + "name": "host-arch", + "kind": "bundle", + "language": "go", + "system": "arch", + "from": "cmd/mesh-host" + } + ] + }, + "resources": [] +} -- 2.54.0