1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Timmy-time-dashboard/tests
Alexander Whitestone 8a1a2eb38c feat: Agent Dreaming Mode — idle-time session replay and rule synthesis
Fixes #1019

- DreamingEngine in src/timmy/dreaming.py selects past chat sessions when idle,
  calls the LLM to simulate alternative agent responses, extracts proposed rules,
  and persists them to data/dreams.db (SQLite)
- Background scheduler in app.py triggers dream cycles every dreaming_cycle_seconds
- /dreaming/partial HTMX endpoint renders DREAMING / IDLE / STANDBY status with
  recent proposed rules
- 4 new pydantic-settings fields: dreaming_enabled, dreaming_idle_threshold_minutes,
  dreaming_cycle_seconds, dreaming_timeout_seconds
- 15 unit tests — all pass

Fix pytestmark and IF NOT EXISTS in test fixture to make tests runnable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:34:38 -04:00
..
2026-03-11 16:55:27 -04:00
2026-03-11 16:55:27 -04:00