# Tasks: Mount Specificity Ordering

- [x] Exploration written
- [x] Proposal written
- [x] Spec written
- [x] Design written
- [x] Implement `sort_volumes_by_specificity` in `docker.py`
- [x] Integrate sorting into `compile_compose` (manifest flow)
- [x] Integrate sorting into `_modify_compose_file` (legacy flow)
- [x] Add unit tests for helper and overlap scenarios
- [x] Run quality gates (pytest, tsc)
- [x] Commit and merge
