Import CVS from dupes
Implement inferred CVS dependency

Fixes #24444.
Closes #24445.
Closes #24458.