[kimi] Add focus-day presets for Daily Run and work selection (#716) #784

Closed
kimi wants to merge 1 commits from kimi/issue-716 into main
Collaborator

Fixes #716

Summary

Added five focus-day presets that bias Daily Run agenda generation toward specific types of work.

Presets Added

Preset Description Candidate Labels
tests-day Focus on test-related work test, testing, tests, coverage
triage-day Issue triage and backlog grooming triage, backlog, needs-review, grooming
economy-day Payment and economic features economy, payment, pricing, l402, lightning, bitcoin
docs-day Documentation and guides docs, documentation, readme, guide
refactor-day Code cleanup and refactoring refactor, cleanup, debt, tech-debt

Usage

# Run with a preset
python3 timmy_automations/daily_run/orchestrator.py --preset tests-day

# List available presets
python3 timmy_automations/daily_run/orchestrator.py --list-presets

Changes Made

  1. timmy_automations/config/daily_run.json: Added focus_day_presets section with full configuration for each preset
  2. timmy_automations/daily_run/orchestrator.py:
    • Added --preset CLI argument
    • Added --list-presets to display available presets
    • Updated load_config() to merge preset configuration
    • Updated fetch_candidates() to use preset label filters
    • Updated score_issue() to boost preset-matching issues (+15 for labels, +8 for title keywords)
    • Updated generate_agenda() to include preset metadata and custom agenda titles
  3. timmy_automations/daily_run/README.md: Added comprehensive documentation for focus-day presets
  4. timmy_automations/config/automations.json: Updated orchestrator entry to document presets

Preset Configuration

Each preset supports:

  • candidate_labels: Labels to search for candidates
  • size_labels: Size labels to filter by (presets can include larger sizes)
  • title_keywords: Keywords to match in issue titles
  • priority_boost: Labels/keywords that get scoring priority
  • agenda_title: Custom header for the agenda output

All tests pass. Presets are easy to extend by editing the JSON configuration.

Fixes #716 ## Summary Added five focus-day presets that bias Daily Run agenda generation toward specific types of work. ## Presets Added | Preset | Description | Candidate Labels | |--------|-------------|------------------| | `tests-day` | Focus on test-related work | `test`, `testing`, `tests`, `coverage` | | `triage-day` | Issue triage and backlog grooming | `triage`, `backlog`, `needs-review`, `grooming` | | `economy-day` | Payment and economic features | `economy`, `payment`, `pricing`, `l402`, `lightning`, `bitcoin` | | `docs-day` | Documentation and guides | `docs`, `documentation`, `readme`, `guide` | | `refactor-day` | Code cleanup and refactoring | `refactor`, `cleanup`, `debt`, `tech-debt` | ## Usage ```bash # Run with a preset python3 timmy_automations/daily_run/orchestrator.py --preset tests-day # List available presets python3 timmy_automations/daily_run/orchestrator.py --list-presets ``` ## Changes Made 1. **timmy_automations/config/daily_run.json**: Added `focus_day_presets` section with full configuration for each preset 2. **timmy_automations/daily_run/orchestrator.py**: - Added `--preset` CLI argument - Added `--list-presets` to display available presets - Updated `load_config()` to merge preset configuration - Updated `fetch_candidates()` to use preset label filters - Updated `score_issue()` to boost preset-matching issues (+15 for labels, +8 for title keywords) - Updated `generate_agenda()` to include preset metadata and custom agenda titles 3. **timmy_automations/daily_run/README.md**: Added comprehensive documentation for focus-day presets 4. **timmy_automations/config/automations.json**: Updated orchestrator entry to document presets ## Preset Configuration Each preset supports: - `candidate_labels`: Labels to search for candidates - `size_labels`: Size labels to filter by (presets can include larger sizes) - `title_keywords`: Keywords to match in issue titles - `priority_boost`: Labels/keywords that get scoring priority - `agenda_title`: Custom header for the agenda output All tests pass. Presets are easy to extend by editing the JSON configuration.
kimi added 1 commit 2026-03-21 19:34:59 +00:00
feat: add focus-day presets for Daily Run and work selection
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
9dee9ed2a8
Add five focus-day presets that bias Daily Run agenda generation:
- tests-day: Focus on test-related work
- triage-day: Issue triage and backlog grooming
- economy-day: Payment and economic features
- docs-day: Documentation and guides
- refactor-day: Code cleanup and refactoring

Changes:
- Add focus_day_presets configuration to daily_run.json
- Add --preset CLI argument to orchestrator.py
- Add --list-presets to show available presets
- Update fetch_candidates() to use preset label filters
- Update score_issue() to boost preset-matching issues
- Update generate_agenda() to include preset metadata
- Add comprehensive documentation to README.md

Fixes #716
Owner

This PR has merge conflicts. Please rebase onto main and resolve conflicts before it can be merged.

This PR has merge conflicts. Please rebase onto main and resolve conflicts before it can be merged.
Owner

Closing — this PR has merge conflicts that cannot be auto-resolved. Will need a fresh branch if the feature is still wanted.

Closing — this PR has merge conflicts that cannot be auto-resolved. Will need a fresh branch if the feature is still wanted.
Timmy closed this pull request 2026-03-22 01:41:54 +00:00
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#784