Repository navigation
fix(docs): correct sandbox-hardening link and security layer count - #5099
Conversation
Security Best Practices (docs/security/best-practices.mdx) had two QA-found issues (#5088): - The in-body and Related Topics links to Sandbox Hardening used ../manage-sandboxes/sandbox-hardening; the page lives at docs/deployment/sandbox-hardening.mdx, so use ../deployment/sandbox-hardening. - The intro, Mermaid diagram, and at-a-glance table described "four layers" (network, filesystem, process, inference) but the body documents five layer sections — it adds Gateway Authentication. Reconcile to five layers everywhere (both agent variants render the Gateway Authentication section). Add a regression test asserting the canonical link and that the intro and at-a-glance overview agree with the five body layer sections. Closes #5088 Signed-off-by: Dongni Yang <dongniy@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR resolves documentation and consistency issues in the security best practices page. The intro and diagram are updated to describe five security layers (adding Gateway Authentication), the layers table is expanded to include the new layer, broken sandbox-hardening links are corrected to the canonical path, and a regression test validates all changes. ChangesSecurity Best Practices Five-Layer Documentation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
🌿 Preview your docs: https://nvidia-preview-pr-5099.docs.buildwithfern.com/nemoclaw |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
docs/security/best-practices.mdxhad two QA-found issues (#5088):../manage-sandboxes/sandbox-hardening, but the page lives atdocs/deployment/sandbox-hardening.mdx. Corrected to../deployment/sandbox-hardening.described four layers (network, filesystem, process, inference) while the
body documents five layer sections — it adds Gateway Authentication.
Reconciled to five layers in the intro, diagram, and table. The Gateway
Authentication section heading is outside the
AgentOnlyblocks, so both theOpenClaw and Hermes variants render it — five layers is correct for both.
Related Issue
Closes #5088
Changes
docs/security/best-practices.mdx:test/repro-5088-best-practices-layers.test.ts: regression test asserting thecanonical link and that the intro/at-a-glance agree with the five body layer
sections (fails before this change, passes after).
Type of Change
Verification
npx prek run --all-filespassesSigned-off-by: Dongni Yang dongniy@nvidia.com
Summary by CodeRabbit