clawdinators/scripts
joshp123 280744ce0c infra: slim clawdinators aws footprint
What:
- bound CLAWDINATOR image artifact retention with S3 lifecycle, AMI pruning, and import provenance tags
- reduce the AWS fleet to Babelfish-only and make GitHub credentials opt-in per host
- disable the AMI build, nix-openclaw bump, and release workflows by moving them out of .github/workflows/
- update operator docs for the new explicit build and deploy model

Why:
- stop unbounded S3 and snapshot growth from image builds
- remove unattended resurrection paths and shut down the unused t3.large instances
- keep the remaining Babelfish host running without GitHub App credentials or sync timers

Tests:
- `nix shell nixpkgs#shellcheck nixpkgs#shfmt -c bash scripts/lint-shell.sh` (pass)
- `nix build .#nixosConfigurations.clawdinator-babelfish.config.system.build.toplevel .#nixosConfigurations.clawdinator-1.config.system.build.toplevel .#nixosConfigurations.clawdinator-2.config.system.build.toplevel` (pass)
- `AWS_PROFILE=homelab-admin TF_VAR_aws_region=eu-central-1 TF_VAR_ami_id=ami-0a9abe17feeee0079 TF_VAR_ssh_public_key="$(cat ~/.ssh/id_ed25519.pub)" nix shell nixpkgs#opentofu -c sh -lc 'tofu fmt -check && tofu validate'` (pass)
- live AWS apply: destroyed `clawdinator-1` and `clawdinator-2`, replaced Babelfish, and verified only `Fleet Deploy` remains active in GitHub Actions
2026-04-03 15:38:57 +02:00
..
aws-resolve-instance-id.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
aws-ssm-run.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
bootstrap-runtime.sh infra: rebootstrap on prefix change 2026-02-03 18:27:30 -08:00
build-image.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
clawdinator-version.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
fetch-ec2-metadata.sh infra: restore ec2 user-data fetch 2026-02-03 16:36:21 -08:00
fleet-control.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
fleet-deploy.sh infra: add fleet control api + multi-instance 2026-02-03 01:20:23 +01:00
fleet-status.sh Fix jq precedence in fleet-status 2026-02-15 17:13:09 -08:00
fleet-switch-nixos.sh 🤖 fix: remove inline remote deploy logic from fleet switch 2026-02-16 08:59:22 -08:00
gh-sync.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
import-image.sh infra: slim clawdinators aws footprint 2026-04-03 15:38:57 +02:00
init-memory.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
landpr.md refine: landpr flow to single approval gate 2026-02-01 17:15:33 +01:00
lint-shell.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
memory-edit.sh Add EFS shared memory and locking tools 2026-01-08 13:43:56 +01:00
memory-read.sh Add EFS shared memory and locking tools 2026-01-08 13:43:56 +01:00
memory-write.sh Add EFS shared memory and locking tools 2026-01-08 13:43:56 +01:00
mint-github-app-token.sh Bake repo seeds into image build 2026-01-08 23:21:58 +01:00
pi-auth.sh Switch pi defaults to OpenAI API provider 2026-02-02 17:22:25 +01:00
prepare-repo-seeds.sh Bake repo seeds into image build 2026-01-08 23:21:58 +01:00
prune-clawdinator-ami-history.sh infra: slim clawdinators aws footprint 2026-04-03 15:38:57 +02:00
remote-fleet-switch-host.sh 🤖 fix: remove inline remote deploy logic from fleet switch 2026-02-16 08:59:22 -08:00
resolve-latest-ami.sh infra: add fleet control api + multi-instance 2026-02-03 01:20:23 +01:00
seed-repos-from-snapshot.sh Bake repo seeds into image build 2026-01-08 23:21:58 +01:00
seed-repos.sh Make seed-repos resilient to single repo failures 2026-01-08 23:10:52 +01:00
seed-workspace.sh Make seed-workspace resilient to permission drift 2026-02-15 17:15:12 -08:00
sync-public-s3-tree.sh Add shellcheck + shfmt linting for scripts 2026-02-15 15:51:40 -08:00
upload-bootstrap-all.sh infra: slim clawdinators aws footprint 2026-04-03 15:38:57 +02:00
upload-bootstrap.sh Move secrets + repo seeds to runtime bootstrap 2026-01-10 17:04:18 +01:00
upload-image.sh Harden AWS image pipeline and cleanup host config 2026-01-07 23:00:21 +01:00
validate-age-secrets.sh feat: control api invoke creds 2026-02-03 11:10:39 +01:00