Files
roboco/roboco/db/__init__.py
T
Renn F 5315e9c72d feat: workflow enforcement, RAG upgrade, and permission fixes
Task Management:
  - Add cancellation safeguards: require valid reason category (duplicate,
    obsolete, blocked_permanently, reassigned, scope_change, stakeholder_request)
  - Protect active work from arbitrary cancellation - must pause/block first
  - Auto-notify PM when task is blocked with ACTION REQUIRED message
  - PM task scan now shows blocked tasks needing their attention

  Permissions:
  - Add VIEW_STATS to Developer, QA, Documenter, Head Marketing KB permissions
  - Aligns code with docs/workflows/PERMISSIONS.md specification

  RAG/Embeddings:
  - Upgrade embedding model from all-MiniLM-L6-v2 to nomic-embed-text-v1.5
  - 768 dimensions with 8K token context (vs 512 tokens)
  - Add per-index chunk sizes: docs=1536, journals=1024, others=512
  - Switch to fixed chunking (semantic chunking loads separate MiniLM model)
  - Add einops dependency required by nomic model
2025-12-29 00:30:18 +01:00

39 lines
704 B
Python

"""
RoboCo Database Layer
SQLAlchemy async ORM with PostgreSQL.
"""
from roboco.db.base import Base, get_db, get_db_context, init_db
from roboco.db.seed import bootstrap_database
from roboco.db.tables import (
AgentTable,
ChannelTable,
GroupTable,
HandoffTable,
JournalEntryTable,
JournalTable,
MessageTable,
NotificationTable,
SessionTable,
TaskTable,
)
__all__ = [
"AgentTable",
"Base",
"ChannelTable",
"GroupTable",
"HandoffTable",
"JournalEntryTable",
"JournalTable",
"MessageTable",
"NotificationTable",
"SessionTable",
"TaskTable",
"bootstrap_database",
"get_db",
"get_db_context",
"init_db",
]