[kimi] Weekly narrative summary generator (#719) #791

Merged
kimi merged 1 commits from kimi/issue-719 into main 2026-03-21 21:36:41 +00:00

1 Commits

Author SHA1 Message Date
kimi
6582c85690 feat: add weekly narrative summary generator (#719)
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Add weekly_narrative.py script that generates a human-readable summary of:
- Development themes and focus areas from issue labels
- Agent contributions and activity patterns
- Test coverage trends and cycle success rates
- Triage health and token economy shifts

Features:
- Outputs both JSON (.loop/weekly_narrative.json) and Markdown (.loop/weekly_narrative.md)
- Vibe classification: productive/steady/struggling/quiet
- Gitea API integration for issue/PR data
- Graceful degradation when Gitea unavailable
- Configurable via timmy_automations/config/automations.json
- Environment variable overrides for all settings
- Can be disabled via config or TIMMY_WEEKLY_NARRATIVE_ENABLED env var

Configuration:
- Added weekly_narrative to automations.json manifest
- Added weekly schedule to daily_run.json
- Added weekly_narrative_enabled setting to config.py

Tests:
- Comprehensive test coverage in tests/timmy_automations/test_weekly_narrative.py
- Tests for data collection, analysis, and narrative generation

Refs #719
2026-03-21 17:34:56 -04:00