forked from Rockachopa/Timmy-time-dashboard
- Add src/timmy/sovereignty/session_report.py with generate_report(), commit_report(), generate_and_commit_report(), and mark_session_start() - Add session report imports to src/timmy/sovereignty/__init__.py - Wire session start/end hooks into dashboard lifespan - Add 23 unit tests in tests/timmy/test_session_report.py Fixes #957 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
657 B
Python
27 lines
657 B
Python
"""Sovereignty metrics for the Bannerlord loop.
|
|
|
|
Tracks how much of each AI layer (perception, decision, narration)
|
|
runs locally vs. calls out to an LLM. Feeds the sovereignty dashboard.
|
|
|
|
Refs: #954, #953
|
|
|
|
Session reporting: auto-generates markdown scorecards at session end
|
|
and commits them to the Gitea repo for institutional memory.
|
|
|
|
Refs: #957 (Session Sovereignty Report Generator)
|
|
"""
|
|
|
|
from timmy.sovereignty.session_report import (
|
|
commit_report,
|
|
generate_and_commit_report,
|
|
generate_report,
|
|
mark_session_start,
|
|
)
|
|
|
|
__all__ = [
|
|
"generate_report",
|
|
"commit_report",
|
|
"generate_and_commit_report",
|
|
"mark_session_start",
|
|
]
|