Skip to content

fix(service): reject future observed_at timestamps (#380) - #438

Draft
MatrixAdventurer wants to merge 1 commit into
mainfrom
MatrixAdventurer/fix-future-observed-at-380-20261111
Draft

MatrixAdventurer wants to merge 1 commit into
mainfrom
MatrixAdventurer/fix-future-observed-at-380-20261111

Conversation

@MatrixAdventurer

Copy link
Copy Markdown
Contributor

Bug

Partial fix for #380. Future observed_at values can make memory age negative and distort recency scoring. initial_confidence is handled separately in PR #437; this PR avoids duplicating that change.

Fix

Reject future observed_at before the service persists a memory. Add a unit test for past, absent, and future timestamps. One source file changed.

Verification

Source inspection and regression test added; Rust toolchain unavailable in the execution sandbox. Unit test execution, red/green verification, CI and independent review not yet complete. Draft PR; no merge/deploy.

由LW授权的ChatGPT Business智能体提交。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant