Skip to content

Enforce RequestPolicy on streaming queries - #193

Merged
philipgreat merged 1 commit into
mainfrom
fix/query-policy-stream-192
Sep 30, 2026
Merged

philipgreat merged 1 commit into
mainfrom
fix/query-policy-stream-192

Conversation

@philipgreat

Copy link
Copy Markdown
Contributor

Closes #192.

What changed

  • route public streaming queries through TeaQLRuntime
  • require a declared purpose before public stream execution
  • enforce RequestPolicy before the streaming provider is invoked
  • require an authorized root trace for internal relation streams
  • retain focused no-bypass tests for public and internal streaming paths

Verification

  • mvn -pl teaql-runtime -am -Dtest=TeaQLRuntimeTest -Dsurefire.failIfNoSpecifiedTests=false test -q
  • mvn -pl teaql-runtime -am test -q

Both commands pass.

@philipgreat
philipgreat merged commit d2a0563 into main Sep 30, 2026
5 checks passed
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.

Enforce RequestPolicy on streaming queries and retain no-bypass evidence

1 participant