patches: add path spec work