Answer prose round 1: 0 🔴, 9 🟡 (0 misread); name the five as project records, cut what CLAUDE.md already says, and reword the comments the round named
CI / tests (pull_request) Successful in 2m27s

This commit was merged in pull request #530.
This commit is contained in:
2026-11-14 00:25:18 +01:00
parent 4fc00a0b89
commit 9508838439
11 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ from failure import Failure
from record_store.stores import FileStore, local_file, RECORDS, RecordStore, store, stored
from project_config.main import located
# Three readers, seated as the human and as the agents that follow the rules, picked the spelling from five candidates: git's verbs, such as checkout and commit, or pull and push, read as acting on the repo.
# Not git's verbs, such as checkout and commit: those read as acting on the repo.
COMMANDS = ("open", "save")
# Where the copy of a record kept outside files goes, under the user's home, in a folder per project.
COPIES = ".local/state/project-record"
@@ -49,7 +49,7 @@ def main(argv: list[str]) -> int:
def act(command: str, record: RecordStore, copy: pathlib.Path) -> str | Failure:
"""What command, one of COMMANDS, prints for record, whose copy goes at copy where it needs one."""
"""What command, one of COMMANDS, prints for record. copy is where a record kept outside files gets its file."""
if command == "open":
opened = local_file(record, copy)
return opened if isinstance(opened, Failure) else str(opened)