personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Gitignore runtime artifacts in test fixtures journal

Add .gitignore to tests/fixtures/journal/ to prevent stats cache,
dream markers, task logs, and port files from being tracked. Untrack
task_log.txt (unused by any test). Remove redundant module-level
os.environ["JOURNAL_PATH"] overrides from three test files — the
conftest autouse fixture already handles this.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+13 -15
+1
AGENTS.md
··· 245 245 * Agents won't execute without API keys — this is expected in worktrees 246 246 * Output artifacts go in `scratch/` (git-ignored) 247 247 * Service logs: `tests/fixtures/journal/health/<service>.log` 248 + * `make dev` writes runtime artifacts (stats cache, health logs, task logs) into the fixtures journal — these are covered by `tests/fixtures/journal/.gitignore` and should never be committed 248 249 249 250 ### File Locations 250 251 * **Entry Points**: `sol.py` `COMMANDS` dict
+12
tests/fixtures/journal/.gitignore
··· 1 + # Runtime artifacts generated by make dev and test runs. 2 + # Tracked test fixtures (e.g. stream.updated) are force-included below. 3 + 4 + # JournalStats per-day and root-level cache 5 + stats.json 6 + 7 + # Dream / supervisor runtime markers and logs 8 + */health/daily.updated 9 + */task_log.txt 10 + 11 + # Service port files from make dev 12 + health/*.port
-6
tests/fixtures/journal/20250101/task_log.txt
··· 1 - 1771258550 starting: sol sense --day 20250101 -v 2 - 1771258614 starting: sol sense --day 20250101 -v 3 - 1771259054 starting: sol sense --day 20250101 -v 4 - 1771259054 starting: sol sense --day 20250101 -v 5 - 1771259280 starting: sol sense --day 20250101 -v 6 - 1771259280 starting: sol sense --day 20250101 -v
-3
tests/test_activities.py
··· 8 8 import tempfile 9 9 from pathlib import Path 10 10 11 - # Set up test environment before importing the module 12 - os.environ["JOURNAL_PATH"] = "tests/fixtures/journal" 13 - 14 11 15 12 def test_get_default_activities(): 16 13 """Test that default activities are returned correctly."""
-3
tests/test_activity_state.py
··· 8 8 import tempfile 9 9 from pathlib import Path 10 10 11 - # Set up test environment before importing the module 12 - os.environ["JOURNAL_PATH"] = "tests/fixtures/journal" 13 - 14 11 15 12 class TestExtractFacetFromOutputPath: 16 13 """Tests for _extract_facet_from_output_path."""
-3
tests/test_dream_activity.py
··· 4 4 """Tests for dream --activity mode and activity template variables.""" 5 5 6 6 import json 7 - import os 8 7 import tempfile 9 8 from pathlib import Path 10 9 11 10 import pytest 12 - 13 - os.environ["JOURNAL_PATH"] = "tests/fixtures/journal" 14 11 15 12 16 13 # ---------------------------------------------------------------------------