mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
`test_no_uncached_file_reads` requires every read under tests/, utils/, cli/, plugins/ and library/ to go through `utils.cache.files.read_text`, which keeps one decoded read per file for the whole pytest session. The test added in3b85e4e1e1called `Path.read_text` directly and so read init.py and deploy/cli.py past that cache. The rule allows `# nocheck: cache-read` only for a read outside the project tree, which is howbfdf3dee79handled a tempdir. These are real source files, so the reader is the answer and the marker would have been the convenient wrong one;e5430ad4cais the matching precedent. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>