Repository navigation
refactor(host): move runtime composition from the binary into qq-host - #431
Merged
lg2m merged 2 commits intoOct 25, 2026
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
lg2m
force-pushed
the
refactor/qq-host-composition
branch
from
October 23, 2026 03:32
e8a0957 to
9f4cca2
Compare
lg2m
force-pushed
the
refactor/qq-host-composition
branch
2 times, most recently
from
October 24, 2026 05:08
0566314 to
f56f4ca
Compare
lg2m
force-pushed
the
refactor/qq-host-composition
branch
from
October 25, 2026 04:35
f56f4ca to
cff32a5
Compare
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
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.
Stacked on #418. This is task 1 of P1 in the plan: move composition from
src/intoqq-host(ADR-0050).What changed
crates/qq-harnessis renamed tocrates/qq-host. It now contains everything that turns configuration and credentials into a running runtime:RuntimeFactory: theRuntimeLoader, workspace grant authority and trust.RuntimeHandler: theServerHandler.ModelApprovalReviewerandRuntimeBuildError.catalog), built-in provider credential policy (builtin_auth, ADR-0064) and the command-worker client.qq_host::HostBuild { source_revision, version }, so the library doesn't read build-script environment variables.cli::HOST_BUILDis the one place this is built.src/now holds only argv parsing, TUI and server wiring, the headless driver, doctor, init and output. Thesrc/mcp.rsandsrc/plan.rsre-export shims are deleted, and the root package drops its directhmacandqq-mcpdependencies.qq-hostforwardsprovider-bedrock, and the rootprovider-bedrockfeature enables it.--no-default-featuresstill leaves out the AWS SDK.RuntimeHandler::open,open_with,RuntimeFactory::configured_model_options) are behind aqq-host/test-supportfeature. Only the root crate's dev-dependencies enable it.Behaviour doesn't change. The moved code is the same apart from paths, visibility, and threading the build identity through.
Follow-on edits
crates/qq-core/build.rshashes the movedruntime.rsinto the process-policy digest at its new path.docs_truthchecks a module that still lives insrc/.architecture.md(layout, dependency graph, extension-owner table),providers.md, and the protocol-bump skill path.Verification
cargo xtask checkpasses on the full workspace: fmt, lint, clippy-D warnings, nextest, doctests, and the minimal provider profile.cargo nextest run -p qq-host: 120 passed, 2 skipped (the same tests as before, now running in their own crate).cargo check -p qq --no-default-featuresbuilds.