Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); read -m and --memory as a limit only with a size, so python -m pytest in the container is no limit, and read timeout as a launcher; also take the technical principles' nits: --help counts only beside docker's subcommand, sort STARTS_CONTAINER, print the example limit once, and name item 227 in the decision

This commit is contained in:
2026-10-24 00:36:19 +02:00
parent 500e2c2947
commit 2d219ff6c8
5 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ def command_breaches(command: str, simples: list[Simple], home: str) -> list[Bre
if heavy(simple.words):
breaches.append(Breach("run-heavy", f"run `{' '.join(simple.words)[:80]}` under `~/.claude/bin/run-heavy`, in the background", simple.directory))
if unlimited_container(simple.words):
breaches.append(Breach("docker-run-memory", f"give `{' '.join(simple.words)[:80]}` a memory limit as large as its work needs, such as `--memory 4g --memory-swap 4g`", simple.directory))
breaches.append(Breach("docker-run-memory", f"give `{' '.join(simple.words)[:80]}` a memory limit as large as its work needs", simple.directory))
for commit in found:
if commit.from_file:
breaches.append(Breach("commit-one-line", "pass the message as one -m '<line>', not from a file", commit.directory))