Optimize sovereign data placement portfolio

Choose one executable regional placement per governed data workload by Monte Carlo posterior risk and exact/beam Pareto search under hard residency, KMS, encryption, diversity, latency, availability, relation, budget and capacity constraints.

What it's for

Makes EU tier, BYOK and dedicated-VPC design an explicit risk/cost/value frontier instead of a one-size-fits-all deployment checkbox.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
beam_width integer ≥ 1, ≤ 100000 Numerical control Optional
data_workloads array of objects (16 fields) Evidence Yes
exact_state_limit integer ≥ 1, ≤ 10000000 Your calibration Optional
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
placement_budget number ≥ 0 Your calibration Yes
placement_options array of objects (20 fields) Evidence Yes
random_seed integer ≥ 0, ≤ 4294967295 Your calibration Optional
regional_risk_groups array of objects (3 fields) Evidence Yes
resource_capacities array of objects (3 fields) ≥ 0 items Evidence Yes
risk_aversion number ≥ 0 Your calibration Optional
scenarios array of objects (8 fields) Evidence Yes
simulation_count integer ≥ 1000, ≤ 200000 Your calibration Optional
tail_probability number > 0, < 1 Your calibration Optional

Each placement_options record

Field Type Required
available_scenario_ids array of string Yes
backup_region_id string (non-empty) Yes
common_loss_reduction number (≥ 0, ≤ 1) Yes
dependency_option_ids array of string Yes
evidence_verified boolean Yes
exclusion_option_ids array of string Yes
fallback_provider_id string,null Yes
id string (non-empty) Yes
is_current_state boolean Yes
key_region_id string (non-empty) Yes
migration_cost number (≥ 0) Yes
operating_cost_scenarios array of number (≥ 1 item) Yes
p95_latency_ms_scenarios array of number (≥ 1 item) Yes
primary_provider_id string (non-empty) Yes
processing_region_id string (non-empty) Yes
resource_demand object Yes
satisfied_control_ids array of string Yes
storage_region_id string (non-empty) Yes
unavailability_odds_multiplier_scenarios array of number (≥ 1 item) Yes
workload_id string (non-empty) Yes
Example input
{
  "data_workloads": [
    {
      "allowed_backup_region_ids": [
        "eu-central"
      ],
      "allowed_key_region_ids": [
        "eu-central"
      ],
      "allowed_processing_region_ids": [
        "eu-west"
      ],
      "allowed_storage_region_ids": [
        "eu-west",
        "eu-central"
      ],
      "business_value_scenarios": [
        120000,
        100000
      ],
      "direct_loss_scenarios": [
        100000,
        200000
      ],
      "evidence_verified": true,
      "id": "code",
      "maximum_p95_latency_ms": 200,
      "maximum_residual_unavailability_probability": 0.05,
      "minimum_provider_diversity": 1,
      "minimum_region_diversity": 2,
      "regional_risk_group_id": "eu",
      "required_control_ids": [
        "tenant-kms"
      ],
      "unavailability_prior_alpha": 1,
      "unavailability_prior_beta": 99
    }
  ],
  "placement_budget": 50000,
  "placement_options": [
    {
      "available_scenario_ids": [
        "base",
        "stress"

Truncated for display — the full payload is 159 lines.

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "baseline_current_state": {
    "conditional_value_at_risk": 202000,
    "expected_loss": 10100,
    "expected_operating_cost": 10447,
    "expected_value": 112215,
    "migration_cost": 0,
    "option_ids": [
      "current"
    ],
    "resource_use": {
      "engineering": 0
    },
    "risk_adjusted_score": 41168,
    "value_at_risk": 0
  },
  "constraints": {
    "placement_budget": 50000,
    "resource_capacities": {
      "engineering": 5
    },
    "risk_aversion": 0.25
  },
  "decision": "optimize",
  "failed_gates": [],
  "guardrails": [
    "Region allowlists and required controls are counsel- and security-governed constraints; the optimizer does not determine legal eligibility.",
    "Every workload receives exactly one executable option, with budget, resources, dependencies, exclusions, latency, diversity and residual-risk gates enforced before ranking.",
    "Shared regional loss is counted once per risk group; recommendations never migrate data or rotate keys automatically."
  ],
  "method": "monte_carlo_policy_constrained_sovereign_placement_pareto_v1",
  "option_policy_diagnostics": [
    {
      "failed_gates": [],
      "option_id": "current",
      "policy_feasible": true,
      "workload_id": "code"
    },
    {
      "failed_gates": [],
      "option_id": "resilient",
      "policy_feasible": true,
      "workload_id": "code"
    }

Truncated for display — the full payload is 78 lines.

How it works

Sequential Bayesian & bandits — Learn while deciding — update beliefs as evidence arrives and choose where the next unit of effort is worth spending.

  1. 1 Freeze counsel/security-owned storage, processing, backup and key-region allowlists, required controls and hard service limits for every data workload before evaluating options.
  2. 2 Draw workload unavailability from Beta posteriors and coherent regional scenarios; count unique common regional loss once, and evaluate retained business value, operating/migration cost, expected loss and CVaR for feasible portfolios.
  3. 3 Enumerate exactly when bounded or use deterministic beam search, reject hard-policy/resource/relation failures before scoring, compare the current-state baseline and return a risk/value Pareto frontier.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • The likelihood or reward model, prior support, action logging, delayed outcomes, and any stationarity assumptions match the deployment process.
  • Each option is executable and independently tested, workload/provider/region dependencies are complete, scenario vectors are coherent, and the Beta event model is fit at the declared workload/horizon grain.
  • Posterior probability and adaptive selection are model-conditional; they are not substitutes for randomized propensities or guaranteed safety.
  • The optimizer ranks only supplied policy-feasible designs and never determines legal eligibility, migrates data, changes routing or rotates encryption keys.

Minimum evidence

  • data_workloads: required and organization-defined
  • regional_risk_groups: required and organization-defined
  • placement_options: required and organization-defined
  • scenarios: required and organization-defined
  • resource_capacities: at least 0 rows/items
  • placement_budget: required and organization-defined

How to validate it

Backtest the chosen action against simple feasible baselines on held-out scenarios, sweep costs/constraints/risk tolerance, and require constraint feasibility under adverse inputs.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • one versioned multiple-choice placement matrix per workload joined to counsel/security policy, cloud topology, reliability telemetry, capacity, FinOps and finance/risk scenario sources with unique shared regional-loss groups
  • region legal eligibility and controls, workload/risk-group boundary, prior horizon, value/loss, latency/diversity/residual-risk limits, option effectiveness, full cost, relations, scenario law, common-loss uniqueness, capacity, budget and risk aversion

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "choose one executable regional placement per" }
  → finds "optimize_sovereign_data_placement_portfolio"

gitrevio_capability_describe
  { "capability_id": "optimize_sovereign_data_placement_portfolio" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "optimize_sovereign_data_placement_portfolio", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Audit data sovereignty residency evidence integrity

Audit every governed data asset's point-in-time storage, processing, replica, backup, log/cache and key locations plus cross-region transfers against an effective counsel-supplied residency policy, independent evidence, encryption controls and retention limits.

Constrained optimization

Forecast cross border data restriction loss

Forecast migration, operating, contract and common jurisdiction loss from counsel-defined cross-border data restrictions with a Gamma-Poisson event model, pooled log-normal duration/cost and coherent tail scenarios.

Forecasting & survival

Audit cyber control evidence integrity

Audit whether claimed defense in depth is supported by current independent control tests mapped to declared attack-path steps, while preserving duplicate mappings and counting each exposed business asset only once.

Statistical audit & measurement

Audit software supply chain integrity

Audit the deployed runtime software supply chain from application roots through resolved dependency edges: reconcile SBOM freshness, version resolution, source pinning, artifact attestation, support horizon, license policy, vulnerability disposition, evidence coverage and unique application value without treating repository text as provenance or exploitability evidence.

Constrained optimization

Audit workforce identity access evidence integrity

Audit the point-in-time chain from an opaque workforce subject through authorized accounts, independent identity evidence, approved least-privilege grants and MFA/device-backed access events.

Statistical audit & measurement

Bayesian account risk triage

Prioritize human review of auditable account-security and policy-conflict evidence using Bayes factors and decision costs.

Sequential Bayesian & bandits

See every tool in Security, access & compliance →

Ready to See Your Engineering work clearly?

Request a free demo