Skip to content

docs(guides): make subject mapping and component docs SDK-agnostic#361

Merged
marythought merged 2 commits into
mainfrom
DSPX-3941/subject-mapping-sdk-agnostic
Jul 16, 2026
Merged

docs(guides): make subject mapping and component docs SDK-agnostic#361
marythought merged 2 commits into
mainfrom
DSPX-3941/subject-mapping-sdk-agnostic

Conversation

@marythought

@marythought marythought commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the auth-guides PR (#360). Neutralizes OpenTDF-centric framing prose to "the platform" on the remaining pages that are vendored into the Virtru developer-docs site (sdks: [opentdf, data-harbor]), so the same source renders correctly on both opentdf.io and secure.virtru.com.

Same balanced approach as #360: only framing is generalized. Real product/spec names, GitHub source links, quickstart references, the reference IdP, and the TDF spec/schema itself are left intact. otdfctl / "OpenTDF CLI" references are out of scope (tracked under a separate CLI ticket).

Changes

  • docs/guides/subject-mapping-guide.md — 9 framing edits (intro, architecture description, diagram labels, admin/troubleshooting prose, FAQ). Kept: all opentdf/platform source links, the opentdf-app JSON example, and the Quickstart references.
  • docs/components/ — 3 framing edits: key_access.md, policy/subject_mappings.md, policy/keymanagement/key_managers.md.

Assessed, no changes needed

  • docs/spec/ — every "OpenTDF" mention names the specification/format itself (spec title, "OpenTDF (Trusted Data Format)", reference implementation, schema paths). No-op, same finding as the SDK reference pages.
  • docs/components/ (remainder) — all other mentions are source links, /spec/schema/opentdf/ paths, version references, and CLI references (deferred).

Testing

  • npm run build — succeeds (broken-anchor warnings are all pre-existing on untouched lines).
  • npm run check-vendored-yaml — passes.
  • Vale — no new findings on changed lines.

Summary by CodeRabbit

  • Documentation
    • Updated Key Access Server, key manager, and subject mapping documentation to use consistent platform terminology.
    • Refined the subject mapping guide’s architecture, scaling, troubleshooting, and FAQ language for improved clarity.

Neutralize OpenTDF-centric framing to "the platform" on pages vendored into
the Virtru developer-docs site (rendered for both OpenTDF and Data Harbor),
following the balanced approach used in the auth-guides PR. Product/spec
names, source links, quickstart references, and the TDF spec itself are left
intact. otdfctl/CLI references are out of scope (separate CLI ticket).

- subject-mapping-guide: framing prose neutralized
- components (key_access, subject_mappings, key_managers): framing prose neutralized

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
@marythought
marythought requested review from a team as code owners July 15, 2026 14:39
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@marythought, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 68c952f1-b86c-43d8-ba78-82a089bedac4

📥 Commits

Reviewing files that changed from the base of the PR and between 695c44f and 91b4079.

📒 Files selected for processing (2)
  • docs/components/key_access.md
  • docs/components/policy/keymanagement/key_managers.md
📝 Walkthrough

Walkthrough

Documentation updates replace product-specific “OpenTDF” wording with generalized “platform” terminology across KAS, key management, subject mappings, and the subject mapping guide, including architecture diagrams, troubleshooting guidance, and FAQ text.

Changes

Platform terminology updates

Layer / File(s) Summary
Component terminology updates
docs/components/key_access.md, docs/components/policy/keymanagement/key_managers.md, docs/components/policy/subject_mappings.md
Introduces generalized platform wording in KAS, key manager, and subject mapping descriptions.
Subject mapping guide terminology
docs/guides/subject-mapping-guide.md
Updates platform terminology throughout architecture, scaling, troubleshooting, and FAQ content, including diagram labels.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • opentdf/docs#360: Makes similar documentation-only terminology updates from “OpenTDF” to generalized “platform” wording.

Suggested reviewers: jrschumacher

Poem

I’m a rabbit with a glossary bright,
Replacing old words left and right.
Platform labels now gently glow,
Through maps and guides where readers go.
Hop, hop—clearer docs take flight!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the docs-only framing change and clearly summarizes the move to SDK-agnostic wording across subject mapping and component docs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DSPX-3941/subject-mapping-sdk-agnostic

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several documentation files to replace references to "OpenTDF" or "OpenTDF platform" with "the platform" or "platform" for consistency. A review comment suggests refining the phrasing in the key managers documentation to avoid repetitive use of the word "platform" and improve readability.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread docs/components/policy/keymanagement/key_managers.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/components/policy/keymanagement/key_managers.md (1)

8-8: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Remove the redundant “of” in the changed sentence.

LanguageTool flags “outside of” on Line 8; use “outside” instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/components/policy/keymanagement/key_managers.md` at line 8, Update the
sentence in key_managers.md to replace “outside of a key access server or the
platform” with “outside a key access server or the platform,” leaving the rest
of the key managers explanation unchanged.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/components/key_access.md`:
- Line 3: Update the documentation sentence near “Key Access Server” to avoid
Vale flagging “TDFs” by rephrasing it as “TDF files,” or add the established TDF
acronym to Vale’s approved vocabulary if that is the project convention.

---

Nitpick comments:
In `@docs/components/policy/keymanagement/key_managers.md`:
- Line 8: Update the sentence in key_managers.md to replace “outside of a key
access server or the platform” with “outside a key access server or the
platform,” leaving the rest of the key managers explanation unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 23547098-b905-4316-994e-a8b2ee57dc19

📥 Commits

Reviewing files that changed from the base of the PR and between 2b2b6b5 and 695c44f.

📒 Files selected for processing (4)
  • docs/components/key_access.md
  • docs/components/policy/keymanagement/key_managers.md
  • docs/components/policy/subject_mappings.md
  • docs/guides/subject-mapping-guide.md

Comment thread docs/components/key_access.md Outdated
- key_access: "TDFs" -> "TDF files" to clear the Vale spelling flag on the edited line
- key_managers: reword intro to avoid repeating "the platform" (per CodeRabbit/Gemini)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
@github-actions

Copy link
Copy Markdown
Contributor

❌ Surge preview build failed — no preview was deployed. Check the workflow logs for details.

Once the build passes, the preview will be at: https://opentdf-docs-pr-361.surge.sh

Common cause: If the build failed on vendored YAML validation, run the following locally and commit the result:

npm run update-vendored-yaml
git add specs/
git commit -m "chore(deps): update vendored OpenAPI specs"

@marythought
marythought merged commit afd1149 into main Jul 16, 2026
8 checks passed
@marythought
marythought deleted the DSPX-3941/subject-mapping-sdk-agnostic branch July 16, 2026 15:00
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.

2 participants