fix(agents): fix pre-share pending_sync assertion in retry regression test

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
Duncan
2026-08-29 16:06:24 -04:00
parent 4f681cd346
commit 8a795d113e

View File

@@ -871,8 +871,8 @@ fn test_publish_retry_seam_refreshes_affected_shared_team_head() {
.expect("shared head must exist before retry");
drop(conn);
assert!(
!head_before.pending_sync,
"pre-share head is already synced"
head_before.content.contains("Original prompt."),
"pre-retry head must reflect the original persona prompt"
);
// Simulate the persona being updated on disk (prompt rewritten).