Repository navigation
Honest lifecycle: create, destroy, status, billing, TTL, and doctor - #6
Merged
Merged
Conversation
Give humans and agents a stable --json envelope (code, hint, next), stop hanging destroy in JSON mode, and surface provider maturity via `sandman providers`. Harden state-file permissions, refuse to wipe corrupt config, redact connect secrets, close default SSH to the internet, and lock down new S3 buckets. Co-authored-by: Sergio Rovira <sgr0691@users.noreply.github.com>
Wire adapter.init and optional setRegion on create, fail closed on partial AWS provisioning, recycle names after successful destroy, and refresh status from the cloud. Auth mapping, state locks, and agent skills now match that lifecycle. Co-authored-by: Sergio Rovira <sgr0691@users.noreply.github.com>
Wire GCP billing on init/create so unlinkable projects are failed, not active. Enable reports provisioned vs local-only. AWS status checks instance and bucket state. Create --strict exits non-zero on partial failure. Add --ttl lazy reap, sandman doctor/whoami, repo metadata, dependency overrides, and a high-severity npm audit CI gate. Co-authored-by: Sergio Rovira <sgr0691@users.noreply.github.com>
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.
Makes Sandman’s create/destroy/status/cost/enable path match what the CLI already advertised, then adds billing, TTL, and doctor.
Honest lifecycle
adapter.init()and optionalsetRegion. Destroyed names can be recreated.deleteProjectunless the id starts withsandman-.AUTH_REQUIRED. Config writes take a.lock.Follow-up
init/create(--billing-account,GCP_BILLING_ACCOUNT, or parent project). Unlinkable projects arefailed, notactive.enablereturnsmode/provisioned/localOnly. AWSlambdaand CF/Vercel are local-only.DescribeInstances+HeadBucket.create --strictexits non-zero withPARTIALwhen create finishes failed.--ttl 30m|2h|1dwith lazy reap;sandman doctor/whoami.npm audit --omit=dev --audit-level=high.JSON compatibility: same envelope keys,
list --jsonstays a raw array,destroy --jsonstill requires-y.Tests
npm test(123) andnpm run buildpass.