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