Skip to content

feat(pricing): secure private economic configuration and approved quotes - #9

Merged
vitormattos merged 7 commits into
feat/economic-scenario-calculatorfrom
feat/private-economic-authorization
Nov 5, 2026
Merged

vitormattos merged 7 commits into
feat/economic-scenario-calculatorfrom
feat/private-economic-authorization

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Scope

Complete the confidential economic-config integration on top of PR #8 and PR #7:

  • External, explicitly mounted private JSON matrix; no real parameters, prices or confidential paths committed.
  • Analyst-only economic simulation endpoint returning full costs and traceability.
  • Separate sales quote endpoint with a distinct file-backed token and a default-off host flag.
  • Quote gate requires private scope, dated and documented approval, approved relevant parameters and successful calculation; synthetic/missing parameters fail closed.
  • Sales replies include only a price candidate and non-sensitive identifiers; never costs, margins or tax rates.
  • Private-only operation and migration guidance. Synthetic positive/negative HTTP regression tests.
  • Nginx routes retain rate and connection limits; existing synthetic API is unaffected.

Deployment boundary

No merge, deploy, public exposure, real economic dataset, WooCommerce changes or activation is authorized. Access is off by default in publicly published Docker Compose: private mounts and host enablement belong outside source control and are separately reviewed. activation_allowed is always false.

Dependencies

Stacked on PR #8, which is stacked on PR #7. Review/merge in dependency order only, after all checks are green.

Tests

GitHub CI pending. Review authentication, rejection, redaction and approved-private synthetic scenarios on the final SHA.

…ccess

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…x mismatches

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 5, 2026 03:37
@vitormattos
vitormattos requested a review from a team as a code owner November 5, 2026 03:37
@vitormattos
vitormattos merged commit 7df6365 into feat/economic-scenario-calculator Nov 5, 2026
14 checks passed
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