-
Notifications
You must be signed in to change notification settings - Fork 27
Blasp v4: Driver-based architecture rewrite #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
a7c93f7
feat: add Blaspable Eloquent model trait for automatic profanity dete…
deemonic 78b4d1e
refactor: remove legacy v3 source code
deemonic 882f22c
feat: add v4 core engine with driver-based architecture
deemonic 0242d3d
feat: add v4 Laravel integration layer
deemonic 5b64f05
chore: update config and autoload for v4 namespace
deemonic fc5daa1
test: update test suite for v4 API
deemonic 0b56eae
docs: rewrite README for v4
deemonic cf7ecbe
feat: add middleware alias, Blade directive, and Str/Stringable macros
deemonic 853c6d5
refactor: flatten Laravel/ namespace into root package namespace
deemonic a0e0b2f
feat: add phonetic detection driver using metaphone + Levenshtein
deemonic 62d83b9
docs: document phonetic driver in README
deemonic 0b19ab4
feat: add pipeline driver to chain multiple detection drivers
deemonic 9639506
feat: add non-English severity maps and result caching
deemonic 1a2dd69
fix: add high severity tiers and sync severity maps with profanities …
deemonic b88f128
fix: address pre-existing code review issues
deemonic 3d092a3
fix: address follow-up review comments
deemonic 477f398
fix: use mb_strtolower for false positives and stabilize dedup sort i…
deemonic 412806d
fix: replace str_word_count with multibyte-safe word counting
deemonic cc92dad
fix: add UTF-8 guard to PatternDriver and use original text in Phonet…
deemonic c31117c
fix: cap regex separator repetition to prevent PCRE JIT stack overflow
deemonic bab9047
fix: eliminate nested quantifiers in separator regex to prevent JIT s…
deemonic a67ccd8
docs: update README with --detail flag and separator limit note
deemonic 4e25fdf
merge: resolve composer.json conflict with main (Laravel 13 compat)
deemonic 2728501
fix: address CodeRabbit review findings on PR #48
deemonic a03f977
fix: address remaining CodeRabbit review findings on PR #48
deemonic d94740b
fix: harden pipeline self-reference guard with case normalization and…
deemonic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refresh key recency before dedupe/trim to avoid stale cache survivors.
array_unique()keeps the first occurrence, so repeated keys are not moved to the “recent” end. With FIFO-style trimming, actively reused keys can be evicted fromblasp_result_cache_keys, and thenDictionary::clearCache()may miss clearing them.🔧 Proposed fix
🤖 Prompt for AI Agents