Module: OllamaAgent::Runtime::ExecutionMode

Defined in:
lib/ollama_agent/runtime/execution_mode.rb

Overview

Supported execution modes for kernel orchestration paths.

Constant Summary collapse

NORMAL =
"normal"
REPLAY =
"replay"
VALIDATION =
"validation"
DRY_RUN =
"dry_run"
SHADOW =
"shadow"
ALL =
[NORMAL, REPLAY, VALIDATION, DRY_RUN, SHADOW].freeze

Class Method Summary collapse

Class Method Details

.valid?(mode) ⇒ Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/ollama_agent/runtime/execution_mode.rb', line 17

def valid?(mode)
  ALL.include?(mode.to_s)
end