Repository navigation
refactor(core): split operations.rs by concern, part 1 (#1519) - #1563
Merged
Merged
Conversation
operations/ is a module directory; lookup, tags, update and point-in-time methods moved verbatim into their own files.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
operations.rsbecomes the module directoryoperations/(a rename, git showsoperations.rs -> operations/mod.rs).impl crate::Utekeblock:lookup.rs(get_by_id,get_by_ids,resolve_id_prefix,count,count_by_tag),tags.rs(tags_with_counts,rename_tag,delete_tag),update.rs(update_memory,update_memory_detailed) andtime_travel.rs(recall_at_time,list_at_time,memory_existed_at). About 375 lines.super::time_travel::memory_existed_at).Why
#1519 part 1 (round 2 epic #1523):
operations.rsis oneimpl Utekewith eight concerns. Pure move, no interface change; the next parts move write, recall, forget and listing the same way.Testing
mod,use super::*;,impl crate::Uteke {, closing braces, headers and the one import).cargo test --workspace(core lib 907 passed, same count as before), clippy-D warnings, fmt, docgen (no diff). No public path changed (uteke_core::{RememberOutcome, UpdateOutcome}stay re-exported from the same module).