Repository navigation
Conversation
Contributor
Author
|
Superseded by the #818 → #822 stack (draft). The backend no longer selects plans: it executes the 🤖 Generated with Claude Code |
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.
Summary
Propose one-shot planning from a fixed workload, offline error–resource–performance profiles, and deployment constraints: select one executable physical plan, then produce deployment artifacts through the existing publication contracts. Automatic replanning and live observation dependencies are out of scope.
Before this PR
Existing documentation describes ERP parameter selection, shape observations, and physical candidate pricing, but does not specify how offline ERP alternatives and the global optimizer from sketch-bench PR #129 should produce a single deployable plan together.
After this PR
The design defines Planner/backend responsibilities, immutable inputs, ERP candidate preservation, CPU-based global selection, accuracy and resource constraints, fallback behavior, and deployment compilation. For example, aligned one-hour and one-day KLL queries can be evaluated for shared maintenance using offline evidence, with the selected parameters preserved through publication and no automatic replanning after installation.
It explicitly covers the integration gaps in the prototype: semantic sharing identities, backend window layouts, merged-result accuracy, complete component pricing, and solver scope/status. Acceptance criteria cover exhaustive-search agreement and eventual end-to-end deployment validation. The design index links the proposal.
Validation
git diff --cached --checkpassed before commit.