[FEATURE]: Support path-scoped rule files with glob patterns
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Support path-scoped local rule files by allowing Markdown rule files to declare paths glob patterns in YAML frontmatter.
This is inspired by Claude Code’s .claude/rules behavior: Claude Code can scope a rule file to specific file paths, and applies those instructions when it reads a file matching the rule’s paths patterns. Kilo should support the same idea for local rule files.
Example rule file:
---
paths:
- "src/api/**/*.ts"
- "tests/**/*.test.ts"
---
# Project Guidance
Follow the conventions for files matching these paths.
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please reopen it or create a fresh new one.
It's sad that nobody even responded to this issue. At least tell me my idea sucks please. This just feels like you guys don't have enough people to get through all the issues in time. I'd be happy to help strenghten your team 😏.