Skip to content

feat(interceptors): initial gateway interceptor implementation and reference example#2005

Draft
drew wants to merge 5 commits into
mainfrom
gateway-interceptors-impl
Draft

feat(interceptors): initial gateway interceptor implementation and reference example#2005
drew wants to merge 5 commits into
mainfrom
gateway-interceptors-impl

Conversation

@drew

@drew drew commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements #1927

Related Issue

#1919

Changes

  • Add interceptor, binding, and decision labels to gateway interceptor evaluation counters.
  • Remove Z3-specific build setup from the governance interceptor smoke script.
  • Start a dedicated smoke gateway with isolated ports, state, gateway ID, and scrubbed ambient OpenShell environment.
  • Print neutral setup INFO messages and reserve PASS/FAIL for functional checks.
  • Dump smoke, gateway, and interceptor logs inline on failures.
  • Refresh the governance interceptor README smoke-test wording.

Testing

  • CC=clang CXX=clang++ mise run pre-commit passes
  • OPENSHELL_GOVERNANCE_KEEP_LOGS=1 examples/governance-interceptor/smoke.sh passes
  • Hostile ambient OpenShell env smoke run passes
  • Unit tests added/updated (not needed for smoke script hardening)
  • E2E tests added/updated (not applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

drew added 5 commits June 24, 2026 14:08
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown

@drew drew changed the title feat(interceptors): label metrics and harden governance smoke feat(interceptors): initial gateway interceptor implementation and reference example Jun 25, 2026
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