From f7900987bbcd4ae314877054a222ecf8c385b86d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 23 Jan 2026 08:16:18 +0100 Subject: pkg/aflow/action/kernel: add CheckoutScratch action The action checks out a temp dir for code edits and patch testing. --- pkg/aflow/flow/patching/patching.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/aflow/flow/patching/patching.go') diff --git a/pkg/aflow/flow/patching/patching.go b/pkg/aflow/flow/patching/patching.go index 9959e0bdb..37875b307 100644 --- a/pkg/aflow/flow/patching/patching.go +++ b/pkg/aflow/flow/patching/patching.go @@ -36,6 +36,7 @@ type Inputs struct { type Outputs struct { PatchDescription string PatchDiff string + KernelScratchSrc string // it's unused for now, but should be used by codeeditor tool later } func init() { @@ -61,6 +62,7 @@ func init() { Prompt: debuggingPrompt, Tools: tools, }, + kernel.CheckoutScratch, &aflow.LLMAgent{ Name: "diff-generator", Model: aflow.BestExpensiveModel, -- cgit mrf-deployment