[CF-DATAPLANE][CPEX] Resolve scoped bindings and typed extensions - #128
Draft
lucarlig wants to merge 2 commits into
Draft
[CF-DATAPLANE][CPEX] Resolve scoped bindings and typed extensions#128lucarlig wants to merge 2 commits into
lucarlig wants to merge 2 commits into
Conversation
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
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
Noneto CPEX when a post-only hook is the first lifecycle hookRuntime contract
This intentionally replaces the unstable version 2 single-snapshot document. Version 3 is an atomic catalog:
{ "version": 3, "snapshots": { "revision-id": { "plugins": [] } } }The control plane must retain a revision in this catalog while any published
UserConfig.plugin_bindingscan reference it. Targets with no plugins are omitted; a revision is required whenever a target binding exists. There is no version 2 fallback.The Control Plane publisher in IBM/mcp-context-forge#6252 must publish this catalog and matching effective-binding revisions before runtime plugins are enabled.
CPEX alignment
find_plugin_entriesplusinvoke_entriesas the external-orchestrator path and recommends caching the resolved entries: https://docs.rs/cpex/latest/cpex/struct.PluginManager.html#method.find_plugin_entriesNoneand later hooks receive the returned context table: https://docs.rs/cpex-core/0.2.2/cpex_core/context/struct.PluginContextTable.htmlVerification
cargo nextest run --workspace --all-features(238 passed, 13 skipped)cargo clippy --workspace --all-targets --all-features -- -D warningscargo deny checkcargo shearcargo fmt --all -- --checkCloses IBM/mcp-context-forge#6253