Skip to content

docs: complete v0.0.101 post-tag audit follow-ups - #8255

Merged
senthilr-nv merged 23 commits into
mainfrom
codex/post-tag-docs-audit-20260804-114049
Aug 5, 2026
Merged

docs: complete v0.0.101 post-tag audit follow-ups#8255
senthilr-nv merged 23 commits into
mainfrom
codex/post-tag-docs-audit-20260804-114049

Conversation

@miyoungc

@miyoungc miyoungc commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR updates Microsoft Teams, Google Chat, and HTTPS Pin Runtime documentation and corrects channel lifecycle validation.
channels start and channels stop now reject a configured channel that the sandbox agent runtime does not support.
The cleanup guidance now requires snapshots and explains retained-volume risk before sandbox destruction.

Related Issue

No issue is linked to this PR.

Changes

  • Check channel and agent compatibility before reading configured or disabled channel state.
  • Add regression tests for stale Google Chat configuration on Hermes and preserve the supported Microsoft Teams flow.
  • Add Microsoft Teams and Google Chat to the applicable setup, command, lifecycle, and network-policy pages.
  • Keep Google Chat setup guidance on its setup page and routine lifecycle guidance on Manage Messaging Channels.
  • Document HTTPS Pin Runtime revocation recovery, credential residency, snapshot prerequisites, and adapter cleanup.
  • Preserve the existing product scope. This PR does not add a supported surface.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: Independent Codex Desktop security and correctness review at commit d6b5c3bbe66f71364a2be1575e04d420629b2d41 against main fdd68285e2c3e9f7c09ac63029236e108d02d9d1 passed all nine categories. No security, correctness, or product-scope findings remain.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Documentation Writer Review

  • Documentation writer subagent reviewed the completed changes
  • Result: docs-updated
  • Evidence: Reviewed the complete nine-file diff at commit d6b5c3bbe66f71364a2be1575e04d420629b2d41 against main fdd68285e2c3e9f7c09ac63029236e108d02d9d1. Claims match the implementation, manifests, lifecycle code, and agent-gate tests. Agent variants, cleanup warnings, terminology, and test titles follow repository guidance. The repaired snapshot link matches the nested published route in docs/index.yml. The cleanup guidance uses the shared command placeholder, requires every gateway-port environment to be removed, and requires the credential-bearing adapter process and listener to be gone before declaring in-memory credentials purged. The final merge preserves the concurrent contributor refresh without changing file content. No standalone suites or GitHub writes were performed during this review.
  • Agent: Codex Desktop

DGX Station Hardware Evidence

  • Tested on DGX Station
  • Tested commit: Not applicable.
  • Station profile/scenario: Not applicable.
  • Result: Not applicable. This PR does not change scripts/prepare-dgx-station-host.sh.
  • Supporting evidence: Not applicable.

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub — DCO declarations are included for Miyoung Choi, Senthil Ravichandran, and Carlos Villela. The concurrent contributor refresh is preserved in history. GitHub marks all 23 PR commits as Verified.
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run validate:pr passed after refreshing origin/main when hooks were skipped or unavailable — Applicable pre-commit and commit-msg hooks passed for both documentation repairs. Commit-msg and generated-output freshness hooks passed for all four main refreshes. Commit 6fb65bda9 used --no-verify after the linked worktree could not resolve COMMIT_EDITMSG. A normal pre-push attempt stopped because the linked worktree lacked compiled CLI and plugin artifacts. The fast-forward push then used --no-verify with this limitation recorded. Required GitHub checks must pass before merge.
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — Not run locally. Required GitHub checks for commit d6b5c3bbe66f71364a2be1575e04d420629b2d41 must pass after publication.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — Not run locally. Required GitHub checks for commit d6b5c3bbe66f71364a2be1575e04d420629b2d41 must pass after publication.
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only) — Not run locally. The required GitHub documentation check for commit d6b5c3bbe66f71364a2be1575e04d420629b2d41 must pass after publication.
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only) — Not applicable. This PR adds no pages.

Signed-off-by: Miyoung Choi miyoungc@nvidia.com
Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Signed-off-by: Carlos Villela cvillela@nvidia.com

Summary by CodeRabbit

  • Documentation
    • Added Microsoft Teams and Google Chat to messaging setup guidance, with experimental status clearly identified.
    • Documented credential validation before sandbox image creation.
    • Clarified Google Chat lifecycle behavior, including sandbox destruction and tunnel controls.
    • Improved route-recovery instructions and linked Google Chat lifecycle guidance.
    • Added experimental integration policy presets and expanded channel command documentation.
  • Bug Fixes
    • Channel start and stop operations now validate agent support and channel configuration before making changes.
    • Improved channel identification and error messages for unsupported integrations.

Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@miyoungc miyoungc added the area: docs Documentation, examples, guides, or docs build label Aug 4, 2026
@miyoungc miyoungc self-assigned this Aug 4, 2026
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Review 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

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: af09a9af-0c2f-4186-8258-af8f35936aad

📥 Commits

Reviewing files that changed from the base of the PR and between d9f40e9 and d6b5c3b.

📒 Files selected for processing (1)
  • docs/inference/custom-endpoint-security.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/inference/custom-endpoint-security.mdx

📝 Walkthrough

Walkthrough

Channel actions now resolve agent-supported messaging manifests and use canonical channel IDs. Documentation covers Teams, experimental Google Chat support, enrollment, lifecycle behavior, policy presets, and route-revocation recovery.

Changes

Messaging channel support

Layer / File(s) Summary
Agent-aware channel validation
src/lib/actions/sandbox/policy-channel.ts, src/lib/actions/sandbox/policy-channel-agent-gate.test.ts, src/lib/actions/sandbox/policy-channel-remove-flow.test.ts
Channel start and stop operations resolve manifests, validate agent support, persist canonical IDs, and reject unsupported requests before side effects.
Channel support and enrollment
docs/get-started/quickstart.mdx, docs/network-policy/integration-policy-examples.mdx, docs/reference/commands.mdx
Documents Teams and experimental Google Chat support, credential validation, policy presets, manifest selection, and enrollment flows.
Channel lifecycle behavior
docs/manage-sandboxes/manage-messaging-channels.mdx, docs/manage-sandboxes/set-up-google-chat.mdx
Documents sandbox destruction, tunnel behavior, service ownership, and Google Chat lifecycle management.

Route recovery documentation

Layer / File(s) Summary
Route recovery guidance
docs/inference/custom-endpoint-security.mdx
Documents route-revocation checks, authentication requirements, recovery reruns, snapshot precautions, and cleanup actions.

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

Suggested labels: area: policy, chore

Suggested reviewers: senthilr-nv

🚥 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 accurately identifies the documentation audit follow-ups and broadly matches the pull request objectives, although it does not mention the channel validation code changes.
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 codex/post-tag-docs-audit-20260804-114049

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

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor — Informational

Advisor assessment: Informational / low confidence
Next action: No advisor follow-up needed.
Findings: 0 blockers · 0 warnings · 0 suggestions
Status: Partial review preserved 0 canonical finding(s) and 3 terminology decision(s) before the advisor stopped.

Model lanes

  • GPT-5.6 Terra (primary): Failed after a partial review · low confidence · 0 blockers · 0 warnings · 0 suggestions
  • Nemotron 3 Ultra (second opinion): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions

Second-opinion terminology and E2E selections are advisory. They do not change the primary assessment or E2E / PR Gate.

3 semantic terminology decisions

Terminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.

  • established — source-subnet policy at docs/inference/custom-endpoint-security.mdx:85: Keep `source-subnet policy` for the recorded adapter source restriction.
  • justified — route revocation warning at docs/inference/custom-endpoint-security.mdx:76: Keep `route revocation warning`; the heading introduces the specific recovery procedure.
  • justified — dashboard tunnel services at docs/manage-sandboxes/manage-messaging-channels.mdx:135: Keep `dashboard tunnel services` to identify the resources that `tunnel stop` affects.

E2E guidance

Advisory only. E2E / PR Gate selects and runs jobs independently.

Recommended E2E: channels-add-remove, channels-stop-start, inference-routing, network-policy, onboard-repair, onboard-resume

Workflow run details

This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge.

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

Actionable comments posted: 1

🤖 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/reference/commands.mdx`:
- Around line 2102-2108: Update the channels stop command to validate the
requested channel through the same agent-filtered listAvailable path used by
channels list before calling getChannelDef or stopping it. Reject channels
absent from that filtered list, while preserving existing handling for supported
configured channels.
🪄 Autofix

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b951a314-039b-4a19-9762-42abf415c32a

📥 Commits

Reviewing files that changed from the base of the PR and between 87e66fe and 39cd4f7.

📒 Files selected for processing (6)
  • docs/get-started/quickstart.mdx
  • docs/inference/custom-endpoint-security.mdx
  • docs/manage-sandboxes/manage-messaging-channels.mdx
  • docs/manage-sandboxes/set-up-google-chat.mdx
  • docs/network-policy/integration-policy-examples.mdx
  • docs/reference/commands.mdx

Comment thread docs/reference/commands.mdx
@apurvvkumaria apurvvkumaria self-assigned this Aug 4, 2026
@senthilr-nv senthilr-nv self-assigned this Aug 5, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Channel start and stop accepted stale configured channels that the
sandbox agent runtime does not support. They now use the same
agent-filtered manifest availability as `channels list` before reading
channel state or mutating policy, registry, or sandbox state.

## Changes

- Gate channel start and stop by the sandbox agent's manifest-supported
channels.
- Cover stale Google Chat configuration on Hermes with fail-closed start
and stop tests.
- Preserve the supported Hermes and Microsoft Teams stop flow.
- Document that both start and stop names match `channels list` for the
sandbox agent runtime.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [x] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [x] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [x] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification: Exact-head
nine-category security review passed; lifecycle commands now fail closed
before state reads or mutations when a configured channel is unsupported
by the sandbox agent.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `docs-updated`
- Evidence: `docs/reference/commands.mdx`; independent review covered
the complete change, writing rules, documentation style, 34 focused
tests, CLI type-checking, Biome, agent-variant sync, and the docs build.
- Agent: Codex Desktop
<!-- docs-review-head-sha: 76d9018 -->
<!-- docs-review-agents-blob-sha: 3dd7c24 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification

- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — `npx vitest run --project cli
src/lib/actions/sandbox/policy-channel-agent-gate.test.ts
src/lib/actions/sandbox/policy-channel-remove-flow.test.ts
src/lib/messaging/manifest/registry.test.ts
src/lib/messaging/utils.test.ts` (34 passed)
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result: Not applicable to this
focused lifecycle gate; authoritative PR CI will run the
repository-selected broad checks.
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only) — build
passed with 0 errors and 2 existing warnings.
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>

Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
@github-code-quality

github-code-quality Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in commit d6b5c3b in the codex/post-tag-docs-... branch remains at 96%, unchanged from commit fdd6828 in the main branch.

TypeScript / code-coverage/cli

The overall coverage in commit d6b5c3b in the codex/post-tag-docs-... branch remains at 81%, unchanged from commit fdd6828 in the main branch.

Show a code coverage summary of the most impacted files.
File main fdd6828 codex/post-tag-docs-... d6b5c3b +/-
src/lib/actions...licy-channel.ts 81% 81% 0%
src/lib/sandbox...rce-identity.ts 87% 87% 0%
src/lib/inferen...er-discovery.ts 87% 88% +1%
src/lib/domain/.../connect-env.ts 89% 97% +8%

Updated August 05, 2026 06:28 UTC

@senthilr-nv senthilr-nv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed refreshed head 305b5f0. Product scope is in scope; the documentation and agent-gated channel lifecycle behavior are correct, focused validation passed, and no blocking findings remain.

@senthilr-nv
senthilr-nv enabled auto-merge (squash) August 5, 2026 04:39
senthilr-nv and others added 8 commits August 4, 2026 21:43
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/reference/commands.mdx (1)

2180-2181: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Render the Google Chat enrollment note only for OpenClaw.

This shared page describes an OpenClaw-only setup flow without an <AgentOnly variant="openclaw"> block. Hermes and Deep Agents readers can still see instructions for an unsupported channel. Wrap this paragraph in the OpenClaw block.

As per coding guidelines, use <AgentOnly> blocks for content that differs by agent behavior or setup flow.

Proposed fix
+<AgentOnly variant="openclaw">
 The OpenClaw-only Google Chat channel uses an experimental token-paste flow for the service-account JSON.
 It also requires interactive public-webhook confirmation and prompts for optional app-principal configuration during enrollment.
+
+</AgentOnly>
🤖 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/reference/commands.mdx` around lines 2180 - 2181, Wrap the Google Chat
enrollment paragraph in an <AgentOnly variant="openclaw"> block so only OpenClaw
readers see this OpenClaw-specific setup flow; leave the paragraph’s text
unchanged.

Source: Coding guidelines

🤖 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/inference/custom-endpoint-security.mdx`:
- Around line 110-112: Update the cleanup guidance around NemoClaw uninstall to
require removing every sibling gateway, either manually or with nemoclaw
uninstall --all-gateway-ports, before declaring credentials purged. Instruct
operators to verify that the adapter PID and listener have stopped after
destroying all sandboxes and completing uninstall.

---

Outside diff comments:
In `@docs/reference/commands.mdx`:
- Around line 2180-2181: Wrap the Google Chat enrollment paragraph in an
<AgentOnly variant="openclaw"> block so only OpenClaw readers see this
OpenClaw-specific setup flow; leave the paragraph’s text unchanged.
🪄 Autofix

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 4242fc6e-d3b5-4df8-b8c3-0f05dd88a941

📥 Commits

Reviewing files that changed from the base of the PR and between 305b5f0 and d5a38cb.

📒 Files selected for processing (3)
  • docs/get-started/quickstart.mdx
  • docs/inference/custom-endpoint-security.mdx
  • docs/reference/commands.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/get-started/quickstart.mdx

Comment thread docs/inference/custom-endpoint-security.mdx Outdated
cv added 4 commits August 4, 2026 22:57
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
@senthilr-nv senthilr-nv removed their assignment Aug 5, 2026
@senthilr-nv
senthilr-nv merged commit 62b4f28 into main Aug 5, 2026
97 of 103 checks passed
@senthilr-nv
senthilr-nv deleted the codex/post-tag-docs-audit-20260804-114049 branch August 5, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants