Skip to content

docs(onboard): document external component lifecycle - #11471

Merged
cv merged 1 commit into
mainfrom
codex/11375-external-component-docs
Sep 10, 2026
Merged

cv merged 1 commit into
mainfrom
codex/11375-external-component-docs

Conversation

@apurvvkumaria

@apurvvkumaria apurvvkumaria commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Operators can now follow one owning procedure for the supported version 1 external component lifecycle during fresh Linux onboarding.
The guide covers registration, gateway rendering, activation, incomplete-state handling, and the credential boundary without changing onboarding when no component is registered.

Reason

PR #11366 shipped the lifecycle accepted in #11340, but the public documentation did not explain the complete operator contract required by #11375.
The workflow-owned command-reference draft in #11447 provides a short command summary; this PR adds the owning procedure without modifying that draft.

Related issues

Closes #11375
Refs #11340
Refs #11366
Refs #11447

Changes

  • Add a shared deployment guide with the fixed declaration schema, filesystem checks, trust boundary, and interceptor settings.
  • Document the exact HTTP activation exchange, fixed deadlines, identity and policy checks, result classes, and preserved incomplete state.
  • Publish the guide in the OpenClaw, Hermes, and Deep Agents navigation.
  • Prevent the host-state reference from treating external component activation evidence as disposable failed-session state.

Verification

  • npm run docs — passed after the final edit; generated all three agent variants, validated routes, and reported zero Fern errors.
  • npm run validate:pr — passed for commit 2cbddc1a0ad874e15452df7a32b90812ca41c1fb against canonical main at 555ba281feb4924935bda74dc35baa42129218fe.
  • Generated-page inspection — confirmed the OpenClaw, Hermes, and Deep Agents command variants and selected-gateway activation fields.
  • Independent documentation-writer review — approved the final three-file diff with no remaining findings.
  • GitHub commit verification — commit 2cbddc1a0ad874e15452df7a32b90812ca41c1fb is Verified.
  • No runtime test applies because this PR changes only documentation and navigation; the merged source and regression tests for Add lifecycle hooks for external components around managed OpenShell onboarding #11340 were the behavior authority.
  • The validation secret scan passed, and the diff contains no secrets, API keys, or credentials.

Signed-off-by: Apurv Kumaria [email protected]

Summary by CodeRabbit

  • Documentation
    • Added guidance for registering external host components during fresh Linux sandbox onboarding.
    • Documented declaration formats, validation, security requirements, activation workflows, credential handling, and verification.
    • Added the new deployment guide to relevant documentation navigation.
    • Clarified gateway state-root usage and onboarding-session evidence, lifecycle binding, deletion guidance, and recovery limitations.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

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: 64a0ba25-4e1d-4bed-9f0c-bc2ea0f176cf

📥 Commits

Reviewing files that changed from the base of the PR and between 555ba28 and 2cbddc1.

📒 Files selected for processing (3)
  • docs/deployment/register-external-component.mdx
  • docs/index.yml
  • docs/reference/host-files-and-state.mdx

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The PR adds documentation for the version 1 external-component lifecycle, including declaration validation, fixed interceptor settings, fresh onboarding, activation requests and responses, evidence checks, incomplete states, credential handling, navigation, and host-state references.

Changes

External component lifecycle

Layer / File(s) Summary
Declaration and interceptor contract
docs/deployment/register-external-component.mdx
Defines the version 1 declaration, filesystem security checks, lifecycle ownership, and fixed OpenShell interceptor settings.
Onboarding and activation flow
docs/deployment/register-external-component.mdx
Documents fresh sandbox onboarding, Unix-socket activation, response validation, evidence checks, incomplete states, credential handling, and recovery restrictions.
Reference and navigation updates
docs/reference/host-files-and-state.mdx, docs/index.yml
Updates host-state guidance and adds the deployment page to the OpenClaw, Deep Agents, and Hermes navigation variants.

Priority: ⬇️ Low

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

Suggested reviewers: cv, laitingsheng, miyoungc

Merge Risk: ⚪ Minimal · up to 2cbdd

This PR documents the shipped external-component onboarding lifecycle without changing runtime behavior. The documentation is validated and presents no actionable merge-blocking risk.

🚥 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 clearly and concisely describes the main change: documenting the external component lifecycle during onboarding.
Linked Issues check ✅ Passed The documentation covers the linked issue requirements, including the v1 declaration contract, platform and gateway limits, fixed interceptor settings, activation protocol, verification, incomplete-st…
Out of Scope Changes check ✅ Passed All changes support the documented external-component lifecycle. The navigation updates publish the new guide, and the host-state update clarifies activation evidence required by the linked issue. No …
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/11375-external-component-docs

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

@github-actions

Copy link
Copy Markdown
Contributor

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

The documented version 1 lifecycle matches the accepted contract and shipped implementation. The complete docs build and route validation pass for all three agent variants, all required checks and automated review are clean, and the commit is verified.

@cv
cv merged commit 72e8ade into main Sep 10, 2026
59 checks passed
@cv
cv deleted the codex/11375-external-component-docs branch September 10, 2026 21:29
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images platform: linux Affects non-Ubuntu Linux environments labels Oct 15, 2026
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 area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images platform: linux Affects non-Ubuntu Linux environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the external-component lifecycle contract

4 participants