xenvsync

Workflow Examples

Expanded team workflows for solo, startup, and enterprise environments, including CI gates and recovery paths.

Team Workflow Playbooks

Solo: Local Development Loop

Solo

Initialize once, encrypt local env, and run app with in-memory secret injection.

Command flowbash
$ xenvsync init
$ xenvsync push
$ git add .env.vault && git commit -m "vault update"
$ xenvsync run -- npm run dev
$ xenvsync diff

Startup: Team Onboarding + Staging

Startup

Add team members, publish staging vault, and align local and CI workflows.

Command flowbash
$ xenvsync keygen
$ xenvsync whoami
$ xenvsync team add alice <alice-pubkey>
$ xenvsync team add bob <bob-pubkey>
$ xenvsync push --env staging
$ xenvsync pull --env staging
$ xenvsync run --env staging -- npm test

Enterprise: CI Gate + Promotion

Enterprise

Enforce doctor/verify in pipeline, then promote vetted config from staging to production.

Command flowbash
$ xenvsync doctor --env staging
$ xenvsync verify --env staging
$ xenvsync pull --env staging
$ xenvsync push --env production
$ xenvsync verify --env production

Enterprise: Offboarding + Rotation

Enterprise

Revoke member access and rotate production/staging material with an audit-friendly command chain.

Command flowbash
$ xenvsync team remove contractor-1
$ xenvsync rotate --revoke contractor-1 --env staging
$ xenvsync rotate --revoke contractor-1 --env production
$ xenvsync push --env staging
$ xenvsync push --env production
$ xenvsync log --env production -n 20

Incident Response: Suspected Key Leak

All

Contain, rotate, and re-issue working vaults with minimal downtime.

Command flowbash
$ xenvsync doctor
$ xenvsync verify --env production
$ xenvsync rotate --env production
$ xenvsync push --env production
$ xenvsync pull --env production
$ xenvsync run --env production -- npm run smoke

Related Guides

Use-Cases Narrative

Strategic context for solo, startup, and enterprise adoption paths.

Open use-cases

Usage Cookbook

Task-driven recipes for migration, auditing, export, and operations.

Open usages

Troubleshooting

Error signatures, warning classes, and targeted remediation patterns.

Open troubleshooting