From 66cc6509ead937499b5de2831e39bc244f0d0462 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 2 Dec 2026 22:41:28 +0100 Subject: [PATCH] Elaboration: log each refusal's sites and each sweep's report Co-Authored-By: Claude Sonnet 5.5 --- crates/ghostlight/src/elaboration.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/crates/ghostlight/src/elaboration.rs b/crates/ghostlight/src/elaboration.rs index aafb0e0..7a5deff 100644 --- a/crates/ghostlight/src/elaboration.rs +++ b/crates/ghostlight/src/elaboration.rs @@ -646,6 +646,12 @@ impl ElaborationRunner { } Err(error) => return Err(snapshot_error(error)), }; + tracing::info!( + command_id = ?command_id, + refusal = refusals.len() + 1, + sites = %render_refusal_sites(&mismatches), + "elaboration patch refused" + ); // A rejected command mutates nothing, so reusing the // id is correct and the idempotency probe never sees // a conflicting commit. @@ -830,6 +836,17 @@ impl ElaborationRunner { } } } + tracing::info!( + claimed = report.claimed, + started = report.started, + committed = report.committed, + rejected = report.rejected, + superseded = report.superseded, + no_patch = report.no_patch, + abandoned = report.abandoned, + failed = report.failed.len(), + "elaboration sweep" + ); quarantine.map_or(Ok(report), Err) }