persona-delta-verbs: use fresh daemon when seeding non-intention actions test
This commit is contained in:
parent
4285bf0bf8
commit
65cb5dc0cc
1 changed files with 6 additions and 4 deletions
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue