[google/syzkaller] 681ee7: pkg/aflow/tool/gitlog: add git history tools

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
May 6, 2026, 11:51:58 AMMay 6
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-7187-b8db9b7e0383031086b50aea46d517224ac93828
Home: https://github.com/google/syzkaller
Commit: 681ee7d7570d96b288b2c71371e1b30f08861f46
https://github.com/google/syzkaller/commit/681ee7d7570d96b288b2c71371e1b30f08861f46
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-05-06 (Wed, 06 May 2026)

Changed paths:
A pkg/aflow/tool/gitlog/gitlog.go
A pkg/aflow/tool/gitlog/gitlog_test.go

Log Message:
-----------
pkg/aflow/tool/gitlog: add git history tools

Introduce git-log, git-show, and git-blame tools. These are designed
to be used by LLM agents to investigate git history, search for specific
code patterns, and identify bug-introducing commits.


Commit: 14de0d28fd4e68b1483ad7827d05fc929048b709
https://github.com/google/syzkaller/commit/14de0d28fd4e68b1483ad7827d05fc929048b709
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-05-06 (Wed, 06 May 2026)

Changed paths:
M pkg/aflow/flow/patching/iteration.go
M pkg/aflow/flow/patching/patching.go

Log Message:
-----------
pkg/aflow/flow: use git tools during patch generation

The tools may help the agent understand the evolution of the code.


Commit: 39563dcba74dc521a5713f966c96538556669d64
https://github.com/google/syzkaller/commit/39563dcba74dc521a5713f966c96538556669d64
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-05-06 (Wed, 06 May 2026)

Changed paths:
M pkg/aflow/llm_agent.go
M pkg/aflow/llm_agent_test.go
A pkg/aflow/testdata/TestValidatedLLMOutputs.llm.json
A pkg/aflow/testdata/TestValidatedLLMOutputs.trajectory.json

Log Message:
-----------
pkg/aflow: add ValidatedLLMOutputs for structured LLM outputs

Introduce ValidatedLLMOutputs to allow validation of structured LLM
outputs provided via the LLMOutputs mechanism.

If the custom validation function returns an error, the error is
returned to the LLM agent as a BadCallError. This provides a tight
feedback loop, enabling the LLM to learn from the failure and attempt
to self-correct in subsequent turns.


Commit: cbcd9ea0cda2829cdba614a2b5501f7a29c03677
https://github.com/google/syzkaller/commit/cbcd9ea0cda2829cdba614a2b5501f7a29c03677
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-05-06 (Wed, 06 May 2026)

Changed paths:
M pkg/aflow/ai/ai.go
M pkg/aflow/flow/patching/patching.go

Log Message:
-----------
pkg/aflow/flow: add fixes-finder agent to the patching workflow

Integrate the fixes-finder LLM agent to automatically investigate git
history and identify bug-introducing commits after a patch is generated.

The agent uses ValidatedLLMOutputs to robustly extract commit hashes.
The format-fixes action verifies these hashes against the kernel repository
and deterministically extracts the commit titles, appending the structured
FixesTags to PatchingOutputs.


Compare: https://github.com/google/syzkaller/compare/681ee7d7570d%5E...cbcd9ea0cda2

To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications
Reply all
Reply to author
Forward
0 new messages