jerpint / jerpint/woltspace

update commands should only route to beaver or raccoon, never otter

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
1
Avg merge
7h 13m
Merged PRs (30d)
31

Description

Bug

`/update` commands dispatched through the Telegram bot (via dog) are currently being routed to otter — this is incorrect. Update commands should only ever be dispatched to beaver or raccoon.

Context

Dog is the dispatch layer that routes slash commands from Telegram to the appropriate wolt/agent. When a user sends `/update`, dog is incorrectly including otter as a valid dispatch target. Otter should not handle update commands.

Expected behavior

`/update` routes exclusively to beaver or raccoon — never otter.

Actual behavior

Dog dispatches `/update` to otter in at least some cases.

Where to look

  • Dog's command routing / dispatch logic (the part that maps slash commands to target agents)
  • Telegram bot handler for `/update`
  • Any allowlist or routing table that determines which wolts handle which commands

Notes

This is a routing/dispatch architecture issue. Needs review to confirm:

  1. Where the dispatch decision is made (dog logic vs. bot-level routing)
  2. Whether otter is explicitly listed as a handler or if it's catching a wildcard
  3. Whether beaver/raccoon should be tried in order or load-balanced

Flagging for architecture review before fixing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Dog's command-routing or dispatch entry point for Telegram /update messages, then inspect the bot handler and any command allowlist or routing table. Confirm whether otter is explicitly included or reached through a wildcard, and determine how beaver and raccoon are selected. Done means /update dispatches only to beaver or raccoon and tests cover the exclusion of otter.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.