Repository navigation
eve-online-mining-bot: add wormhole=yes D-Scan hostile detection - #491
Merged
Merged
Conversation
Ports eve-online-gas-huffer's paranoid Directional-Scanner-based hostile detection (issues #462, #463) behind a new `wormhole` setting, default `no` so existing settings strings are unaffected. `friendly-ship-tag` and `dscan-interval-seconds` are ported alongside it. Composed with this bot's own retreat (`runAway`) rather than the huffer's cloak-and-celestial-bounce escalation, since this bot already has a docking step and somewhere real to run to; the huffer does not. Also adds `previousStepsEffects` to this bot's vendored `EveOnline.BotFrameworkSeparatingMemory.UpdateMemoryContext`, the same field saxrat's and the gas huffer's copies already carry, which the D-Scan refresh cadence needs to know whether the previous step actually pressed the scan key. Verified without a live client: the whole file compiles clean under `elm make`, and the pure functions (hostile-trust matching, D-Scan row classification, staleness/refresh timing, grid verdict, and the three new settings' parsing including the empty-tag guard) were executed through the real `Bot.elm` in `elm repl` rather than only read. Not run against a live wormhole client. Fixes #490 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Sep 11, 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.
Summary
wormholesetting (yes/no, defaultno) that turns oneve-online-gas-huffer's Directional-Scanner-based paranoid hostile detection (issues eve-online-gas-huffer: hostile detection from the overview and D-Scan #462, eve-online-gas-huffer: retreat, cloak and evade until the grid is clean #463), ported to this bot's own decision tree -- see the doc comment on the new## Wormhole safetysection inBot.elmfor what changed in the port and why (no cloak/celestial-bounce escalation; composed with this bot's existingrunAwayinstead, since it already has a docking step and somewhere real to retreat to).friendly-ship-taganddscan-interval-seconds, ported alongside it.previousStepsEffectsto this bot's vendoredEveOnline.BotFrameworkSeparatingMemory.UpdateMemoryContext, matching saxrat's and the gas huffer's copies, which the D-Scan refresh cadence needs.wormhole = nomeans an existing settings string is completely unaffected -- confirmed by parsing the launcher's actual settings string through the changedparseBotSettingsinelm repl.Fixes #490.
Test plan
elm make Bot.elmcompiles clean (14 modules, only the expected harmless "NO MAIN" error).elm-format --validatepasses on both changed files.Bot.elminelm repl(not just read): hostile-trust matching (TrustNobody/TrustShipsTagged, case-insensitive substring), D-Scan row classification (harmless probe vs. combat probe, structure/deployable Type markers, theRowCouldNotBeReadblank-row case), D-Scan refresh cadence (dscanRefreshIsDueat both sides of the interval), grid verdict (gridReadsCleanfor clean/hostile/cannot-tell), and the three new settings' parsing including the empty-friendly-ship-tagguard and an invalidwormholevalue.Grid:status-line clause appearing and readingCLEANon a quiet grid, thenHOSTILE/SOMETHING IS HEREon the first unrecognized ship, followed by the samerunAwaybehavior a low shield percentage already triggers.🤖 Generated with Claude Code