Answer prose round 2: 0 🔴, 1 🟡 (0 misread); reword the reports-folder comment, split the README sentence and rename the two tests

This commit is contained in:
2026-12-04 04:40:48 +01:00
parent 980418abf8
commit d483a1d8c2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ from text_files.file_writes import replace_file
LINKED = ("CLAUDE.md", "agents", "rules", "skills")
# Stands for the clone's folder in the clone's settings.json. Every value that holds it is a shell command, such as a hook's.
CLONE = "{clone}"
# Stands for the reports folder in the clone's settings.json: the folder under the state folder that holds each chunk's review reports, so a session may write there. Unlike CLONE, its value is a path, not part of a shell command.
# Stands for the reports folder, which holds every chunk's review folder, in the clone's settings.json. Every value that holds it is a path, so unlike CLONE it isn't shell-quoted.
REPORTS = "{reports}"
# The file in the home that names the clone, its commit and the reports folder the home was built from.
BUILT_FROM = "built-from"
+1 -1
View File
@@ -66,7 +66,7 @@ class Home(unittest.TestCase):
self.assertEqual(self.settings()["tui"], "fullscreen")
self.assertEqual(json.loads((self.clone / "settings.json").read_text(encoding="utf-8")), SETTINGS)
def test_the_generated_settings_let_a_session_write_the_review_folder_wherever_the_state_folder_is(self) -> None:
def test_the_generated_settings_let_a_session_write_the_reports_folder_wherever_the_state_folder_is(self) -> None:
self.unready()
self.assertEqual(self.settings()["permissions"], {"additionalDirectories": [str(self.reports), "~/code"], "defaultMode": "bypassPermissions"})
+1 -1
View File
@@ -154,7 +154,7 @@ class ClaudeHomeEffect(unittest.TestCase):
self.assertEqual(ran[-1], f"{built} auth status")
self.assertIn(f"{built} plugin install code-review@claude-plugins-official", ran)
def test_lets_a_session_write_the_review_folder_under_the_state_folder_it_is_given(self):
def test_lets_a_session_write_the_reports_folder_under_the_state_folder_it_is_given(self):
with tempfile.TemporaryDirectory() as folder:
claude = pathlib.Path(folder, "claude")
claude.write_text('#!/bin/sh\necho \'{"loggedIn": true}\'\n')