Skip to content

feat(relay): emit privacy decision marks - #933

Draft
afourniernv wants to merge 1 commit into
codex/privacy-classifier-observabilityfrom
codex/privacy-relay-telemetry
Draft

afourniernv wants to merge 1 commit into
codex/privacy-classifier-observabilityfrom
codex/privacy-relay-telemetry

Conversation

@afourniernv

@afourniernv afourniernv commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Privacy stack 9/9. Depends on #932.

What

Emit a switchyard.privacy.decision Relay 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 PrivacyDecision accessors and Route::execute_with_privacy_observer(...). Existing execute(...) stays unchanged. No Python, HTTP endpoint, or native Relay ABI changes.

The accompanying internal document describes the complete configuration and current limits.

@afourniernv
afourniernv added this pull request to stack #934 October 6, 2026 18:18
@afourniernv

Copy link
Copy Markdown
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 afourniernv closed this Oct 6, 2026
@afourniernv
afourniernv removed this pull request from stack #934 October 11, 2026 21:57
@afourniernv afourniernv reopened this Oct 11, 2026
@afourniernv
afourniernv force-pushed the codex/privacy-relay-telemetry branch from 86ab218 to 73bcf49 Compare October 11, 2026 21:59
@afourniernv
afourniernv added this pull request to stack #966 October 11, 2026 21:59
Signed-off-by: Alex Fournier <afournier@nvidia.com>
@afourniernv
afourniernv force-pushed the codex/privacy-relay-telemetry branch from 73bcf49 to 7611b14 Compare October 11, 2026 22:08

This branch has not been deployed

No deployments
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