mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-14 08:04:32 +00:00
Cases outlive boards/teams, so entries+per-case chains move to journal.db with a grant table (creator-on-attach, assignment-fed, explicit shares). Adds the raw capture kind: excerpt inline under a body cap, full payload as a sha256-referenced artifact; reads skip raw unless asked.
29 lines
640 B
Python
29 lines
640 B
Python
"""Agent teams substrate. Two append-only stores, one record discipline:
|
|
the board log (space-scoped — a board lives and dies with its team) and the
|
|
journal store (case-keyed — knowledge that outlives boards and teams)."""
|
|
|
|
from .journal import JournalStore
|
|
from .model import (
|
|
Actor,
|
|
AuthorityError,
|
|
BoardError,
|
|
ChainError,
|
|
ItemState,
|
|
Role,
|
|
)
|
|
from .store import TeamStore
|
|
from .tools import board_tools, journal_tools
|
|
|
|
__all__ = [
|
|
"Actor",
|
|
"AuthorityError",
|
|
"BoardError",
|
|
"ChainError",
|
|
"ItemState",
|
|
"JournalStore",
|
|
"Role",
|
|
"TeamStore",
|
|
"board_tools",
|
|
"journal_tools",
|
|
]
|