Test a clone that enables no plugin, the generated settings' layout, and a .jsonl beside a home's projects folder
CI / tests (pull_request) Successful in 4m49s

This commit is contained in:
2026-12-04 01:36:03 +01:00
parent 9fbff04a0c
commit f3fc329e23
2 changed files with 19 additions and 0 deletions
+5
View File
@@ -1670,6 +1670,11 @@ class TranscriptRead(unittest.TestCase):
with self.subTest(path):
self.assertEqual(self.breached("Read", {"file_path": path}), [])
def test_a_read_of_a_jsonl_file_beside_a_homes_projects_folder_passes(self):
for path in ("/home/h/.claude/history.jsonl", "/home/h/.local/share/build-release/claude-home/history.jsonl"):
with self.subTest(path):
self.assertEqual(self.breached("Read", {"file_path": path}), [])
def test_a_jsonl_file_outside_the_projects_folder_passes(self):
self.assertEqual(self.breached("Read", {"file_path": "/home/h/code/acme/cases.jsonl"}), [])
self.assertEqual(self.breached("Read", {"file_path": "/home/h/.local/state/build-release/transcripts/x.jsonl"}), [])