Yr dev#85
Open
YOLO-9257 wants to merge 33 commits into
Open
Conversation
added 30 commits
April 1, 2026 09:13
…cture - Add test for PROJECT_VERSION and TEMP_TASK_COUNTER enum values - Add test for default_db configuration - Add test for semver library import - Fix: Remove unused pkg_resources import (Rule 3 - blocking issue)
…counter - Add PROJECT_VERSION and TEMP_TASK_COUNTER to ConfigKeysEnum - Add default values to default_db (empty string and 1) - Add semver==3.0.4 dependency to setup.cfg
- Test set_project_version with valid SemVer format - Test set_project_version rejects invalid format - Test set_project_version can clear version - Test get_project_version returns saved version
- Add set_project_version with SemVer validation - Add get_project_version to retrieve saved version - Add project_version attribute to ConfigService - Import semver library for validation - Support clearing version with empty string
- Test get_next_temp_task_id returns TEMP-001 initially - Test sequential calls return TEMP-002, TEMP-003, etc - Test counter loops from 999 to 1 - Test reset_temp_task_counter resets to 1
- Add get_next_temp_task_id method (format: TEMP-001 to TEMP-999) - Add reset_temp_task_counter method - Counter auto-increments and persists to config - Counter loops from 999 back to 1
- Add SUMMARY.md with implementation details - Update STATE.md with progress and decisions - Update ROADMAP.md with plan completion status - Mark requirements CONFIG-02, CONFIG-03, CONFIG-04, CONFIG-05, DETAIL-03 complete
…nfig command - Add --project-version argument to config_parser - Use dest='version' to avoid conflict with tool version flag - Support None (not provided) and empty string (clear) distinction - Include SemVer format examples in help text
…fig_handler - Check args.version is not None to support empty string - Call config_service.set_project_version() to set version - Display success message for set or clear operations - Catch and display validation errors from set_project_version - Set has_updated flag correctly
… auto-fallback - Add generate_commit_with_auto_fallback() function - Check project_version config to select format - Fallback to conventional format when version not configured - Return detailed format placeholder when version configured - Add Logger import for user notifications
… task counter - Display '(未配置)' when project_version is empty - Display current value and next task ID for temp_task_counter - Maintain existing API key masking and timestamp formatting - Keep consistent formatting style with other config items
…etadata - Replace deprecated pkg_resources with importlib.metadata.version - Add fallback to importlib_metadata for Python < 3.8 - Add exception handling for get_version() to return 'unknown' - Fixes ModuleNotFoundError in Python 3.14
…tion - Import generate_commit_with_auto_fallback function - Call auto-fallback by default when no custom template - Preserve custom template support for backward compatibility - Maintain existing diff retrieval and output logic
… Windows GBK compatibility - Remove ✅ and ❌ emoji characters from success/error messages - Fixes UnicodeEncodeError on Windows with GBK encoding - Keep clear Chinese messages without emoji
…allback - Add __main__ block with 4 test scenarios - Test 1: Unconfigured version fallback to conventional - Test 2: Configured version uses detailed format placeholder - Test 3: Temp task ID increments correctly - Test 4: Clear version restores conventional format - Tests require LLM API key to run (expected behavior)
- Add 01-03-SUMMARY.md with implementation details - Update STATE.md: Phase 01 complete (3/3 plans) - Update ROADMAP.md: Phase 01 status complete - Mark requirements FALLBACK-01 to FALLBACK-04 complete - Record 2 new decisions and 2 bug fixes - Update progress to 100% for Phase 01
- Add 01-02-SUMMARY.md with implementation details - Update STATE.md with Plan 02 completion status - Update ROADMAP.md with plan progress - Mark requirements CONFIG-01 and CONFIG-06 complete
added 3 commits
April 10, 2026 14:54
- Add diff_parser.py with parse_diff function - Parse git diff output into structured Python data - Filter noise files using NOISE_FILE_PATTERNS - Extract file-level change information (additions, deletions, change type) - Handle empty diffs and parse errors gracefully
- Add 8 comprehensive test cases for parse_diff function - Test empty diff, None input, single file modify - Test multi-file mixed changes, deleted files - Test noise file filtering, invalid diff handling - Test large diff with multiple files - All tests follow existing test file structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Test Plan