diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 05:31:14 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 05:31:14 +0000 |
| commit | 9fe915674ee7e1f91771eb5fa5a73f99bcecef88 (patch) | |
| tree | 9d73f93639cda1404da008ce8d0290d98f9cb000 /internal/executor/container.go | |
| parent | 436862484e53e9cf06b2594bcefd99621e603a72 (diff) | |
chore: replace all master branch references with main
- executor.go: merge story branch to main before deploy
- container.go: error messages reference git push origin main
- api/stories.go: create story branch from origin/main (drop master fallback)
- executor_test.go: test setup uses main branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/container.go')
| -rw-r--r-- | internal/executor/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/executor/container.go b/internal/executor/container.go index 8b244c6..95717b4 100644 --- a/internal/executor/container.go +++ b/internal/executor/container.go @@ -473,7 +473,7 @@ func detectUncommittedChanges(workspace string) error { if err == nil { for _, line := range strings.Split(strings.TrimSpace(string(diffOut)), "\n") { if line != "" && !isScaffold(line) { - return fmt.Errorf("agent left uncommitted changes (work would be lost on sandbox deletion):\n%s\nInstructions must include: git add -A && git commit && git push origin master", strings.TrimSpace(string(diffOut))) + return fmt.Errorf("agent left uncommitted changes (work would be lost on sandbox deletion):\n%s\nInstructions must include: git add -A && git commit && git push origin main", strings.TrimSpace(string(diffOut))) } } } @@ -489,7 +489,7 @@ func detectUncommittedChanges(workspace string) error { } } if len(dirty) > 0 { - return fmt.Errorf("agent left untracked files not committed (work would be lost on sandbox deletion):\n%s\nInstructions must include: git add -A && git commit && git push origin master", strings.Join(dirty, "\n")) + return fmt.Errorf("agent left untracked files not committed (work would be lost on sandbox deletion):\n%s\nInstructions must include: git add -A && git commit && git push origin main", strings.Join(dirty, "\n")) } } |
