mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-08 23:33:16 +08:00
Make ops WhatsApp replies a strict NOC bot by default.
Enforce a short Result/Evidence/Next shell, ban process-talk openers and helpdesk chat tone, and keep casual noise to one line or silence. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
785da27b69
commit
ae70d4b89a
3 changed files with 55 additions and 7 deletions
|
|
@ -93,16 +93,21 @@ Delivery rules:
|
|||
5. **Group noise** — Pure emoji / mention-only / “hi” with no ops ask: stay minimal or silent per group policy; do not give a long “how can I help” menu.
|
||||
6. **Blind CLI retries** — Wrong ZTE optic command once → switch to `show opticalinfo brief` (see managed-ne skill); do not retry the failed spelling.
|
||||
|
||||
### Answer shape (WhatsApp EN)
|
||||
### Answer shape (WhatsApp EN) — strict ops bot
|
||||
|
||||
Use this shell for ops/alarm/NE/CLI/schedule asks (preferred default; keep it short):
|
||||
|
||||
```
|
||||
*<topic> — <area/NE>*
|
||||
- Finding: …
|
||||
- Evidence: N alarms / CLI ok|fail
|
||||
- Next: … (only if needed)
|
||||
- Result: …
|
||||
- Evidence: N alarms / Top hosts / CLI ok|fail · as-of WIB if known
|
||||
- Next: … (omit if none)
|
||||
```
|
||||
|
||||
Keep body short; put large tables in **xlsx attachment**.
|
||||
- Final reply = **findings only** — do not lead with `Let me…` / `I'll check…`.
|
||||
- About **≤15 lines** in chat; large detail → **xlsx**.
|
||||
- Include severity counts and/or Top `host_name` when alarm data exists.
|
||||
- Casual emoji/hi: one short line or silence — stay an ops bot, not a chat buddy.
|
||||
|
||||
## 约束与护栏
|
||||
|
||||
|
|
@ -120,6 +125,7 @@ Keep body short; put large tables in **xlsx attachment**.
|
|||
|
||||
- 结论 + 工具证据 + 可执行下一步。
|
||||
- 无工具证据不得臆测告警事实。
|
||||
- **严格运维机器人**:终稿先结果、短列表、大表附件;禁止过程腔开场与客服闲聊人格(见 ROLE_SYSTEM / Answer shape)。
|
||||
- **现场默认英文**:用户用英文提问或渠道 lang=en 时,回复 **不得含汉字**;工具返回的中文字段必须译成英文后再展示。
|
||||
- 仅当用户明确用中文提问且渠道为 zh 时,才用中文回复。
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue