Repository navigation
feat(relay): emit privacy decision marks - #933
Draft
afourniernv wants to merge 1 commit into
Draft
afourniernv wants to merge 1 commit into
afourniernv wants to merge 1 commit into
Conversation
afourniernv
added this pull request to stack #934
October 6, 2026 18:18
Contributor
Author
|
Closing this draft stack for now. I’m sharing the cumulative branch and design/evaluation artifacts for architecture feedback before reopening a smaller stack. |
afourniernv
removed this pull request from stack #934
October 11, 2026 21:57
afourniernv
force-pushed
the
codex/privacy-relay-telemetry
branch
from
October 11, 2026 21:59
86ab218 to
73bcf49
Compare
afourniernv
added this pull request to stack #966
October 11, 2026 21:59
Signed-off-by: Alex Fournier <afournier@nvidia.com>
afourniernv
force-pushed
the
codex/privacy-relay-telemetry
branch
from
October 11, 2026 22:08
73bcf49 to
7611b14
Compare
This branch has not been deployed
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.
Privacy stack 9/9. Depends on #932.
What
Emit a
switchyard.privacy.decisionRelay mark before execution. It contains the lane, source, bounded reason code, and optional classifier score and threshold, and survives a later answer failure.Why
The classifier spans show the work; this mark explains which lane was selected.
How tested
84 runner unit tests, 3 runner integration tests, and 31 plugin tests passed, including buffered/streaming private fallback and marks on answer failure.
The complete stack also passed workspace tests, strict clippy (including prefill), formatting, and 187 Python tests. No live provider calls.
Notes for reviewers
Adds read-only
PrivacyDecisionaccessors andRoute::execute_with_privacy_observer(...). Existingexecute(...)stays unchanged. No Python, HTTP endpoint, or native Relay ABI changes.The accompanying internal document describes the complete configuration and current limits.