Project 33 of 84
env-sync
Standalone secrets-sync CLI that keeps 1Password as the single source of truth and diffs, validates and pushes secret values to six deploy platforms (AWS SSM, Vercel, Render, CapRover, GitHub Actions, dotenv) from one committed secrets.manifest.yml, with default-on safety gates. Ported out of next-starters' secrets-source-of-truth skill scripts.
- Status
- Shipped
- Last activity
- 2026
- Stack
- TypeScript
- Node.js
- pnpm workspaces
- Turborepo
- commander
- node:test
- Go
- Cobra
Highlights
- Built a second, independent Go implementation of the env-sync CLI (Cobra, 1Password Go SDK, six adapters) that replays the same golden fixture corpora as the TypeScript build, keeping user-visible errors byte-identical across both languages.
- Grew env-sync from a 3-command port into a 0.8.0 tool with discover, create-only seed, secret set/unset/set-many, bootstrap, preflight and plan/apply/doctor across 58 merged PRs in seven weeks.
- Designed an owner-only plan/apply flow for production secret rollouts: agents build a value-free plan with full SHA-256 fingerprints and a plan hash, and the owner approves once at a TTY, replacing 12+ interactive commands per rollout.
- Implemented a GitHub Actions OIDC environment-approval gate in TypeScript and Go that verifies RS256 signatures against GitHub's JWKS and trusts only signed claims, with the audience and org owner id pinned in code.
- Cut 1Password read volume by adding a run-scoped vault/item cache in Go (fake-counted 120 to 45 calls) and opt-in 1Password Connect reads scoped to diff/validate, so stale replica data can never drive a write.
- Added least-privilege write identities via per-vault --vault-token mappings and a dedicated write-scoped service account; seeded real fw-helmsman dev items, and a peer session (linkweave-worker) reported production use of preflight and set-many.
- Hardened the manifest loader and adapters across 0.4.0 breaking changes (unknown-key rejection, U+FEFF refusal, CapRover domain allowlist and redirect refusal, fail-closed audit log), backed by a committed TS-vs-Go differential fuzz harness.
- Published a secrets-crud agent skill through a plugin marketplace pipeline and shipped a Docusaurus docs site (env-sync.catesworks.dev) plus a Next.js marketing site whose command and adapter pages are test-locked to the CLI source.