mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Major improvements to release note generation system: **AI Model Optimization:** - Switch from Claude Sonnet 4.5 to Haiku 4.5 (67% cheaper, 50% faster) - Cost reduced from 1.0 to 0.33 Premium requests per generation - Generation time reduced from ~30s to ~15s - Quality maintained through improved prompt engineering **Improved Prompt Structure:** - Restructured prompt: instructions first, commit data last - Added explicit user-feature prioritization rules (sensors > config > developer tools) - Integrated file change statistics with each commit - Added file path guidance (custom_components/ = HIGH, scripts/ = LOW) - Added 3-step decision process with walkthrough example - Added explicit output constraints to prevent meta-commentary **Auto-Update Feature:** - Consolidated improve-release-notes functionality into generate-release-notes - Automatic detection of existing GitHub releases - Interactive prompt to update both title and body - Shows comparison: current title vs. new AI-generated title **File Statistics Integration:** - Added --stat --compact-summary to git log - Shows which files changed in each commit with line counts - Helps AI quantitatively assess change importance (100+ lines = significant) - Enables better prioritization of user-facing features **Testing Results:** - Generated title: "Price Volatility Analysis & Configuration" (user-focused!) - Successfully prioritizes user features over developer/CI changes - No more generic "New Features & Bug Fixes" titles - Thematic titles that capture main release highlights Impact: Release note generation is now faster, cheaper, and produces higher-quality user-focused titles. Single consolidated script handles both generation and updating existing releases. |
||
|---|---|---|
| .. | ||
| json_schemas | ||
| bootstrap | ||
| check-if-released | ||
| develop | ||
| generate-release-notes | ||
| help | ||
| lint | ||
| lint-check | ||
| motd | ||
| prepare-release | ||
| setup | ||
| suggest-version | ||
| update | ||