Skip to content

fix(onboarding): complete Agent and team storage installation guidance - #2995

Open
frf12 wants to merge 5 commits into
oceanbase:masterfrom
frf12:codex/fix-harness-install-guidance
Open

frf12 wants to merge 5 commits into
oceanbase:masterfrom
frf12:codex/fix-harness-install-guidance

Conversation

@frf12

@frf12 frf12 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Which issue or RFC does this PR close?

Related to #1964, #2205, and #2811. No tracked issue is closed.

Rationale for this change

The installation overview and Agent-facing guide omit implemented integrations, so an Agent can incorrectly conclude that MiniMax Code or another host is unsupported. The Quick Start and Agent instructions mix human setup choices with Agent execution steps. The overview also omits the Gateway route, and Chinese emphasis can render as literal Markdown markers. The team installation guide asks the user to choose storage without applying that choice to the Server configuration or initializing OceanBase.

What changes are included in this PR?

  • Update English and Chinese installation entries to link all implemented native Agent integrations, including Kimi Code and MiniMax Code. Document the MiniMax marketplace path, distinguish CLI detection from support, and retain portable plugin and native MCP routes for other compatible hosts.
  • Direct hosts absent from the configuration wizard to their dedicated guides after Server configuration, including these instructions in the generated next-steps file. Keep host-specific authentication, Scope, and capture behavior explicit.
  • Add manifest-driven regression checks for both installation entries and the integration sidebar in both locales. Newly implemented native integrations must have discoverable guide links; no fixed host count is used by the checks.
  • Add the Gateway integration mechanism and links to installation and host-specific guides. Align the Agent installation guide with current protocol, conversation identity, request Scope, plugin coexistence, and capture behavior.
  • Make Quick Start the human-facing choice between manual installation and a copyable Agent request. Keep the manual commands and existing heading anchors. Make the Agent guide execution-only, linking directly to the manual steps when needed, and test both routes in both languages.
  • Distinguish native Windows, WSL2, and remote Gateway deployment. Provide shell-appropriate detection, treat credential-file presence separately from login, and use the same explicit, quoted CODEX_HOME for the Server, Gateway credentials, and Codex launch profile.
  • Move punctuation outside emphasis markers where required by Markdown delimiter rules, with matching English formatting. Add website regressions for rendered prose emphasis and Gateway navigation in both locales.
  • In a separate storage commit, document the selected SQLite/OceanBase settings, preserve existing SQLite database paths, and require OceanBase plan → apply → verify before Server startup. Add tests that parse both locales' configuration examples through the real configuration CLI and verify backend selection, URL handling, and redaction.

Are there any user-facing changes?

Users choose manual or Agent-assisted installation in Quick Start and can discover the native MiniMax plugin and other implemented integrations from the installation entry points. The wizard explains dedicated installation routes instead of presenting its own host menu as the complete support list. Team installation now applies the selected storage backend and describes the required initialization.

MiniMax and Kimi remain experimental with their documented limitations. No public API, storage schema, dependency, or integration availability status changes are included.

How was this change tested?

  • uv run --no-sync pytest tests/test_agent_install_storage.py tests/test_config_wizard.py tests/test_config_wizard_agents.py tests/test_config_wizard_next_steps.py tests/test_config_wizard_installation.py tests/test_integration_manifest.py -q — 144 passed.
  • uv run --no-sync prek run -a — passed, including Ruff and type checking.
  • make docs-test — passed, including 53 website tests; the static export verified 1,148 public pages and their internal links.
  • GitHub's GFM rendering API confirmed that the Chinese installation guide renders its execution rules as <strong> elements with no literal bold markers remaining in prose.
  • Parsed the Codex path examples through the real environment-file parser with a directory containing spaces; checked Bash detection and launch-script syntax without executing them. The new PowerShell detection example was reviewed, not exercised on a real Windows host.
  • Checked the exported English and Chinese llms.mdx installation and integration entry pages: all 11 currently implemented native guide links are present, along with the MiniMax CLI mapping and storage maintenance sequence.
  • On Linux with Python 3.12.11, real SQLite 3.49.1 and OceanBase CE 4.3.5.6 passed authenticated explicit memory save/search and restart persistence with identical ArtifactRef and content. OceanBase also rejected startup before initialization, passed plan/apply/verify, reported empty-database backup as not_required, and did not create a fallback SQLite database. The isolated test container was removed afterward.

The real backend run used source revision 9e40f8996be538970922121fb82168f825a8cf0c and exercised the storage configuration and maintenance commands documented here. The tested Server, storage, and configuration-validation implementations are unchanged by this PR; the interactive wizard changes are covered by the current-branch tests above. This does not claim existing-data upgrade acceptance, generation or embedding model validation, or real-client acceptance for all 11 hosts. Remote CI and the current merge result must be checked separately before merging.

AI usage statement

Implemented and reviewed with OpenAI Codex, including delegated code/documentation review and test execution. The author is responsible for the changes and validation claims.

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

LGTM

This branch has not been deployed

No deployments
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