From e4d1f728d7cb32339efc1215f5194acb662ef0d1 Mon Sep 17 00:00:00 2001 From: archie Date: Fri, 24 Jul 2026 17:28:19 +0000 Subject: [PATCH 1/2] fix: baseline gate repair (go vet ./...) --- internal/worktree/worktree_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/worktree/worktree_test.go b/internal/worktree/worktree_test.go index 2c9168a44..f7b187584 100644 --- a/internal/worktree/worktree_test.go +++ b/internal/worktree/worktree_test.go @@ -201,7 +201,6 @@ func TestPreparePersistentReusesRepoCacheAndCleanupExpiresIt(t *testing.T) { } } -<<<<<<< HEAD func TestAskpassWrittenOnce(t *testing.T) { m := &Manager{WorkDir: t.TempDir()} @@ -242,7 +241,9 @@ func TestAskpassWrittenOnce(t *testing.T) { want := "#!/bin/sh\necho \"$ARCHIE_GIT_TOKEN\"\n" if string(b) != want { t.Fatalf("content = %q, want %q", string(b), want) -======= + } +} + func TestPrepareResumesAfterInterruptedClone(t *testing.T) { if _, err := exec.LookPath("git"); err != nil { t.Skip("git not installed") @@ -331,7 +332,6 @@ func TestPrepareResumesAfterInterruptedClone(t *testing.T) { } if _, err := os.Stat(dir3); !os.IsNotExist(err) { t.Fatal("cleanup left the worktree behind") ->>>>>>> origin/main } } From 7632cba8e52993b027df4b4f858e2f0dbca6bca6 Mon Sep 17 00:00:00 2001 From: archie Date: Fri, 24 Jul 2026 17:33:22 +0000 Subject: [PATCH 2/2] esc() misses single quotes, enabling attribute JS breakout in task row onclick (archie) Implements #55 --- internal/webui/index.html | 3 +- internal/webui/webui_test.go | 63 ++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/internal/webui/index.html b/internal/webui/index.html index d992dd41a..0103100da 100644 --- a/internal/webui/index.html +++ b/internal/webui/index.html @@ -130,6 +130,7 @@