fix: code-analysis only happens in collective directory