Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/memory / / PromotionPolicyConfig
Interface: PromotionPolicyConfig
Defined in: packages/memory/src/consolidator/promotion.ts:35
Threshold configuration - createMemory({ consolidator: { promotion } }). Every configured threshold must pass (AND).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowedProvenance? | readonly | readonly MemoryProvenance[] | Provenances eligible for promotion. Default: ['extraction', 'reflection', 'induction'] - synthesized content only; 'tool' / 'imported' provenance never auto-promotes unless listed explicitly. | packages/memory/src/consolidator/promotion.ts:50 |
maxPerRun? | readonly | number | Upper bound on promotions per deep pass. Default 10. | packages/memory/src/consolidator/promotion.ts:52 |
minAgeMs? | readonly | number | Minimum age since the fact was written, in ms. Default 24h. | packages/memory/src/consolidator/promotion.ts:43 |
minRecalls? | readonly | number | Minimum total recalls (migration-027 counter). Default 3. | packages/memory/src/consolidator/promotion.ts:39 |
minSalience? | readonly | number | Minimum importance (salience hint) in [0, 1]. Default 0 (off). | packages/memory/src/consolidator/promotion.ts:37 |
minUniqueQueries? | readonly | number | Minimum DISTINCT recall queries (migration-036 ledger). Default 2. | packages/memory/src/consolidator/promotion.ts:41 |