feat(events): AI / on-chain / telco verticals in the attention rail#165
Merged
Conversation
…n rail
Adds three vertical event kinds to /v1/events so the "what changed" rail
tracks the onboarded verticals, not just actors + CVEs:
- ai-incident — recent AI Incident DB incidents, keyed on incident_date (the
real-world event date), so a one-time bulk feed ingest doesn't masquerade as
"new". href /ai-incidents.
- wallet — newly SANCTIONED wallets only (the high-signal on-chain event).
created_at is preserved across the daily OFAC re-upsert, so it fires only on
genuinely-new SDN designations, not the bulk scam/protocol labels. /onchain.
- telco — new fraud schemes added to the 5G taxonomy (low volume). /telco.
The existing per-kind cap + round-robin merge already prevents any single
source from flooding, so the three new kinds get a fair share automatically.
Verified in-process: kinds {kev,cve,actor,ai-incident,telco} merge balanced.
gateway tsc clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <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.
The attention rail tracked only actors + CVEs. Now that AI, on-chain, and telco are onboarded,
/v1/eventsemits three vertical event kinds too.ai-incidentincident_date(real-world date)walletcreated_at,entity_type='sanctioned'created_atis preserved across the daily OFAC re-upsert, so the 2.5k scam/protocol bulk never floodstelcocreated_atThe existing per-kind cap + round-robin merge already prevents any source from hogging the rail, so the new kinds get a fair share with no extra logic.
Verified in-process against a real DB:
{kev, cve, actor, ai-incident, telco}merge balanced; AI events carry title/developers//ai-incidentshref. gatewaytscclean. Pairs with the dashboard PR that adds the icons/tints.