From 9810bad3e5f7d8a531f7c311dcdf47a5bb128e6f Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 26 May 2026 14:28:22 +0900 Subject: [PATCH] docs(publish-skill): pin Jobdori bot ID in Discord release commands Pass explicit --bot flag with JOBDORI_BOT_ID so release announcements always go out as the Jobdori bot regardless of local agent-discordbot current-bot state. --- .agents/skills/publish/SKILL.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.agents/skills/publish/SKILL.md b/.agents/skills/publish/SKILL.md index 505bbca72..079be9428 100644 --- a/.agents/skills/publish/SKILL.md +++ b/.agents/skills/publish/SKILL.md @@ -297,14 +297,16 @@ Never skip this step because the release summary was awaiting approval. If the u -1. Use the Jobdori bot token through `agent-discordbot` for release announcements. This is the required release path; do not use the personal `agent-discord` token unless the bot path is unavailable and the user explicitly approves the fallback. +1. Use the Jobdori bot token through `agent-discordbot` for release announcements. This is the required release path; do not use the personal `agent-discord` token unless the bot path is unavailable and the user explicitly approves the fallback. Pin the bot id so release messages go out as the Jobdori bot even if the local `agent-discordbot` current bot changes. ```bash -agent-discordbot auth status +JOBDORI_BOT_ID=1486173823354146917 +agent-discordbot auth status --bot "$JOBDORI_BOT_ID" ``` 2. **Read recent messages** in the channel to match the existing announcement style: ```bash -agent-discordbot message list 1454708427392680067 --limit 5 +JOBDORI_BOT_ID=1486173823354146917 +agent-discordbot message list 1454708427392680067 --bot "$JOBDORI_BOT_ID" --limit 5 ``` 3. If `agent-discordbot` is unavailable or unauthorized, stop and report that the Jobdori token path failed. Only then may a human decide whether to use `agent-discord`. @@ -330,8 +332,9 @@ Plus {summary of remaining changes}. ``` ```bash +JOBDORI_BOT_ID=1486173823354146917 RELEASE_URL=$(gh release view "v${NEW_VERSION}" --json url --jq '.url') -agent-discordbot message send 1454708427392680067 "{your message following the style above}" +agent-discordbot message send 1454708427392680067 "{your message following the style above}" --bot "$JOBDORI_BOT_ID" ``` If the message fails to send, warn the user and continue — do NOT block the publish workflow on Discord errors.