Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ambient-code/agentready
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.27.1
Choose a base ref
...
head repository: ambient-code/agentready
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.27.2
Choose a head ref
  • 2 commits
  • 10 files changed
  • 3 contributors

Commits on Nov 23, 2025

  1. fix: Resolve 35 pytest failures through model validation and path san…

    …itization improvements (#115)
    
    This commit addresses 39% of test suite failures (35/89 issues), improving
    test pass rate from 83.5% to 91.5%.
    
    **Implementation Fixes:**
    
    - Repository model: Add automatic string-to-Path conversion in __post_init__
      to handle test fixtures passing string paths
    
    - Config model: Add Config.load_default() class method for align command
    
    - Privacy utilities: Comprehensive path sanitization improvements:
      - Generic home directory pattern matching for any username
      - Fix Windows path regex escaping (C:\\Users\\...)
      - Add fallback absolute path sanitization to <path>
      - Preserve original paths when relative_to is requested
      - Add --key to list of redactable command-line flags
    
    - Align CLI: Fix import path for create_all_assessors
    
    **Test Fixture Fixes:**
    
    - test_main.py: Update mock_assessment fixture to create valid Repository
      with tmp_path, add timestamp/config, generate 25 valid Finding objects
      with complete Attribute models
    
    - test_pattern_extractor.py: Add create_test_repository() helper, update
      sample_repository fixture to use tmp_path with .git directory
    
    - test_fixer_service.py: Add .git directory creation to sample_repository
    
    **Impact:**
    - Resolved: 35 issues (18 in Phase 1, 17 in Phase 2)
    - Pass rate: 83.5% → 91.5% (+8%)
    - All 53 privacy utility tests now pass
    - Converted 20 ERRORs to passes (62.5% error reduction)
    
    **Remaining:** 54 failures (mostly test mocking/infrastructure issues)
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude <noreply@anthropic.com>
    jeremyeder and claude authored Nov 23, 2025
    Configuration menu
    Copy the full SHA
    4fbfee0 View commit details
    Browse the repository at this point in the history
  2. chore(release): 1.27.2 [skip ci]

    ## [1.27.2](v1.27.1...v1.27.2) (2025-11-23)
    
    ### Bug Fixes
    
    * Resolve 35 pytest failures through model validation and path sanitization improvements ([#115](#115)) ([4fbfee0](4fbfee0))
    semantic-release-bot committed Nov 23, 2025
    Configuration menu
    Copy the full SHA
    e317356 View commit details
    Browse the repository at this point in the history
Loading