feat(erp): integrate bounded runtime observations into main - #659
Merged
Merged
Conversation
feat(erp): publish bounded materialization observations after finite completion
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.
Runtime ERP evidence is complete on its stack, but PR #638 was merged into its already-merged calibration base rather than the backend main branch. The production observation path therefore still needs one explicit main integration.
This integrates the bounded empirical observation contract, catalog-generation isolation, control-plane fitting, finite-completion publication, and actual Worker feedback path. The data plane emits bounded empirical counts; the control plane owns distribution fitting and Planner translation.
Before this PR: main contained ERP readout calibration but not the runtime observation and hydration path.
After this PR: a finite, durably completed ingest can publish catalog-bound observations which a later normal compilation may use. Stale, malformed, foreign, partial, or unsupported observations fail closed to theoretical sizing or exact execution.
Verification: 18 focused control-plane ERP tests and the actual Worker → feedback → control plane → Planner process test passed on the main-integrated tree with the pinned asap_sketchlib #139 revision. Merge conflict resolution received an independent source review.
This remains a finite-input feedback closure. It does not implement autonomous continuous replanning.