summaryrefslogtreecommitdiff
path: root/internal/runtime/runtime.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-12 22:53:15 +0300
committerPaul Buetow <paul@buetow.org>2026-05-12 22:53:15 +0300
commit9f8096551ecf7184693b786a8e0b77d290086eac (patch)
tree3e7e1294655202c7339b3bd62cbcbefdfb4ea397 /internal/runtime/runtime.go
parent35df301fceabfadc8b8a4ae221cc0c2391e233cd (diff)
refactor dispatchRun/validateRunConfig into ModeRegistry for OCP compliance
Introduce a ModeRegistry pattern so new execution modes can be added without modifying the dispatch or validation switch/if chains. Each mode is a self-contained modeHandler (match + validate + run); the ordered defaultRegistry replaces the open if-chains in dispatchRun and validateRunConfig, which become thin wrappers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime/runtime.go')
0 files changed, 0 insertions, 0 deletions