Public pricing publication
The application database is authoritative. Its subscription service reads
dbo.SubscriptionLevel_ListActive. The public website deliberately uses a versioned
Content/pricing.json snapshot, with no live database/API connection and no automatic
synchronisation. A plan change is not complete for the public site until this
publication step has been reviewed and deployed separately.
dotnet run --project Tools/PublicPricing/PublicPricing.csproj -- \
/absolute/private/app-configuration.json PlotLine /absolute/new-pricing-publication
The private JSON supplies ConnectionStrings:DefaultConnection. It stays with an
appropriately authorised application/database operator, never in Git or the website.
Use PlotDirector_Development explicitly for a Development export. Do not publish
Development limits as Production facts: these currently differ. Production export
requires the existing approved read-only operational access; this command does not
grant access or authorize Production changes.
The exporter verifies the selected database, reads the existing stored procedure, and outputs only public plan fields (including checkout IDs), plus a digest manifest. It exports no customer data, credentials or Stripe price identifiers and makes no SQL/provider changes. A website developer reviews the artifact, copies pricing.json into the website Content directory, records manifest provenance and genuine content modification date, then uses the independent signed website deployment. Compare prices, limits, currency, intervals and plan IDs with the authoritative export before Production approval. No application deployment or restart is required.
The separation baseline was manually checked against Production's rendered pricing; it was not an automatic DB feed. This tool makes subsequent publication reproducible.