[kimi] Implement Daily Run orchestration script (10-minute ritual) (#703) #783

Merged
Timmy merged 1 commits from kimi/issue-703 into main 2026-03-21 19:24:43 +00:00
Collaborator

Fixes #703

Summary

Implements the Daily Run orchestrator under timmy_automations/daily_run/ — the 10-minute ritual script.

Changes

New Files

  • timmy_automations/daily_run/orchestrator.py — Main orchestration script

Modified Files

  • timmy_automations/config/daily_run.json — Added orchestrator configuration section
  • timmy_automations/config/automations.json — Added automation manifest entry
  • timmy_automations/daily_run/README.md — Added usage documentation
  • timmy_automations/README.md — Added orchestrator to script references

Features

  1. Daily Run Agenda Generation

    • Fetches candidate issues from Gitea using configurable labels (daily-run, size:XS/S)
    • Scores and prioritizes issues for the 10-minute ritual
    • Generates concise agenda with up to 3 items
    • Shows issue number, title, size, layer, and suggested action type
  2. Review Mode (--review)

    • Summarizes last 24 hours of activity
    • Shows issues touched, closed, PRs opened/merged
    • Includes test/build failures from cycle retrospective data
  3. Configuration

    • Configurable via timmy_automations/config/daily_run.json
    • Environment variable overrides supported
    • No code edits needed for basic tuning
  4. Output Formats

    • Human-readable formatted output (default)
    • JSON output (--json) for programmatic consumption
  5. Graceful Degradation

    • Handles Gitea unavailability gracefully
    • Works without token for public repos

Usage

# Generate Daily Run agenda
python3 timmy_automations/daily_run/orchestrator.py

# Include day summary (review mode)
python3 timmy_automations/daily_run/orchestrator.py --review

# Output as JSON
python3 timmy_automations/daily_run/orchestrator.py --review --json

# Override max items
python3 timmy_automations/daily_run/orchestrator.py --max-items 5

Testing

  • All existing tests pass (2650 passed, 1 skipped)
  • tox -e format: OK
  • tox -e lint: OK
  • tox -e unit: OK
  • tox -e pre-push: OK
Fixes #703 ## Summary Implements the Daily Run orchestrator under `timmy_automations/daily_run/` — the 10-minute ritual script. ## Changes ### New Files - `timmy_automations/daily_run/orchestrator.py` — Main orchestration script ### Modified Files - `timmy_automations/config/daily_run.json` — Added orchestrator configuration section - `timmy_automations/config/automations.json` — Added automation manifest entry - `timmy_automations/daily_run/README.md` — Added usage documentation - `timmy_automations/README.md` — Added orchestrator to script references ## Features 1. **Daily Run Agenda Generation** - Fetches candidate issues from Gitea using configurable labels (`daily-run`, `size:XS/S`) - Scores and prioritizes issues for the 10-minute ritual - Generates concise agenda with up to 3 items - Shows issue number, title, size, layer, and suggested action type 2. **Review Mode (`--review`)** - Summarizes last 24 hours of activity - Shows issues touched, closed, PRs opened/merged - Includes test/build failures from cycle retrospective data 3. **Configuration** - Configurable via `timmy_automations/config/daily_run.json` - Environment variable overrides supported - No code edits needed for basic tuning 4. **Output Formats** - Human-readable formatted output (default) - JSON output (`--json`) for programmatic consumption 5. **Graceful Degradation** - Handles Gitea unavailability gracefully - Works without token for public repos ## Usage ```bash # Generate Daily Run agenda python3 timmy_automations/daily_run/orchestrator.py # Include day summary (review mode) python3 timmy_automations/daily_run/orchestrator.py --review # Output as JSON python3 timmy_automations/daily_run/orchestrator.py --review --json # Override max items python3 timmy_automations/daily_run/orchestrator.py --max-items 5 ``` ## Testing - All existing tests pass (2650 passed, 1 skipped) - tox -e format: OK - tox -e lint: OK - tox -e unit: OK - tox -e pre-push: OK
kimi added 1 commit 2026-03-21 19:24:11 +00:00
feat: implement Daily Run orchestration script (10-minute ritual) (#703)
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
a0a24a7b21
Implements the Daily Run orchestrator under timmy_automations/daily_run/:

- orchestrator.py: Fetches 'daily-run' candidate issues from Gitea,
  generates a concise agenda (up to 3 items), and includes a review
  mode for summarizing the last 24 hours of activity
- Configuration in timmy_automations/config/daily_run.json:
  label names, item limits, and lookback window are configurable
  without code changes
- Added automation manifest entry in automations.json
- Updated README.md with usage documentation

Features:
- Label-based filtering (daily-run + size:XS/S by default)
- Issue scoring and prioritization
- Review mode (--review) shows issues/PRs touched, closed, merged
- JSON output mode (--json) for programmatic consumption
- Graceful degradation when Gitea is unavailable
- Environment variable overrides for all settings

Fixes #703
Timmy merged commit 2a9d21cea1 into main 2026-03-21 19:24:43 +00:00
Timmy deleted branch kimi/issue-703 2026-03-21 19:24:43 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#783