Answer stability round 1: 0 🔴, 5 🟡 (0 misread); read tool results from the API requests Claude Code logs again, test the fields every kind carries, mixed blocks, reads by tool and cwd, and indented or mixed security prompts; drop a cwd fallback that changes no commit found

This commit is contained in:
2026-11-09 00:49:37 +01:00
parent d1ff133941
commit 7a5df16882
6 changed files with 46 additions and 10 deletions
+1 -1
View File
@@ -171,5 +171,5 @@ def commit_titles(worker: list[Entry], home: str) -> list[str]:
return list(dict.fromkeys(
commit.messages[0].split("\n", 1)[0]
for turn, call in tool_calls(worker) if call.name == "Bash"
for commit in commits(simple_commands(str(call.input.get("command", "")), turn.cwd or "/", home), home) if commit.messages
for commit in commits(simple_commands(str(call.input.get("command", "")), turn.cwd, home), home) if commit.messages
))