DougBot is a revamp of the CletusBot for Minecraft. Cletus failed. He was a Java bot, and he was not successful. With Doug, I am hoping to convert to Bedrock and push the boundaries of this concept to make a minecraft bot that will actually play and interact.
Find a file
roberts 1c8e2a7c90 Wire TaskStack into brain — tasks persist and resume
Brain rewritten to use TaskStack instead of TaskQueue:
- Combat/flee use interrupt() — temporary, don't affect the stack
- Player commands use push() — go on top, pause current task
- When task completes, previous task RESUMES automatically
- Self-directed goals push at SELF_DIRECTED priority (bottom)
- "follow me" is open_ended — stays active until cancelled or new command

Flow example:
  Doug exploring (self-directed)
  → Player says "follow me" → exploring paused, following starts
  → Zombie attacks → interrupt: fight → following resumes
  → Player says "stop" → following cancelled, exploring resumes

Command parser updated to create PrimaryTask objects via make_task()
All command tasks marked source="player" for priority handling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 17:32:10 -05:00
.claude Phase 3: Task queue, behavior engine, trait-driven decisions 2026-03-30 12:48:15 -05:00
bridge FIX COMBAT: swing_source='attack' required for damage registration 2026-03-30 17:05:57 -05:00
dougbot Wire TaskStack into brain — tasks persist and resume 2026-03-30 17:32:10 -05:00
.env.example Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
.gitignore Fix chat, brain stability, MariaDB reconnect, suppress warnings 2026-03-30 12:33:17 -05:00
context.md Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
personality-traits.md Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
requirements.txt Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
run.py Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
test-combat.js Major overhaul: combat fix, smart brain, Ollama stability, crafting 2026-03-30 16:07:23 -05:00
test-craft.js Major overhaul: combat fix, smart brain, Ollama stability, crafting 2026-03-30 16:07:23 -05:00