When adding or modifying code, ensure comments/doc comments are written to explain meaning and rationale—not just what the code does or where it’s mutated.
Apply this checklist:
#[cfg] helpers) between a doc comment and the item it documents; structure code so the comment clearly binds to the intended symbol.Example (clarifying non-canonical state intent):
/// Current known statuses as reported to clients.
/// Not the canonical source of truth; once canonical indexing state is wired in,
/// this transitional cache should be removed.
codebase_index_statuses_by_repo: HashMap<String, RemoteCodebaseIndexStatus>,
Enter the URL of a public GitHub repository