feat: migrate routing_matrix read to capabilities + document cross-repo E2E testing#134
Open
feat: migrate routing_matrix read to capabilities + document cross-repo E2E testing#134
Conversation
…ility
Replace getattr(coordinator, 'session_state', {}).get('routing_matrix')
with coordinator.get_capability('session.routing_matrix') in the
model_role resolution path of execute().
Update test helper _make_delegate_tool:
- Replace session_state parameter with routing_matrix parameter
- Add 'session.routing_matrix' key to capabilities dict
- Remove direct coordinator.session_state assignment
Update 4 test call sites to pass routing_matrix= directly instead of
session_state= with a nested routing_matrix dict.
Part of: remove session_state from coordinator interface
Adds documentation for the new --local-source option in amplifier-core's e2e-smoke-test.sh. This option allows cross-repo validation by overriding dependencies with local checkouts of CLI, foundation, and modules during E2E testing. Each --local-source path is copied into the Docker container and installed with pip install --force-reinstall --no-deps, enabling testing of cross-repo changes before pushing. Includes examples showing how to test bundles with modules in subdirectories (pointing at module path, not bundle root).
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.
Switches routing_matrix read in tool-delegate from session_state to get_capability('session.routing_matrix').
Also documents the new --local-source option for amplifier-core's e2e-smoke-test.sh in testing-patterns.md context.
Testing