no-mistakes(review): Fix onboarding docs gate detection

This commit is contained in:
Jeremy McSpadden
2026-07-03 09:50:33 -05:00
committed by Codesmith
parent 6b0b5f1b2c
commit f29f981486
3 changed files with 16 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ function hasPackageFileInternal(cwd: string): boolean {
}
function listPlanningDocCandidates(cwd: string): string[] {
const roots = ['docs', 'adr', 'adrs', 'prd', 'prds', 'spec', 'specs', 'rfcs'];
const roots = ['docs', 'adr', 'adrs', 'prd', 'prds', 'spec', 'specs', 'rfc', 'rfcs'];
const candidates = new Set<string>();
const visit = (dir: string, relDir: string, depth: number): void => {