A definition names no host path for its own data #193

Merged
jschoubben merged 1 commits from feat/definitions-place-their-directories into main 2026-09-30 19:17:00 +00:00
Owner

novox/hq issue 119, ADR 0112, design 27. 28 modules' data directories are placed (place: ".", sub-directories by id, every host-side reference as ${dir:<id>}, own-secrets included). Resolved on the default root every path is the one named before — proven by mesh-controller's TestPlacedDirectoriesKeepTheirPaths over both checkouts (28/28) — so no data moves and no machine's declaration changes. Five directories whose id is not their last segment keep their path as a placement. What the mesh writes for a module under /var/lib/mesh stays literal: hq issue 174.

Rollout check: each machine's plan --json saved before; after the rebuild wave they must be byte-identical.

novox/hq issue 119, ADR 0112, design 27. 28 modules' data directories are placed (`place: "."`, sub-directories by id, every host-side reference as `${dir:<id>}`, own-secrets included). Resolved on the default root every path is the one named before — proven by mesh-controller's `TestPlacedDirectoriesKeepTheirPaths` over both checkouts (28/28) — so no data moves and no machine's declaration changes. Five directories whose id is not their last segment keep their path as a placement. What the mesh writes for a module under /var/lib/mesh stays literal: hq issue 174. Rollout check: each machine's `plan --json` saved before; after the rebuild wave they must be byte-identical.
jschoubben added 1 commit 2026-09-30 19:10:42 +00:00
Twenty-eight modules' data directories are placed: the root as place ".", a sub-directory named by
its id, and every host-side reference — binds, secrets, own secrets, grants, receives, file paths,
mounts, env-files — as ${dir:<id>}. Resolved on the default root every path is the one the manifest
named before, which the controller's TestPlacedDirectoriesKeepTheirPaths proves over both checkouts;
so no data moves and no machine sees a change. Five directories whose id is not their last segment
keep their path as a placement (novox/hq issue 119, ADR 0112, design 27).
jschoubben merged commit af069dd667 into main 2026-09-30 19:17:00 +00:00
jschoubben deleted branch feat/definitions-place-their-directories 2026-09-30 19:17:05 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#193