From 1bf4f7668f543ee3849a4f0a3dcca55c551ef557 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Thu, 23 Jul 2026 18:57:17 +1000 Subject: [PATCH] fix: disable diff cap (0 = unlimited), let human review PRs --- internal/workflow/steps.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/workflow/steps.go b/internal/workflow/steps.go index c6cfd669a..c6fb19e19 100644 --- a/internal/workflow/steps.go +++ b/internal/workflow/steps.go @@ -76,6 +76,9 @@ func StageCommitPush(message func(*TaskContext) string) Stage { // oversized changes need human pre-approval, not an auto-opened PR. func StageDiffCap() Stage { return Stage{Name: "diff-cap", Run: func(ctx context.Context, tc *TaskContext) error { + if tc.Cfg.DiffCapLines <= 0 { + return nil + } lines, err := tc.Trees.ChangedLines(ctx, tc.Dir, tc.Repo.BaseBranch()) if err != nil { return err