feat: add make cleanup target
Some checks failed
tamq-ci / test (push) Failing after 6s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
tegwick 2026-08-25 22:25:54 +02:00
parent cd73b954e9
commit 72f22a13f7
5 changed files with 38 additions and 1 deletions

View file

@ -223,6 +223,7 @@ terminal outside the managed session. It is a dry run unless `--yes` is given:
```bash
tamq cleanup
tamq cleanup --yes
make cleanup
```
Confirmed cleanup stops only the verified tamq broker, closes only a tmux
@ -231,6 +232,7 @@ clears leases and line counters, removes the configured socket/PID/lock files,
deletes only tamq-generated protocol absorbers (including legacy `@repo`
shims), and removes owned stale `tamq-*` tmux sockets.
Durable message history and unrelated tmux sessions or files are preserved.
`make cleanup` is the convenient confirmed form and preserves that same scope.
The command is idempotent; an ownership mismatch is reported instead of being
removed.