[codex] Add MetaTrader file bridge#85
Draft
NewYaroslav wants to merge 1 commit into
Draft
Conversation
NewYaroslav
force-pushed
the
codex/metatrader-file-bridge
branch
7 times, most recently
from
July 17, 2026 19:37
4417069 to
a13ecb9
Compare
NewYaroslav
force-pushed
the
codex/metatrader-file-bridge
branch
from
July 17, 2026 21:49
a13ecb9 to
5afdb91
Compare
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
Adds the first real MetaTrader Common Files bridge implementation on top of the NDJSON file transport foundation.
What changed
MetaTraderFileBridgeas the runtime bridge class exposed throughbridges/metatrader_file.hppcommands.ndjsonwith bounded sequence windows and persistcommands.checkpoint.jsonprotocol.hello,account.balance.get,signal.submit, andtrade.openbalance.updatedandtrade.updatednotifications toevents.ndjsonstate.jsonMetaTraderFileBridgeConfigdetail/MetaTraderFileBridgeUtils.hppmetatrader_file_bridge_smokeexample with--self-testand wire it into Ubuntu/Windows smoke CIValidation
cmake --build build-codex-pr68-mingw --target metatrader_file_bridge_test bridge_umbrella_include_test metatrader_file_config_include_test metatrader_paths_test -j2build-codex-pr68-mingw\\metatrader_file_bridge_test.exe --gtest_brief=1build-codex-pr68-mingw\\bridge_umbrella_include_test.exe --gtest_brief=1build-codex-pr68-mingw\\metatrader_file_config_include_test.exe --gtest_brief=1build-codex-pr68-mingw\\metatrader_paths_test.exe --gtest_brief=1cmake -S . -B build-codex-examples-mingw -DOPTIONX_BUILD_DEPS=ON -DOPTIONX_BUILD_EXAMPLES=ON -DOPTIONX_BUILD_TESTS=OFF -DOPTIONX_LIGHTWEIGHT_BRIDGE_SMOKE_TESTS=ONcmake --build build-codex-examples-mingw --target metatrader_file_bridge_smoke -j2build-codex-examples-mingw\\metatrader_file_bridge_smoke.exe --self-testgit diff --check