Add documentation for: - Bot ID analysis and Discord server structure - Development server channel organization - Server optimization plan - CodeX review summary for config reload fix Security: Bot token redacted from bot-id-analysis.md Co-Authored-By: Claude <noreply@anthropic.com>
127 lines
3.4 KiB
Markdown
127 lines
3.4 KiB
Markdown
# ClawdBot 開発用サーバー構造
|
||
|
||
## サーバー情報
|
||
- **用途**: Shunsuke 開発作業専用
|
||
- **Guild ID**: 1260121338035568711
|
||
- **Bot**: PPAL Bot (開発モード)
|
||
|
||
## Miyabi Agent Society エージェント
|
||
|
||
### コアエージェント(開発担当)
|
||
| Agent | 役割 | Emoji |
|
||
|-------|------|-------|
|
||
| **しきるん** | Conductor / Orchestrator | 🎭 |
|
||
| **カエデ** | CodeGen / Developer | 🍁 |
|
||
| **サクラ** | Review / QA | 🌸 |
|
||
| **ツバキ** | PR / Integration | 🌺 |
|
||
| **ボタン** | Deploy / Release | 🌼 |
|
||
| **ながれるん** | n8n Workflow | 🌊 |
|
||
|
||
## 推奨カテゴリ・チャンネル構造
|
||
|
||
### 🏠 Headquarters
|
||
- `#general` - 全体調整
|
||
- `#announcements` - お知らせ
|
||
- `#status` - システム状態
|
||
|
||
### 🎭 Conductor(しきるん)- タスク管理
|
||
- `#task-queue` - タスクキュー
|
||
- `#task-assignment` - タスク割り当て
|
||
- `#coordination` - エージェント連携
|
||
- `#escalation` - エスカレーション
|
||
|
||
### 🍁 Development(カエデ)- 開発
|
||
- `#coding` - コーディング作業
|
||
- `#implementation` - 実装進捗
|
||
- `#code-review-request` - レビュー依頼
|
||
- `#bug-fixes` - バグ修正
|
||
- `#refactoring` - リファクタリング
|
||
|
||
### 🌸 Review(サクラ)- レビュー
|
||
- `#code-review` - コードレビュー
|
||
- `#quality-check` - 品質チェック
|
||
- `#security-audit` - セキュリティ監査
|
||
- `#feedback` - フィードバック
|
||
|
||
### 🌺 Integration(ツバキ)- 統合
|
||
- `#pull-requests` - PR管理
|
||
- `#merge-requests` - マージ依頼
|
||
- `#conflict-resolution` - コンフリクト解決
|
||
- `#changelog` - 変更履歴
|
||
|
||
### 🌼 Deployment(ボタン)- デプロイ
|
||
- `#deployment` - デプロイ作業
|
||
- `#release-notes` - リリースノート
|
||
- `#versioning` - バージョン管理
|
||
- `#rollback` - ロールバック
|
||
|
||
### 🌊 Automation(ながれるん)- 自動化
|
||
- `#workflows` - ワークフロー
|
||
- `#n8n-integration` - n8n連携
|
||
- `#automated-tasks` - 自動タスク
|
||
- `#monitoring` - 監視
|
||
|
||
### 🛠️ Operations
|
||
- `#github` - GitHub操作
|
||
- `#git-operations` - Git操作
|
||
- `#ci-cd` - CI/CD
|
||
- `#infrastructure` - インフラ
|
||
|
||
### 📊 Analytics
|
||
- `#metrics` - メトリクス
|
||
- `#reports` - レポート
|
||
- `#performance` - パフォーマンス
|
||
- `#logs` - ログ
|
||
|
||
## Discordコマンド
|
||
|
||
### 基本コマンド
|
||
```
|
||
/status - システム状態確認
|
||
/agent {agent_name} - エージェント切り替え
|
||
/task {agent} {description} - タスク割り当て
|
||
```
|
||
|
||
### GitHub連携
|
||
```
|
||
/gh issue {action} - Issue操作
|
||
/gh pr {action} - PR操作
|
||
/gh repo {action} - リポジトリ操作
|
||
```
|
||
|
||
### 開発操作
|
||
```
|
||
/dev {project} - 開発サーバー起動
|
||
/build {project} - ビルド実行
|
||
/test {project} - テスト実行
|
||
/clean {project} - クリーンアップ
|
||
```
|
||
|
||
## セットアップ手順
|
||
|
||
1. Discordでカテゴリ・チャンネルを作成
|
||
2. チャンネルIDを取得(開発者モード)
|
||
3. ClawdBot設定にバインディング追加
|
||
4. Botを再起動
|
||
|
||
## バインディング例
|
||
|
||
```json
|
||
{
|
||
"agentId": "kaede",
|
||
"match": {
|
||
"channel": "discord",
|
||
"accountId": "ppal",
|
||
"peer": { "kind": "channel", "id": "CHANNEL_ID" }
|
||
}
|
||
}
|
||
```
|
||
|
||
## 優先順位
|
||
|
||
1. ✅ 基本チャンネル(#general, #status)
|
||
2. 🔥 高頻度エージェント(しきるん、カエデ)
|
||
3. 📋 レビューフロー(サクラ、ツバキ)
|
||
4. 🚀 デプロイ(ボタン)
|
||
5. 🌊 自動化(ながれるん)
|