Skip to content

Interface: FlushStepLessonOutcomesParams ​

Defined in: runtime/lessons/flush-step-lesson-outcomes-params.ts:11

Parameters for flushing deduplicated step or loop lesson outcomes to LessonStore.

Consolidates the LessonsNode, LessonStore, deduplicated outcome map, retirement evaluation, and promotion signal routing.

Properties ​

PropertyModifierTypeDescriptionDefined in
accumulatedOutcomesreadonlyReadonly<Record<string, LessonOutcome>>Deduplicated lessonId -> LessonOutcome map accumulated across the step or loop.runtime/lessons/flush-step-lesson-outcomes-params.ts:17
emitSignal?readonly<TPayload>(signalId, payload) => Promise<void>Optional callback routing emitted promotion signals into the harness controller.runtime/lessons/flush-step-lesson-outcomes-params.ts:19
lessonsNodereadonlyLessonsNode<unknown>Passive LessonsNode governing scoring, retirement, and promotion signals.runtime/lessons/flush-step-lesson-outcomes-params.ts:13
lessonStorereadonlyLessonStoreRuntime LessonStore receiving recordOutcomes and retire calls.runtime/lessons/flush-step-lesson-outcomes-params.ts:15
nowIso?readonlystringOptional ISO-8601 timestamp override for deterministic cooldown testing.runtime/lessons/flush-step-lesson-outcomes-params.ts:21

Released under the MIT License.