feat(system): S71: memory README date, backup conftest fixture, morning_briefing tool (#174)

Co-authored-by: @devpulse <devpulse@aipass>
This commit is contained in:
AIPass
2026-04-02 02:19:10 -07:00
committed by GitHub
co-authored by @devpulse
parent c1f69c51c5
commit eacf65ae6c
2 changed files with 18 additions and 2 deletions
+16
View File
@@ -60,6 +60,22 @@ def temp_test_dir() -> Generator[Path, None, None]:
shutil.rmtree(test_dir)
@pytest.fixture
def sample_data(temp_test_dir: Path) -> dict:
"""Provides sample backup data and directory structure for tests."""
source = temp_test_dir / "source"
dest = temp_test_dir / "dest"
source.mkdir()
dest.mkdir()
(source / "file1.txt").write_text("hello", encoding="utf-8")
(source / "file2.txt").write_text("world", encoding="utf-8")
return {
"source": source,
"dest": dest,
"files": ["file1.txt", "file2.txt"],
}
@pytest.fixture
def mock_json_handler(monkeypatch):
"""Creates a mock json_handler that can be injected into modules."""
+2 -2
View File
@@ -3,7 +3,7 @@
**Purpose:** Central memory archive with semantic search, rollover, and archival across all AIPass branches.
**Module:** `aipass.memory`
**Created:** 2026-03-07
**Last Updated:** 2026-03-24
**Last Updated:** 2026-04-01
**Citizen Class:** builder
---
@@ -119,4 +119,4 @@ The rollover module monitors memory files across all branches registered in `AIP
---
*Last Updated: 2026-03-24*
*Last Updated: 2026-04-01*