Skip to content

docs: separate PII overview, configuration, and redaction behavior - #1554

Merged
willkill07 merged 18 commits into
NVIDIA:release/0.11from
bbednarski9:bbednarski/relay-1154-pii-docs-overview
Oct 29, 2026
Merged

willkill07 merged 18 commits into
NVIDIA:release/0.11from
bbednarski9:bbednarski/relay-1154-pii-docs-overview

Conversation

@bbednarski9

@bbednarski9 bbednarski9 commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

The PII documentation mixes configuration lookup, detailed policy behavior, and worked examples. Organize it into three pages: About explains runtime placement and backend availability; Configuration provides settings and complete examples; Redaction Behavior explains selection, transformation, preservation, and match diagnostics.

Dependency satisfied: #1569 is merged into release/0.11 and included in this branch. The native-tool examples use its correlation-ID preservation.

  • I confirm this contribution is my own work, or I have the right to submit it under this project's license.
  • I searched existing issues and open pull requests, and this does not duplicate existing work.

Details

  • Organize About around runtime placement, scope and mark events, covered data, backend availability, an email example, policy selection, and the middleware comparison. Keep the block diagram compatible with Fern's renderer.
  • Keep Configuration focused on grouped reference tables, codec selection, configuration validation, profiles, surface flags, local-backend fields, the detector catalog, and CLI setup.
  • Add Redaction Behavior for payload boundaries and publication, actions, detector matching, exact pointers and globs, trajectory preservation, typed metrics, and selection accounting. Folder navigation discovers the new page using its frontmatter position.
  • Keep two tab groups with twelve complete worked examples on Configuration, including captured native function-calling requests/responses and separate tool events. Preserve the Worked Examples jump link immediately before surface-flag guidance.
  • Keep all content visible under normal headings. Preserve all 45 existing Configuration anchors beside links to moved material, and update the affected cross-page and migration-guide references.
  • Keep a short policy-verification section and diagnostic component-key reference on Configuration.
  • Qualify single-policy coverage of other scope events and typed metric-name preservation in the email example.

Validation:

  • just docs passed, including navigation and internal link validation. All staged pre-commit hooks passed, including dependency audits and external link checking.
  • Verified that every worked-example TOML/JSON code block is unchanged by the page split. The six native-tool JSON blocks match the managed-call capture; application-facing requests and results remain unchanged.
  • Checked About, Configuration, and Redaction Behavior at desktop and 390-pixel widths: no page overflow or expandable content; both tab groups and all twelve example tabs work.
  • Verified the Worked Examples jump link, cross-page navigation into Path Semantics, all 45 legacy Configuration anchors, and the new cross-page fragment targets.
  • Runtime validation for the correlation fix is recorded in fix: preserve tool-call correlation through trajectory redaction #1569. This PR changes documentation only.

Where should the reviewer start?

Read the three page introductions, then follow Configuration's Redaction Behavior links into redaction-behavior.mdx. Check that settings and examples remain easy to find and that the behavior guide contains the detailed selection/preservation rules. Review the native-tool trajectory example and the legacy Configuration anchor compatibility.

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

Summary by CodeRabbit

  • Documentation
    • Reorganized the PII redaction guides to describe which observability events are sanitized and how they differ from provider and tool requests and application results.
    • Expanded configuration guidance for profiles and single policies, including codec behavior, validation, surface settings, backends, actions, and policy ordering.
    • Added examples and guidance for email redaction, path selection, selector limitations, observability boundaries, and interpreting diagnostics.
    • Documented local_model as a runtime-provided extension point and explained the distinction between the configuration-driven plugin and raw sanitization middleware.

@github-actions github-actions Bot added size:M PR is medium Documentation documentation-related labels Oct 28, 2026
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between b775df0 and 0ef6af1.

Files selected for processing: 1
  • docs/configure-plugins/pii-redaction/about.mdx

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review.

Recent review details
Context from checks skipped due to timeout: 4
  • GitHub Check: Prepare
  • GitHub Check: request / require-nvskills-ci / require-nvskills-ci
  • GitHub Check: Detect docs changes
  • GitHub Check: Apply PR labels
Additional context used
Code guidelines: 3
.agents/skills/contribute-docs/SKILL.md — configured
.agents/skills/contribute-integration/SKILL.md — configured
.agents/skills/review-doc-style/SKILL.md — configured
Path-based instructions: 4
Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.

CodeRabbit configuration file

Files:

  • docs/configure-plugins/pii-redaction/about.mdx
Source excerpt: In MDX files, top-of-file comments must use JSX comment delimiters: `{/*` to open and `*/}` to close.

CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Files:

  • docs/configure-plugins/pii-redaction/about.mdx
Source excerpt: [ ] Integration pattern follows `docs/integrate-into-frameworks/adding-scopes.mdx` Source excerpt: Keep NeMo Relay optional Source excerpt: Use stable, documented framework or plugin APIs Source excerpt: Wrap tool and LLM pa...

CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Files:

  • docs/configure-plugins/pii-redaction/about.mdx
Source excerpt: Verify MDX files use JSX delimiters for top-of-file SPDX comments.

CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

Files:

  • docs/configure-plugins/pii-redaction/about.mdx
Additional comments: 1
docs/configure-plugins/pii-redaction/about.mdx: 1

58-58: LGTM!

Also applies to: 76-79

Walkthrough

The PII redaction documentation describes usage, supported event surfaces, configuration forms, payload boundaries, policy behavior, examples, and selector diagnostics.

Changes

PII Redaction Documentation

Layer / File(s) Summary
Usage and redaction surfaces
docs/configure-plugins/pii-redaction/about.mdx
The overview describes configuration entry points, covered event surfaces, sanitized observability data, policy selection, selector limits, and an email-redaction example.
Policy configuration and actions
docs/configure-plugins/pii-redaction/configuration.mdx
The reference documents profile and single-policy settings, codecs, backends, action requirements, detector presets, and CLI editing.
Payload and path semantics
docs/configure-plugins/pii-redaction/configuration.mdx
The guide describes event payload boundaries, path selection, trajectory-context preservation, and typed metric handling.
Examples and policy diagnostics
docs/configure-plugins/pii-redaction/configuration.mdx
The guide adds action and targeting examples, profile composition details, and selector diagnostic explanations.

Priority: Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · previous review 0ef6a

No merge-blocking documentation mismatch remains; the PR is mergeable.

Pre-merge checks: Passed 4
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title uses the allowed lowercase type docs, stays under 72 characters, has no trailing period, and accurately summarizes the documentation reorganization.
Description check Passed The description follows the template. It has an Overview with both checklist items marked, a Details section, a Where should the reviewer start section, and a Related Issues section. Overview and Deta…
Full details: Description check

Explanation

The description follows the template. It has an Overview with both checklist items marked, a Details section, a Where should the reviewer start section, and a Related Issues section. Overview and Details are specific. The author lists validation steps (just docs, link checks, anchor checks, responsive previews), and names the dependency on #1569. Related Issues uses "Relates to" for RELAY-1154 and #1549, and "Depends on #1569 (merged)". The template's "Closes #" line is replaced with a non-template keyword, which is acceptable because the PR is documentation-only and does not close an issue. The description is complete and specific.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

@github-actions github-actions Bot added size:XL PR is extra large and removed size:M PR is medium labels Oct 28, 2026
@bbednarski9 bbednarski9 changed the title docs: clarify PII redaction overview and runtime boundary docs: clarify PII redaction overview and configuration examples Oct 28, 2026
@bbednarski9 bbednarski9 changed the title docs: clarify PII redaction overview and configuration examples docs: separate PII overview, configuration, and redaction behavior Oct 29, 2026
@bbednarski9
bbednarski9 enabled auto-merge (squash) October 29, 2026 18:26
@bbednarski9
bbednarski9 disabled auto-merge October 29, 2026 18:36
@bbednarski9
bbednarski9 enabled auto-merge (squash) October 29, 2026 19:20
@bbednarski9
bbednarski9 disabled auto-merge October 29, 2026 19:37
@bbednarski9 bbednarski9 added the DO NOT MERGE PR should not be merged; see PR for details label Oct 29, 2026
@bbednarski9 bbednarski9 removed the DO NOT MERGE PR should not be merged; see PR for details label Oct 29, 2026
@willkill07
willkill07 merged commit 8ebd85e into NVIDIA:release/0.11 Oct 29, 2026
27 checks passed

This branch was previously deployed

1 inactive deployment
fern — c847ba9d Deployed Oct 29, 2026 by willkill07 via Clean up docs preview #6797
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation documentation-related size:XL PR is extra large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants