Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

fix(plugins): correct the extraction cache import in extract and validate

gyrob4a0bc4063d8
diff --git a/plugins/skills/extract/SKILL.md b/plugins/skills/extract/SKILL.md
index 07864fd5..3bea414d 100644
--- a/plugins/skills/extract/SKILL.md
+++ b/plugins/skills/extract/SKILL.md
@@ -21,8 +21,8 @@ Run the full extraction pipeline. Usage: `/semantica:extract [file_path | "inlin
**2. Clear the result cache** to prevent cross-invocation pollution:
```python
-from semantica.semantic_extract.cache import _result_cache
-_result_cache.clear()
+from semantica.semantic_extract.cache import extraction_cache
+extraction_cache.clear()
```
**3. Run the full pipeline:**
diff --git a/plugins/skills/validate/SKILL.md b/plugins/skills/validate/SKILL.md
index 4ac2797d..dafb3750 100644
--- a/plugins/skills/validate/SKILL.md
+++ b/plugins/skills/validate/SKILL.md
@@ -119,9 +119,9 @@ from semantica.semantic_extract import (
NamedEntityRecognizer,
RelationExtractor,
)
-from semantica.semantic_extract.cache import _result_cache
+from semantica.semantic_extract.cache import extraction_cache
-_result_cache.clear() # prevent cross-invocation cache pollution
+extraction_cache.clear() # prevent cross-invocation cache pollution
text = open(file_path).read()