Skip to content

Allow global runtime secret bindings in safety routing#1130

Merged
cbusillo merged 1 commit into
mainfrom
fix-runtime-secret-binding-global-scope
Jun 3, 2026
Merged

Allow global runtime secret bindings in safety routing#1130
cbusillo merged 1 commit into
mainfrom
fix-runtime-secret-binding-global-scope

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented Jun 3, 2026

Summary

  • rank global runtime secret bindings as valid low-specificity candidates
  • preserve context and exact binding precedence over global candidates
  • cover global shared-safe routing and context-over-global precedence in runtime key-safety tests

Validation

  • uv run --extra dev ruff check --exit-zero control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • uv run python -m unittest tests.test_runtime_key_safety
  • uv run --extra dev ruff check control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • uv run --extra dev mypy control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • git diff --check

@cbusillo cbusillo merged commit e2bec3d into main Jun 3, 2026
12 checks passed
@cbusillo cbusillo deleted the fix-runtime-secret-binding-global-scope branch June 3, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant