Add bug_log intake and sharpen divine voice

This commit is contained in:
Claude Code
2026-03-17 14:53:54 -04:00
parent e73fa81b8c
commit 29c43e2d30
4 changed files with 167 additions and 13 deletions
+6
View File
@@ -21,6 +21,7 @@ No Bukkit/Paper plugin required.
- **Divine intervention timer** (random unprompted acts)
- **First-login benevolence** (one-time blessing per player)
- **Bundled sudo translator agent** (`sudo <request>`) with whitelist + user lock
- **Bug logging trigger** (`bug_log <optional description>`) with recent context capture
- **Persistent prayer memory**
- **Rolling server event memory** (up to 3 hours / 200 events)
- **Debug command preview** toggle
@@ -34,11 +35,13 @@ Vanilla 1.21 rejects unknown slash commands client-side. Use plain chat messages
- `pray <message>` — prayer flow (God judgment + optional commands + speech)
- `bible` — private usage/help text
- `sudo <request>` — command translator mode (authorized user only)
- `bug_log <optional description>` — append bug report with recent server logs/events
Examples:
- `pray Lord, I need food and shelter`
- `bible`
- `sudo give me 500 wood`
- `bug_log creeper exploded through wall near spawn`
---
@@ -152,6 +155,9 @@ Main file: `/etc/mc_aigod.json`
| `first_login_benevolence_enabled` | bool | Enable one-time first-login blessing |
| `first_login_benevolence_max_commands` | int | Max commands in first-login blessing |
| `first_login_path` | string | Persistent file storing already-blessed players |
| `bug_log_path` | string | File path used for `bug_log` entries |
| `bug_log_event_lines` | int | Number of in-memory interesting events to attach |
| `bug_log_raw_lines` | int | Number of raw tail log lines to attach |
### Current shrink-world example