mirror of
https://github.com/langchain-ai/deepagents.git
synced 2026-07-25 04:46:03 -04:00
77603c69e2
Deep Agents Code now emits a `DEBUG` log when a higher-precedence skill overrides another skill with the same name, aiding skill-resolution debugging. --- Skill sources (built-in, plugin, global, project) are merged by precedence and a higher-precedence skill silently replaces a lower-precedence one with the same name. This override is intentional and unchanged; this PR makes it diagnosable by routing both skill-discovery merge points — the CLI `skills list` loader (`skills/load.py`) and the runtime `PluginSkillsMiddleware` — through a shared `merge_skill` helper that emits a `DEBUG` log on each effective replacement, recording the skill name plus the previous and replacement source paths and labels. Made by [Open SWE](https://openswe.vercel.app/agents/5f97f80c-bed1-0fa5-d0b1-ce67060df37c) --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>