Repository navigation
Add an Argos storage teardown skill - #95
Merged
Merged
Conversation
teardown.sh lists, with sizes, the dev compose stacks (containers, volumes including the database, networks), unused Argos images, Docker's build cache and run-local's state; `remove` removes them and reports the space freed. It leaves every other compose project alone, refuses if a dev-named stack came from a router/brick/tpu compose file or a run-local client still serves, and with Docker stopped clears only run-local's state. run-local suggests it when a session is done with the stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…timer teardown.sh now removes only what run-local recorded (its clients, cargo run, and the dev compose projects it started, with their containers, volumes, networks and images) without asking. `in <minutes>` schedules it; `auto <minutes|off>` stores the workspace's choice (git config argos.teardown), and run-local arms the timer when it brings the stack up, or prints teardown=unset so the model asks once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z
…cific skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
New Argos
teardown-storageskill that tears down only what run-local brought up: its clients andcargo run, and the dev compose projects it started (recorded in its state) with their containers, volumes (database too), networks and the images only they used. It doesn't ask.teardown.sh in <minutes>schedules it;teardown.sh auto <minutes|off>stores the workspace's choice (git config argos.teardown), and run-local arms that timer whenever it brings the stack up, or printsteardown=unsetso the model asks the user once.Testing
docker):autoset/print/validation;inreplaces an earlier timer; Docker stopped stops processes, keeps the record, exits 1; a full teardown kills clients and the timer, runs exactly the recorded project's removals, keeps a shared image, reports space freedNotes
Checklist
ci/check.sh .andbash tests/e2e.shpass.delphi/manifest.ymlfile changed (none changed)Closes #73
🤖 Generated with Claude Code
https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z