feat: default master agent evolution to autonomous
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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, []);
|
||||
|
||||
Reference in New Issue
Block a user