From 1d71809ee2eaea314b6f6a24550afa49d1c8afa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A0=83?= Date: Wed, 19 Aug 2026 14:49:15 +0800 Subject: [PATCH] fix(agent_hub): route qoder persona into AGENTS.md instead of agents/{name}.md --- ms_agent/agent_hub/_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ms_agent/agent_hub/_commands.py b/ms_agent/agent_hub/_commands.py index 5937ff29d..787193ee2 100644 --- a/ms_agent/agent_hub/_commands.py +++ b/ms_agent/agent_hub/_commands.py @@ -814,6 +814,8 @@ def _file_per_agent_identity_path(dst_spec: WorkspaceSpec) -> str | None: agent name so converted persona content can be routed into that file. Returns ``None`` when the layout has no single ``{name}`` file pattern. """ + if dst_spec.product_name == 'qoder': + return None name = dst_spec.agent_name or DEFAULT_AGENT_NAME for pattern in dst_spec.patterns: # Only single-file placeholders (no wildcard) identify the persona file;