Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

docs(team): send only user-facing deliverable via send_file_to_user

openJiuwen-bot357ff4859a2c
diff --git a/jiuwenswarm/agents/harness/team/rails/team_workspace_report_path_rail.py b/jiuwenswarm/agents/harness/team/rails/team_workspace_report_path_rail.py
index 2234f5923f..c2cfc1d413 100644
--- a/jiuwenswarm/agents/harness/team/rails/team_workspace_report_path_rail.py
+++ b/jiuwenswarm/agents/harness/team/rails/team_workspace_report_path_rail.py
@@ -49,8 +49,8 @@ class TeamWorkspaceReportPathRail(DeepAgentRail):
f"- Team workspace absolute root: `{self._root_dir}`\n"
f"- Internal mount path: `{mount}`\n"
"- Use the internal mount path only for tool read/write operations.\n"
- "- For every final deliverable file, call `send_file_to_user` with its real absolute filesystem path "
- "before marking the task complete or sending the completion message.\n"
+ "- For the user-facing final deliverable, call `send_file_to_user` once with its real absolute "
+ "filesystem path before task completion; do not also send `.team/` collaboration copies to the user.\n"
"- A file name or path in `send_message`, the final response, or a task-completion summary does not "
"deliver the file and must not replace `send_file_to_user`.\n"
"- After `send_file_to_user` succeeds, report the real absolute filesystem path under the team "