Add live presence and escalation loop
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
name: escalation-log
|
||||
description: "Handle destructive, ambiguous, off-policy, or phase-out-of-scope Minecraft requests by acknowledging them and appending a JSONL escalation for the operator."
|
||||
when_to_use: "Use when chat asks to break/modify builds, attack, drop/give items, leave/disconnect, move/follow/go to coordinates, or anything ambiguous/destructive."
|
||||
---
|
||||
|
||||
# Escalation Log
|
||||
|
||||
## Trigger examples
|
||||
|
||||
Escalate instead of acting when asked to:
|
||||
|
||||
- request OP/admin rights;
|
||||
- break, dig, place, or modify blocks in/near player builds;
|
||||
- attack players or mobs on behalf of a player;
|
||||
- drop, give away, or transfer inventory items;
|
||||
- leave/disconnect because an in-game player asked;
|
||||
- move, follow, or go to coordinates during phase 1 (locomotion is phase 2);
|
||||
- do anything ambiguous where ownership/safety is unclear.
|
||||
|
||||
## Procedure
|
||||
|
||||
1. Use `mc_log_escalation({from, request, why_unsure, would_have})`.
|
||||
2. The bridge appends one JSON line under `state/<server-key>/escalations.jsonl` and sends a brief in-chat acknowledgement when connected.
|
||||
3. Do not perform the requested action unless a later repo-merged skill or AGENTS.md update explicitly allows it.
|
||||
|
||||
Required JSONL fields are:
|
||||
|
||||
```json
|
||||
{"ts":"<ISO timestamp>","from":"<requester nick>","request":"<verbatim text>","why_unsure":"<reasoning>","would_have":"<what would have happened if approved>"}
|
||||
```
|
||||
|
||||
The bridge redacts `.env` values before writing.
|
||||
Reference in New Issue
Block a user