zeroclaw/docs
Darren.Zeng 7ddf10f86d
feat(onboard): add --reinit flag to prevent accidental config overwrite (#3102)
* feat(onboard): add --reinit flag to prevent accidental config overwrite

Add --reinit flag to onboard command that:
- Backs up existing ~/.zeroclaw directory with timestamp
- Starts fresh initialization after backup
- Requires --interactive mode to work
- Prevents accidental configuration loss

This addresses issue #3013 where onboard could accidentally
overwrite all configuration without warning.

Closes #3013

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(ci): SHA-pin all third-party GitHub Actions

Replace mutable version tags with immutable commit SHAs to prevent
tag-hijacking supply chain attacks (P1 finding).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: retrigger CI after startup_failure

* fix(onboard): address PR #3102 review issues for --reinit flag

- Use resolve_runtime_dirs_for_onboarding() instead of hardcoded ~/.zeroclaw
- Remove unsafe relative path fallback, bail instead
- Add user confirmation prompt before reinitializing config
- Update docs/reference/cli/commands-reference.md with --reinit docs

* style: fix cargo fmt and clippy violations

- Fix import ordering in src/config/mod.rs (rustfmt)
- Collapse single-arg encrypt/decrypt calls in src/config/schema.rs (rustfmt)
- Box::pin large onboard futures to fix clippy::large_futures in src/main.rs

These violations were blocking CI lint checks.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Simian Astronaut 7 <simianastronaut7@gmail.com>
2026-03-11 22:09:39 -04:00
..
assets docs: restructure docs/ into topic-based directory layout 2026-03-09 22:25:20 -04:00
contributing chore(github): update review ownership routing (#3216) 2026-03-11 19:11:53 -04:00
hardware chore: migrate GitHub URLs from theonlyhennygod to zeroclaw-labs 2026-03-09 23:49:56 -04:00
i18n docs: replace main branch references with master (#3194) 2026-03-11 21:54:08 -04:00
maintainers Merge branch 'master' into e2e-testing 2026-03-11 15:26:19 +00:00
ops docs: replace main branch references with master (#3194) 2026-03-11 21:54:08 -04:00
reference feat(onboard): add --reinit flag to prevent accidental config overwrite (#3102) 2026-03-11 22:09:39 -04:00
security docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
setup-guides docs: replace main branch references with master (#3194) 2026-03-11 21:54:08 -04:00
vi docs: replace main branch references with master (#3194) 2026-03-11 21:54:08 -04:00
README.fr.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
README.ja.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
README.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
README.ru.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
README.vi.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
README.zh-CN.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
SUMMARY.fr.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
SUMMARY.ja.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
SUMMARY.md test: restructure test suite into five-level taxonomy 2026-03-11 11:03:33 -04:00
SUMMARY.ru.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00
SUMMARY.zh-CN.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00

ZeroClaw Documentation Hub

This page is the primary entry point for the documentation system.

Last refreshed: February 21, 2026.

Localized hubs: 简体中文 · 日本語 · Русский · Français · Tiếng Việt.

Start Here

I want to… Read this
Install and run ZeroClaw quickly README.md (Quick Start)
Bootstrap in one command one-click-bootstrap.md
Update or uninstall on macOS macos-update-uninstall.md
Find commands by task commands-reference.md
Check config defaults and keys quickly config-reference.md
Configure custom providers/endpoints custom-providers.md
Configure Z.AI / GLM provider zai-glm-setup.md
Use LangGraph integration patterns langgraph-integration.md
Operate runtime (day-2 runbook) operations-runbook.md
Troubleshoot install/runtime/channel issues troubleshooting.md
Run Matrix encrypted-room setup and diagnostics matrix-e2ee-guide.md
Browse docs by category SUMMARY.md
See project PR/issue docs snapshot project-triage-snapshot-2026-02-18.md

Quick Decision Tree (10 seconds)

By Audience

Users / Operators

Contributors / Maintainers

Security / Reliability

Note: this area includes proposal/roadmap docs. For current behavior, start with config-reference.md, operations-runbook.md, and troubleshooting.md.

System Navigation & Governance