7452e8a4f0
fix: add missing tests for Tower route /tower ( #621 )
...
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-20 16:22:13 -04:00
f3b3d1e648
[loop-cycle-1658] feat: provider health history endpoint ( #457 ) ( #611 )
Tests / lint (push) Successful in 3s
Tests / test (push) Has been cancelled
2026-03-20 16:09:20 -04:00
4ba8d25749
feat: Lightning Network integration for tool usage ( #610 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m16s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-20 13:07:02 -04:00
e3d60b89a9
fix: remove model_size kwarg from create_timmy() CLI calls ( #606 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m8s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-20 12:48:49 -04:00
2577b71207
fix: capture thought timestamp at cycle start, not after LLM call ( #590 )
...
Tests / lint (push) Failing after 4s
Tests / test (push) Has been skipped
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-20 12:13:48 -04:00
faf6c1a5f1
[loop-cycle-1233] refactor: break up BaseAgent.run() ( #561 ) ( #584 )
Tests / lint (push) Failing after 3s
Tests / test (push) Has been skipped
2026-03-20 11:24:36 -04:00
48103bb076
[loop-cycle-956] refactor: break up _handle_message() into focused helpers ( #553 ) ( #574 )
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m10s
2026-03-19 21:42:01 -04:00
9f244ffc70
refactor: break up _record_utterance() into focused helpers ( #572 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m50s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 21:37:32 -04:00
0162a604be
refactor: break up voice_loop.py::run() into focused helpers ( #567 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m42s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 21:33:59 -04:00
7da434c85b
[loop-cycle-946] refactor: complete airllm removal ( #486 ) ( #545 )
Tests / lint (push) Successful in 3s
Tests / test (push) Has been cancelled
2026-03-19 20:46:20 -04:00
b331aa6139
refactor: break up capture_error() into testable helpers ( #523 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m25s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 20:03:28 -04:00
b45b543f2d
refactor: break up create_timmy() into testable helpers ( #520 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m17s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 19:51:59 -04:00
015d858be5
fix: auto-detect issue number in cycle retro from git branch ( #495 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m19s
## Summary
- `cycle_retro.py` now auto-detects issue number from the git branch name (e.g. `kimi/issue-492` → `492`) when `--issue` is not provided
- `backfill_retro.py` now skips the PR number suffix Gitea appends to titles so it does not confuse PR numbers with issue numbers
- Added tests for both fixes
Fixes #492
Co-authored-by: kimi <kimi@localhost>
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/495
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 16:13:35 -04:00
15eb7c3b45
[loop-cycle-538] refactor: remove dead airllm provider from cascade router ( #459 ) ( #481 )
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m28s
2026-03-19 15:44:10 -04:00
dbc2fd5b0f
[loop-cycle-536] fix: validate_startup checks CORS wildcard in production ( #472 ) ( #478 )
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m21s
2026-03-19 15:29:26 -04:00
3c3aca57f1
[loop-cycle-535] perf: cache Timmy agent at startup ( #471 ) ( #476 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Has been cancelled
## What
Cache the Timmy agent instance at app startup (in lifespan) instead of creating a new one per `/serve/chat` request.
## Changes
- `src/timmy_serve/app.py`: Create agent in lifespan, store in `app.state.timmy`
- `tests/timmy/test_timmy_serve_app.py`: Updated tests for lifespan-based caching, added `test_agent_cached_at_startup`
2085 unit tests pass. 2102 pre-push tests pass. 78.5% coverage.
Closes #471
Co-authored-by: Timmy <timmy@timmytime.ai >
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/476
Co-authored-by: Timmy Time <timmy@Alexanderwhitestone.ai >
Co-committed-by: Timmy Time <timmy@Alexanderwhitestone.ai >
2026-03-19 15:28:57 -04:00
3df526f6ef
[loop-cycle-2] feat: hot-reload providers.yaml without restart ( #458 ) ( #470 )
Tests / lint (push) Failing after 3s
Tests / test (push) Has been skipped
2026-03-19 15:11:40 -04:00
12582ab593
fix: stabilize flaky test_uses_model_when_available ( #456 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m25s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 14:39:33 -04:00
72c3a0a989
fix: integration tests for agentic loop WS broadcasts ( #452 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m8s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 14:30:00 -04:00
de089cec7f
[loop-cycle-524] fix: remove numpy test dependency in test_memory_embeddings ( #451 )
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m38s
2026-03-19 14:22:13 -04:00
2161c32ae8
fix: add unit tests for agentic_loop.py ( #421 ) ( #447 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Failing after 1m12s
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 )
Tests / lint (push) Successful in 3s
Tests / test (push) Failing after 1m5s
2026-03-19 14:10:16 -04:00
1d79a36bd8
fix: add unit tests for memory/embeddings.py ( #437 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Failing after 1m5s
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 )
Tests / lint (push) Successful in 7s
Tests / test (push) Successful in 1m15s
2026-03-19 10:50:21 -04:00
a31c929770
fix: add unit tests for tools.py ( #428 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m19s
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 )
...
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 >
2026-03-19 09:39:14 -04:00
332fa373b8
fix: wire cognitive state to sensory bus (presence loop) ( #414 )
...
Tests / lint (push) Failing after 17m22s
Tests / test (push) Has been skipped
## 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 )
...
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
## 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
4b617cfcd0
fix: deep focus mode — single-problem context for Timmy ( #409 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m10s
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 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 56s
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 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 57s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 02:24:13 -04:00
e89aef41bc
[loop-cycle-392] refactor: DRY broadcast + bark error logging ( #397 , #398 ) ( #400 )
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m27s
2026-03-19 02:01:58 -04:00
86224d042d
feat: Workshop Phase 4 — visitor chat via WebSocket bark engine ( #394 )
...
Tests / lint (push) Successful in 5s
Tests / test (push) Successful in 1m27s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:54:06 -04:00
f9d8509c15
fix: send world state snapshot on WS client connect ( #390 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m4s
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 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m8s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 01:18:52 -04:00
da43421d4e
feat: broadcast Timmy state changes via WS relay ( #380 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 54s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-19 00:25:11 -04:00
19e7e61c92
[loop-cycle] refactor: DRY PRESENCE_FILE — single source of truth in workshop_state ( #381 ) ( #382 )
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m14s
2026-03-18 22:33:06 -04:00
b7573432cc
fix: watch presence.json and broadcast state via WS ( #379 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m26s
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 )
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m29s
2026-03-18 22:13:49 -04:00
864be20dde
feat: Workshop state heartbeat for presence.json ( #377 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m58s
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 )
...
Tests / lint (push) Successful in 6s
Tests / test (push) Successful in 1m46s
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 )
Tests / lint (push) Successful in 4s
Tests / test (push) Successful in 1m35s
2026-03-18 22:01:51 -04:00
996ccec170
feat: Pip the Familiar — behavioral state machine ( #367 )
...
Tests / lint (push) Successful in 5s
Tests / test (push) Successful in 1m32s
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 )
...
Tests / lint (push) Successful in 2s
Tests / test (push) Successful in 1m11s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 21:37:17 -04:00
db7220db5a
test: add unit tests for memory/unified.py ( #353 )
...
Tests / lint (push) Successful in 4s
Tests / test (push) Has been cancelled
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 )
...
Tests / test (push) Has been cancelled
Tests / lint (push) Has been cancelled
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 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 58s
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 )
Tests / lint (push) Successful in 2s
Tests / test (push) Has been cancelled
2026-03-18 21:10:08 -04:00
11357ffdb4
test: add comprehensive unit tests for agentic_loop.py ( #345 )
...
Tests / lint (push) Successful in 3s
Tests / test (push) Successful in 1m16s
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 )
...
Tests / lint (push) Successful in 5s
Tests / test (push) Successful in 1m41s
Co-authored-by: Kimi Agent <kimi@timmy.local >
Co-committed-by: Kimi Agent <kimi@timmy.local >
2026-03-18 20:47:38 -04:00