diff --git a/pkg/agent/memory.go b/pkg/agent/memory.go index 2a4b9777d..a76be6903 100644 --- a/pkg/agent/memory.go +++ b/pkg/agent/memory.go @@ -380,9 +380,9 @@ func (ms *MemoryStore) GetInterviewContext() string { sb.WriteString("## Phase 2: \n") sb.WriteString("- [ ] Step\n") sb.WriteString("## Commands\n") - sb.WriteString("build: go build ./...\n") - sb.WriteString("test: go test ./pkg/... -count=1\n") - sb.WriteString("lint: golangci-lint run\n") + sb.WriteString("build: <project-specific build command>\n") + sb.WriteString("test: <project-specific test command>\n") + sb.WriteString("lint: <project-specific lint command>\n") sb.WriteString("## Context\n") sb.WriteString("<collected requirements, decisions, environment>\n") sb.WriteString("```\n") diff --git a/pkg/agent/memory_test.go b/pkg/agent/memory_test.go index a400c9046..5d21994cb 100644 --- a/pkg/agent/memory_test.go +++ b/pkg/agent/memory_test.go @@ -336,11 +336,11 @@ func TestGetInterviewContext(t *testing.T) { if !strings.Contains(ctx, "## Commands") { t.Error("expected target format to include ## Commands section") } - if !strings.Contains(ctx, "go test") { - t.Error("expected target format Commands to include test command example") + if !strings.Contains(ctx, "project-specific test command") { + t.Error("expected target format Commands to include test command placeholder") } - if !strings.Contains(ctx, "golangci-lint") { - t.Error("expected target format Commands to include lint command example") + if !strings.Contains(ctx, "project-specific lint command") { + t.Error("expected target format Commands to include lint command placeholder") } }