Changed paths:
M pkg/aflow/action/actionsyzlang/format.go
Log Message:
-----------
pkg/aflow/action: use NonStrict mode for syzlang formatting
LLMs occasionally generate syzkaller programs with minor syntax errors,
such as omitted arguments or slightly incorrect values. Using prog.NonStrict
allows the parser to automatically fix these minor issues during formatting
instead of failing the entire workflow.
Previously, if the crash-repro-finder agent generated an invalid syzkaller
program, the workflow would fail downstream during the formatting step.
By using ValidatedLLMOutputs and attempting to deserialize the program,
we can catch severe syntax errors early and return a BadCallError. This
allows the LLM to see the error message and retry the generation.
Log Message:
-----------
pkg/aflow/flow/repro: format syzkaller program during validation
Removed the separate Format action and moved the formatting logic into
the validateReproFinderOutputs function. This ensures the formatted
program is passed directly to the next step and simplifies the pipeline.