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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
accumulatedOutcomes | readonly | Readonly<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 |
lessonsNode | readonly | LessonsNode<unknown> | Passive LessonsNode governing scoring, retirement, and promotion signals. | runtime/lessons/flush-step-lesson-outcomes-params.ts:13 |
lessonStore | readonly | LessonStore | Runtime LessonStore receiving recordOutcomes and retire calls. | runtime/lessons/flush-step-lesson-outcomes-params.ts:15 |
nowIso? | readonly | string | Optional ISO-8601 timestamp override for deterministic cooldown testing. | runtime/lessons/flush-step-lesson-outcomes-params.ts:21 |