This runbook is the operator handoff for diagnosing large-swarm runtime stalls with the pressure-control evidence lane. It is intentionally scoped: it explains how to move from a symptom to replayable evidence without claiming production throughput, autonomous scheduler rewrites, or proven deadlock from advisory signals alone.
Canonical contract:
- Evidence contract:
artifacts/runtime_pressure_control_evidence_contract_v1.json - Contract verifier:
tests/runtime_pressure_control_evidence_contract.rs - Manifest lane:
runtime-pressure-control-evidence-contract - Manifest file:
artifacts/proof_lane_manifest_v1.json - Phase 6 gate contract:
artifacts/phase6_methodology_gate_enforcement_contract_v1.json - Source surfaces:
src/runtime/resource_monitor.rsandsrc/runtime/rch_health/mod.rs
The pressure-control lane proves contract alignment for schema versions, deterministic lab scenario families, no-local-RCH fallback evidence, operator diagnostics bundle markers, documentation markers, and operator scope limits. It does not prove real-host throughput, production-on-by-default admission/backpressure, scheduler rewrites, RCH fleet availability, or a deadlock without explicit trapped-cycle proof.
| Symptom | First evidence | Expected operator path |
|---|---|---|
| Runtime feels slow but work drains | RuntimePressureSnapshot.overall_verdict plus signal_statuses |
Treat as advisory. Confirm which signal is degraded before changing policy. |
| Scheduler tail pressure appears in pressure evidence | scheduler_tail_pressure labels plus the Phase 6 flamegraph gate |
If the direct-main change touched a hot-path trigger, attach artifacts/flamegraphs/main-<bead-or-short-sha>.svg as attribution for methodology_baselines scheduler-adjacent rows. Do not call it a throughput or regression-closure proof. |
| Optional work should stop entering a saturated runtime | RuntimePressureAdmissionDecision with policy_enabled=true |
Use only the opt-in admission policy. Required cleanup and quiescence work must remain admitted. |
| A region exceeds its declared memory envelope | RuntimePressureRegionMemoryBudgetSnapshot rows plus the region_memory_budgets signal |
Treat as advisory region-budget pressure. Optional work may be rejected through the opt-in policy, but required cleanup and quiescence work remain admitted. |
| Remote proof lanes are refused or missing workers | RuntimePressureRchProofLaneSnapshot rows plus the rch_proof_lanes signal |
Treat as advisory RCH pressure. A remote-required lane with local Cargo fallback refused is critical evidence for the proof lane, not a throughput claim about the fleet. Closeout must cite either [RCH] remote transcript evidence or the local_fallback_refused admission receipt fields. |
| Resource readings look incomplete or platform-specific | platform_probe_operator_verdict and platform_probes signal row |
Prefer degraded/fallback interpretation. Do not turn probe absence into throughput claims. |
| Structural wait graph looks fragmented or critical | spectral row plus spectral_recommendations |
Run trapped-cycle detection before making a deadlock claim. Fragmentation alone is not proof. |
| A lab scenario disagrees with its expected pressure verdict | RuntimePressureLabScenarioEvidence.classification_matches_expected=false |
Reproduce under the deterministic lab fixture before touching live policy. |
Start from the stable fields:
schema_version: must matchasupersync.runtime-pressure-snapshot.v1.overall_verdict:healthy,unknown,degraded, orcritical.missing_signal_count,degraded_signal_count,critical_signal_count: aggregate evidence quality.signal_statuses: ordered status rows for resources, scheduler, spectral health, platform probes, optional region memory-budget pressure evidence, and optional RCH proof-lane pressure evidence.spectral_recommendations: advisory next actions, not deadlock proof unlessdeadlock_proven=true.region_memory_budgets: optionalRuntimePressureRegionMemoryBudgetSnapshotrows built from declared region memory envelopes plus externally supplied or runtime-local observed usage. These rows are advisory and do not prove allocator enforcement by themselves.rch_proof_lanes: optionalRuntimePressureRchProofLaneSnapshotrows built from externally captured RCH admission receipts. The runtime does not probe RCH directly.- No-local-RCH fallback evidence: pressure-control proof lanes must start with
RCH_REQUIRE_REMOTE=1 rch exec --, isolateCARGO_TARGET_DIR=, and cite a saved transcript containingSelected worker:,Executing command remotely:,Remote command finished: exit=0, and[RCH] remote, or an admission receipt withremote_required=true,local_fallback_allowed=false,refusal_code=local_fallback_refused, andreason_codescontaining bothremote_requiredandlocal_fallback_refused. - Scheduler pressure flamegraph attribution: when a pressure-control change
cites
scheduler_tail_pressureand also triggers the Phase 6 flamegraph gate, the artifact path isartifacts/flamegraphs/main-<bead-or-short-sha>.svg. The allowed benchmark surface ismethodology_baselines, withmethodology/task_spawn/inject_ready_global_queue,methodology/task_spawn/local_queue_push, andmethodology/task_spawn/local_queue_spawn_batch/1000as the current scheduler-adjacent rows. This attribution is not a performance-improvement claim.
Interpretation rules:
healthymeans all required pressure signals were present and inside the current contract envelope.unknownmeans evidence is missing. Operators should improve evidence or use deterministic replay before widening control behavior.degradedmeans at least one signal crossed an advisory threshold. Optional work may be deferred only through an explicit opt-in policy.criticalmeans one or more signals crossed a critical advisory threshold. Optional work may be rejected only through an explicit opt-in policy.
The contract field operator_diagnostics_bundle is the compact operator
handoff for pressure-control closeouts. It does not replace the raw snapshot,
lab evidence, RCH transcript, or proof-lane manifest; it tells reviewers what
to summarize before recommending a policy or scheduler follow-up.
| Bundle section | Evidence to cite | Claim boundary |
|---|---|---|
snapshot_verdict |
RuntimePressureSnapshot.overall_verdict, aggregate signal counts, and ordered signal_statuses |
Advisory unless paired with replay evidence or trapped-cycle proof. |
admission_decision |
RuntimePressureAdmissionDecision rows and whether policy_enabled=true |
Opt-in only; required cleanup and quiescence work must remain admitted. |
region_memory_budget_pressure |
RuntimePressureRegionMemoryBudgetSnapshot rows and the region_memory_budgets signal |
Advisory memory-envelope pressure, not per-region allocator enforcement. |
rch_proof_lane_pressure |
RuntimePressureRchProofLaneSnapshot rows and remote-required admission receipts |
RCH pressure is not worker-fleet availability or throughput proof. |
deterministic_replay_evidence |
RuntimePressureLabScenarioEvidence scenario family, expected verdict, diagnostic labels, and replay artifact if present |
Replay-backed only for the cited scenario family and fixed inputs. |
validation_fallback_status |
no-local-RCH fallback evidence, [RCH] remote transcript markers, or local_fallback_refused receipt fields |
A blocked or refused lane must name the first blocker instead of claiming green validation. |
scope_non_claims |
explicit non-claims for throughput, scheduler performance, production admission control, allocator enforcement, and deadlock | A deadlock claim still requires explicit trapped-cycle proof. |
Use these status labels in closeout text:
advisory: live pressure evidence is useful for triage, but is not proof of throughput, scheduler regression closure, or production-safe policy rollout.replay_backed: the diagnosis is paired with deterministic lab or replay evidence for the cited scenario family.trapped_cycle_proven: a deadlock claim is backed by explicit trapped-cycle proof; spectral fragmentation alone is not enough.validation_blocked: remote-required validation lacked workers or refused local fallback, so the closeout names the blocker instead of claiming a green proof.
RuntimePressureAdmissionPolicy::default() is disabled and has no effect.
The conservative opt-in policy converts snapshots into deterministic
RuntimePressureAdmissionDecision rows:
| Work class | Snapshot state | Action | Reason |
|---|---|---|---|
| Required | Any state, including unknown schema | admit |
Required cleanup, cancellation, and quiescence paths are not backpressured. |
| Optional | Healthy | admit |
Pressure envelope is clear. |
| Optional | Unknown or degraded | defer |
Evidence is incomplete or degraded; do not silently overcommit. |
| Optional | Critical | reject |
Runtime pressure is critical for this policy envelope. |
| Optional | Unknown snapshot schema | reject |
Fail closed until the schema is understood. |
Required work bypass is not a throughput optimization. It preserves the runtime invariant that cleanup, cancellation, finalizers, and region quiescence cannot be blocked by optional admission control. Optional work fails closed for unknown pressure snapshot schemas.
Use deterministic lab evidence before promoting a policy change:
| Scenario family | Expected verdict | Diagnostic labels |
|---|---|---|
healthy |
healthy |
all_signals_present |
cpu_lane_pressure |
critical |
cpu_load_hard_limit, resource_heavy_degradation, scheduler_tail_pressure |
resource_fallback_degraded |
degraded |
memory_soft_pressure, platform_probe_fallback |
region_memory_budget_overrun |
critical |
region_memory_budget_advisory, region_memory_budget_exhausted |
structural_warning |
critical |
spectral_fragmented_topology, trapped_cycle_detection_required |
rch_proof_lane_remote_refusal |
critical |
local_fallback_refused, rch_remote_required_refused |
If live behavior and lab behavior disagree, treat the live claim as unproven until there is a replay artifact or a narrower contract test that explains the gap.
Remote-required pressure-control validation is not a green proof if it silently ran local Cargo. A closeout can cite the RCH proof only after one of these bounded evidence paths is present:
- Transcript evidence from the actual proof run:
- command starts with
RCH_REQUIRE_REMOTE=1 rch exec -- - command contains
rch exec -- envandCARGO_TARGET_DIR= - transcript contains
Selected worker:,Executing command remotely:,Remote command finished: exit=0, and[RCH] remote - transcript does not contain
[RCH] local,Executing command locally, orlocal fallback accepted
- command starts with
- Admission-receipt evidence from
src/runtime/rch_health/mod.rs:remote_required=truelocal_fallback_allowed=falserefusal_code=local_fallback_refusedreason_codesincludesremote_requiredandlocal_fallback_refused
This evidence proves only that the cited proof lane did not substitute local Cargo for remote-required RCH execution. It does not prove RCH fleet availability, real-host throughput, production admission control, or scheduler performance.
Run the pressure-control evidence contract when changing pressure snapshots, lab pressure evidence, admission-policy docs, or this runbook:
RCH_REQUIRE_REMOTE=1 rch exec -- env CARGO_TARGET_DIR=${TMPDIR:-/tmp}/rch_target_runtime_pressure_control_evidence_contract CARGO_INCREMENTAL=0 CARGO_PROFILE_TEST_DEBUG=0 RUSTFLAGS='-D warnings -C debuginfo=0' cargo test -p asupersync --test runtime_pressure_control_evidence_contract -- --nocaptureFor changes that touch the proof-lane manifest, also run the manifest contract:
RCH_REQUIRE_REMOTE=1 rch exec -- env CARGO_TARGET_DIR=${TMPDIR:-/tmp}/rch_target_proof_lane_manifest_contract CARGO_INCREMENTAL=0 CARGO_PROFILE_TEST_DEBUG=0 RUSTFLAGS='-D warnings -C debuginfo=0' cargo test -p asupersync --test proof_lane_manifest_contract -- --nocaptureThese commands must run through RCH. Do not substitute a local Cargo run for a CPU-intensive validation lane.
Before closing a pressure-control bead:
- Cite the exact pressure-control contract lane that passed or explain the first blocker.
- State whether the evidence is advisory, replay-backed, or trapped-cycle proven.
- Name every changed source path in the commit.
- Confirm adaptive admission/backpressure remains opt-in unless a stronger policy bead explicitly proves otherwise.
- If broad validation was skipped, record the narrower RCH proof and why it is sufficient for the touched surface.
- If the change touches a Phase 6 hot-path trigger and cites scheduler pressure, commit the matching flamegraph artifact or explicitly record why the pressure-control change was docs/contract-only and did not trigger the gate.
- For remote-required Cargo validation, cite either
[RCH] remotetranscript evidence or thelocal_fallback_refusedreceipt fields before claiming a green pressure-control proof.