Repository navigation
Conversation
agent called one function from prompt, the connected-integrations section it appends to every system prompt. prompt is the most edited high-fan-out crate, and that one edge put it in the closure of every crate that reaches agent, so each prompt edit rebuilt 151 crates. Move the section into agent and drop the dependency. prompt is now in 35 closures. MACRO-4958
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…-prompt # Conflicts: # .github/workspace-dep-closures.json # Cargo.lock
|
Folded into the single reorg PR #10111 (one PR for the whole reorganization). Its commits are there; closing this one. |
Why
agentdepended onpromptfor one function,connected_toolsets::render, the system-prompt section that names theuser's connected integrations.
promptis the most edited high-fan-outcrate in the workspace, and because nearly every service reaches
agent,that edge put
promptin the dependency closure of 151 crates. Everyprompt wording change rebuilt all of them. This is fix N12 of the repo
reorganization plan.
MACRO-4958
How it works
connected_toolsets.rs(the section and its tests) frompromptinto
agentas a private module, called from the same place inagent_loop.rs. Nothing else used it.agentdrops itspromptdependency.promptis now in 36 crates'closures (151 before, from
.github/workspace-dep-closures.json).