persona: the simulator's Interpreter call takes a fresh id, as its Projector and Persona calls do
A repeat run reused r1-t1-i and the connector refused the call as a replay. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e13824cabc
commit
5c703f263e
1 changed files with 2 additions and 1 deletions
|
|
@ -536,7 +536,8 @@ fn run(harness: &Harness, plan: &SimFile, members: &[Member], repeat: usize) ->
|
|||
{
|
||||
let before = held[at].0.borrow().clone();
|
||||
let heard = heard_of(&before, &waked.report["packet"], &here, [], &plan.operators, &cast, true, narration, prose);
|
||||
let made = interpret_and_put(*model, model_name, &format!("{key}-i"), &held[at], &Slug(localpart(&id).to_owned()), &before, &heard, narration, prose, &key, now, &|| now, &|_| Ok(()));
|
||||
// A call id the connector has not seen: the plan's clock repeats from run to run, so the call takes the wall clock, as `wake_id` does.
|
||||
let made = interpret_and_put(*model, model_name, &format!("{key}-i{}", Utc::now().timestamp_nanos_opt().unwrap_or_default()), &held[at], &Slug(localpart(&id).to_owned()), &before, &heard, narration, prose, &key, now, &|| now, &|_| Ok(()));
|
||||
let mut row = made.row;
|
||||
row["seq"] = json!(records[at].len());
|
||||
row["at"] = json!(now.to_rfc3339());
|
||||
|
|
|
|||
Loading…
Reference in a new issue