Skip to content

Reassess cleared messages instead of caching NOT_SPAM - #558

Merged
Szer merged 1 commit into
mainfrom
codex/vahter-reassess-not-spam
Oct 11, 2026
Merged

Szer merged 1 commit into
mainfrom
codex/vahter-reassess-not-spam

Conversation

@Szer

@Szer Szer commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Repeated messages could inherit an earlier NOT_SPAM verdict even after cross-chat history revealed a campaign. Text triage now neither saves nor reuses NOT_SPAM, including existing rows and sender-scoped mode. SPAM and SKIP retain their cache scopes and TTLs; in-flight coalescing is limited to the same chat, message ID, and text.

Black-box regressions cover a NOT_SPAM → NOT_SPAM → SPAM sequence with updated history and deletion, existing clearances, concurrent copies, and global-cache-disabled mode. The four regressions run against the original implementation failed as expected.

Validation: all 320 Vahter integration tests, all 133 Vahter unit tests, and the mandatory comment gate pass locally.

Tradeoff: repeated cleared messages and concurrent uncached copies make additional LLM calls.

@Szer
Szer marked this pull request as ready for review October 11, 2026 23:04
@Szer
Szer merged commit 296b78c into main Oct 11, 2026
8 checks passed
@Szer
Szer deleted the codex/vahter-reassess-not-spam branch October 11, 2026 23:12
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