Address PR #20 feedback:

- Removed PersonalStorage (redundant - RoomStorage handles both via room_id)
- Added ensure_room() and ensure_tracking() methods for explicit creation
- Added @runtime_checkable to Protocols for isinstance checks
- Added tests/test_ports.py with 11 unit tests for storage protocols
This commit is contained in:
shokollm
2026-04-02 23:57:49 +00:00
parent 5450d12400
commit 43603659de
3 changed files with 214 additions and 39 deletions

View File

@@ -8,7 +8,6 @@ from core.models import (
)
from core.ports import (
RoomStorage,
PersonalStorage,
TrackingStorage,
)
@@ -18,6 +17,5 @@ __all__ = [
"RoomData",
"TrackingData",
"RoomStorage",
"PersonalStorage",
"TrackingStorage",
]