fix: AI knowledge modules (knowledge_sources, knowledge_extraction, knowledge_lifecycle), conftest.py imports fixed, test_phase_h_wiki 41/42 passed

This commit is contained in:
Agent Zero
2026-08-22 07:56:50 +02:00
parent 85af047bca
commit 3be812ea00
5 changed files with 197 additions and 3 deletions
-2
View File
@@ -55,7 +55,6 @@ from app.models.user_preference import UserPreference # noqa: F401
from app.models.workflow import Workflow, WorkflowInstance, WorkflowStepHistory # noqa: F401
from app.models.outbox import EventOutbox # noqa: F401
from app.models.consumer_inbox import ConsumerInbox # noqa: F401
from app.models.outbox_delivery import OutboxDelivery # noqa: F401
from app.models.saved_filter import SavedFilter # noqa: F401
from app.ai.oversight import DecisionRecordDB # noqa: F401 — ensure table is created
@@ -83,7 +82,6 @@ for _plugin_name in _registry.list_discovered():
pass
# Also import core models that may be missing
from app.models.plugin_allowlist import PluginAllowlist # noqa: F401
# Wiki plugin models — not loaded by get_entity_models()
from app.plugins.builtins.wiki.models import WikiArticle, WikiArticleVersion, WikiCategory # noqa: F401
# Knowledge plugin models — new plugin, ensure table is created in test-DB