feat(justfile): add dev-clean / dev-clean-all teardown recipes #48

Merged
David merged 1 commit from feat/dev-clean-recipes into main 2026-06-13 19:49:16 +02:00
Owner

Adds the canonical dev-clean / dev-clean-all teardown recipes, per GOV-7 (governance template templates/justfile/cleanup.just).

dev-clean removes the two hook-mounted cargo volumes (dev-monkey-cargo-target, dev-monkey-cargo-registry) and deletes the local Rust build artifact target/.
dev-clean-all additionally removes the images this repo builds (monkey:check from check-docker, monkey:local from build-docker) and runs docker buildx prune --force.
monkey is a pure CLI with no compose stack and writes no local runtime data/ dir, so there is no docker compose down line and no data/ removal; there was no pre-existing clean recipe to align.

Both guard every removal with an existence check and stay scoped to this repo (no host-global prune). Verified just --list parses and groups both under [cleanup].

Part of the GOV-7 rollout; tracked there rather than via a per-repo issue.

🤖 Generated with Claude Code

Adds the canonical `dev-clean` / `dev-clean-all` teardown recipes, per GOV-7 (governance template `templates/justfile/cleanup.just`). `dev-clean` removes the two hook-mounted cargo volumes (`dev-monkey-cargo-target`, `dev-monkey-cargo-registry`) and deletes the local Rust build artifact `target/`. `dev-clean-all` additionally removes the images this repo builds (`monkey:check` from `check-docker`, `monkey:local` from `build-docker`) and runs `docker buildx prune --force`. monkey is a pure CLI with no compose stack and writes no local runtime `data/` dir, so there is no `docker compose down` line and no `data/` removal; there was no pre-existing clean recipe to align. Both guard every removal with an existence check and stay scoped to this repo (no host-global prune). Verified `just --list` parses and groups both under `[cleanup]`. Part of the GOV-7 rollout; tracked there rather than via a per-repo issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(justfile): add dev-clean / dev-clean-all teardown recipes
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 26s
Create release / Create release from merged PR (pull_request) Has been skipped
02b732d3eb
Adds a `[cleanup]` section with two Nushell recipes scoped to this repo. `dev-clean` removes the two hook-mounted named volumes (dev-monkey-cargo-target, dev-monkey-cargo-registry), each guarded by a `docker volume ls` membership check, and deletes the local Rust build artifact (target/) guarded by `path exists`; monkey is a pure CLI with no compose stack and writes no local runtime data/ dir, so there is no compose down line and no data/ removal. `dev-clean-all` additionally removes the images this repo builds (monkey:check from check-docker, monkey:local from build-docker), each guarded by `docker image inspect`, then runs `docker buildx prune --force`. No pre-existing clean recipe to align.

#GOV-7
David merged commit d7b463a443 into main 2026-06-13 19:49:16 +02:00
David deleted branch feat/dev-clean-recipes 2026-06-13 19:49:18 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
pandoras-box/monkey!48
No description provided.