feat: default master agent evolution to autonomous

This commit is contained in:
kris
2026-04-16 05:23:16 +08:00
parent de6257a819
commit 504d112218
4 changed files with 8 additions and 5 deletions

View File

@@ -40,6 +40,8 @@ test.beforeEach(async () => {
});
test("recording repeated deterministic questions creates a pending fast_path_rule proposal in controlled mode", async () => {
await setMasterAgentEvolutionMode("controlled");
const result = await recordMasterAgentEvolutionSignal({
kind: "repeated_question",
projectId: "master-agent",

View File

@@ -32,10 +32,10 @@ test.beforeEach(async () => {
await mkdir(runtimeRoot, { recursive: true });
});
test("boss state 初始化时包含 master agent evolution 默认配置与空集合", async () => {
test("boss state 初始化时包含 autonomous 默认配置与空集合", async () => {
const state = await readState();
assert.equal(state.masterAgentEvolutionConfig.mode, "controlled");
assert.equal(state.masterAgentEvolutionConfig.autoApplyLowRiskRules, false);
assert.equal(state.masterAgentEvolutionConfig.mode, "autonomous");
assert.equal(state.masterAgentEvolutionConfig.autoApplyLowRiskRules, true);
assert.deepEqual(state.masterAgentEvolutionSignals, []);
assert.deepEqual(state.masterAgentEvolutionProposals, []);
assert.deepEqual(state.masterAgentEvolutionRules, []);