Some checks failed
- Integrate GPU scoring inline into reasoning/multi_path.py (auto-uses GPU when available) - Integrate GPU deduplication into multi_agent/consensus_engine.py - Add semantic_search() method to memory/semantic_graph.py with GPU acceleration - Integrate GPU training into self_improvement/training.py AutoTrainer - Fix all 758 ruff lint issues (whitespace, import sorting, unused imports, ambiguous vars, undefined names) - Fix all 40 mypy type errors across the codebase (no-any-return, union-attr, arg-type, etc.) - Fix deprecated ruff config keys (select/ignore -> [tool.ruff.lint]) - Add .dockerignore to exclude .venv/, tests/, docs/ from Docker builds - Add type hints and docstrings to verification/outcome.py - Fix E402 import ordering in witness_agent.py - Fix F821 undefined names in vector_pgvector.py and native.py - Fix E741 ambiguous variable names in reflective.py and recommender.py All 276 tests pass. 0 ruff errors. 0 mypy errors. Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
58 lines
1.6 KiB
Python
58 lines
1.6 KiB
Python
"""Core orchestration: event bus, state manager, orchestrator, goal manager, scheduler, blockers, persistence."""
|
|
|
|
from fusionagi.core.blockers import BlockersAndCheckpoints
|
|
from fusionagi.core.event_bus import EventBus
|
|
from fusionagi.core.goal_manager import GoalManager
|
|
from fusionagi.core.head_orchestrator import (
|
|
ALL_CONTENT_HEADS,
|
|
MVP_HEADS,
|
|
extract_sources_from_head_outputs,
|
|
run_dvadasa,
|
|
run_heads_parallel,
|
|
run_second_pass,
|
|
run_witness,
|
|
select_heads_for_complexity,
|
|
)
|
|
from fusionagi.core.json_file_backend import JsonFileBackend
|
|
from fusionagi.core.orchestrator import (
|
|
VALID_STATE_TRANSITIONS,
|
|
AgentProtocol,
|
|
InvalidStateTransitionError,
|
|
Orchestrator,
|
|
)
|
|
from fusionagi.core.persistence import StateBackend
|
|
from fusionagi.core.scheduler import FallbackMode, Scheduler, SchedulerMode
|
|
from fusionagi.core.state_manager import StateManager
|
|
from fusionagi.core.super_big_brain import (
|
|
SuperBigBrainConfig,
|
|
SuperBigBrainReasoningProvider,
|
|
run_super_big_brain,
|
|
)
|
|
|
|
__all__ = [
|
|
"EventBus",
|
|
"StateManager",
|
|
"Orchestrator",
|
|
"StateBackend",
|
|
"JsonFileBackend",
|
|
"InvalidStateTransitionError",
|
|
"VALID_STATE_TRANSITIONS",
|
|
"AgentProtocol",
|
|
"GoalManager",
|
|
"Scheduler",
|
|
"SchedulerMode",
|
|
"FallbackMode",
|
|
"BlockersAndCheckpoints",
|
|
"run_heads_parallel",
|
|
"run_witness",
|
|
"run_dvadasa",
|
|
"run_second_pass",
|
|
"select_heads_for_complexity",
|
|
"extract_sources_from_head_outputs",
|
|
"MVP_HEADS",
|
|
"ALL_CONTENT_HEADS",
|
|
"run_super_big_brain",
|
|
"SuperBigBrainConfig",
|
|
"SuperBigBrainReasoningProvider",
|
|
]
|