Skip to content

fix(torghut): activate hpairs runtime target lineage#9628

Merged
gregkonush merged 1 commit into
mainfrom
codex/torghut-hpairs-runtime-signal-activation-20260602
Jun 2, 2026
Merged

fix(torghut): activate hpairs runtime target lineage#9628
gregkonush merged 1 commit into
mainfrom
codex/torghut-hpairs-runtime-signal-activation-20260602

Conversation

@gregkonush
Copy link
Copy Markdown
Member

Summary

  • Preserves H-PAIRS target lineage when the target plan carries the declared family strategy id instead of only the runtime strategy name.
  • Lets bounded TORGHUT_SIM paper-route source decisions and scoped signal polling match catalog-managed H-PAIRS strategies via declared ids, runtime harness names, and DB row names.
  • Extends the H-PAIRS liveness audit to treat paper_route_probe_symbols as the market-data universe and to surface zero decisions, order events, or runtime buckets as an actionable runtime materialization blocker.

Related Issues

None

Testing

  • cd services/torghut && uv sync --frozen --extra dev (passed after installing build-essential so crosshair-tool could compile in this container)
  • cd services/torghut && uv run --frozen ruff check app/trading/scheduler/simple_pipeline.py scripts/audit_hpairs_signal_liveness.py tests/test_trading_scheduler_safety.py tests/test_audit_hpairs_signal_liveness.py (passed)
  • cd services/torghut && uv run --frozen ruff format --check app/trading/scheduler/simple_pipeline.py scripts/audit_hpairs_signal_liveness.py tests/test_trading_scheduler_safety.py tests/test_audit_hpairs_signal_liveness.py (passed)
  • cd services/torghut && uv run --frozen pytest tests/test_strategy_runtime.py tests/test_trading_scheduler_autonomy.py tests/test_trading_scheduler_safety.py tests/test_audit_hpairs_signal_liveness.py -q (passed, 177 tests)
  • cd services/torghut && uv run --frozen pyright --project pyrightconfig.json && uv run --frozen pyright --project pyrightconfig.alpha.json && uv run --frozen pyright --project pyrightconfig.scripts.json (passed, 0 errors each)
  • git diff --check (passed)

Screenshots (if applicable)

N/A

Breaking Changes

None

Checklist

  • Testing section documents the exact validation performed (or N/A with justification).
  • Screenshots and Breaking Changes sections are handled appropriately (removed or filled in).
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush gregkonush merged commit 1d98668 into main Jun 2, 2026
@gregkonush gregkonush deleted the codex/torghut-hpairs-runtime-signal-activation-20260602 branch June 2, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant