Skip to content

Add lifecycle-managed Stripe environment syncing - #28

Merged
davejohnson merged 1 commit into
mainfrom
agent/agent-first-onboarding
Jul 24, 2026
Merged

Add lifecycle-managed Stripe environment syncing#28
davejohnson merged 1 commit into
mainfrom
agent/agent-first-onboarding

Conversation

@davejohnson

Copy link
Copy Markdown
Owner

What changed

  • add declarative payments.stripe environment configuration for development, staging, and production
  • resolve scoped Stripe connections and synchronize publishable/secret keys plus selected price IDs into hosting environments through spec → plan → apply
  • add stale-plan fingerprints, collision validation, CI deploy deferral, and safety checks that prevent live Stripe credentials from being treated as sandbox data
  • document migration from the Invoice Express Stripe/Railway sync scripts
  • add schema, planning, convergence, service, and payments-tool coverage

Why

Invoice Express currently relies on imperative scripts to copy Stripe configuration and price IDs into hosting environments. This brings that workflow into Hypervibe's desired-state lifecycle so drift is planned, applied, audited, and verified consistently across development, staging, and production.

Impact

Projects can declare how Stripe environments map to hosting environments and let Hypervibe safely converge the corresponding environment variables. Existing legacy Stripe connection fields remain supported.

Validation

  • npm test — 106 files, 835 tests passed
  • npm run typecheck
  • npm run build
  • git diff --check

@davejohnson
davejohnson marked this pull request as ready for review July 24, 2026 16:39
@davejohnson
davejohnson merged commit 166dd3e into main Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant