Optimize sequence dependent roadmap
Optimize a dependency-feasible roadmap sequence under category setup time, execution duration and cost, aligned uncertain value, and exponential value decay, with bounded exact enumeration and visible heuristic fallback.
What it's for
Finds the value-preserving roadmap order when dependencies, context/setup costs, and decaying opportunity make simple priority sorting wrong.
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 |
|---|---|---|---|
| initiatives | array of objects (7 fields) ≥ 1 item | Evidence | Yes |
| max_detail_rows | integer ≥ 1, ≤ 500 | Numerical control | Optional |
| maximum_exact_sequences | integer ≥ 1, ≤ 10000000 | Your calibration | Optional |
| scenario_probabilities | array of number ≥ 2 items | Evidence | Yes |
| starting_category | any | Your calibration | Optional |
| tail_probability | number ≥ 0.001, ≤ 0.5 | Your calibration | Optional |
| transitions | array of objects (3 fields) | Evidence | Optional |
Each initiatives
record
| Field | Type | Required |
|---|---|---|
| category | string (non-empty) | Yes |
| duration | number (> 0) | Yes |
| execution_cost | number (≥ 0) | Yes |
| id | string (non-empty) | Yes |
| predecessor_ids | array of string | Yes |
| value_decay_per_period | number (≥ 0) | Yes |
| value_scenarios | array of number (≥ 2 items) | Yes |
{
"initiatives": [
{
"category": "platform",
"duration": 2,
"execution_cost": 10,
"id": "foundation",
"predecessor_ids": [],
"value_decay_per_period": 0.02,
"value_scenarios": [
100,
120
]
},
{
"category": "product",
"duration": 2,
"execution_cost": 10,
"id": "growth",
"predecessor_ids": [
"foundation"
],
"value_decay_per_period": 0.2,
"value_scenarios": [
500,
600
]
},
{
"category": "platform",
"duration": 2,
"execution_cost": 10,
"id": "cleanup",
"predecessor_ids": [],
"value_decay_per_period": 0.01,
"value_scenarios": [
80,
100
]
}
],
"scenario_probabilities": [
0.5,
0.5 Truncated for display — the full payload is 59 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": [
"One aggregate execution stream performs initiatives sequentially, dependencies are complete and acyclic, duration and setup time are deterministic planning inputs, and scenario columns align value uncertainty across initiatives.",
"Completion value decays exponentially and execution cost is complete and incremental; transition setup depends only on adjacent categories and is not a claim that people with different roles are interchangeable.",
"Exact mode certifies only the represented sequences within the declared complete-sequence limit; heuristic mode has no optimality certificate and must be stress-tested against alternate durations, transitions, dependencies, and value-decay definitions."
],
"configuration": {
"enumerated_complete_sequences": 3,
"exact_limit_exceeded": false,
"initiative_count": 3,
"maximum_exact_sequences": 100000,
"scenario_count": 2,
"solver_mode": "exact_enumeration",
"starting_category": "platform",
"tail_probability": 0.1,
"transition_count": 2
},
"decision": "sequence_dependent_roadmap_optimized_exact",
"method": "dependency_setup_time_decay_roadmap_sequence_v1",
"schedule": [
{
"completion_time": 2,
"expected_discounted_net_value": 95.6868,
"initiative_id": "foundation",
"position": 1,
"setup_time": 0
},
{
"completion_time": 5,
"expected_discounted_net_value": 192.3337,
"initiative_id": "growth",
"position": 2,
"setup_time": 1
},
{
"completion_time": 12,
"expected_discounted_net_value": 69.8228,
"initiative_id": "cleanup",
"position": 3,
"setup_time": 5
}
],
"summary": {
"cvar_discounted_net_value_loss": -320.9723, Truncated for display — the full payload is 55 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 Freeze the initiative DAG, aggregate sequential execution model, categories, pairwise setup times, durations, costs, aligned value scenarios, and time-decay rates.
- 2 Enumerate every feasible complete sequence within the governed limit and choose maximum expected discounted net value; if the limit is exceeded, rebuild the entire order with a dependency-feasible value-density heuristic.
- 3 Report the selected schedule, expected and tail value, exact sequence count, and fallback status; heuristic results abstain from any optimality claim and require sensitivity analysis.
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.
- One aggregate execution stream is appropriate, dependencies are complete, deterministic duration/setup inputs are decision-relevant, scenario values align, and exponential decay plus adjacent-category setup adequately represent sequence effects.
- The recommendation is optimal only for its stated objective, feasible set, evidence, and solver guarantee; it is not a universal management optimum.
- The roadmap orders initiatives, not people; heuristic mode has no optimality certificate, and missing parallel capacity, feedback, option value, or dependency edges can reverse the sequence.
Minimum evidence
- initiatives: at least 1 rows/items
- scenario_probabilities: at least 2 rows/items
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
- acyclic dependency graph and aligned scenario-value ledger with adjacent-category transition matrix
- single-stream applicability, dependency completeness, category/setup definition, duration/cost/value perimeter, decay rates, scenario identity/probabilities, starting state, exact limit, heuristic promotion, and tail
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": "optimize a dependencyfeasible roadmap sequence under" }
→ finds "optimize_sequence_dependent_roadmap"
gitrevio_capability_describe
{ "capability_id": "optimize_sequence_dependent_roadmap" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "optimize_sequence_dependent_roadmap", "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
Calculate shadow price of capacity
Calculate lumpy, discrete capacity shadow prices by re-optimizing a scenario-valued initiative portfolio after a governed increment to each resource, with CVaR penalty and explicit exact or heuristic solver status.
Value dependency unblocking
Value shortening one blocker by propagating aligned duration scenarios through a dependency DAG, repricing earlier completion under task-specific value decay, and mixing unblock success or failure after cost.
Allocate attention budget
Use exact knapsack optimization to allocate limited expert-review time by expected avoided loss.
Allocate capacity by marginal value
Allocate indivisible aggregate capacity across initiative-specific diminishing marginal-value scenario curves, activation thresholds, hard minimum commitments, unit cost, and portfolio CVaR with discrete next-unit value and explicit solver certainty.
Allocate capacity nash bargaining
Allocate discrete shared capacity by weighted Nash social welfare over concave team utility curves, with disagreement guarantees and a utilitarian counterfactual.
Calculate engineering runway
Compare three-point roadmap effort with three-point team capacity and expose unfunded commitments.