Optimize knowledge resilience portfolio
Choose one baseline, cross-training, paired-review, rotation, documentation or backup-owner posture per critical knowledge unit using prospectively identified transport-weighted Beta-binomial relative-failure effects, contributor-availability and common-loss scenarios, exact or disclosed beam search, mentor/learner capacity, budget, expected-failure, CVaR and Pareto constraints.
What it's for
Lets a CTO move from 'we have a bus-factor problem' to a financially constrained, evidence-backed cross-training and backup-ownership plan that prices common shocks and scarce mentor time.
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 ≥ 10, ≤ 10000 | Numerical control | Optional |
| budget | number ≥ 0 | Your calibration | Yes |
| intervention_studies | array of objects (12 fields) ≥ 0 items | Evidence | Yes |
| knowledge_units | array of objects (7 fields) | Evidence | Yes |
| learner_capacity_hours | object | Evidence | Yes |
| max_pareto_options | integer ≥ 1, ≤ 100 | Your calibration | Optional |
| maximum_cvar_loss | number ≥ 0 | Your calibration | Yes |
| maximum_exact_combinations | integer ≥ 1, ≤ 5000000 | Your calibration | Optional |
| maximum_expected_failure_count | number ≥ 0 | Your calibration | Yes |
| mentor_capacity_hours | object | Evidence | Yes |
| resilience_options | array of objects (12 fields) | Evidence | Yes |
| scenarios | array of objects (4 fields) | Evidence | Yes |
| seed | integer ≥ 0, ≤ 4294967295 | Numerical control | Optional |
| simulation_draws | integer ≥ 200, ≤ 20000 | Numerical control | Optional |
| tail_probability | number > 0, < 1 | Your calibration | Optional |
Each intervention_studies
record
| Field | Type | Required |
|---|---|---|
| comparable_outcome | boolean | Yes |
| control_failures | integer (≥ 0) | Yes |
| control_trials | integer (≥ 1) | Yes |
| evidence_verified | boolean | Yes |
| id | string (non-empty) | Yes |
| option_type | one of "cross_training", "paired_review", "rotation", "documentation", "backup_owner" | Yes |
| propensity_known | boolean | Yes |
| prospectively_registered | boolean | Yes |
| randomized | boolean | Yes |
| transport_weight | number (≥ 0, ≤ 1) | Yes |
| treated_failures | integer (≥ 0) | Yes |
| treated_trials | integer (≥ 1) | Yes |
{
"budget": 30,
"intervention_studies": [
{
"comparable_outcome": true,
"control_failures": 40,
"control_trials": 100,
"evidence_verified": true,
"id": "study-a",
"option_type": "cross_training",
"propensity_known": false,
"prospectively_registered": true,
"randomized": true,
"transport_weight": 1,
"treated_failures": 10,
"treated_trials": 100
}
],
"knowledge_units": [
{
"baseline_failure_probabilities": [
0.4,
0.7
],
"baseline_owner_refs": [
"owner-a"
],
"common_risk_group_id": "platform",
"direct_loss_values": [
100,
180
],
"evidence_verified": true,
"id": "payments",
"mandatory_resilience_required": true
}
],
"learner_capacity_hours": {
"learner-a": 10
},
"maximum_cvar_loss": 500,
"maximum_expected_failure_count": 1,
"mentor_capacity_hours": {
"mentor-a": 10 Truncated for display — the full payload is 102 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.
{
"assumptions": {
"common_risk_loss_counted_once_per_scenario_draw": true,
"individual_employment_decision_permitted": false,
"one_option_per_knowledge_unit": true,
"simulation_draws": 200,
"transport_weighted_beta_binomial_relative_failure_risk": true
},
"constraints": {
"all_unit_evidence_verified": true,
"budget": 30,
"maximum_cvar_loss": 500,
"maximum_expected_failure_count": 1,
"tail_probability": 0.1
},
"decision": "selected",
"effect_posteriors": {
"cross_training": {
"p05_relative_failure_risk": 0.1454,
"p95_relative_failure_risk": 0.3939,
"posterior_mean_relative_failure_risk": 0.2587,
"probability_reduces_failure": 1
}
},
"limitations": [
"Intervention effects transport only to the declared comparable outcome and context; posterior intervals do not prove universal effectiveness.",
"The optimizer proposes governed knowledge-resilience work and never executes staffing, access, review, or production changes.",
"Opaque mentor and learner references are operational assignments, not performance rankings or employment recommendations."
],
"method": "transport_weighted_bayesian_knowledge_resilience_stochastic_portfolio_v1",
"pareto_frontier": [
{
"conditional_value_at_risk": 173.5,
"expected_failure_count": 0.135,
"expected_loss_including_cost": 35.05,
"option_ids": [
"cross-train"
],
"total_cost": 15
}
],
"search": {
"candidate_combination_count": 2,
"evaluated_portfolio_count": 1, Truncated for display — the full payload is 68 lines.
How it works
Constrained optimization — Pick the best feasible option under real limits — budget, headcount, dependencies, capacity — rather than ranking a list and hoping it fits.
- 1 Admit only prospectively registered randomized or propensity-known studies with comparable mature continuity outcomes and transport weights; estimate intervention-type posterior relative failure risk without treating observational activity as causal benefit.
- 2 Enumerate or deterministically beam-search one controlled option per knowledge unit, simulate posterior effect and coherent contributor-availability scenarios, count direct unit loss once and shared common-risk loss once per group and draw, and enforce mandatory resilience, budget, mentor and learner capacity.
- 3 Return the minimum expected loss-plus-cost feasible portfolio, posterior effect intervals, expected failures, VaR/CVaR and a cost/risk Pareto frontier; hold when no governed option set satisfies the declared appetite.
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
- Objectives use commensurable locally governed value units, constraints reflect real feasibility, and uncertainty covers plausible adverse inputs.
- Option execution is feasible, study outcomes and treatment versions match the proposed work, transport weights are approved, owner/coverage references are opaque and current, and finance owns all loss/cost inputs.
- The recommendation is optimal only for its stated objective, feasible set, evidence, and solver guarantee; it is not a universal management optimum.
- The result proposes reversible knowledge-resilience work for human approval; it is not a person ranking, employment recommendation, access change or authorization to reassign work automatically.
Minimum evidence
- knowledge_units: required and organization-defined
- resilience_options: required and organization-defined
- intervention_studies: at least 0 rows/items
- scenarios: required and organization-defined
- budget: required and organization-defined
- mentor_capacity_hours: required and organization-defined
- learner_capacity_hours: required and organization-defined
- maximum_expected_failure_count: required and organization-defined
- maximum_cvar_loss: 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 unit-option-effect projection joining mature comparable treatment/control continuity outcomes, assignment provenance, transport weights, required/satisfied controls, current availability, unique common-risk groups and finance-owned scenario loss
- intervention version/outcome comparability and admissibility, mandatory resilience units, baseline posture, option execution controls, opaque mentor/learner scope, budget/capacity, expected-failure and CVaR appetite, simulation/search controls and accountable human approval
Calibration workflow
- 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
- 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 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
- 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 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
- 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 baseline crosstraining pairedreview rotation" }
→ finds "optimize_knowledge_resilience_portfolio"
gitrevio_capability_describe
{ "capability_id": "optimize_knowledge_resilience_portfolio" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "optimize_knowledge_resilience_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 code knowledge concentration integrity
Audit file, module, service, or repository knowledge concentration from point-in-time substantive changes, reviews, incident response and documentation using identity-confidence filtering, recency decay, Bayesian ownership uncertainty, entropy-effective owners, HHI and leave-top-owner-out resilience—without turning contribution evidence into a person-performance score.
Forecast knowledge continuity semimarkov
Forecast critical code-knowledge continuity with a company-local hierarchical Bayesian semi-Markov model whose state-exit hazard depends on time already resilient, concentrated, orphaned or recovering; require a strict latest-period holdout improvement over persistence, simulate coherent common shocks, and expose orphaning, delay, recovery-cost and portfolio VaR/CVaR without predicting named departures.
Analyze info gap robust satisficing
Select a robust-satisficing action under severe uncertainty with Info-Gap Decision Theory: evaluate worst and best payoff across a governed nested uncertainty envelope, maximize the radius before a critical requirement fails, report windfall opportuneness, and use no scenario probabilities.
Audit attention fragmentation evidence integrity
Audit consented point-in-time contributor identity, availability, privacy-safe calendar metadata and work-session lineage before reporting aggregate meeting load, protected focus blocks or cross-project switching.
Audit attrition risk prediction integrity
Audit an attrition model's complete eligible cohort, point-in-time features, supportive-use governance, intervention-contaminated labels, competing outcomes, calibration, false positives and authorized subgroup error before any person-level use.
Audit onboarding mentorship evidence integrity
Audit point-in-time onboarding cohorts, ordered autonomy milestones, source completeness and corroborated mentorship windows before publishing privacy-safe ramp evidence.