aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/flow/patching/patching.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-23 08:16:18 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-23 11:21:24 +0000
commitf7900987bbcd4ae314877054a222ecf8c385b86d (patch)
tree2a9756f1a196481c60c9fb9ac61b0641a2897023 /pkg/aflow/flow/patching/patching.go
parent1aa92270bc0672eed4beb2d8d4556e9ee61d2cf2 (diff)
pkg/aflow/action/kernel: add CheckoutScratch action
The action checks out a temp dir for code edits and patch testing.
Diffstat (limited to 'pkg/aflow/flow/patching/patching.go')
-rw-r--r--pkg/aflow/flow/patching/patching.go2
1 files changed, 2 insertions, 0 deletions
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,