Skip to content

fix(devspec_locate): support case-insensitive docs/ and naming conventions#397

Merged
bakeb7j0 merged 1 commit into
kahuna/390-bug-drainfrom
fix/276-devspec-locate-case-insensitive
May 5, 2026
Merged

fix(devspec_locate): support case-insensitive docs/ and naming conventions#397
bakeb7j0 merged 1 commit into
kahuna/390-bug-drainfrom
fix/276-devspec-locate-case-insensitive

Conversation

@bakeb7j0
Copy link
Copy Markdown
Contributor

@bakeb7j0 bakeb7j0 commented May 5, 2026

Summary

Fixes devspec_locate to handle multiple project conventions:

  • Both lowercase docs/ and capitalized Docs/ directory layouts
  • Multiple file naming conventions (<project>-devspec.md, devspec-<project>.md, dev-spec.md)

Changes

  • Modified handlers/devspec_locate.ts to accept case-insensitive directory and multiple naming patterns
  • Updated tests/devspec_locate.test.ts to cover all naming variants

Tests

  • ✅ All 2075 tests pass
  • ✅ New tests cover lowercase/capitalized docs, both naming patterns

Closes #276

- Accept both 'docs/' and 'Docs/' directory layouts
- Accept multiple naming conventions: <project>-devspec.md, devspec-<project>.md, dev-spec.md
- Updated tests to cover all naming variants

Closes #276
@bakeb7j0 bakeb7j0 merged commit e2dc626 into kahuna/390-bug-drain May 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants