Skip to content

Commit 7ffaf56

Browse files
GoGoComputerclaude
andcommitted
docs(discord-bot): add §12 situation-based workflow catalog (8 cases)
v0.2.12 covered "how the bot works"; this release answers the next question: "in every situation, what do I actually type to make it do the thing." Mirrors GUIDE-DAILY-USE's scenario-card style but flipped to be Discord-first. Each card has four parts so users can skim — when / what to type / what happens / limits — followed by a one-screen quick-match table. ① At the laptop quick @mention vs TUI; when to pick which ② Mobile-only DM the bot to write files into the mounted workspace; 30-second "before you leave" host check. ③ Team collaboration public summarize / code review with fenced diffs; use threads; DM for secrets. ④ Workspace file ops reads/edits inside ~/DEV/openclawAgent; ~/Documents is off-limits by design; large-file context-window caveat. ⑤ System ops / DevOps `doctor` / log filter / status via DM or `#ops-alerts` whitelist. Calls out the security trade-off of host-shell permissions and recommends keeping sensitive ops in the terminal. ⑥ Long-running task kick-off + "ping me when done" pattern; 2000-char overflow → auto-attach. ⑦ Scheduled / recurring "every weekday 9am do X"; notes that scheduler support varies, with a host cron fallback example. ⑧ Cold-boot recovery `@bot 살아있어?` smoke test from Discord, the host-side fix sequence, and a frank callout that "mobile SSH (Tailscale + iSH/Termius) is the only escape if the laptop is unreachable." Closing table 상황별 빠른 매칭 — single grid mapping (where/when) to (trigger / channel / caveat) for fast lookup. Cross-linking - GUIDE-DAILY-USE TL;DR: explicit pointer to §12 for Discord-first users. - README (KO + EN) Documentation Map: Discord row description now enumerates the §12 8-case catalog so the entry communicates the guide's full scope at a glance. VERSION 0.2.13 -> 0.2.14; CHANGELOG entry. Docs only. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 79f955e commit 7ffaf56

6 files changed

Lines changed: 258 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 📖 목차 / Contents
44

5+
- [v0.2.14 — 2026-05-14](#v0214--2026-05-14)
56
- [v0.2.13 — 2026-05-14](#v0213--2026-05-14)
67
- [v0.2.12 — 2026-05-14](#v0212--2026-05-14)
78
- [v0.2.11 — 2026-05-14](#v0211--2026-05-14)
@@ -22,6 +23,48 @@
2223

2324
---
2425

26+
## v0.2.14 — 2026-05-14
27+
28+
### GUIDE-DISCORD-BOT §12 — situation-based Discord workflow catalog
29+
v0.2.12 added "how the bot works"; this release adds "in every situation, what do you actually type into Discord to make it do the thing". Eight scenario cards covering the bot-as-primary-interface modes — same format as GUIDE-DAILY-USE's scenario cards, but oriented around the Discord side.
30+
31+
Each card has four parts: **when** · **what to type in Discord** · **what happens** · **limits**.
32+
33+
① At the laptop — quick @mention vs TUI/chat trade-off (channel
34+
history + team-shareable vs response speed + token cost).
35+
② Mobile-only — DM with file-write prompts ("create
36+
~/DEV/openclawAgent/daily-notes/2026-05-14.md and write …"),
37+
with a "before you leave" 30-second host check.
38+
③ Team collaboration — public-channel summarization / code review
39+
with fenced diffs; "use threads" recommendation; DM-vs-channel
40+
privacy guidance.
41+
④ Workspace file ops — read/edit/append over the mounted
42+
workspace; reminder that ~/Documents and friends are off-limits
43+
by isolation design; large-file context-window caveat.
44+
⑤ System ops / DevOps — `doctor` results / log filtering / status
45+
queries via the bot. Calls out the security trade-off of giving
46+
the bot host-shell powers; recommends DM or a dedicated
47+
`#ops-alerts` whitelist channel.
48+
⑥ Long-running task + completion ping — kick off, get pinged when
49+
done; 2000-char limit caveat with auto-attach fallback.
50+
⑦ Scheduled / recurring — "every weekday 9am summarize yesterday's
51+
daily-notes to #notes"; notes that scheduler support depends on
52+
OpenClaw build, with a host-side cron fallback example.
53+
⑧ Cold-boot recovery — Discord-side test (`@bot 살아있어?`), the
54+
fix sequence to run on the laptop, and a callout that "mobile
55+
SSH (Tailscale + iSH/Termius) is the only escape if the laptop
56+
itself is unreachable."
57+
58+
Plus a one-screen **상황별 빠른 매칭 표** mapping (where/when) → (recommended trigger / channel / caveat) for instant lookup.
59+
60+
### Cross-linking
61+
- GUIDE-DAILY-USE TL;DR: explicit pointer to §12 for users who want Discord as their primary interface.
62+
- README (KO + EN) Documentation Map: Discord row description now mentions the §12 8-case catalog so people scanning the map can tell that the guide goes well beyond setup.
63+
64+
No code change.
65+
66+
---
67+
2568
## v0.2.13 — 2026-05-14
2669

2770
### GUIDE-DAILY-USE.md — full cold-boot walkthrough

‎README.en.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ shorts run "moody travel landscapes"
309309
| 🌐 **Pulling stocks · news · FX from the web** | [docs/GUIDE-WEB-FETCH.md](docs/GUIDE-WEB-FETCH.md) | Network toggle cycle, real-world prompts, official APIs, automation, troubleshooting. **Includes `surf` command — sandboxed Docker fetch → Markdown brief**. KO+EN |
310310
| 🎨 **Designer workflow automation (Pinterest → nano-banana → Figma)** | [docs/GUIDE-CREATIVE-PIPELINE.md](docs/GUIDE-CREATIVE-PIPELINE.md) | 4-step manual → one command. 4 parallel nano-banana windows for ~3.7× speedup. KO+EN |
311311
| 🎬 **Shorts automation (Pinterest → Miricanvas → CapCut)** | [docs/GUIDE-SHORTS-PIPELINE.md](docs/GUIDE-SHORTS-PIPELINE.md) | `shorts run "keyword"` for refs · 1080×1920 design · 9:16 MP4 export. Sandbox boundary kept; install instructions included. KO+EN |
312-
| 💬 **Run OpenClaw as a Discord bot** | [docs/GUIDE-DISCORD-BOT.md](docs/GUIDE-DISCORD-BOT.md) | **Setup** (create app → Message Content Intent → OAuth2 invite → paste token → first test) **+ everyday use** (four ways to trigger: mention/DM/slash/whitelist · prompt patterns · per-channel model & persona · workspace file references · mute/disable/multi-server · cheat sheet) **+ security + 8-case troubleshooting**. |
312+
| 💬 **Run OpenClaw as a Discord bot** | [docs/GUIDE-DISCORD-BOT.md](docs/GUIDE-DISCORD-BOT.md) | **Setup** (app → intents → OAuth → token → first test) **+ everyday use** (four triggers · prompt patterns · per-channel model & persona · workspace file refs · mute/multi-server · cheat sheet) **+ 🎬 §12 situation-based workflow catalog (8 cases)** — at the laptop · mobile-only · team collaboration · workspace file ops · system ops / DevOps · long-running task with completion ping · scheduled / recurring · cold-boot recovery **+ security + 8-case troubleshooting**. |
313313
| 🔄 **Daily on/off cycle (after install)** | [docs/GUIDE-DAILY-USE.md](docs/GUIDE-DAILY-USE.md) | The everyday loop once setup is done — **Scenarios 0–6**: 🆕 cold boot (full power-cycle → ready, 5-step walkthrough + 1-min verification + auto-vs-manual matrix) · daily warm start · stepping away · 3-tier shutdown (macOS-only vs container stop vs Docker quit) · resuming a session · troubleshooting · periodic maintenance. Side-by-side table comparing `./openclaw stop` vs `docker compose down` vs `uninstall`. |
314314
| 👤 **General user** | [README.en.md](README.en.md) (this file) | Command catalog · `.env` · network isolation · FAQ |
315315
| 🇰🇷 **일반 사용자 (KO)** | [README.md](README.md) | Korean main README |

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ shorts run "여행 감성 풍경"
404404
| 🌐 **웹에서 코스피·뉴스·환율 가져오기** | [docs/GUIDE-WEB-FETCH.md](docs/GUIDE-WEB-FETCH.md) | 네트워크 토글 사이클·실전 프롬프트·공식 API 키·자동화·트러블슈팅. **`surf` 명령으로 샌드박스 도커 안에서 검색 → 마크다운 도구 포함**. KO+EN 병기 |
405405
| 🎨 **디자이너 워크플로우 자동화 (Pinterest → 나노바나나 → Figma)** | [docs/GUIDE-CREATIVE-PIPELINE.md](docs/GUIDE-CREATIVE-PIPELINE.md) | 4단계 수작업 → 1명령. 나노바나나 4창 병렬로 속도 ~3.7×. KO+EN 병기 |
406406
| 🎬 **쇼츠 자동화 (Pinterest → 미리캔버스 → CapCut)** | [docs/GUIDE-SHORTS-PIPELINE.md](docs/GUIDE-SHORTS-PIPELINE.md) | `shorts run "키워드"` 으로 레퍼런스·1080×1920 디자인·9:16 영상 export. 샌드박스 경계 유지 + 프로그램 설치 안내 포함. KO+EN |
407-
| 💬 **Discord 봇으로 OpenClaw 운영** | [docs/GUIDE-DISCORD-BOT.md](docs/GUIDE-DISCORD-BOT.md) | **셋업** (앱 생성 → Message Content Intent → OAuth2 invite → 토큰 등록 → 첫 테스트) **+ 일상 사용** (트리거 4종: 멘션/DM/슬래시/자동응답 · 자주 쓰는 프롬프트 패턴 · 채널별 모델·인격 분리 · 워크스페이스 파일 인용 · mute/disable/다중 서버 · cheat sheet) **+ 보안 7항목 + 트러블슈팅 8케이스**. KO 본문. |
407+
| 💬 **Discord 봇으로 OpenClaw 운영** | [docs/GUIDE-DISCORD-BOT.md](docs/GUIDE-DISCORD-BOT.md) | **셋업** (앱 생성 → Message Content Intent → OAuth2 invite → 토큰 등록 → 첫 테스트) **+ 일상 사용** (트리거 4종 · 프롬프트 패턴 · 채널별 모델·인격 · 워크스페이스 파일 인용 · mute/다중 서버 · cheat sheet) **+ 🎬 §12 상황별 워크플로우 8케이스** (노트북 옆·외출/모바일·팀 협업·파일 작업·시스템 운영·긴 작업+알림·정기 작업·cold boot 직후) **+ 보안 7항목 + 트러블슈팅 8케이스**. |
408408
| 🔄 **매일 켜고 끄는 법 (일상 사용)** | [docs/GUIDE-DAILY-USE.md](docs/GUIDE-DAILY-USE.md) | install 끝낸 이후의 사이클 — **시나리오 0 ~ 6**: 🆕 cold boot (전원 완전 종료→켜기, 5단계 + 1분 검증 체크리스트, 자동/수동 매트릭스) / 일상 시작 / 자리 비움 / 종료 3단계 (Level 1 macOS 만 vs Level 2 컨테이너 stop vs Level 3 Docker 까지) / 대화 이어가기 / 트러블슈팅 / 유지보수. 종료 방법별 비교 표 (`./openclaw stop` vs `docker compose down` vs `uninstall`). |
409409
| 👤 **일반 사용자** | [README.md](README.md) (이 문서) | 명령 카탈로그·`.env`·네트워크 격리·FAQ |
410410
| 🇬🇧 **General user (EN)** | [README.en.md](README.en.md) | Full English equivalent of this README |

‎docs/GUIDE-DAILY-USE.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ TUI/chat **안에서** 빠져나오는 법:
5656

5757
**컴퓨터 완전히 껐다 켠 직후라면** → 곧장 [🆕 시나리오 0 (cold boot)](#-시나리오-0--컴퓨터-완전히-껐다-켰을-때-cold-boot) 로. 5단계 + 1분 검증 체크리스트.
5858

59+
**Discord 를 주 인터페이스로 쓰고 싶으면** (모바일·팀 협업·외출·정기 알림·시스템 운영 등 8개 상황) → [GUIDE-DISCORD-BOT §12 — 상황별 워크플로우](GUIDE-DISCORD-BOT.md#12--상황별-discord-워크플로우--모든-상황에서).
60+
5961
---
6062

6163
## 🆕 시나리오 0 — 컴퓨터 완전히 껐다 켰을 때 (cold boot)

‎docs/GUIDE-DISCORD-BOT.md‎

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
- [9. 채널·서버별 동작 조정](#9-채널·서버별-동작-조정)
2727
- [10. 워크스페이스·인격을 봇으로 끌어오기](#10-워크스페이스인격을-봇으로-끌어오기)
2828
- [11. 봇 행동 관리 (mute · disable · 다중 서버)](#11-봇-행동-관리-mute--disable--다중-서버)
29+
- [12. 🎬 상황별 Discord 워크플로우 — 모든 상황에서](#12--상황별-discord-워크플로우--모든-상황에서)
2930
- [🎯 명령·인터랙션 cheat sheet](#-명령인터랙션-cheat-sheet)
3031
- [🔒 보안 주의](#-보안-주의-꼭-읽으세요)
3132
- [🛠 트러블슈팅](#-트러블슈팅)
@@ -412,6 +413,215 @@ OpenClaw 가 attachment 지원하는 경우:
412413

413414
자세한 일상 on/off 사이클: [GUIDE-DAILY-USE.md](GUIDE-DAILY-USE.md).
414415

416+
---
417+
418+
## 12. 🎬 상황별 Discord 워크플로우 — 모든 상황에서
419+
420+
"지금 내 위치/상황에서 Discord 로 OpenClaw 에이전트한테 무엇을 어떻게 시키면 되나" 의 8가지 케이스. 각 시나리오는 **언제 / Discord 에 보낼 메시지 / 일어나는 일 / 한계** 4개로 구성.
421+
422+
### ① 노트북 옆에 있을 때 — 빠른 질문
423+
424+
**언제** — 코드 짜다 막힘, 모르는 명령어, 단순 Q&A.
425+
426+
**Discord 에**
427+
```
428+
@OpenClaw-Mo rsync 로 권한 유지하면서 폴더 동기화하는 옵션이 뭐였지?
429+
```
430+
431+
**일어나는 일** — 봇이 즉시 응답. 채널에 그 답이 남으니 나중에 "지난주에 답해줬던 거" 검색 가능.
432+
433+
**한계** — 터미널과 비교: TUI/chat 이 응답 속도는 더 빠르고 토큰도 절약 (시스템 prompt 가 매번 안 실림). 그래도 채널 히스토리·팀 공유 이점이 크면 Discord.
434+
435+
**TIP**: 자주 쓰는 quick-Q 채널 하나 만들어서 [§9 채널 화이트리스트](#9-채널·서버별-동작-조정) 에 등록 → 멘션 없이 모든 메시지에 응답.
436+
437+
---
438+
439+
### ② 외출 중 / 모바일에서만 접근 가능
440+
441+
**언제** — 카페·이동 중·미팅 대기. 노트북 못 열고 폰만 있음.
442+
443+
**Discord 에 (DM 으로)**
444+
```
445+
오늘 약속 끝나고 ~/DEV/openclawAgent/daily-notes/ 안에
446+
"2026-05-14.md" 파일 만들어서 다음 내용 적어줘:
447+
448+
회의 핵심:
449+
- A 안건은 다음주로 연기
450+
- B 는 내일 오전까지 초안 보내기
451+
```
452+
453+
**일어나는 일**
454+
- 봇이 호스트 워크스페이스(`~/DEV/openclawAgent`) 에 파일 작성. 노트북은 켜져 있어야 함 (OpenClaw 컨테이너가 살아있어야 봇이 도구 사용 가능).
455+
- 노트북 돌아가서 보면 그 파일이 그대로 있음.
456+
457+
**한계**
458+
- 노트북이 꺼져 있거나 슬립이면 (Docker·OpenClaw 가 안 떠 있으면) 봇이 Offline → 답 없음. **외출 전엔 `./openclaw start` 확인 + Discord 봇 Online 인지 한 줄 보고.**
459+
- 모바일은 긴 코드 붙여넣기 불편 — `surf` 같은 도구 호출도 가능하지만 결과를 폰에서 읽긴 짧은 게 편함.
460+
461+
**예: 외출 전 30초 점검**
462+
```bash
463+
./openclaw doctor # ✓ 다 떠 있는지
464+
./openclaw network status # online 인지 (isolated 면 봇이 Discord 와 통신 못 함)
465+
# Discord 에서 봇 Online 점 확인
466+
```
467+
468+
---
469+
470+
### ③ 팀 채널 협업
471+
472+
**언제** — 동료들과 같이 회의록·외부 링크·코드 리뷰를 같이 보고 싶을 때.
473+
474+
**Discord 에 (팀 채널)**
475+
```
476+
@OpenClaw-Mo 이 PR diff 핵심 3가지 + 잠재 버그 / 보안 이슈 요약해줘
477+
```
478+
````
479+
```diff
480+
+ const apiKey = process.env.API_KEY;
481+
- const apiKey = "hardcoded-key-123";
482+
+ fetch(url + "?key=" + apiKey)
483+
```
484+
````
485+
486+
**일어나는 일** — 봇 응답이 채널에 공개로 남음 → 팀 전원이 활용. 다른 멤버가 follow-up 질문 가능: `@OpenClaw-Mo 그러면 .env 파일 형식은 어떻게 하는 게 좋아?`
487+
488+
**한계** — 채널의 모든 멤버가 봇 응답을 볼 수 있음. 비밀 코드는 DM 으로. 봇 토큰을 채널에 노출 절대 금지 ([🔒 보안 주의](#-보안-주의-꼭-읽으세요) §3).
489+
490+
**TIP**: 코드 리뷰·회의록 같은 팀 작업은 **스레드** 로 진행 → 메인 채널 잡담 안 끊고 길게 대화 가능.
491+
492+
---
493+
494+
### ④ 워크스페이스 파일 작업 (읽기·수정·정리)
495+
496+
**언제** — 자기 노트·MEMORY·일일 기록을 봇으로 조회·정리.
497+
498+
**Discord 에**
499+
```
500+
@OpenClaw-Mo ~/DEV/openclawAgent/MEMORY.md 에서 "디스코드" 키워드 들어간 항목만
501+
시간순으로 정리해서 보여줘
502+
503+
@OpenClaw-Mo daily-notes 폴더 최근 7일치 회고만 모아서 한 줄씩 요약해줘
504+
505+
@OpenClaw-Mo 방금 우리 대화 핵심을 MEMORY.md 에 "discord-workflows" 섹션으로 추가해줘
506+
```
507+
508+
**일어나는 일** — 봇이 호스트 워크스페이스 (마운트된 `/home/node/.openclaw/workspace`, 호스트의 `~/DEV/openclawAgent`) 에 직접 접근. 변경된 파일은 호스트에서 그대로 보임.
509+
510+
**한계**
511+
- 호스트 임의 경로 (`~/Documents`, `~/Desktop`) 는 **접근 불가** — 격리 의도. 공유하려면 워크스페이스 안에 둬야 함.
512+
- 큰 파일 (수십 MB+) 은 컨텍스트에 한 번에 못 들어감. 봇이 "일부만 봤다" 라고 명시할 것.
513+
- 동시 수정 위험 — 봇이 파일 쓰는 도중 사용자가 열어서 편집하면 충돌. 큰 작업 전에 알려서 동시 편집 회피.
514+
515+
---
516+
517+
### ⑤ 시스템 상태 점검 / 운영 (DevOps)
518+
519+
**언제** — "서버 떠 있어?", "에러 났던 거 로그 보여줘" — 터미널 못 열고 빠르게.
520+
521+
**Discord 에 (DM 추천)**
522+
```
523+
@OpenClaw-Mo 지금 ./openclaw doctor 결과 보여줘
524+
525+
@OpenClaw-Mo gateway 컨테이너 최근 50줄 로그에서 ERROR 나 WARN 만 추려줘
526+
527+
@OpenClaw-Mo ~/.openclaw-mgr/network-mode 파일 내용 알려줘
528+
```
529+
530+
**일어나는 일** — 봇이 도구 사용 권한 있고 명령 실행 허용된 설정이면 호스트 명령을 컨테이너 안에서 또는 SSH 같은 방식으로 실행 후 결과 정리해서 답. (OpenClaw 의 정책·플러그인에 따라 달라짐 — 기본은 워크스페이스 안 파일 조회만 안전.)
531+
532+
**한계 (중요)**
533+
- 봇에게 임의 호스트 명령 실행 권한 주는 건 보안 트레이드오프. **계정 사용자 = Discord 친구들** 인 작은 운영팀에서만 권장.
534+
- 민감 작업(컨테이너 재시작, 백업 복원, 토큰 갱신 등) 은 차라리 터미널로 직접. 봇 응답 신뢰성·롤백 비용 고려.
535+
536+
**TIP**: 운영용 채널 (예: `#ops-alerts`) 을 [§9 자동 응답 채널](#9-채널·서버별-동작-조정) 로 등록 → 멘션 없이도 "지금 상태?" 같은 메시지에 응답.
537+
538+
---
539+
540+
### ⑥ 긴 작업 트리거 + 알림 받기
541+
542+
**언제** — 대용량 PDF 요약, 여러 URL 크롤·정리, 큰 모델 추론 등 1~10분 걸리는 작업.
543+
544+
**Discord 에**
545+
```
546+
@OpenClaw-Mo 이 PDF 30페이지 요약 부탁 (첨부 파일)
547+
끝나면 멘션으로 알려줘
548+
549+
@OpenClaw-Mo surf 로 "오늘 KOSPI 종가 + 외인 순매수 상위 10개" 검색해서
550+
마크다운 표로 정리, 완료 시 #notes 에 올려줘
551+
```
552+
553+
**일어나는 일**
554+
- 봇이 작업 시작 → 짧은 "받았어, 시작할게" 응답
555+
- 백그라운드 처리 후 결과를 답글 또는 다른 채널에 포스팅
556+
- 봇이 mention 으로 알림 → Discord 알림 → 폰까지 푸시
557+
558+
**한계**
559+
- 봇이 작업 도중 컨테이너가 재시작되면 작업 유실. 매우 긴 작업은 별도 큐/스케줄러 필요.
560+
- 메시지 길이 한도 (2,000자) — 결과가 길면 봇이 자동으로 파일로 첨부 또는 스레드 분할.
561+
562+
---
563+
564+
### ⑦ 정기 작업 · 리마인더
565+
566+
**언제** — "매일 아침 어제 회의록 요약", "월요일 9시에 주간 OKR 점검 알림".
567+
568+
**Discord 에 (설정 한 번)**
569+
```
570+
@OpenClaw-Mo 매일 평일 오전 9시에 #notes 채널에
571+
어제 daily-notes 폴더에 새로 추가된 파일이 있으면 요약해서 올려줘
572+
없으면 조용히 패스
573+
```
574+
575+
**일어나는 일** — OpenClaw 의 스케줄러 / cron 통합이 활성화돼 있으면 봇이 정해진 시간에 자동 실행. ([README — 자동 업데이트 스케줄](../README.md#-업데이트-흐름) 의 launchd 와 같은 메커니즘.)
576+
577+
**한계**
578+
- OpenClaw 본체 / 플러그인 버전에 따라 스케줄러 지원이 다름. 미지원이면 호스트에서 cron 으로 `./openclaw chat --no-system -m gemma4:26b <<< "..."` 같은 방식 우회.
579+
- 봇이 끄져 있는 시간엔 스케줄도 안 돌아감. 노트북 항상 켜져 있다는 전제.
580+
581+
---
582+
583+
### ⑧ Cold boot / 노트북 비정상 종료 직후
584+
585+
**언제** — 노트북을 완전히 껐다 다시 켰거나, 비정상 종료 후 일어남.
586+
587+
**Discord 측**
588+
- 봇은 자동으로 다시 Online 시도 (gateway healthy 후 30~60초 안에).
589+
- 봇 멤버 옆 초록 점이 보이지 않으면 노트북 측 점검 필요.
590+
591+
**확인 / 복구 순서**
592+
```bash
593+
# 노트북에서 (시나리오 0 cold-boot 경로 — GUIDE-DAILY-USE 참조)
594+
cd ~/DEV/openclawAgent/openclaw-workspace/openclaw-mgr
595+
./openclaw doctor
596+
./openclaw start # 컨테이너 자동 복구 안 된 경우
597+
./openclaw network status # isolated 면 → online 으로 (봇이 Discord 로 나갈 길)
598+
./openclaw network online --restart
599+
./openclaw logs | grep -i discord # 봇 재연결 진행 확인
600+
```
601+
602+
**Discord 에서 빠른 테스트**
603+
```
604+
@OpenClaw-Mo 살아있어?
605+
```
606+
응답 오면 OK. 안 오면 [§ 트러블슈팅: 봇 Offline](#봇이-서버에서-계속-offline) 트레일.
607+
608+
**한계** — Discord 만 있고 노트북 접근이 아예 불가능한 상황에선 봇 자체를 다시 살릴 방법이 없음. **모바일 응급용 SSH** (예: Tailscale + iSH/Termius) 같은 비상 경로를 미리 준비해두면 외출 중에도 `./openclaw start` 가능.
609+
610+
---
611+
612+
### 상황별 빠른 매칭 표
613+
614+
| 어디 / 언제 | 권장 트리거 | 채널 | 비고 |
615+
|---|---|---|---|
616+
| 노트북 옆 | @멘션 또는 자동응답 채널 | 채널 | TUI/chat 도 같이 좋은 선택 |
617+
| 외출 (모바일) | DM | DM | 노트북 켜져 있어야 함 |
618+
| 팀 협업 | @멘션 + 스레드 | 팀 채널 | 비밀 정보는 DM 으로 |
619+
| 워크스페이스 작업 | @멘션 (workspace 내 경로 명시) | 어디든 | 호스트 외부 경로는 접근 불가 |
620+
| 시스템 운영 | DM 또는 운영 전용 채널 | 운영 채널 | 권한 신중 |
621+
| 긴 작업 트리거 | @멘션 + "완료 시 알려줘" | 채널 (결과 공개 OK 라면) | 결과 길면 자동 첨부 |
622+
| 정기 알림 | 한 번 설정 + 봇 자동 실행 | 알림 채널 | 노트북 항상 켜져 있어야 함 |
623+
| Cold boot 직후 | @멘션 "살아있어?" | DM 또는 채널 | 봇 Offline 이면 노트북 점검 |
624+
415625
### 영구 비활성 (Discord 만 빼고 OpenClaw 는 유지)
416626

417627
```bash

‎openclaw-mgr/openclaw‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -euo pipefail
1313
OPENCLAW_MGR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
1414
export OPENCLAW_MGR_DIR
1515

16-
VERSION="0.2.13"
16+
VERSION="0.2.14"
1717

1818
# .env 자동 초기화: .env 없으면 .env.example 에서 자동 생성 (cp 불필요, 첫 실행부터 동작)
1919
# Auto-init: create .env from .env.example on first run — zero-config for beginners

0 commit comments

Comments
 (0)