feat(clawdie): host installer/deployer crate (FreeBSD + Linux) #46

Merged
clawdie merged 2 commits from feat/clawdie-installer into main 2026-06-13 22:56:42 +02:00
Owner

New crates/clawdie binary: discovers a host's ZFS layout and provisions the clawdie service, cross-platform via a Platform backend (FreeBSD rc.d + native ZFS; Linux systemd + ZFS-on-Linux).

  • discover — read-only OS + pool/dataset inspection
  • plan [--pool] — render the ZFS layout + service-install steps (dry-run)
  • apply [--pool] [--yes] — executes the plan; dry-run unless --yes

Guarded: writes to disk only with --yes. Discovery + plan logic unit-tested (7 tests, clippy -D warnings + fmt clean). The disk-touching deploy.rs path must be validated on real FreeBSD/Linux hosts. Workspace crate tables updated (12 crates: 11 members + root).

New `crates/clawdie` binary: discovers a host's ZFS layout and provisions the `clawdie` service, cross-platform via a `Platform` backend (FreeBSD rc.d + native ZFS; Linux systemd + ZFS-on-Linux). - `discover` — read-only OS + pool/dataset inspection - `plan [--pool]` — render the ZFS layout + service-install steps (dry-run) - `apply [--pool] [--yes]` — executes the plan; **dry-run unless `--yes`** Guarded: writes to disk only with `--yes`. Discovery + plan logic unit-tested (7 tests, clippy `-D warnings` + fmt clean). The disk-touching `deploy.rs` path must be validated on real FreeBSD/Linux hosts. Workspace crate tables updated (12 crates: 11 members + root).
clawdie added 2 commits 2026-06-13 22:56:38 +02:00
New crates/clawdie binary. Discovers a host's ZFS layout and provisions the
clawdie service, cross-platform via a Platform backend (FreeBSD rc.d + native
ZFS; Linux systemd + ZFS-on-Linux).

- discover: read-only OS + pool/dataset inspection
- plan: render the ZFS layout + service-install steps (dry-run)
- apply: executes the plan, and only with --yes (dry-run otherwise)

apply writes to disk only with --yes. Discovery + plan logic is unit-tested (7);
the disk-touching path must be validated on real hosts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
docs: list clawdie in the workspace crate tables
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
ebff77b326
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clawdie merged commit 03ff924aa2 into main 2026-06-13 22:56:42 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/colibri#46
No description provided.