Skip to content

Commit 68ab412

Browse files
committed
fix(im): simplify worker bootstrap message
- remove the worker self-mention prefix from the bootstrap message - switch the default manager image to ghcr.io/russellluo/picoclaw:2026.4.26
1 parent 150b938 commit 68ab412

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

internal/config/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ const (
120120

121121
DefaultHTTPPort = apiclient.DefaultHTTPPort
122122
DefaultAccessToken = "your_access_token"
123-
DefaultManagerImage = "opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsghq/picoclaw:2026.4.24.0"
123+
// Temporary default; later switch to opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsghq/picoclaw.
124+
DefaultManagerImage = "ghcr.io/russellluo/picoclaw:2026.4.26"
124125
CSGHubProvider = "csghub"
125126
BoxLiteSDKProvider = "boxlite-sdk"
126127
BoxLiteCLIProvider = "boxlite-cli"

internal/im/provisioning.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (p *Provisioner) scheduleBootstrapMessage(roomID, name, description string)
8282
func buildWorkerBootstrapMessage(name, description string) string {
8383
name = strings.TrimSpace(name)
8484
description = strings.TrimSpace(description)
85-
message := fmt.Sprintf("@%s Write this down in your memory: your name is %s.", name, name)
85+
message := fmt.Sprintf("Write this down in your memory: your name is %s.", name)
8686
if description == "" {
8787
return message
8888
}

internal/im/provisioning_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestProvisionerEnsureAgentUserPublishesBootstrapRoom(t *testing.T) {
6262
if third.Message.SenderID != "u-admin" {
6363
t.Fatalf("third event.Message.SenderID = %q, want %q", third.Message.SenderID, "u-admin")
6464
}
65-
wantContent := "@Alice Write this down in your memory: your name is Alice. Your responsibility is test lead"
65+
wantContent := "Write this down in your memory: your name is Alice. Your responsibility is test lead"
6666
if third.Message.Content != wantContent {
6767
t.Fatalf("third event.Message.Content = %q, want %q", third.Message.Content, wantContent)
6868
}

0 commit comments

Comments
 (0)