Skip to content

Commit a59ea39

Browse files
outof-placeclaude
andcommitted
chore(worker): default CHAT_SDK_BOT_NAME to ai-workflow
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015kfeohXE66xx7RJPxZ2pvH
1 parent c46f2a0 commit a59ea39

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.claude/skills/init-slack/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Ask:
3232

3333
- `CHAT_SDK_SLACK_TOKEN` — bot token, starts with `xoxb-`
3434
- `CHAT_SDK_CHANNEL_ID` — channel ID like `C0123456789` (not `#channel-name`)
35-
- `CHAT_SDK_BOT_NAME` — defaults to `blazebot`; only ask if the user wants to override
35+
- `CHAT_SDK_BOT_NAME` — defaults to `ai-workflow`; only ask if the user wants to override
3636
- `SLACK_SIGNING_SECRET` — required. App settings → **Basic Information****App Credentials****Signing Secret**. Used to verify inbound `/ai-workflow` slash command requests. See `references/slash-commands.md` for the full slash-command setup.
3737
- `SLACK_ALLOWED_USER_IDS` — optional. Comma-separated Slack user IDs (`U…`) allowed to run `/ai-workflow`. Defaults to empty, which lets anyone in the workspace run the slash command. Only ask if the user wants to restrict access.
3838

SETUP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ The Slack app powers two things: **notifications** (run start, success, failure
159159
5. Pick (or create) the channel where ai-workflow should post — e.g. `#ai-workflow` or your team's engineering channel. Public is simplest; private works as long as you invite the bot.
160160
6. In Slack, open the channel → **Channel details → Integrations → Add apps** → select the ai-workflow app you just installed. (Or run `/invite @ai-workflow` in the channel.) Without this the bot's posts will fail with `not_in_channel`.
161161
7. Right-click the channel → **View channel details** → copy the channel ID at the bottom (looks like `C0123456789`) → `CHAT_SDK_CHANNEL_ID`.
162-
8. Optional: choose a display name → `CHAT_SDK_BOT_NAME` (default `blazebot`). This is what users see as the message author.
162+
8. Optional: choose a display name → `CHAT_SDK_BOT_NAME` (default `ai-workflow`). This is what users see as the message author.
163163
9. Optional: restrict who can invoke the slash command by setting `SLACK_ALLOWED_USER_IDS` to a comma-separated list of Slack user IDs (`U0123…`). When unset, anyone in the workspace can run it.
164164

165165
> If you skip the Slack section entirely (`CHAT_SDK_SLACK_TOKEN` and `CHAT_SDK_CHANNEL_ID` unset), runs proceed silently — Jira and PRs still update, just no chat notifications.
@@ -289,7 +289,7 @@ This is enough for password-only dashboard login. SSO and Resend are optional wo
289289
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
290290
| `GITHUB_BASE_BRANCH` | `main` | PR target branch |
291291
| `CHAT_SDK_SLACK_TOKEN`, `CHAT_SDK_CHANNEL_ID` | unset | Slack bot. When unset, runs proceed silently (no notifications). |
292-
| `CHAT_SDK_BOT_NAME` | `blazebot` | Slack display name |
292+
| `CHAT_SDK_BOT_NAME` | `ai-workflow` | Slack display name |
293293
| `SLACK_SIGNING_SECRET` | unset | Required only if you register the `/ai-workflow` slash command. When unset, `/webhooks/slack` rejects all requests. |
294294
| `SLACK_ALLOWED_USER_IDS` | empty (anyone) | Comma-separated user IDs allowed to run slash commands |
295295
| `CRON_SECRET` | unset | Generate: `openssl rand -hex 32`. Without it, `/cron/poll` accepts unauthenticated callers — strongly recommended in production. |

apps/worker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ GITHUB_BASE_BRANCH=main
5757
# adapter is used and runs proceed silently.
5858
CHAT_SDK_SLACK_TOKEN=xoxb-xxxxxxxxxxxx
5959
CHAT_SDK_CHANNEL_ID=C0123456789
60-
CHAT_SDK_BOT_NAME=blazebot
60+
CHAT_SDK_BOT_NAME=ai-workflow
6161

6262
# Slack slash commands — required only if you register the /ai-workflow command.
6363
# When unset, /webhooks/slack rejects all requests.

apps/worker/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const env = createEnv({
5252
// messaging adapter is used and workflow runs proceed silently.
5353
CHAT_SDK_SLACK_TOKEN: z.string().min(1).optional(),
5454
CHAT_SDK_CHANNEL_ID: z.string().min(1).optional(),
55-
CHAT_SDK_BOT_NAME: z.string().default("blazebot"),
55+
CHAT_SDK_BOT_NAME: z.string().default("ai-workflow"),
5656

5757
// Slack slash commands — required only if you register the /ai-workflow
5858
// slash command. When unset, /webhooks/slack rejects all requests.

docs/SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ per-variable reference lives in `SETUP.md`; the groups are:
232232
(`GITLAB_TOKEN`, `GITLAB_HOST`, `GITLAB_BASE_BRANCH`), per-provider webhook secrets. Legacy
233233
single-repo `GITHUB_OWNER`/`GITHUB_REPO` is still honored as a fallback.
234234
- **Messaging:** `CHAT_SDK_SLACK_TOKEN`, `CHAT_SDK_CHANNEL_ID`, `CHAT_SDK_BOT_NAME` (default
235-
`blazebot`), `SLACK_SIGNING_SECRET`, `SLACK_ALLOWED_USER_IDS`. (There is no `CHAT_SDK_API_KEY`.)
235+
`ai-workflow`), `SLACK_SIGNING_SECRET`, `SLACK_ALLOWED_USER_IDS`. (There is no `CHAT_SDK_API_KEY`.)
236236
- **Agent:** `AGENT_KIND` (`claude` default | `codex`), `ANTHROPIC_API_KEY`, `CLAUDE_MODEL`
237237
(default `claude-opus-4-8`), `CODEX_API_KEY` / `CODEX_CHATGPT_OAUTH_TOKEN`, `CODEX_MODEL`
238238
(default `gpt-5-codex`), Codex pricing feed (`CODEX_PRICING_URL`, `CODEX_PRICING_TTL_MS`),

0 commit comments

Comments
 (0)