Skip to content

fix(rules): include the macOS Chrome cache - #92

Open
be-student wants to merge 1 commit into
Coding-Moves:mainfrom
be-student:fix/chrome-macos-cache
Open

fix(rules): include the macOS Chrome cache#92
be-student wants to merge 1 commit into
Coding-Moves:mainfrom
be-student:fix/chrome-macos-cache

Conversation

@be-student

Copy link
Copy Markdown

Fixes #88.

What & why

Adds Chrome's macOS ~/Library/Caches/Google/Chrome/<Profile>/Cache path to the existing safe browser-cache rule. This changes matching files from unknown to safe; a neighboring Chrome History path remains unknown in the regression coverage.

Checklist

  • cargo fmt --all and strict clippy pass for diskern-core and diskern-cli
  • All 59 core and CLI tests pass
  • Commit is one focused rule change
  • Deterministic verdict and quarantine-only safety principles remain intact

Chrome stores its regenerable cache under Library/Caches on macOS, outside both existing Windows and Linux patterns. Add the platform path while pinning a neighboring profile History file as unknown so the safe rule cannot drift into user data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chrome's macOS cache path matches no rule, so it never reaches the report

1 participant