Skip to content

Bug 20: Tool Result Delivery Failure in Chain/Stress Context #314

Description

@olegryabchikov-dot

Describe the bug

Tool calls are successfully logged in history.metta but their results are never delivered back to the model context during multi-step chains or sustained sessions. The model enters an indefinite no_action loop waiting for results that never arrive. This affects multiple tool types (metta, shell) while simple text responses without tool dependencies continue to work correctly. The failure is intermittent — identical tools succeed in isolation but fail under chain/stress conditions.

To Reproduce

Steps to reproduce the behavior:
Send a prompt requiring sequential tool execution: Выполни по порядку: 1) Вычисли через metta (+ 100 200). 2) Найди текущее время через shell date +%s. 3) Запомни результат metta с ключом st2b-metta. 4) Прочитай из памяти ключ st2b-metta через query-memory. После каждого шага отправляй мне результат.
Wait for response (~5+ minutes)
Observe no response received; inspect history.metta for tool calls without corresponding results

Expected behavior

Each tool call should return its result to the model context, allowing the model to proceed to the next step and send results to the user.

Actual behavior

Tool is called and logged: ((metta "(+ 100 200)")) at 06:48:26
No result appears in subsequent log entries
Model retries at 06:49:40 — also returns no result
Model enters infinite no_action loop: "still awaiting metta (+ 100 200) result"
After user ping, model proceeds to next tool (shell date +%s) — SAME failure pattern: called, retried, hung indefinitely
Canary test confirms system is alive: prompt "Просто скажи мне слово «тест»" receives instant response "тест" ✅
Same metta expression (+ 13 27) executed successfully earlier in the same session, returning correct result 40
Bot demonstrates verbal self-awareness ("metta висит", "Shell не отвечает") but cannot recover autonomously
Reproduced in 2 separate test sessions (ST-2b and Zone 1 attack)

Desktop:
OS: Linux (Ubuntu 22.04)
Browser: N/A (Telegram client)
Version: N/A
Smartphone (please complete the following information):
Device: N/A
OS: N/A
Browser: N/A
Version: N/A

Additional context

OmegaClaw version: v0.1.18
Communication channel: Telegram
Model provider: M3 (MiniMax) via ASICloud (inference.asicloud.cudos.org)
Reproducibility: 2/2 stress sessions; intermittent — succeeds in isolation, fails in chains
Log evidence available in test journal TG_omega_M3_10.08.2026/test_log.md (ST-2b and Zone 1 sections)
Failure appears related to chain processing context or accumulated session state rather than specific tool or expression
Bot's honest self-reporting continues to function despite tool delivery failure
Related issue: "Memory Retrieval via query() Does Not Function" — query() exhibits similar result delivery failure but appears to be a specific instance; this report covers broader pattern affecting multiple tools under chain/stress conditions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions