Initial commit: Oracle AI research pipeline (adapters, pipeline, summarize, query)

Source-controlled baseline before Phase 5 cron. Excludes oracle.db,
logs/, and __pycache__ via .gitignore. Pipeline verified running
clean end-to-end (run_log write confirmed before conn.close()).
This commit is contained in:
Epictetus
2026-07-08 04:03:36 +00:00
commit 67c002b665
10 changed files with 3052 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"""Source adapters for AI Research Oracle."""
from abc import ABC, abstractmethod
class SourceAdapter(ABC):
"""Base class for all ingestion adapters."""
@abstractmethod
def name(self) -> str:
"""Source name: 'github', 'arxiv', 'reddit'."""
pass
@abstractmethod
def fetch(self, query: str = "", limit: int = 20) -> list[dict]:
"""Return entries matching DB schema fields."""
pass