Conversation
added 4 commits
April 13, 2026 11:27
Multi-hop routes were unconditionally rejected in validateRoute(). Add allowMultihop config field (default false) gated by SOLANA_ALLOW_MULTIHOP env var so multi-leg Jupiter routes can be tested without code changes. - config.ts: add allowMultihop to interface + parse - Executor.ts: gate multi-hop rejection on config flag, add to startup log - env.example: document SOLANA_ALLOW_MULTIHOP
- venueRisk.ts: risk registry with per-venue profiles (Raydium CLMM, Whirlpool, Meteora DLMM) + high-risk default for unknown venues - riskPolicy.ts: evaluateVenueRisk() returning deny/canary/penalize/allow - config.ts: RiskPolicyConfig parsed from SOLANA_RISK_* env vars - Executor.ts: risk gate after AMM check, startup log includes policy - env.example: document SOLANA_RISK_DENY_TIERS, CANARY_TIERS, etc. All policy thresholds env-configurable. No changes to allowlist, multi-hop, fee, or scanner logic.
- scripts/railway-deploy-checklist.md: one-pass deploy verification - venueRisk.ts: add Drift Protocol (critical) — governance compromise 2026-04-01, DPRK-linked multisig social engineering
New incidentRegistry.ts with: - VenueIncident type (severity, incidentType, status, policyOverride) - Drift governance compromise entry (critical, contained, deny override) - getActiveIncident() + isWithinCooldown() lookups riskPolicy.ts evaluation order: 1. Incident cooldown (SOLANA_RISK_INCIDENT_COOLDOWN_DAYS) 2. Active incident policyOverride (deny/canary) 3. Baseline tier policy (deny/canary/penalize/allow) New env vars: - SOLANA_RISK_INCIDENT_COOLDOWN_DAYS (default 30) - SOLANA_RISK_DENY_INCIDENT_TYPES (default governance_compromise) Startup log now emits riskIncidentCooldownDays + riskDenyIncidentTypes. Risk rejection log includes incidentId for traceability.
|
🚅 Deployed to the arbimind-pr-288 environment in ArbiMind 3 services not affected by this PR
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bug-Hunty
approved these changes
Apr 13, 2026
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.