You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 03a26e9
Browse filesBrowse the repository at this point in the historyBrowse files
feat(rap-steering-server): embed global steering files into the system prompt
Uses the new `systemPrompt` manifest field: the toolset handler builds a
fragment embedding the user's GLOBAL (home-directory) steering files —
INFINITY.md/CLAUDE.md-style prose and ~/.kiro/steering/** etc. — each
delimited with its `~/` path, rebuilt per manifest fetch so new sessions
pick up edits without a server restart.
* Project-local steering files are NOT embedded (they require a cloned
repo) and stay on the `list_steering`/`load_steering` flow; the fragment
says so explicitly.
* Structured config (`.json`, e.g. `.claude/settings.json`) is never
embedded — not instructions, may contain secrets.
* Budgets: 8 KiB per file, 14 KiB total (under the daemon's 16 KiB
per-server cap so the runtime never truncates mid-file); oversized files
are truncated with a `load_steering` pointer, overflow files are listed
for on-demand loading.
* Reconciled guidance: `list_steering`'s description and the user-level
files note now say global content is usually already embedded, instead
of urging a load of every global file.
description:Some("Discover and load project steering files (CLAUDE.md, AGENTS.md, .kiro/steering/, etc.)".to_owned()),
33
33
endpoint: endpoint.to_owned(),
34
34
needs_migration:false,
35
-
system_prompt:None,
35
+
system_prompt,
36
36
tools:vec![
37
37
ToolDef{
38
38
name:"list_steering".to_owned(),
39
-
description:"List all known steering/instruction files found in a project root. Call this immediately at the start of a session, before doing any other work, so the user's instructions can guide the rest of the task. Scans for CLAUDE.md, AGENTS.md, .kiro/steering/, .cursorrules, .github/copilot-instructions.md, .windsurfrules, CONVENTIONS.md, .cursor/rules/, .ai/rules/, etc. Also scans the user's homedirectory for user-level (non-project) steering files, returned with a `~/` prefix — these contain the user's global preferences and should generally be loaded. Returns deduplicated relative paths (symlinks resolved).".to_owned(),
39
+
description:"List all known steering/instruction files found in a project root. Call this immediately after cloning a repository, before doing any other work, so the project's instructions can guide the rest of the task. Scans for CLAUDE.md, AGENTS.md, .kiro/steering/, .cursorrules, .github/copilot-instructions.md, .windsurfrules, CONVENTIONS.md, .cursor/rules/, .ai/rules/, etc. Also lists the user's home-directory steering fileswith a `~/` prefix — their content is usually already embedded in your system prompt; load any that are not. Returns deduplicated relative paths (symlinks resolved).".to_owned(),
0 commit comments