Answer principles round 1: 0 🔴, 3 🟡 (0 misread); hand the home folder, the clock and the output to larv-review's commands from their wiring

This commit is contained in:
2026-11-13 03:04:44 +01:00
parent 87d5023773
commit e6da7b0b9c
22 changed files with 155 additions and 131 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ cannot read.
"""
import json
import os
import pathlib
import sys
import time
import typing
@@ -118,5 +119,5 @@ def bash_breaches(command: str, cwd: str, home: str) -> list[Breach]:
found = commits(simples, home)
in_files = [breach for directory in dict.fromkeys(commit.directory for commit in found) for breach in committed_file_breaches(directory)]
round_cap = [breach for commit in found for breach in round_cap_breaches(commit)]
todo = [breach for commit in found for breach in todo_breaches(commit.directory)]
todo = [breach for commit in found for breach in todo_breaches(commit.directory, pathlib.Path(home))]
return command_breaches(command, simples, home) + round_cap + todo + in_files