feat(rotation): provider rotators, consumer propagation, weekly job, runbook (CLI 0.14.0) (#265)

- Catalog covers every key in the team plan (unknown 275 -> 0): new methods
  `provider` and `not-secret`, plus family/owner/never/disruptive on every
  spec. Wallets, treasury, Lightning, exchanges, Stripe, npm, GitHub App keys,
  signing identities and the personal vault are `never` and owner-only; an
  __ROTATE__ entry cannot make them automatic.
- Two-phase provider rotators (rotators.ts): resend, cloudflare-token,
  coinpay-api-key, coinpay-webhook-secret, vapid, postgres-role (SCRAM
  verifier over stdin, refuses self-hosted Supabase).
- rotate-keys --propagate [root]: finds consumer env files by value, backs
  up (.bak-rotate-<date>, 600), rewrites, restarts with the site's deploy.env
  through deploy-gate 3 at a time, health-checks local + public URL, revokes
  the old credential only after; any failure restores vaults, files and the
  provider. --scheduled, --max, --max-sites, --exclude-site, --report.
- scripts/logicsrc-rotate: weekly job, dry run unless LOGICSRC_ROTATE_LIVE=1,
  mails rotated / skipped / manual-by-owner report (never values).
- docs/rotation.md (logicsrc.com/docs/rotation) + docs/ROTATION.md pointer,
  including the wallets and signing keys section.

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-29 00:43:55 +00:00 • committed by GitHub
parent b5f875837a
commit 3254b2706b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 2609 additions and 91 deletions

View file

@ -42,6 +42,7 @@ const GUIDE_SUBTITLES: Record<string, string> = {
config: "Where config lives, and what each key does",
permissions: "Explicit, scoped, auditable permission grants",
keyring: "SSH keys and key pairs, end-to-end encrypted, with optional cloud sync",
rotation: "Rotate every key, password and token in your vaults: plan, rotate, redeploy, verify, revoke",
plugins: "The plugin system, and the plugins that ship with it",
"openontology-governance": "An agent proposes, a human applies",
"openontology-interoperability": "Mapping to RDF, SHACL and PROV-O, and where it stops",

View file

@ -149,6 +149,7 @@ export const GUIDES: Array<{ slug: string; name: string }> = [
{ slug: "config", name: "Config" },
{ slug: "permissions", name: "Permissions" },
{ slug: "keyring", name: "Keyring" },
{ slug: "rotation", name: "Rotating secrets" },
{ slug: "plugins", name: "Plugins" },
{ slug: "openontology-governance", name: "OpenOntology governance" },
{ slug: "openontology-interoperability", name: "OpenOntology interoperability" }