Intelligent Semantic Rule Injection #6427
insight-automate
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
RooCode currently injects all applicable rules into every chat session via the system prompt, regardless of relevance. This creates significant issues:
While custom modes exist for task specialization, creating modes for every variant (Next.js App Router vs Pages Router vs Flask backend, etc.) leads to mode proliferation. Similarly, different parts of a codebase need different rules without warranting separate modes.
Current Behavior
From the documentation:
All applicable rules are combined and injected into every system prompt, whether relevant or not.
Proposed Feature: Smart Rules
Introduce intelligent rule injection that automatically determines which rules are relevant to the current task and includes only those in the chat context.
User Experience
Setup
Users can create "smart rules" with explicit context triggers alongside existing rules:
Prefer RLS policies over client-side filtering
...
Rule Structure
Each smart rule includes:
Automatic Selection
When users interact with RooCode, the system:
Example Scenarios
Key Requirements
Benefits
This feature would enable precise, contextually-intelligent rule management with user-controlled activation criteria, allowing rich guidance libraries while keeping conversations focused and efficient.
Beta Was this translation helpful? Give feedback.
All reactions