Updated
On this page
Package entry point re-exporting the trace public API: PgBackend/InMemoryBackend, TraceWriter, reader functions, lock and recovery helpers, plus the EVENTS_CHANNEL and TABLE_NAMES constants.
#trace.src.orxtra.trace
#trace.src.orxtra.trace
#__version__
python
__version__ = version('orxtra-trace')#EventBus
python
from orxtra.protocols import EventBus#RunLockError
python
from orxtra.trace._lock import RunLockError#acquire_run_lock
python
from orxtra.trace._lock import acquire_run_lock#is_lock_stale
python
from orxtra.trace._lock import is_lock_stale#lock_key
python
from orxtra.trace._lock import lock_key#release_run_lock
python
from orxtra.trace._lock import release_run_lock#update_heartbeat
python
from orxtra.trace._lock import update_heartbeat#InMemoryBackend
python
from orxtra.trace._memory_backend import InMemoryBackend#InMemoryEventBus
python
from orxtra.trace._memory_backend import InMemoryEventBus#PgBackend
python
from orxtra.trace._pg_backend import PgBackend#PgEventBus
python
from orxtra.trace._pg_event_bus import PgEventBus#EventStorage
python
from orxtra.trace._protocols import EventStorage#InboxStorage
python
from orxtra.trace._protocols import InboxStorage#KnowledgeHashStorage
python
from orxtra.trace._protocols import KnowledgeHashStorage#NotepadStorage
python
from orxtra.trace._protocols import NotepadStorage#OverseerStorage
python
from orxtra.trace._protocols import OverseerStorage#RecoveryOperations
python
from orxtra.trace._protocols import RecoveryOperations#RunControlStorage
python
from orxtra.trace._protocols import RunControlStorage#RunStorage
python
from orxtra.trace._protocols import RunStorage#StorageBackend
python
from orxtra.trace._protocols import StorageBackend#StorageLock
python
from orxtra.trace._protocols import StorageLock#StorageReader
python
from orxtra.trace._protocols import StorageReader#TaskStorage
python
from orxtra.trace._protocols import TaskStorage#list_iterations
python
from orxtra.trace._reader import list_iterations#list_runs
python
from orxtra.trace._reader import list_runs#list_tasks
python
from orxtra.trace._reader import list_tasks#query_events
python
from orxtra.trace._reader import query_events#query_lessons
python
from orxtra.trace._reader import query_lessons#query_relevant_lessons
python
from orxtra.trace._reader import query_relevant_lessons#read_active_constraints
python
from orxtra.trace._reader import read_active_constraints#read_assumptions
python
from orxtra.trace._reader import read_assumptions#read_constraints
python
from orxtra.trace._reader import read_constraints#read_decisions
python
from orxtra.trace._reader import read_decisions#read_event
python
from orxtra.trace._reader import read_event#read_inbox
python
from orxtra.trace._reader import read_inbox#read_inbox_item
python
from orxtra.trace._reader import read_inbox_item#read_latest_attempt
python
from orxtra.trace._reader import read_latest_attempt#read_notepad
python
from orxtra.trace._reader import read_notepad#read_run_config
python
from orxtra.trace._reader import read_run_config#read_run_report
python
from orxtra.trace._reader import read_run_report#read_session_token_counts
python
from orxtra.trace._reader import read_session_token_counts#read_session_turn_count
python
from orxtra.trace._reader import read_session_turn_count#read_task_attempt
python
from orxtra.trace._reader import read_task_attempt#read_task_attempts
python
from orxtra.trace._reader import read_task_attempts#read_transcript
python
from orxtra.trace._reader import read_transcript#read_workflow_status
python
from orxtra.trace._reader import read_workflow_status#replay
python
from orxtra.trace._reader import replay#search_transcript
python
from orxtra.trace._reader import search_transcript#clean_orphaned
python
from orxtra.trace._recovery import clean_orphaned#reclaim_interrupted
python
from orxtra.trace._recovery import reclaim_interrupted#reevaluate_blocked
python
from orxtra.trace._recovery import reevaluate_blocked#TraceSink
python
from orxtra.trace._trace_sink import TraceSink#InvalidTransitionError
python
from orxtra.trace._transitions import InvalidTransitionError#validate_run_transition
python
from orxtra.trace._transitions import validate_run_transition#validate_task_transition
python
from orxtra.trace._transitions import validate_task_transition#InboxItem
python
from orxtra.trace._types import InboxItem#IterationResult
python
from orxtra.trace._types import IterationResult#NotepadEntry
python
from orxtra.trace._types import NotepadEntry#RunReport
python
from orxtra.trace._types import RunReport#RunSummary
python
from orxtra.trace._types import RunSummary#TaskAttempt
python
from orxtra.trace._types import TaskAttempt#TaskSummary
python
from orxtra.trace._types import TaskSummary#TraceWriter
python
from orxtra.trace._writer import TraceWriter#EVENTS_CHANNEL
python
EVENTS_CHANNEL: str = 'orxtra_events'#TABLE_NAMES
python
TABLE_NAMES: tuple[str, ...] = ('assumptions', 'constraints', 'context_diffs', 'decisions', 'events', 'inbox_items', 'knowledge_hashes', 'lessons', 'notepad_entries', 'overseer_workflow_status', 'run_heartbeats', 'runs', 'task_attempts', 'task_iterations', 'tasks', 'transcripts')