Versions in this module Expand all Collapse all v0 v0.1.3 Jul 4, 2026 v0.1.1 Jun 25, 2026 Changes in this version + func BoundaryStopWord(w string) bool + func DetectOpenLoop(text string, minLen int) string + func DetectResolution(text string) bool + type BoundaryConfig struct + Enabled bool + MinMessages int + ShiftThreshold float64 + WindowSize int + func DefaultBoundaryConfig() BoundaryConfig + type BoundaryDetector struct + func NewBoundaryDetector(config BoundaryConfig) *BoundaryDetector + func (bd *BoundaryDetector) DetectBoundaries(messages []string) []TopicBoundary + func (bd *BoundaryDetector) SegmentByBoundaries(messages []string) [][]string + type CuriosityConfig struct + Enabled bool + MaxTargets int + func DefaultCuriosityConfig() CuriosityConfig + type CuriosityEngine struct + func NewCuriosityEngine(config CuriosityConfig) *CuriosityEngine + func (e *CuriosityEngine) AddTarget(topic, gapType string, priority float64) *ExplorationTarget + func (e *CuriosityEngine) GetTopTargets(limit int) []*ExplorationTarget + func (e *CuriosityEngine) MarkExplored(targetID, findings string) bool + type DirectiveType string + const DirectiveContradiction + const DirectiveKnowledgeGap + const DirectiveLowConfidence + const DirectiveStaleFact + type EpistemicConfig struct + Enabled bool + ExpiryDays int + MaxActiveDirectives int + MaxPerSession int + MinPriority float64 + func DefaultEpistemicConfig() EpistemicConfig + type EpistemicDirective struct + Attempts int + Context string + CreatedAt time.Time + ID string + Priority float64 + Question string + Resolution string + ResolvedAt *time.Time + SourceEntityIDs []string + Type DirectiveType + type EpistemicEngine struct + func NewEpistemicEngine(config EpistemicConfig) *EpistemicEngine + func (e *EpistemicEngine) CreateDirective(dtype DirectiveType, question, context string, priority float64, ...) *EpistemicDirective + func (e *EpistemicEngine) ExpireOld() int + func (e *EpistemicEngine) GetForSession() []*EpistemicDirective + func (e *EpistemicEngine) Resolve(directiveID, resolution string) bool + type ExplorationTarget struct + CreatedAt time.Time + ExploredAt *time.Time + Findings string + GapType string + ID string + Priority float64 + Topic string + type LabileMemory struct + ChunkID string + Contradicted bool + RecalledAt time.Time + Strengthened bool + type OpenLoop struct + ChunkID string + Context string + DetectedAt time.Time + Resolved bool + type ProceduralConfig struct + Enabled bool + MaxPatterns int + MinFrequency int + SequenceMaxLen int + SequenceMinLen int + SimilarityThres float64 + func DefaultProceduralConfig() ProceduralConfig + type ProceduralEngine struct + func NewProceduralEngine(config ProceduralConfig) *ProceduralEngine + func (e *ProceduralEngine) Cleanup() int + func (e *ProceduralEngine) GetPatterns(limit int) []*ProceduralMemory + func (e *ProceduralEngine) ObserveSequence(tools []string, trigger string, success bool) *ProceduralMemory + func (e *ProceduralEngine) RecordStep(toolName string) + func (e *ProceduralEngine) SuggestSteps(prefix []string, limit int) []string + type ProceduralMemory struct + CreatedAt time.Time + Description string + Frequency int + ID string + LastUsedAt time.Time + Name string + StepSequence []string + SuccessRate float64 + Tags string + Tools []string + TriggerText string + type ProspectiveConfig struct + DefaultTTL time.Duration + Enabled bool + MaxActive int + TriggerThreshold float64 + func DefaultProspectiveConfig() ProspectiveConfig + type ProspectiveEngine struct + func NewProspectiveEngine(config ProspectiveConfig) *ProspectiveEngine + func (e *ProspectiveEngine) CheckTriggers(messageText string, messageEmbedding []float32) []*ProspectiveMemory + func (e *ProspectiveEngine) CleanExpired() int + func (e *ProspectiveEngine) Create(triggerCondition, action, sourceSession string, triggerEmbedding []float32, ...) *ProspectiveMemory + func (e *ProspectiveEngine) GetActive() []*ProspectiveMemory + type ProspectiveMemory struct + Action string + CreatedAt time.Time + ExpiresAt *time.Time + ID string + Priority float64 + SourceSession string + TriggerCondition string + TriggerEmbedding []float32 + TriggeredAt *time.Time + type ReconsolidationConfig struct + Enabled bool + LabileWindow time.Duration + StrengthBonus float64 + func DefaultReconsolidationConfig() ReconsolidationConfig + type ReconsolidationEngine struct + func NewReconsolidationEngine(config ReconsolidationConfig) *ReconsolidationEngine + func (e *ReconsolidationEngine) Cleanup() int + func (e *ReconsolidationEngine) FlagContradiction(chunkID string) + func (e *ReconsolidationEngine) GetContradicted() []string + func (e *ReconsolidationEngine) IsLabile(chunkID string) bool + func (e *ReconsolidationEngine) OnRecall(chunkID string) + func (e *ReconsolidationEngine) Strengthen(chunkID string) float64 + type SomaticConfig struct + BoostThreshold float64 + Enabled bool + SkipThreshold float64 + func DefaultSomaticConfig() SomaticConfig + type SomaticEngine struct + func NewSomaticEngine(config SomaticConfig) *SomaticEngine + func (e *SomaticEngine) GetMarker(region string) *SomaticMarker + func (e *SomaticEngine) RecordOutcome(region string, success bool) + func (e *SomaticEngine) ShouldBoost(region string) bool + func (e *SomaticEngine) ShouldSkip(region string) bool + type SomaticMarker struct + Accesses int + Arousal float64 + Confidence float64 + Region string + Valence float64 + type TopicBoundary struct + AfterTopic string + BeforeTopic string + DetectedAt time.Time + Position int + Score float64 + type ZeigarnikChunk struct + ID string + Text string + type ZeigarnikConfig struct + DecayResistance float64 + Enabled bool + MinTextLength int + func DefaultZeigarnikConfig() ZeigarnikConfig + type ZeigarnikEngine struct + func NewZeigarnikEngine(config ZeigarnikConfig) *ZeigarnikEngine + func (e *ZeigarnikEngine) CloseLoop(chunkID string) + func (e *ZeigarnikEngine) DecayMultiplier(chunkID string) float64 + func (e *ZeigarnikEngine) GetActiveLoops(limit int) []*OpenLoop + func (e *ZeigarnikEngine) MarkOpenLoop(chunkID, context string) + func (e *ZeigarnikEngine) ScanChunks(chunks []ZeigarnikChunk) int