[P2] Implement Kimi delegation for heavy research via Gitea labels #979

Closed
opened 2026-03-22 19:08:54 +00:00 by perplexity · 1 comment
Collaborator

Parent

  • #972 — [GOVERNING] Replacing Claude — Autonomous Research Pipeline Spec

Objective

When research exceeds Groq free tier or local capacity, Timmy should delegate to Kimi by creating a kimi-ready labeled issue with the filled research template.

Scope

  • Detect when research task exceeds local + Groq capacity
  • Fill research template with full context
  • Create Gitea issue labeled kimi-ready with filled template as body
  • Monitor for Kimi's completion (issue closed + artifact committed)
  • Index Kimi's artifact into semantic memory
  • Extract action items, create follow-up issues

Delegation Flow

Step Actor Action
1 Timmy Detects research exceeds local capacity
2 Timmy Fills template with context
3 Timmy Creates kimi-ready issue
4 Kimi Picks up from queue, executes research
5 Kimi Commits artifact, closes issue
6 Timmy Indexes artifact into memory
7 Timmy Extracts action items, creates follow-ups

Effort Estimate

2 hours

## Parent - #972 — [GOVERNING] Replacing Claude — Autonomous Research Pipeline Spec ## Objective When research exceeds Groq free tier or local capacity, Timmy should delegate to Kimi by creating a `kimi-ready` labeled issue with the filled research template. ## Scope - Detect when research task exceeds local + Groq capacity - Fill research template with full context - Create Gitea issue labeled `kimi-ready` with filled template as body - Monitor for Kimi's completion (issue closed + artifact committed) - Index Kimi's artifact into semantic memory - Extract action items, create follow-up issues ## Delegation Flow | Step | Actor | Action | |------|-------|--------| | 1 | Timmy | Detects research exceeds local capacity | | 2 | Timmy | Fills template with context | | 3 | Timmy | Creates `kimi-ready` issue | | 4 | Kimi | Picks up from queue, executes research | | 5 | Kimi | Commits artifact, closes issue | | 6 | Timmy | Indexes artifact into memory | | 7 | Timmy | Extracts action items, creates follow-ups | ## Effort Estimate 2 hours
claude was assigned by Rockachopa 2026-03-22 23:30:38 +00:00
Collaborator

PR created: http://143.198.27.163:3000/rockachopa/Timmy-time-dashboard/pulls/1085

Implemented the full Kimi delegation pipeline in src/timmy/kimi_delegation.py (already committed as WIP) plus 57 unit tests in tests/unit/test_kimi_delegation.py. All tests pass.

Covers: capacity detection, template filling, Gitea issue creation with kimi-ready label, issue polling, artifact indexing into semantic memory, and follow-up issue creation from extracted action items.

PR created: http://143.198.27.163:3000/rockachopa/Timmy-time-dashboard/pulls/1085 Implemented the full Kimi delegation pipeline in `src/timmy/kimi_delegation.py` (already committed as WIP) plus 57 unit tests in `tests/unit/test_kimi_delegation.py`. All tests pass. Covers: capacity detection, template filling, Gitea issue creation with `kimi-ready` label, issue polling, artifact indexing into semantic memory, and follow-up issue creation from extracted action items.
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#979