de089cec7f
[loop-cycle-524] fix: remove numpy test dependency in test_memory_embeddings ( #451 )
2026-03-19 14:22:13 -04:00
3590c1689e
fix: make _get_loop_agent singleton thread-safe ( #449 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 14:18:27 -04:00
2161c32ae8
fix: add unit tests for agentic_loop.py ( #421 ) ( #447 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 14:13:50 -04:00
98b1142820
[loop-cycle-522] test: add unit tests for agentic_loop.py ( #421 ) ( #441 )
2026-03-19 14:10:16 -04:00
1d79a36bd8
fix: add unit tests for memory/embeddings.py ( #437 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 11:12:46 -04:00
cce311dbb8
[loop-cycle] test: add unit tests for briefing.py ( #422 ) ( #438 )
2026-03-19 10:50:21 -04:00
3cde310c78
fix: idle detection + exponential backoff for dev loop ( #435 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 10:36:39 -04:00
cdb1a7546b
fix: add workshop props — bookshelf, candles, crystal ball glow ( #429 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 10:29:18 -04:00
a31c929770
fix: add unit tests for tools.py ( #428 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 10:17:36 -04:00
3afb62afb7
fix: add self_reflect tool for past behavior review ( #417 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 09:39:14 -04:00
332fa373b8
fix: wire cognitive state to sensory bus (presence loop) ( #414 )
...
## Summary
- CognitiveTracker.update() now emits `cognitive_state_changed` events to the SensoryBus
- WorkshopHeartbeat (and other subscribers) react immediately to mood/engagement changes
- Closes the sense → memory → react loop described in the Workshop architecture
- Fire-and-forget emission — never blocks the chat response path
- Gracefully skips when no event loop is running (sync contexts/tests)
## Test plan
- [x] 3 new tests: event emission, mood change tracking, graceful skip without loop
- [x] All 1935 unit tests pass
- [x] Lint + format clean
Fixes #222
Co-authored-by: kimi <kimi@localhost>
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/414
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 03:23:03 -04:00
76b26ead55
rescue: WS heartbeat ping + commitment tracking from stale PRs ( #415 )
...
## What
Manually integrated unique code from two stale PRs that were **not** superseded by merged work.
### PR #399 (kimi/issue-362) — WebSocket heartbeat ping
- 15-second ping loop detects dead iPad/Safari connections
- `_heartbeat()` coroutine launched as background task per WS client
- `ping_task` properly cancelled on disconnect
### PR #408 (kimi/issue-322) — Conversation commitment tracking
- Regex extraction of commitments from Timmy replies (`I'll` / `I will` / `Let me`)
- `_record_commitments()` stores with dedup + cap at 10
- `_tick_commitments()` increments message counter per commitment
- `_build_commitment_context()` surfaces overdue commitments as grounding context
- Wired into `_bark_and_broadcast()` and `_generate_bark()`
- Public API: `get_commitments()`, `close_commitment()`, `reset_commitments()`
### Tests
22 new tests covering both features: extraction, recording, dedup, caps, tick/context, integration, heartbeat ping, dead connection handling.
---
This PR rescues unique code from stale PRs #399 and #408 . The other two stale PRs (#402 , #411 ) were already superseded by merged work and should be closed.
Co-authored-by: Perplexity Computer <perplexity@tower.dev >
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/415
Co-authored-by: Perplexity Computer <perplexity@tower.local >
Co-committed-by: Perplexity Computer <perplexity@tower.local >
2026-03-19 03:22:44 -04:00
63e4542f31
fix: serve AlexanderWhitestone.com as static site ( #416 )
...
Replace auth-gated dashboard proxy with static file serving for The Wizard's Tower — two rooms (Workshop + Scrolls), no auth, no tracking, proper caching headers for 3D assets and RSS feed.
Fixes #211
Co-authored-by: kimi <kimi@localhost>
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/416
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 03:22:23 -04:00
9b8ad3629a
fix: wire Pip familiar into Workshop state pipeline ( #412 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 03:09:22 -04:00
4b617cfcd0
fix: deep focus mode — single-problem context for Timmy ( #409 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 02:54:19 -04:00
b67dbe922f
fix: conversation grounding to prevent topic drift in Workshop ( #406 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 02:39:15 -04:00
3571d528ad
feat: Workshop Phase 1 — State Schema v1 ( #404 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 02:24:13 -04:00
ab3546ae4b
feat: Workshop Phase 2 — Scene MVP (Three.js room) ( #401 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 02:14:09 -04:00
e89aef41bc
[loop-cycle-392] refactor: DRY broadcast + bark error logging ( #397 , #398 ) ( #400 )
2026-03-19 02:01:58 -04:00
86224d042d
feat: Workshop Phase 4 — visitor chat via WebSocket bark engine ( #394 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:54:06 -04:00
2209ac82d2
fix: canonically connect the Tower to the Workshop ( #392 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:38:59 -04:00
f9d8509c15
fix: send world state snapshot on WS client connect ( #390 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:28:57 -04:00
858264be0d
fix: deprecate ~/.tower/timmy-state.txt — consolidate on presence.json ( #388 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:18:52 -04:00
3c10da489b
fix: enhance tox dev environment (port, banner, reload) ( #386 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:08:49 -04:00
da43421d4e
feat: broadcast Timmy state changes via WS relay ( #380 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 00:25:11 -04:00
aa4f1de138
fix: DRY PRESENCE_FILE — single source of truth ( #383 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 22:38:40 -04:00
19e7e61c92
[loop-cycle] refactor: DRY PRESENCE_FILE — single source of truth in workshop_state ( #381 ) ( #382 )
2026-03-18 22:33:06 -04:00
b7573432cc
fix: watch presence.json and broadcast state via WS ( #379 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 22:22:02 -04:00
3108971bd5
[loop-cycle-155] feat: GET /api/world/state — Workshop bootstrap endpoint ( #373 ) ( #378 )
2026-03-18 22:13:49 -04:00
864be20dde
feat: Workshop state heartbeat for presence.json ( #377 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 22:07:32 -04:00
c1f939ef22
fix: add update_gitea_avatar capability ( #368 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 22:04:57 -04:00
c1af9e3905
[loop-cycle-154] refactor: extract _annotate_confidence helper — DRY 3x duplication ( #369 ) ( #376 )
2026-03-18 22:01:51 -04:00
996ccec170
feat: Pip the Familiar — behavioral state machine ( #367 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:50:36 -04:00
560aed78c3
fix: add cognitive state as observable signal for Matrix avatar ( #358 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:37:17 -04:00
c7198b1254
[loop-cycle-152] feat: define canonical presence schema for Workshop ( #265 ) ( #359 )
2026-03-18 21:36:06 -04:00
43efb01c51
fix: remove duplicate agent loader test file ( #356 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:28:10 -04:00
ce658c841a
[loop-cycle-151] refactor: extract embedding functions to memory/embeddings.py ( #344 ) ( #355 )
2026-03-18 21:24:50 -04:00
db7220db5a
test: add unit tests for memory/unified.py ( #353 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:23:03 -04:00
ae10ea782d
fix: remove duplicate agent loader test file ( #354 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:23:00 -04:00
4afc5daffb
test: add unit tests for agents/loader.py ( #349 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:13:01 -04:00
4aa86ff1cb
[loop-cycle-150] test: add 22 unit tests for agents/base.py — BaseAgent and SubAgent ( #350 )
2026-03-18 21:10:08 -04:00
dff07c6529
[loop-cycle-149] feat: Workshop config inventory generator ( #320 ) ( #348 )
2026-03-18 20:58:27 -04:00
11357ffdb4
test: add comprehensive unit tests for agentic_loop.py ( #345 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 20:54:02 -04:00
fcbb2b848b
test: add unit tests for jot_note and log_decision artifact tools ( #341 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 20:47:38 -04:00
6621f4bd31
[loop-cycle-147] refactor: expand .gitignore to cover junk files ( #336 ) ( #339 )
2026-03-18 20:37:13 -04:00
243b1a656f
feat: give Timmy hands — artifact tools for conversation ( #337 )
...
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 20:36:38 -04:00
22e0d2d4b3
[loop-cycle-66] fix: replace language-model with inference-backend in error messages ( #334 )
2026-03-18 20:27:06 -04:00
bcc7b068a4
[loop-cycle-66] fix: remove language-model self-reference and add anti-assistant-speak guidance ( #323 ) ( #333 )
2026-03-18 20:21:03 -04:00
bfd924fe74
[loop-cycle-65] feat: scaffold three-phase loop skeleton ( #324 ) ( #330 )
2026-03-18 20:11:02 -04:00
844923b16b
[loop-cycle-65] fix: validate file paths before filing thinking-engine issues ( #327 ) ( #329 )
2026-03-18 20:07:19 -04:00