Iteration 41: parent SDK execution and runtime contracts - #14
Draft
cloudQuant wants to merge 1 commit into
Draft
cloudQuant wants to merge 1 commit into
cloudQuant wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Scope
This draft records the uncommitted parent SDK work from the original
D:\bt_api_pycheckout as commitae6e6150. It adds CTP credential binding and execution approval contracts, a SimNow execution adapter candidate, runtime plugin contracts for managed dispatch/cancellation/reconciliation/recovery, the capability-bundle verifier, and focused offline tests. It also includes the root CTP minimum-version and pytest-asyncio pins plus installer compatibility changes.The credential binding and adapter code can support managed CTP write operations when their explicit capabilities, owner-bound approvals, active native session, and per-operation verifier are supplied. These changes do not register a runtime adapter by default and do not establish production authorization. No live CTP login, order, cancel, account-wide writer fence, native lifecycle, or SimNow certification PASS is accepted here. Keep real trading writes
NO_WRITE / LIVE_NO_GOpending independent cross-package review and QA.The root version-pin changes overlap parts of draft PR #13. This PR intentionally targets
devas requested; reconcile that overlap before merging either PR.Verification
git diff --cached --checkpassed before commit.bt_api_riskPR ci(governance): land iteration 03 governance foundation (M0-M5) #1 API: generic resolution now rejects dispatch-inflight freezes, while the parent candidate still uses generic resolve/reassert paths. Three CTP read-observation cases reject theirset1_group1profile scope, and one gateway case returnsUNKNOWNwhere the test expectsRETURNED_UNVERIFIED.I001) intest_ctp_entry_approval_arm.py; source was frozen without edits per the current instruction.All test failures are fake/offline integration evidence. They do not authorize or demonstrate real provider writes.