Skip to content

refactor: share LongBridge paper command lifecycle - #387

Merged
Pigbibi merged 2 commits into
mainfrom
refactor/shared-paper-command-consumer
Aug 27, 2026
Merged

refactor: share LongBridge paper command lifecycle#387
Pigbibi merged 2 commits into
mainfrom
refactor/shared-paper-command-consumer

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • retain LongBridge-specific position and quote reconciliation only
  • move durable command claim, release/admission checks, runtime gate receipts, and state transitions to QuantPlatformKit
  • preserve the isolated paper-only endpoint and its default-disabled runtime guard
  • assert the nested, redacted platform proposal payload emitted by the shared contract

Verification

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=/tmp/qsl-qpk-paper-command-core/src:. python -m pytest -q tests/test_paper_execution_command_consumer.py
  • PYTHONPATH=/tmp/qsl-qpk-paper-command-core/src:. python -m compileall -q application/paper_execution_command_consumer.py tests/test_paper_execution_command_consumer.py
  • git diff --check

The local HTTP-layer tests require numpy, which is not installed on this constrained VPS; repository CI installs the declared dependencies. No deployment, scheduler, broker adapter, or live execution path changes.

Pigbibi and others added 2 commits August 27, 2026 12:23
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi force-pushed the refactor/shared-paper-command-consumer branch from 1ab733e to 4d88a0e Compare August 27, 2026 04:23
@Pigbibi
Pigbibi merged commit 98085a2 into main Aug 27, 2026
1 check passed
@Pigbibi
Pigbibi deleted the refactor/shared-paper-command-consumer branch August 27, 2026 04:29
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