Repository navigation
refactor(quota): keep execution preparation presentation with its owner - #8042
Merged
huangruiteng merged 1 commit intoNov 4, 2026
Conversation
Signed-off-by: huangruiteng <huangrt01@163.com>
huangruiteng
merged commit Nov 4, 2026
388fdcc
into
codex/auto-lease-preparation-20261103
16 of 32 checks passed
huangruiteng
deleted the
codex/execution-preparation-presentation-20261104
branch
November 4, 2026 15:05
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.
Goal And Delivered Outcome
Integrating #7987 with current main (
b4216d8c7) makesinteraction_contract.pyexceed its existing module metric ceiling. Move the execution-preparation channel projection into the existingquota/execution_preparation.pyowner and retain its invocation at the same point. The integrated candidate passes the unchanged maintainability gate after this extraction.This is a stacked follow-up targeting
codex/auto-lease-preparation-20261103, based onc10b100c049e8298622e5bc96e6756631dd3d8b5. It does not duplicate the selection-admission fix in #7987.Author Declaration
b4216d8c7applies.quota/execution_preparation.py::attach_interaction_execution_preparationScope And Continuation
Complete within this extraction. No vocabulary, storage schema, permission, command or UI change. The parent feature remains in #7987. No new tests were added: the existing real CLI cases cover the moved function, including explicit selection, missing/expired/foreign leases and same-Turn recovery.
Validation
73d10d1c5.test_quota_execution_preparation.pyandtest_codex_execution_preparation.py, through real File/SQLite command paths on the PR headThe same extraction was also tested after integrating the parent feature with main: 24 affected tests passed, and the previously failing maintainability gate passed. This is local verification, not CI, native desktop, PostgreSQL or model-performance qualification.
Frontend / Visual Evidence
UI impact: none; this preserves the existing machine-facing projection. Screenshots are not applicable.
Type of Change
LoopX Area
Shared-authority RFC fixture impact
N/A: no authority contract, provider routing, storage or fixture dimension changes.
Boundary Checklist