Skip to content

feat(runner): inspect privacy requests deterministically - #928

Closed
afourniernv wants to merge 1 commit into
codex/privacy-decision-isolationfrom
codex/privacy-deterministic-inspection
Closed

afourniernv wants to merge 1 commit into
codex/privacy-decision-isolationfrom
codex/privacy-deterministic-inspection

Conversation

@afourniernv

@afourniernv afourniernv commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Draft stack 5/10.

What

Add optional deterministic privacy checks for common personal data and credential patterns.

Inspection covers normalized and preserved request state within fixed byte, depth, and traversal limits. Opaque or oversized input is restricted rather than passed through.

Why

Many sensitive requests can be identified locally without adding a model call or its latency.

How tested

Tests cover the detector catalog, structured request fields, preserved provider bodies, split text, opaque content, and scan limits. The complete stack passed workspace formatting, Clippy with warnings denied, and workspace tests. No live provider calls.

Notes for reviewers

Configuration:

[routes.<name>.privacy.deterministic]
detectors = ["email", "bearer_token"]

Adds regex to the runner. No public Rust, Python, HTTP, or ABI changes.

Signed-off-by: Alex Fournier <afournier@nvidia.com>
@afourniernv
afourniernv added this pull request to stack #934 October 6, 2026 18:18
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://NVIDIA-NeMo.github.io/Switchyard/pr-preview/pr-928/

Built to branch gh-pages at 2026-10-06 18:19 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@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
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