This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/agent-team/agent_team/db/__init__.py

32 lines
817 B
Python
Raw Normal View History

"""SQLite schema and connection helpers for the R720 agent-team pipeline.
SQL DDL lives ONLY in this subpackage (``schema.py`` constants mirrored by the
companion ``schema.sql``). The LangGraph ``SqliteSaver`` checkpointer creates
its own tables against the same database file.
"""
from agent_team.db.schema import (
BUDGET_LEDGER_DDL,
PENDING_QUESTIONS_DDL,
SCHEMA_VERSION,
TASK_TRANSITIONS_DDL,
assert_task_transitions_ready,
connect,
init_db,
migrate,
)
from agent_team.db.transitions import TransitionRecorder, read_transitions
__all__ = [
"BUDGET_LEDGER_DDL",
"PENDING_QUESTIONS_DDL",
"SCHEMA_VERSION",
"TASK_TRANSITIONS_DDL",
"TransitionRecorder",
"assert_task_transitions_ready",
"connect",
"init_db",
"migrate",
"read_transitions",
]