Repository navigation
Add capability inject for multiple secrets and HTTP headers (#86) - #88
Merged
rosspeili merged 1 commit intoOct 9, 2026
Merged
Conversation
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.
Description
Fixes #86
Implements capability injection for multiple secrets and HTTP headers:
InjectTarget(ref,as,prefix) andinject: [...]list support on capabilities with 100% backward compatibility for single-secret declarations (secret: {ref, as}).headers.Authorization) and value prefixes (e.g.prefix: "Bearer ").ToolHost.executeandSkillExecutor.executeprotocols to forwardheaders.argsandheadersprior to broker injection, and scrubs all resolved secret values fromtool.result.secret+inject, forbidden secret keys, live tokens in refs, and duplicate target paths.Type
Checklist
Fixes #86)pytestpasses (254 passed)black aura tests— no diffflake8 aura tests— cleanCHANGELOG.mdupdated when user-visible behavior changesTest plan
pytest— 254/254 tests passed across full suite.python scripts/aura_capability_stress_sim.py— 18/18 scenarios passed (addedcapability_multi_secret_dualandcapability_header_authorization).python scripts/aura_host_stress_sim.py— 34/34 scenarios passed.python examples/14-capability-broker/main.py— 5/5 scenarios passed (addedmulti_inject).black --check aura tests integrations examples scripts— clean.flake8 aura tests integrations examples scripts— 0 errors.