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: diskcopilot/diskcopilot-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: diskcopilot/diskcopilot-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on Apr 6, 2026

  1. test: add accuracy tests for directory sizes and symlinks

    - test_size_filter: dir size includes files below threshold
    - test_dir_size_matches_du: scanned total matches du-style calculation
    - test_symlink_not_double_counted: symlinks don't inflate sizes
    - Fix all test finalize() calls to pass skipped sizes map
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    bluedusk and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    4c244fb View commit details
    Browse the repository at this point in the history
  2. fix: address 6 code quality issues from review

    1. Auth token: use /dev/urandom instead of predictable timestamp
    2. Cache delete: walk path components to find exact dir_id, not name+size
    3. PRAGMA: removed from SQL allowlist, only SELECT and WITH permitted
    4. CORS: add POST methods, AUTHORIZATION header, localhost origin
    5. Safelist: fail closed on load error (assume protected), log warning
    6. Remove dead function query_dirs_by_name
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    bluedusk and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    7075a47 View commit details
    Browse the repository at this point in the history
  3. feat: add --version flag to CLI

    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    bluedusk and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    d2ad6fe View commit details
    Browse the repository at this point in the history
  4. chore: bump version to 0.4.0

    New in 0.4.0:
    - --version flag
    - Security: random auth token, path-based cache delete, PRAGMA blocked
    - CORS: POST methods, localhost origin, auth headers
    - Safelist: fail closed on load error
    - Accuracy tests for dir sizes and symlinks
    - Remove dead code (query_dirs_by_name)
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    bluedusk and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    c55f77b View commit details
    Browse the repository at this point in the history
Loading