Answer architecture round 1: 0 🔴, 7 🟡; move the reports to a durable review folder under ~/.local/state, carry the yardstick, the named reviewer and the test status in each reply line, read an entry by Grep, name the folder once, print which rules take no override, and file items 185 and 186

This commit is contained in:
2026-10-18 00:20:13 +02:00
parent 9207566328
commit 8df46e3a85
11 changed files with 42 additions and 28 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ subagent. The rules:
{rules}
A file a Bash command writes, such as through `cat > Dockerfile`, is not checked. The reviewer-rung rule takes no override.
A file a Bash command writes, such as through `cat > Dockerfile`, is not checked.
A call overrides a rule with `# rule-override <rule>: <reason>`:
@@ -82,7 +82,7 @@ def breaches_of(call: Call, home: str, environ: typing.Mapping[str, str]) -> tup
return None
before = read(path)
added, after = applied(call, before)
return added, path, report_breaches(call, path) + file_breaches(path, before, added, after)
return added, path, report_breaches(call, path, home) + file_breaches(path, before, added, after)
def answer(judged: Outcome, what: str, now: float) -> int: