fix: add self_reflect tool for past behavior review (#417)
All checks were successful
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m2s

Co-authored-by: Kimi Agent <kimi@timmy.local>
Co-committed-by: Kimi Agent <kimi@timmy.local>
This commit was merged in pull request #417.
This commit is contained in:
2026-03-19 09:39:14 -04:00
committed by hermes
parent 332fa373b8
commit 3afb62afb7
4 changed files with 306 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
"""Tests for GET /api/world/state endpoint and /api/world/ws relay."""
import asyncio
import json
import logging
import time
@@ -7,8 +8,6 @@ from unittest.mock import AsyncMock, MagicMock, patch
import pytest
import asyncio
from dashboard.routes.world import (
_GROUND_TTL,
_REMIND_AFTER,
@@ -393,7 +392,6 @@ async def test_conversation_buffer_caps_at_max():
def test_log_bark_failure_logs_exception(caplog):
"""_log_bark_failure logs errors from failed bark tasks."""
import asyncio
loop = asyncio.new_event_loop()
@@ -410,7 +408,6 @@ def test_log_bark_failure_logs_exception(caplog):
def test_log_bark_failure_ignores_cancelled():
"""_log_bark_failure silently ignores cancelled tasks."""
import asyncio
task = MagicMock(spec=asyncio.Task)
task.cancelled.return_value = True