diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-12 22:53:15 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-12 22:53:15 +0300 |
| commit | 9f8096551ecf7184693b786a8e0b77d290086eac (patch) | |
| tree | 3e7e1294655202c7339b3bd62cbcbefdfb4ea397 /internal/eventloop_error_handling_test.go | |
| parent | 35df301fceabfadc8b8a4ae221cc0c2391e233cd (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/eventloop_error_handling_test.go')
0 files changed, 0 insertions, 0 deletions
