Repository navigation
feat(ingest): --timestamp date anchors for remember and text import - #1238
Merged
Merged
Conversation
…1232) Prepend a [Session date/time: ...] header to stored content so lexical and vector recall can answer temporal questions without metadata joins. - remember --timestamp / import --format text --timestamp (opt-in) - RFC 3339, YYYY-MM-DD HH:MM:SS, and YYYY-MM-DD accepted; invalid values fail loudly before any write - never double-prefixes already-anchored content - server-path remember forwards the anchor - rejected explicitly for --batch-dir (per-file anchors are ambiguous) Measured on the internal conversation eval: temporal QA 15% -> 100%. Closes #1232
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Sep 12, 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
Adds an opt-in timestamp anchor for temporal recall (#1232):
uteke remember "..." --timestamp <DATETIME>prepends a[Session date/time: <RFC3339>]header to the stored contentuteke import --format text --timestamp <DATETIME>prepends the same header to the file content before chunking, so every imported chunk carries the anchorYYYY-MM-DD HH:MM:SS, andYYYY-MM-DD; parsing failures are rejected before any write (same fail-loud pattern as author_type not echoed in POST /remember and CLI --json responses #1106)rememberforwards the timestamp in the request bodyWhy
Timestamps normally live only in metadata columns, invisible to vector/FTS recall. Embedding an absolute-date anchor into the stored text makes temporal questions ("when did X happen", "what changed before Y") answerable by the existing retrieval paths with zero query-side changes. Measured on the internal conversation evaluation: temporal QA 15% -> 100% with anchors vs without; end-to-end eval gains are documented in the linked research notes.
Closes #1232
Testing
uteke-clitest suite: 73/73 passcargo clippy -p uteke-cli --all-targets: 0 warnings--timestamp garbagefails loudly with no row stored