Skip to content

proposal schema

proposal.json, written by servtuner propose: the next configurations of a tuning session to boot or run, each with its ladder and a rationale, or a done verdict. A pure function of the search space, the boot results and the analysed bundles: the same inputs give the same bytes. The caller sets the labels of each proposal on the RunSpec it makes (servtuner.dev/tuning-ladder and servtuner.dev/tuning-config); servtuner propose classifies bundles by the ladder label.

Schema file: schema/json/proposal.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
status "propose", "done" Yes propose: there is more to run. done: the search ended; see done.
phase proposalPhase Yes
objective objectiveName Yes
noise_floor number Yes
tiers array of proposalTierStatus Yes
leader proposalLeader No
proposals array of proposalProposed Yes
done proposalDone No
notes array of string Yes Things the caller should know: an advisor that fired but could not act, a knob left out, a run excluded from ranking.

Type: "feasibility", "baseline", "screen", "confirm", "done"

Field Type Required Description
tier tuningTier Yes
state "pending", "active", "converged" Yes
reason string No Why the tier converged.

The configuration to beat; absent before any run.

Field Type Required Description
config_id string Yes A short stable name of a knob set: “c-” and the first 8 hex digits of the sha256 of the knobs as JSON with sorted keys and no spaces (json.Marshal of the map). The tuning session stores it. pattern ^c-[0-9a-f]{8}$
knobs tuningKnobSet Yes
slo_max_rps number Yes
objective_value number Yes
run_ids array of string Yes
Field Type Required Description
config_id string Yes A short stable name of a knob set: “c-” and the first 8 hex digits of the sha256 of the knobs as JSON with sorted keys and no spaces (json.Marshal of the map). The tuning session stores it. pattern ^c-[0-9a-f]{8}$
action "boot_probe", "run" Yes boot_probe: deploy with no load and report a boot result. run: benchmark with the ladder.
knobs tuningKnobSet Yes
ladder proposalLadder No
repeats integer No How many runs of the configuration to make; absent for a boot probe. ≥ 1
labels map of string Yes The RunSpec labels the caller must set: servtuner.dev/tuning-config is the config_id and servtuner.dev/tuning-ladder the ladder kind (absent for a boot probe).
rationale proposalRationale Yes

The offered load of the run: requests per second of each stage, ascending.

Field Type Required Description
kind proposalLadderKind Yes
rps array of number Yes at least 1 item
centre_rps number No The SLO-max the ladder is centred on; absent for the probe ladder.

Type: "probe", "screen", "full"

Field Type Required Description
kind "boot_probe", "baseline", "structural_ab", "advisor", "grid", "scheduler_ab", "fine_tuning_ab", "confirm" Yes Why it was proposed.
tier tuningTier No Absent for the baseline and the confirmation.
advisor string No The vLLM advisor rule that fired (V1 to V7).
grid_cell proposalGridCell No
against string No The leader’s config_id, for a step that is an A/B against it.
based_on_runs array of string Yes Run ids the proposal reads: the leader’s, or the confirmed configuration’s.
text string Yes

Where a coordinate step moved from the leader (rationale kind grid): one of max_num_seqs and max_num_batched_tokens up or down, the other at the centre. Before 2026-11-24 a cell of a 3x3 grid around the leader.

Field Type Required Description
max_num_seqs proposalPosition Yes
max_num_batched_tokens proposalPosition Yes

Type: "down", "centre", "up"

Set when status is done: how the search ended and the best configuration known.

Field Type Required Description
outcome "winner", "no_significant_winner", "no_feasible_configuration", "no_slo_met", "no_usable_run" Yes
reason string Yes
winner proposalWinner No

The best confirmed configuration. is_significant is false when the confirmation could not separate it from the runner-up.

Field Type Required Description
config_id string Yes A short stable name of a knob set: “c-” and the first 8 hex digits of the sha256 of the knobs as JSON with sorted keys and no spaces (json.Marshal of the map). The tuning session stores it. pattern ^c-[0-9a-f]{8}$
knobs tuningKnobSet Yes
objective_value number Yes
is_significant boolean Yes
confidence "low", "medium", "high" Yes
run_ids array of string Yes