Read and write each record through the store its config names, and open one for agents with project-record
CI / tests (pull_request) Successful in 2m14s

This commit is contained in:
2026-11-13 23:54:04 +01:00
parent 854eb63407
commit 084bc74b1c
40 changed files with 624 additions and 161 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class Main(unittest.TestCase):
self.assertEqual(self.run_main("--check"), (0, ""))
self.assertEqual(pathlib.Path(temp, "todo.md").read_text(), "the project owners' own notes\n")
(folder / "decisions.md").write_bytes(b"\xff")
self.assertEqual(self.run_main(), (1, f"{folder}/decisions.md: not UTF-8\n"))
self.assertEqual(self.run_main(), (1, f"cannot read {folder}/decisions.md: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n"))
def test_refuses_a_file_that_is_not_the_plan_the_config_names_and_a_checkout_no_config_names(self):
with tempfile.TemporaryDirectory() as temp: