Interface: LessonsNode<TIn>
Defined in: ast/lessons-node.ts:84
Passive AST node representing an empirical lesson memory subsystem (P.lessons(id)).
Combines a backing LessonStoreASTNode with query extraction, contrastive distillation, sliding-window outcome scoring, automatic retirement, and promotion signal triggers.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Input payload type of actors querying this lesson store. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
distillation? | readonly | LessonDistillationConfig | Optional contrastive distillation configuration. | ast/lessons-node.ts:96 |
emitSignalTriggers | readonly | readonly LessonEmitSignalTrigger<unknown>[] | Registered promotion signal triggers evaluated when lesson outcomes are recorded. | ast/lessons-node.ts:102 |
id | readonly | string | Unique identifier of the lessons subsystem. | ast/lessons-node.ts:88 |
queryMapper? | readonly | BivariantCallback<[input: TIn], string> | Optional synchronous query extractor mapping actor input TIn to a search query string. | ast/lessons-node.ts:94 |
querySchema? | readonly | ZodType<TIn, unknown, $ZodTypeInternals<TIn, unknown>> | Optional Zod schema validating the input passed to queryMapper. | ast/lessons-node.ts:92 |
retireAfter? | readonly | LessonRetirementConfig | Optional automatic retirement thresholds. | ast/lessons-node.ts:100 |
scoring | readonly | LessonScoringConfig | Scoring and recall parameters. | ast/lessons-node.ts:98 |
store | readonly | LessonStoreASTNode | Passive backing store AST node (FsJsonlLessonStoreNode, SqliteLessonsNode, or PostgresLessonsNode). | ast/lessons-node.ts:90 |
type | readonly | "harness:lessons" | Discriminant identifying a lessons subsystem AST node. | ast/lessons-node.ts:86 |