refactor(torghut): normalize scheduler pipeline modules#10870
Merged
gregkonush merged 2 commits intoJun 14, 2026
Conversation
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
part_*modules with semantic modules for run-cycle, signal processing, decision lifecycle, submission policy, runtime gates, LLM review, LLM outcomes, support helpers, and typed request contexts.part_*modules with semantic quote sizing, quote routeability, direct submission, quote-value extraction, and shared request objects.Related Issues
None
Testing
cd services/torghut && uv run --frozen ruff format app tests scripts migrationscd services/torghut && uv run --frozen python -m compileall app scriptscd services/torghut && uv run --frozen ruff format --check app tests scripts migrations && uv run --frozen ruff check app tests scripts migrationscd services/torghut && uv run --frozen pylint app scripts tests migrations --disable=all --enable=too-many-lines --score=ncd services/torghut && uv run --frozen pylint "$changed_python" --disable=all --enable=too-many-arguments,too-many-positional-arguments,too-many-branches,too-many-locals,too-many-return-statements,too-many-statements,too-many-nested-blocks --score=n, where$changed_pythonwas the changedappandscriptsPython file list fromgit diff origin/mainplus untracked files.cd services/torghut && uv run --frozen pylint --load-plugins=scripts.pylint_torghut_quality "$changed_python" --disable=all --enable=torghut-generated-split-filename,torghut-dynamic-globals-reexport,torghut-compat-module-wrapper,torghut-compat-module-registry,torghut-module-class-mutation,torghut-module-replacement,torghut-file-pyright-suppression,torghut-type-ignore,torghut-file-ruff-noqa,torghut-blanket-pylint-disable,torghut-dynamic-attribute-hook,torghut-dynamic-all,torghut-wildcard-import,torghut-custom-module-class --score=n, where$changed_pythonwas the changed Torghut Python file list fromgit diff origin/mainplus untracked files.cd services/torghut && uv run --frozen pyright --project pyrightconfig.jsoncd services/torghut && uv run --frozen pyright --project pyrightconfig.alpha.json && uv run --frozen pyright --project pyrightconfig.scripts.jsoncd services/torghut && uv run --frozen pytest tests/pipeline/test_trading_pipeline_dspy_gate_a.py tests/pipeline/test_trading_pipeline_dspy_gate_b.py tests/pipeline/test_trading_pipeline_dspy_gate_c.py tests/pipeline/test_trading_pipeline_dspy_gate_d.py tests/pipeline/test_trading_pipeline_execution_llm_a.py tests/pipeline/test_trading_pipeline_execution_llm_b.py tests/pipeline/test_trading_pipeline_external_targets_a.py tests/pipeline/test_trading_pipeline_external_targets_c.py tests/pipeline/test_trading_pipeline_external_targets_d.py tests/pipeline/test_trading_pipeline_live_regime_a.py tests/pipeline/test_trading_pipeline_live_regime_b.py tests/pipeline/test_trading_pipeline_materialized_target_plan_a.py tests/pipeline/test_trading_pipeline_materialized_target_plan_b.py tests/pipeline/test_trading_pipeline_materialized_target_plan_c.py tests/pipeline/test_trading_pipeline_position_projection_a.py tests/pipeline/test_trading_pipeline_position_projection_b.py tests/pipeline/test_trading_pipeline_probe_exits_a.py tests/pipeline/test_trading_pipeline_probe_exits_b.py tests/pipeline/test_trading_pipeline_quote_outcome.py tests/pipeline/test_trading_pipeline_route_execution_a.py tests/pipeline/test_trading_pipeline_route_execution_b.py tests/pipeline/test_trading_pipeline_target_plan_source_a.py tests/pipeline/test_trading_pipeline_target_plan_source_b.py tests/pipeline/test_trading_pipeline_warmup_submission_a.py tests/pipeline/test_trading_pipeline_warmup_submission_b.py tests/pipeline/test_trading_pipeline_paper_route_quote_a.py tests/pipeline/test_trading_pipeline_paper_route_quote_b.py tests/pipeline/test_trading_pipeline_retry_profit_floor_a.py tests/simple_pipeline/test_part_01.py tests/simple_pipeline/test_part_03.py -q --tb=short --maxfail=10git diff --checkbun run lint:argocdScreenshots (if applicable)
N/A
Breaking Changes
None
Checklist