Skip to main content

Module placement

Module placement 

Source
Expand description

Placement constraint evaluator for Traverse.

Governs spec: 024-placement-constraint-evaluator

Applies three tiers in order:

  1. Caller hint — accept if provided and in permitted targets
  2. Contract constraints — filter by permitted targets and service-type rules
  3. Heuristics — select lowest-load eligible target from runtime snapshot

Structs§

PlacementConstraintEvaluator
Stateless evaluator that applies the three-tier placement algorithm.
PlacementDecision
The result of a successful placement evaluation.
PlacementRequest
Input to the placement evaluator.
RuntimeSnapshot
A snapshot of runtime target load at a point in time.

Enums§

PlacementConfidence
Confidence level derived from the selected target’s load score.
PlacementError
Errors that can occur during placement evaluation.
PlacementReason
Why the selected target was chosen.