Message notification router - #9
Open
mehedi-wsl wants to merge 9 commits into
Open
Conversation
Documents the routing design and the measurements behind it: - engagement signatures: 412 events collapse to 5 tuples, a recoverable label channel; fast-open-no-reply maps to mute, not interest - retrieval key: (user, sender) is unanimous for 79/110 vs global sender reputation mixed for 81/110, so reputation is a feature, never a gate - six-layer decision stack with safety as an unconditional top layer - four disproved heuristics recorded with their counter-evidence - confidence bands per action, calibrated to the 30 solved rows - pluggable media backend with on-disk transcript cache for determinism - open questions: DND and payment conventions have zero solved-row coverage Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Without --llm the reason rewrite was skipped entirely, so a keyless run produced 12 generic template reasons instead of the 77 written ones in the submitted output.csv. The cache already held them; only the flag gate stood in the way. The model layer is now frozen rather than disabled when --llm is absent: cached answers replay, no backend is contacted, and the keyless run is byte-identical to the submitted file. Routing is untouched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Cache keys include the serving model's identity, which is correct while building but breaks reproduction: on a machine with no key the current identity is not the one that filled the file, so every lookup missed and a clean clone produced 12 generic reasons instead of the 77 written ones. The file now records who wrote it and replay consults those names in turn. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
No description provided.