Delete explicit adult-content promotion with a button/site/bot funnel (#145) #49
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/jev_antispam_bot!49
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/145-adult-promo-rule"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes agentboard #145 (https://agentboard.icefish-betta.ts.net/#145).
What
Adds a fourth post-model promo-pattern rule,
adult_content_promo. It deletes explicit adult-content promotion when it comes with a funnel and Laya keeps it at a score of 0.30 or more. It runs through the same path ascrypto_trade_ask, and the prompt, the model, the 0.80 gate andREPEAT_MIN_SCOREare unchanged.@…bothandle, a t.me link or a DM call (a plain web link is a shared article, not a funnel).message_analysis_startednow carriesinlineButtonCountandforwardOriginKind. These are counts and type only, with no labels, URLs or origin names.Replay (prod capture, 136,295 texts, 13.9 days)
The other rules' match sets are identical to
main.The incident itself is not in the capture. Message 139884 and its six 0.4999 copies are a different forwarded post, so the ticket's trace is mis-attributed (details are in
docs/promo-patterns.md).Tests
bun run check: typecheck clean, 687 pass, 0 fail. This covers held-out ads, must-keep controls, a handler test for the forwarded five-button incident at 0.4999 (including telemetry privacy), a 4,096-character performance check and a pinned review corpus (181 ads and 256 conversations from 5 review rounds, with exact known residuals of 18 misses and 24 matches).