Skip to content

Commit 97b0e14

Browse files
committed
rename symphony to baton (excluding README files)
1 parent b2ab7d7 commit 97b0e14

17 files changed

Lines changed: 35 additions & 35 deletions

WORKFLOW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The agent should be able to talk to Linear, either via a configured Linear MCP s
152152
4. Start work by writing/updating a hierarchical plan in the workpad comment.
153153
5. Ensure the workpad includes a compact environment stamp at the top as a code fence line:
154154
- Format: `<host>:<abs-workdir>@<short-sha>`
155-
- Example: `devbox-01:/home/dev-user/code/symphony-workspaces/MT-32@7bdde33bc`
155+
- Example: `devbox-01:/home/dev-user/code/baton-workspaces/MT-32@7bdde33bc`
156156
- Do not include metadata already inferable from Linear issue fields (`issue ID`, `status`, `branch`, `PR link`).
157157
6. Add explicit acceptance criteria and TODOs in checklist form in the same comment.
158158
- If changes are user-facing, include a UI walkthrough acceptance criterion that describes the end-to-end user path to validate.

internal/cli/root.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ func NewRootCommand() *cobra.Command {
3131
opts := &options{}
3232

3333
cmd := &cobra.Command{
34-
Use: "symphony [path-to-WORKFLOW.md]",
35-
Short: "Symphony is a local orchestration service for coding-agent runs.",
34+
Use: "baton [path-to-WORKFLOW.md]",
35+
Short: "Baton is a local orchestration service for coding-agent runs.",
3636
Args: func(cmd *cobra.Command, args []string) error {
3737
if len(args) > 1 {
3838
return errors.New(usageMessage())
@@ -107,14 +107,14 @@ func run(parent context.Context, opts *options) error {
107107
}
108108

109109
func usageMessage() string {
110-
return "Usage: symphony [--logs-root <path>] [--port <port>] [path-to-WORKFLOW.md]"
110+
return "Usage: baton [--logs-root <path>] [--port <port>] [path-to-WORKFLOW.md]"
111111
}
112112

113113
func acknowledgementBanner() string {
114114
lines := []string{
115-
"This Symphony implementation is a low key engineering preview.",
115+
"This Baton implementation is a low key engineering preview.",
116116
"Codex will run without any guardrails.",
117-
"SymphonyElixir is not a supported product and is presented as-is.",
117+
"BatonElixir is not a supported product and is presented as-is.",
118118
fmt.Sprintf("To proceed, start with `--%s` CLI argument", acknowledgementFlag),
119119
}
120120

internal/cli/root_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func TestRootCommandRejectsEmptyExplicitLogsRoot(t *testing.T) {
6161
if err == nil {
6262
t.Fatal("expected usage error for empty explicit logs root")
6363
}
64-
if !strings.Contains(err.Error(), "Usage: symphony") {
64+
if !strings.Contains(err.Error(), "Usage: baton") {
6565
t.Fatalf("expected usage error, got %v", err)
6666
}
6767
}
@@ -82,7 +82,7 @@ func TestRootCommandRejectsNegativeExplicitPort(t *testing.T) {
8282
if err == nil {
8383
t.Fatal("expected usage error for negative explicit port")
8484
}
85-
if !strings.Contains(err.Error(), "Usage: symphony") {
85+
if !strings.Contains(err.Error(), "Usage: baton") {
8686
t.Fatalf("expected usage error, got %v", err)
8787
}
8888
}
@@ -104,7 +104,7 @@ func TestRootCommandRejectsMultiplePositionalWorkflowPaths(t *testing.T) {
104104
if err == nil {
105105
t.Fatal("expected usage error for multiple workflow paths")
106106
}
107-
if !strings.Contains(err.Error(), "Usage: symphony") {
107+
if !strings.Contains(err.Error(), "Usage: baton") {
108108
t.Fatalf("expected usage error, got %v", err)
109109
}
110110
}

internal/cli/workspace_before_remove.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/spf13/cobra"
1212
)
1313

14-
const defaultWorkspaceBeforeRemoveRepo = "openai/symphony"
14+
const defaultWorkspaceBeforeRemoveRepo = "openai/baton"
1515

1616
const workspaceBeforeRemoveHelp = `Closes open pull requests for the current Git branch.
1717
@@ -21,7 +21,7 @@ Usage:
2121
2222
mix workspace.before_remove
2323
mix workspace.before_remove --branch feature/my-branch
24-
mix workspace.before_remove --repo openai/symphony
24+
mix workspace.before_remove --repo openai/baton
2525
`
2626

2727
type workspaceBeforeRemoveOptions struct {

internal/cli/workspace_before_remove_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ exit 0
7676
t.Fatalf("read log: %v", err)
7777
}
7878
log := string(raw)
79-
if !strings.Contains(log, "pr list --repo openai/symphony --head feature/workpad --state open --json number --jq .[].number") {
79+
if !strings.Contains(log, "pr list --repo openai/baton --head feature/workpad --state open --json number --jq .[].number") {
8080
t.Fatalf("missing list command in log: %q", log)
8181
}
82-
if !strings.Contains(log, "pr close 101 --repo openai/symphony") {
82+
if !strings.Contains(log, "pr close 101 --repo openai/baton") {
8383
t.Fatalf("missing close 101 in log: %q", log)
8484
}
85-
if !strings.Contains(log, "pr close 102 --repo openai/symphony") {
85+
if !strings.Contains(log, "pr close 102 --repo openai/baton") {
8686
t.Fatalf("missing close 102 in log: %q", log)
8787
}
8888
})

internal/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ func (c *Config) LinearAssignee() string {
459459
func (c *Config) WorkspaceRoot() string {
460460
c.mu.RLock()
461461
defer c.mu.RUnlock()
462-
defaultRoot := filepath.Join(os.TempDir(), "symphony_workspaces")
462+
defaultRoot := filepath.Join(os.TempDir(), "baton_workspaces")
463463
return resolvePathValue(c.RawConfig, defaultRoot)
464464
}
465465

@@ -575,7 +575,7 @@ func (c *Config) resolveCodexTurnSandboxPolicyLocked(workspace string) (map[stri
575575
func (c *Config) defaultCodexTurnSandboxPolicyLocked(workspace string) map[string]any {
576576
writableRoot := strings.TrimSpace(workspace)
577577
if writableRoot == "" {
578-
defaultRoot := filepath.Join(os.TempDir(), "symphony_workspaces")
578+
defaultRoot := filepath.Join(os.TempDir(), "baton_workspaces")
579579
writableRoot = resolvePathValue(c.RawConfig, defaultRoot)
580580
}
581581
writableRoot = filepath.Clean(writableRoot)

internal/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func TestConfigEnvResolution(t *testing.T) {
153153
func TestWorkspaceRootPathResolution(t *testing.T) {
154154
t.Parallel()
155155

156-
defaultRoot := filepath.Join(os.TempDir(), "symphony_workspaces")
156+
defaultRoot := filepath.Join(os.TempDir(), "baton_workspaces")
157157
cfg := mustConfig(t, map[string]any{"tracker": map[string]any{"kind": "memory"}}, "")
158158
if got := cfg.WorkspaceRoot(); got != defaultRoot {
159159
t.Fatalf("default workspace root mismatch: %q", got)

internal/logging/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
defaultLogRelativePath = "log/symphony.log"
16+
defaultLogRelativePath = "log/baton.log"
1717
defaultMaxBytes = int64(10 * 1024 * 1024)
1818
defaultMaxFiles = 5
1919
)

internal/logging/logger_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ func TestDefaultLogFileUsesCurrentWorkingDirectory(t *testing.T) {
1212
if err != nil {
1313
t.Fatalf("getwd failed: %v", err)
1414
}
15-
expected := filepath.Join(cwd, "log", "symphony.log")
15+
expected := filepath.Join(cwd, "log", "baton.log")
1616
if got := DefaultLogFile(""); got != expected {
1717
t.Fatalf("unexpected default log file path: got=%s expected=%s", got, expected)
1818
}
1919
}
2020

2121
func TestDefaultLogFileUnderCustomRoot(t *testing.T) {
22-
root := "/tmp/symphony-logs"
23-
expected := "/tmp/symphony-logs/log/symphony.log"
22+
root := "/tmp/baton-logs"
23+
expected := "/tmp/baton-logs/log/baton.log"
2424
if got := DefaultLogFile(root); got != expected {
2525
t.Fatalf("unexpected custom log file path: got=%s expected=%s", got, expected)
2626
}
2727
}
2828

2929
func TestRotatingFileWriterRotatesBySize(t *testing.T) {
3030
temp := t.TempDir()
31-
path := filepath.Join(temp, "log", "symphony.log")
31+
path := filepath.Join(temp, "log", "baton.log")
3232

3333
writer, err := NewRotatingFileWriter(path, 32, 3)
3434
if err != nil {

internal/observability/api_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func TestStateIssueRefreshPayloads(t *testing.T) {
9898
"operations": []string{"poll", "reconcile"},
9999
},
100100
},
101-
WorkspaceRoot: "/tmp/symphony_workspaces",
101+
WorkspaceRoot: "/tmp/baton_workspaces",
102102
LogsRoot: logsRoot,
103103
})
104104

@@ -120,7 +120,7 @@ func TestStateIssueRefreshPayloads(t *testing.T) {
120120
assertEqual(t, issue["issue_identifier"], "MT-HTTP")
121121
assertEqual(t, issue["issue_id"], "issue-http")
122122
assertEqual(t, issue["status"], "running")
123-
assertEqual(t, issue["workspace"], map[string]any{"path": filepath.Join("/tmp/symphony_workspaces", "MT-HTTP")})
123+
assertEqual(t, issue["workspace"], map[string]any{"path": filepath.Join("/tmp/baton_workspaces", "MT-HTTP")})
124124
assertEqual(t, issue["attempts"], map[string]any{"restart_count": float64(0), "current_retry_attempt": float64(0)})
125125
logs := issue["logs"].(map[string]any)["codex_session_logs"].([]any)
126126
if len(logs) < 1 {
@@ -273,7 +273,7 @@ func TestStateUsesHumanizedMessageForNilAndStructuredEvents(t *testing.T) {
273273
"rate_limits": nil,
274274
},
275275
},
276-
WorkspaceRoot: "/tmp/symphony_workspaces",
276+
WorkspaceRoot: "/tmp/baton_workspaces",
277277
})
278278

279279
ts := httptest.NewServer(h)

0 commit comments

Comments
 (0)