feat(teams): clean archives stale keys to <project>--<env>-archive (CLI 0.11.0) (#262)

logicsrc teams clean <team> <project> <env> [--key K] [--dead] [--approve]
moves keys out of a live vault into its archive vault. Nothing is deleted:
a key leaves the live vault only after its archived copy reads back with
the same fingerprint. --dead finds URL values whose host no longer resolves
and Supabase JWTs whose project ref is such a host. A different value
already archived under a name is kept; the new copy gets a __<UTC stamp>
suffix. Each archived key has an __ARCHIVE__<NAME> entry (from, why, when,
who). Dry run unless --approve.

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sh1pt-actions-fleet[bot] 2026-10-28 18:32:11 +00:00 • committed by GitHub
parent ae6298851b
commit ae4615e61d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 308 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@logicsrc/cli",
"version": "0.10.0",
"version": "0.11.0",
"description": "LogicSRC CLI: every LogicSRC standard and tool as one command.",
"type": "module",
"main": "./dist/index.js",