pub fn render_sync_brief_for(
engine: &Engine,
workspace_root: &Path,
binding_id: &str,
) -> Result<String, RenderBriefError>Expand description
Render the sync brief (C2/C3) for a binding — the single channel
through which maintenance-writing work reaches an agent. The one engine entry
point the CLI (projection brief --sync) and UniFFI share. It assembles both
inputs in one render: the live cursor slice (compute_source_cursor) and
the open findings the verify pass recorded (current(key)), plus the adopt
framing when the mem predates its binding (E1). Read-only on the destination
mem (shared &Engine) — every repair happens only when an agent acts on this
brief through the normal MCP mutation surface.