MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / LoadExtractionSystemPrompt

Function LoadExtractionSystemPrompt

agent/memory_extraction.go:249–264  ·  view source on GitHub ↗
(customPath string)

Source from the content-addressed store, hash-verified

247 c.advanceFabricCursor(payload)
248 return 0, nil
249 }
250 result, err := c.Engine.AppendEvents(ctx, events,
251 memory.IngestOptions{SemanticPolicy: memory.SemanticDurableOnly})
252 if result.Durable {
253 c.advanceFabricCursor(payload)
254 }
255 if err != nil {
256 return len(events), err
257 }
258 if !result.Durable {
259 return 0, errors.New("memory fabric did not confirm durable event ingestion")
260 }
261 return len(events), nil
262}
263
264func (c *ExtractionController) runFabricExtraction(ctx context.Context, payload *extractionContext) (string, error) {
265 if c.Engine == nil {
266 return "", errors.New("memory fabric engine is unavailable")
267 }

Callers 1

runExtractionMethod · 0.85

Calls 2

FindLuminaRootFunction · 0.92
LuminaResourcePathFunction · 0.92

Tested by

no test coverage detected