Skip to content

feat(drive): add exclude rule scanning - #97

Merged
tempofeng merged 2 commits into
mainfrom
codex/drive-exclude-scanner
Jul 24, 2026
Merged

feat(drive): add exclude rule scanning#97
tempofeng merged 2 commits into
mainfrom
codex/drive-exclude-scanner

Conversation

@pocketsharkk

Copy link
Copy Markdown
Collaborator

WSPC Todo

  • Ticket: Parse Drive exclude rules and prune local scans (tod_01KY997DBC8PFJJKYFJ6S5EJ95)
  • Source todo: Add Drive sync exclude rules (tod_01KY981JSZ4PQ234RX32ANKXRK)
  • Spec: WSPC Add Drive sync exclude rules (tod_01KY981JSZ4PQ234RX32ANKXRK)

Summary

  • add a validated .wspc-drive/ignore parser and case-sensitive exact/directory matcher
  • exclude matching files and prune matching directories during full scans
  • remove excluded file entries from incremental scan caches without conflating file and directory rules
  • add the approved Drive exclude design spec and TDD regression coverage

Test Plan

  • npm test -- test/handwritten/drive/exclude-rules.test.ts test/handwritten/drive/scanner.test.ts
  • npm run typecheck
  • CHOKIDAR_USEPOLLING=1 env -u NO_COLOR TERM=xterm-256color npm test
  • npm run build
  • git diff --check

@tempofeng
tempofeng marked this pull request as ready for review July 24, 2026 06:13
@tempofeng
tempofeng merged commit 90cb208 into main Jul 24, 2026
3 checks passed
@tempofeng
tempofeng deleted the codex/drive-exclude-scanner branch July 24, 2026 06:15
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.

2 participants