mirror of
https://github.com/Significant-Gravitas/AutoModerate.git
synced 2026-11-09 17:54:01 -10:00
- run.py and the __init__ SocketIO comment referenced the eventlet worker; production uses gthread. Copy-pasting the old run.py guidance would have redeployed the exact config wsgi.py warns against. - README/CLAUDE tech-stack tables said Flask 2.3.3 (actual: 3.1.3); CLAUDE architecture tree listed a rule_cache.py that doesn't exist. - Drop the per-request token count that was computed and stored on the content object but never read (the AI paths recount as needed). - Remove the conflicting-AI-decisions manual-review branch: the pipeline early-exits on the first AI match, so it could never see >1 AI result. - Read/reset the process-global cache-store counter under the cache lock so it can't tear against the locked increment.