lens: point stale identity-binding doc references at the current id
commit
f3ca9c8lens: point stale identity-binding doc references at the current id
Two rustdoc comments still named the retired meta-ref.trailers rule for where a comment’s author/timestamp come from; both now name meta-ref.identity-binding, the id this phase’s kernel migration renamed it to. No behavior change: comment_ref(id) is unaffected by the id format switching from a minted uuid to a genesis oid.
Assisted-by: Claude:claude-sonnet-5
Reviews
No reviews of this commit yet — record a verdict below.
Start a review
crates/cli/ents-lens/src/lens.rs
@@ -426,7 +426,7 @@
/// The whole thread rooted at `root_id` as hover Markdown (`lens.hover`)
/// — root plus replies (`thread_of`), each stamped with the author and
- /// time read from its ref's tip mutation commit (`meta-ref.trailers`).
+ /// time read from its ref's tip mutation commit (`meta-ref.identity-binding`).
fn thread_markup(&self, root_id: &str) -> Result<lsp_types::MarkupContent> {
let rows = comment::thread_of(self.refs.as_ref(), &self.objects, root_id)?;
let mut with_authors = Vec::with_capacity(rows.len());
crates/cli/ents-lens/src/render.rs
@@ -162,7 +162,7 @@
/// bodies, states, and authorship — rendered as Markdown so the whole
/// conversation is readable in the buffer. `rows` are `(id, comment,
/// author, when)` in thread order; `author`/`when` come from each ref's
-/// mutation commit chain (`meta-ref.trailers`), read by the caller.
+/// mutation commit chain (`meta-ref.identity-binding`), read by the caller.
#[must_use]
pub fn hover_markup(rows: &[(String, Comment, String, String)]) -> MarkupContent {
let mut value = String::new();