Answer principles round 1: 0 🔴, 5 🟡 (0 misread); require a swap limit beside the memory limit, ask in CLAUDE.md for both where rule-hook can't see the container, remove items 225 and 228 with a changelog entry; the -m finding was answered in the product-owner round 1 commit

This commit is contained in:
2026-10-24 00:42:39 +02:00
parent 2d219ff6c8
commit 196abe18a9
9 changed files with 26 additions and 28 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
"""A shell command's simple commands, each as its words and the directory it runs in, and the tool each runs, through which launchers."""
"""A shell command's simple commands, each as its words and the directory it runs in, and which tool a simple command runs through which launchers."""
import dataclasses
import posixpath
import re
@@ -100,7 +100,7 @@ def tool_name(word: str) -> str:
def launched(words: list[str], tools: typing.Collection[str]) -> Launch | None:
"""The first of tools that the simple command runs, directly or through launchers; None where it runs none of them."""
"""Which of the given tools the simple command runs, directly or through launchers, taking the first one named; None where it doesn't run any of them."""
names = [tool_name(word) for word in words]
# Past a launcher, the tool may follow the launcher's own options and assignments, as in nice -n 19 docker build; without one, the command itself is the tool.
reachable = names if names[:1] and names[0] in LAUNCHERS else names[:1]