Module: Legion::Extensions::Agentic::Inference::Horizon::Helpers::Constants

Defined in:
lib/legion/extensions/agentic/inference/horizon/helpers/constants.rb

Constant Summary collapse

MAX_PROJECTIONS =

Projection store limit

200
DEFAULT_HORIZON =

Horizon values (0.0 = immediate, 1.0 = strategic)

0.5
HORIZON_EXPAND =
0.08
HORIZON_CONTRACT =
0.1
MIN_HORIZON =
0.1
MAX_HORIZON =
1.0
STRESS_CONTRACTION =

Stress adds additional contraction on top of HORIZON_CONTRACT

0.15
HORIZON_LEVELS =

Ordered horizon levels (near -> far)

%i[immediate near_term medium_term long_term strategic].freeze
CONSTRUAL_LABELS =

Construal labels keyed by range (horizon distance 0..1)

[
  { range: (0.0...0.2),  label: :concrete },
  { range: (0.2...0.4),  label: :detailed },
  { range: (0.4...0.6),  label: :balanced },
  { range: (0.6...0.8),  label: :schematic },
  { range: (0.8..1.0),   label: :abstract }
].freeze
CONFIDENCE_DECAY_PER_STEP =

Confidence erodes by this much per step away from current horizon

0.1