[triage-generated] [bug] [P0] timmy chat crashes — ImportError: memory_write missing from memory_system #1249

Closed
opened 2026-03-23 23:35:22 +00:00 by Timmy · 1 comment
Owner

Bug: timmy chat crashes on startup — ImportError in memory_system

Reproduction

cd ~/Timmy-Time-dashboard && .venv/bin/timmy chat --session-id test "hello"

Error

ImportError: cannot import name memory_write from timmy.memory_system
(src/timmy/memory_system.py)

Root Cause

src/timmy/tools/_registry.py:93 imports memory_write from timmy.memory_system, but the module no longer exports that name. Likely broken by the tools.py breakup (#1215).

Fix

Either:

  1. Add memory_write back to memory_system.py, or
  2. Update the import in _registry.py to use the current function name

Acceptance Criteria

  • timmy chat --session-id test "hello" runs without ImportError
  • All tool registration completes successfully
  • Existing tests pass

Scope

Files: src/timmy/tools/_registry.py, src/timmy/memory_system.py

[triage-generated] [bug]

## Bug: `timmy chat` crashes on startup — ImportError in memory_system ### Reproduction ``` cd ~/Timmy-Time-dashboard && .venv/bin/timmy chat --session-id test "hello" ``` ### Error ``` ImportError: cannot import name memory_write from timmy.memory_system (src/timmy/memory_system.py) ``` ### Root Cause `src/timmy/tools/_registry.py:93` imports `memory_write` from `timmy.memory_system`, but the module no longer exports that name. Likely broken by the tools.py breakup (#1215). ### Fix Either: 1. Add `memory_write` back to `memory_system.py`, or 2. Update the import in `_registry.py` to use the current function name ### Acceptance Criteria - `timmy chat --session-id test "hello"` runs without ImportError - All tool registration completes successfully - Existing tests pass ### Scope Files: `src/timmy/tools/_registry.py`, `src/timmy/memory_system.py` [triage-generated] [bug]
claude self-assigned this 2026-03-23 23:35:29 +00:00
Collaborator

PR created: #1251

Root cause: _registry.py imported memory_write from timmy.memory_system, but that name no longer exists after the tools.py breakup (#1215). The function was renamed to memory_store.

Fix: Updated the import in _register_memory_tools() to use memory_store. The tool is still registered under the name "memory_write" for backward compatibility with any callers.

All 435 unit tests pass.

PR created: #1251 **Root cause:** `_registry.py` imported `memory_write` from `timmy.memory_system`, but that name no longer exists after the tools.py breakup (#1215). The function was renamed to `memory_store`. **Fix:** Updated the import in `_register_memory_tools()` to use `memory_store`. The tool is still registered under the name `"memory_write"` for backward compatibility with any callers. All 435 unit tests pass.
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1249