Every automatic secret older than the team's max age (90 days default) is
queued as one run in awaiting-approval. An owner/admin approves it on the
Rotation page or with `teams rotation-approve`; machine keys can queue but
never approve. logicsrc-rotate --queue (*/5 cron) runs approved runs with
propagate + health checks + rollback. rotation_auto_approve per team is the
paid automatic rotation add-on (off by default).
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- method "desktop": dashboard-only keys (OpenAI, ElevenLabs, Brave Search,
Civitai, Cloudflare Global API Key roll, Anthropic/Claude OAuth report-only)
rotated by an agent on a W3BS Agentic Desktop Layer host (--desktop /
LOGICSRC_DESKTOP_HOST). Agent browser only, old key by its last 4 chars,
DOM-to-file capture (wl-paste fallback), two-phase revoke after health,
rollback deletes the new key, remote file shredded. needs-login and busy
are waits, not failures. Roll needs --allow-roll plus a capture self-test.
- app.logicsrc.com: /teams/:slug/rotation plan page + rotation run queue
(migration 010), API routes; runner: rotate-keys --from-queue.
- MCP: rotation_plan, rotation_set, rotate_keys (dry run default), rotation_runs.
- docs/rotation.md: desktop rotators and every surface.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- 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>