From 65cb5dc0cc6de4753692abe92417124eabf19870 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Dec 2026 06:27:34 +0100 Subject: [PATCH] persona-delta-verbs: use fresh daemon when seeding non-intention actions test --- crates/eureka-state/tests/cli.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/crates/eureka-state/tests/cli.rs b/crates/eureka-state/tests/cli.rs index 1ecfbd9..6ec7235 100644 --- a/crates/eureka-state/tests/cli.rs +++ b/crates/eureka-state/tests/cli.rs @@ -3451,7 +3451,9 @@ fn persona_bond_mood_intention_round_trip_cas() { assert!(doc_int["candidateActions"]["actions"][1].get("rationale").is_none()); // Non-intention candidateActions entries neither block intention add nor allow intention drop. - let mut with_other = doc_int; + let (root2, daemon2) = mind(vec![]); + let server2 = serve(root2, daemon2); + let mut with_other = persona(INSTANCE, "2026-10-10T10:00:00Z"); with_other["candidateActions"]["actions"].as_array_mut().unwrap().extend([ json!({ "id": "act-speak", "status": "active", "actionType": "speak", @@ -3468,10 +3470,10 @@ fn persona_bond_mood_intention_round_trip_cas() { "createdAt": "2026-10-10T10:00:00Z", "updatedAt": "2026-10-10T10:00:00Z" }), ]); - seed_persona(server.addr, &with_other); + seed_persona(server2.addr, &with_other); for same_summary in ["Non-intention speak", "Non-intention custom"] { let ok = at( - server.addr, + server2.addr, &["persona", "intention", "add", "--faculty", "Hands", "--agent", "a", "--session", "s", "--summary", same_summary], None, ); @@ -3479,7 +3481,7 @@ fn persona_bond_mood_intention_round_trip_cas() { } for non_int_id in ["act-speak", "act-custom-other", "i-nope"] { let missing_drop = at( - server.addr, + server2.addr, &["persona", "intention", "drop", "--faculty", "Hands", "--agent", "a", "--session", "s", non_int_id], None, );