Skip to content

Add an Argos storage teardown skill - #95

Merged
bracyw merged 4 commits into
mainfrom
73-add-an-argos-storage-teardown-skill
Nov 19, 2026
Merged

bracyw merged 4 commits into
mainfrom
73-add-an-argos-storage-teardown-skill

Conversation

@bracyw

@bracyw bracyw commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Changes

New Argos teardown-storage skill that tears down only what run-local brought up: its clients and cargo 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 prints teardown=unset so the model asks the user once.

Testing

  • e2e 13b (stub docker): auto set/print/validation; in replaces 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 freed
  • Not run against a real Argos stack

Notes

  • Departs from the issue on purpose: no list-and-confirm step, and it can run on its own once the user opts in.
  • Targeted means Docker's build cache, other dev stacks and leftover one-off images aren't touched.
  • The timer starts when run-local brings the stack up; reusing a running stack doesn't extend it.
  • Open Playwright CLI sessions aren't detected; the skill says to close them first.

Checklist

  • ci/check.sh . and bash tests/e2e.sh pass
  • Version bumped if a .delphi/manifest.yml file changed (none changed)
  • No merge conflicts
  • Request reviewers & ping on Slack

Closes #73

🤖 Generated with Claude Code

https://claude.ai/code/session_013vbA3iKVfvhFrgVECq2K4Z

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
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ddb82e7b-c159-43cb-bfe8-a374f44448b6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bracyw bracyw added the by: ai Written by AI label Nov 18, 2026 — with Claude
…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
@bracyw
bracyw merged commit 779acc7 into main Nov 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

by: ai Written by AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an Argos storage teardown skill

2 participants