fileMatch steering should match across workspace roots in multi-root workspaces
Kiro Product
IDE
Feature Description
Problem
In a multi-root workspace, steering files with inclusion: fileMatch only match files within their own workspace root. A steering file in root A with pattern /repoB/ won't activate when files from root B are read into context.
This is true at both workspace-level (.kiro/steering/) and user-level (~/.kiro/steering/).
Use Case
Teams maintain shared steering in a central specs/design repo (always open as a workspace root). They want context-specific steering to activate automatically when working in other repos added to the same multi-root workspace. For example:
- UI conventions only activate when touching frontend repo files
- Backend conventions only activate for backend repos
- Platform team rules activate when working in platform repos
Current Behavior
fileMatchPattern: "/other-repo/" never matches files from another workspace root, even when both roots are open in the same workspace.
Desired Behavior
fileMatchPattern should match against the full resolved path (or at minimum across all workspace roots), not just paths relative to the steering file's own root.
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues relate to problems with .kiro/steering/ files not working properly in workspace contexts - the new issue describes fileMatch patterns not working across workspace roots, while #8956 describes steering files not being injected into conversation context, which are closely related workspace steering functionality problems
This is separate from https://github.com/kirodotdev/Kiro/issues/8956 which deals with steering files not being applied. While it is similar, I get different behaviour - my steering files can be applied from different workspaces, but only apply to files within their directory structures.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Thanks for raising this! We've marked it as a feature request for the team to evaluate. We'll update this issue if it gets prioritized.
Thanks for raising this.
Closing this as stale -- it hasn't had any activity in several months. If you're still seeing this on the current version, please open a new issue with your Kiro version, OS, and reproduction steps. To update, download from kiro.dev.
Hi @AnilMaktala,
In June, you stated:
We've marked it as a feature request for the team to evaluate. We'll update this issue if it gets prioritized.
The issue has now been closed as stale because it “hasn't had any activity in several months.” Could you clarify what community activity was expected after the issue had been acknowledged and passed to the team for evaluation?
The original reporter had already provided the use case and desired behaviour. From a contributor's perspective, the next expected activity was therefore an update from the Kiro team. Closing acknowledged feature requests because contributors are waiting for that update makes it difficult to understand how the community should keep them under consideration.
Our team is still experiencing this behaviour in Kiro IDE 1.1.14. We use a monorepo with multi-root workspaces similar to this simplified structure:
.
├── shared-kiro-tools/
│ └── .kiro/
│ ├── steering/
│ │ └── code-conventions-typescript.md
│ ├── hooks/
│ └── skills/
├── csharp-module-1/
│ └── .kiro/
├── csharp-module-2/
│ └── .kiro/
├── typescript-module-1/
│ └── .kiro/
├── typescript-module-2/
│ └── .kiro/
├── ...
└── workspaces/
├── module-1.code-workspace
├── module-2.code-workspace
└── ...
Each workspace includes shared-kiro-tools alongside one or more implementation modules. Kiro displays shared-kiro-tools/.kiro/steering/code-conventions-typescript.md in the workspace's list of available steering files, which reasonably suggests that the file can apply throughout the multi-root workspace.
However, this steering file uses:
inclusion: fileMatch
fileMatchPattern: ["**/*.ts", "**/*.tsx", "**/*.js"]
The patterns are evaluated only against files under the shared-kiro-tools workspace root. They therefore do not activate for TypeScript or JavaScript files in the other workspace roots.
This distinction is not apparent in the UI. As a result, developers can believe that shared steering is active while generating and reviewing code when it is not actually being included.
This also appears related to #5027, where conditional inclusion does not work as expected for global steering. Both cases prevent centrally maintained, conditionally included steering from being applied across projects.
Could this issue please be reopened now that current-version reproduction details and an additional production use case have been provided? If acknowledged feature requests require periodic comments or reactions to remain open, could that requirement also be documented?
Kiro IDE details
Version: 1.1.14 (user setup)
VSCode Version: 1.131.0
Commit: f694ef1b025756b1ae27ae7c3d9ed4215b0160fe
Date: 2026-09-10T21:45:07Z
Electron: 42.7.0
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.26200