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

fix:代码回合,auto_save默认为true

xinyang_bali51bde1452ead
diff --git a/deploy/yuanrong/conf/gateway-config-yuanrong.template.yaml b/deploy/yuanrong/conf/gateway-config-yuanrong.template.yaml
index c8ece4b128..f65b947f4a 100644
--- a/deploy/yuanrong/conf/gateway-config-yuanrong.template.yaml
+++ b/deploy/yuanrong/conf/gateway-config-yuanrong.template.yaml
@@ -395,7 +395,7 @@ react:
evolution:
enabled: true # true = 启用在线 Skills 自演进(挂载后被动扫描始终开启)
review_trigger: false # true = 软触发 review follow-up
- auto_save: false # true = 自演进审批无需用户点击自动通过(内部开关)
+ auto_save: true # true = 自演进审批无需用户点击自动通过(内部开关)
skill_create: false # true = 注册 SkillCreateRail(单 agent)及 TeamSkillCreateRail(leader)
skill_base_dir: "agent/skills" # Skill 根目录
a2x_registry:
diff --git a/docs/en/Configuration.md b/docs/en/Configuration.md
index 571c0ca34c..068573aa08 100644
--- a/docs/en/Configuration.md
+++ b/docs/en/Configuration.md
@@ -237,7 +237,7 @@ The frontend shows the following options under **Self-Evolution Configuration**:
| --- | --- | --- | --- |
| **Enable Skills Self-Evolution** (master switch) | `react.evolution.enabled` | `true` | Master switch for self-evolution. When on and the evolution rail is mounted, passive signal scanning is always available; when off, the entire self-evolution chain (including the `/evolve` manual command) is unavailable |
| **Soft review trigger** | `react.evolution.review_trigger` | `false` | When enabled, periodically enqueue review self-check follow-ups. Env `EVOLUTION_REVIEW_TRIGGER` takes precedence |
-| **Auto-save approvals** | `react.evolution.auto_save` | `false` | When enabled, evolution approvals auto-pass without user clicks |
+| **Auto-save approvals** | `react.evolution.auto_save` | `true` | When enabled, evolution approvals auto-pass without user clicks; persisted experiences trigger automatic version merge |
| **Auto-suggest new skill creation** | `react.evolution.skill_create` | `false` | When enabled, the system can propose creating a new Skill when no suitable Skill exists. Env `SKILL_CREATE` takes precedence |
> 💡 **Note**: `react.evolution.enabled` is the product master switch (on by default). After the evolution rail is mounted, passive scanning is always on; there is no separate `auto_scan` / `signal_trigger` sub-switch. `review_trigger` / `auto_save` / `skill_create` are optional. With `skill_create` off and `review_trigger` off, passive scanning still runs and manual `/evolve` remains available. Execution trajectories always dump to the default directory `~/.jiuwenswarm/agent/evolution_trajectories`; config and env overrides are not supported.
diff --git "a/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md" "b/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
index 60dfe6a65b..9c9d47c086 100644
--- "a/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
+++ "b/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
@@ -235,7 +235,7 @@ Embed 模型的主要作用:
| --- | --- | --- | --- |
| **启用 Skills 自演进**(总开关) | `react.evolution.enabled` | `true` | 自演进功能总开关。开启并挂载演进 Rail 后,被动信号扫描始终可用;关闭后整条自演进链路(含 `/evolve` 手动指令)均不可用 |
| **软触发 Review** | `react.evolution.review_trigger` | `false` | 开启后周期性入队 review 自检 follow-up。环境变量 `EVOLUTION_REVIEW_TRIGGER` 优先 |
-| **自动保存审批** | `react.evolution.auto_save` | `false` | 开启后演进审批无需用户点击即可自动通过 |
+| **自动保存审批** | `react.evolution.auto_save` | `true` | 开启后演进审批无需用户点击即可自动通过;经验落盘后会自动版本合并 |
| **自动建议创建新技能** | `react.evolution.skill_create` | `false` | 开启后,系统可以在缺少合适 Skill 时提出自动创建建议。环境变量 `SKILL_CREATE` 优先 |
> 💡 **说明**:`react.evolution.enabled` 是产品总开关(默认开启)。挂载演进 Rail 后被动扫描始终开启,不再提供独立的 `auto_scan` / `signal_trigger` 子开关。`review_trigger` / `auto_save` / `skill_create` 为可选子开关;当 `skill_create` 关闭且未开启 `review_trigger` 时,系统仍会做被动扫描,并响应手动 `/evolve` 指令。执行轨迹固定落盘到默认目录 `~/.jiuwenswarm/agent/evolution_trajectories`,不再通过配置项或环境变量覆盖。
diff --git a/jiuwenswarm/resources/config.team.distributed.leader.yaml b/jiuwenswarm/resources/config.team.distributed.leader.yaml
index 5d4be8f009..f1ec1655e7 100644
--- a/jiuwenswarm/resources/config.team.distributed.leader.yaml
+++ b/jiuwenswarm/resources/config.team.distributed.leader.yaml
@@ -237,7 +237,7 @@ react:
evolution:
enabled: true # true = 启用在线 Skills 自演进(挂载后被动扫描始终开启)
review_trigger: # true / false = 软触发 review follow-up;默认 false
- auto_save: false # true = 自演进审批无需用户点击自动通过(内部开关)
+ auto_save: true # true = 自演进审批无需用户点击自动通过(内部开关)
skill_base_dir: "agent/skills" # Skill 根目录
a2x_registry:
base_url: "http://127.0.0.1:8000"
diff --git a/jiuwenswarm/resources/config.team.distributed.teammate.yaml b/jiuwenswarm/resources/config.team.distributed.teammate.yaml
index 90183ecbd0..13e9b3db38 100644
--- a/jiuwenswarm/resources/config.team.distributed.teammate.yaml
+++ b/jiuwenswarm/resources/config.team.distributed.teammate.yaml
@@ -242,7 +242,7 @@ react:
enabled: true # true = 启用在线 Skills 自演进(挂载后被动扫描始终开启)
review_trigger: # teammate 默认不启用软触发;true / false 显式覆盖
skill_create: false # true = 注册 SkillCreateRail(单 agent)及 TeamSkillCreateRail(leader)
- auto_save: false # true = 自演进审批无需用户点击自动通过(内部开关)
+ auto_save: true # true = 自演进审批无需用户点击自动通过(内部开关)
skill_base_dir: "agent/skills" # Skill 根目录
a2x_registry:
base_url: "http://127.0.0.1:8000"
diff --git a/jiuwenswarm/resources/config.yaml b/jiuwenswarm/resources/config.yaml
index 4bf37fa3e6..568656505f 100644
--- a/jiuwenswarm/resources/config.yaml
+++ b/jiuwenswarm/resources/config.yaml
@@ -623,8 +623,7 @@ react:
# Skills 在线自演进配置
evolution:
enabled: true # true = 启用在线 Skills 自演进(挂载后被动扫描始终开启)
- review_trigger: # true / false = 软触发 review follow-up;默认 false
- auto_save: false # true = 自演进审批无需用户点击自动通过(内部开关)
+ auto_save: true # true = 自演进审批无需用户点击自动通过(内部开关)
skill_create: false # true = 注册 SkillCreateRail(单 agent)及 TeamSkillCreateRail(leader)
skill_base_dir: "agent/skills" # Skill 根目录
a2x_registry: