Skip to content

📝 docs(next): document 1.x Native to v2 Native migration via cpampctl migrate-from-v1 - #19

Merged
seakee merged 1 commit into
nextfrom
docs/v2-native-v1-migration
Dec 2, 2026
Merged

seakee merged 1 commit into
nextfrom
docs/v2-native-v1-migration

Conversation

@seakee

@seakee seakee commented Dec 2, 2026

Copy link
Copy Markdown
Member

Summary

Documents the guided 1.x Native → v2 Native migration workflow (cpampctl migrate-from-v1) shipped in cpamp-hq/cpamp#1255 across the Chinese and English next documentation.

Changes

  • deployment/native.md & en/deployment/native.md: Add a dedicated cpampctl migrate-from-v1 subsection covering root/sudo execution, ProtectHome=true fail-closed path guards (/home, /root, /run/user), empty non-overlapping target & symlink rules, CPA v8 prerequisites, read-only dry-run → --confirm → Upgrade UI (/.well-known/cpamp-bootstrap/ui) activation with SIGUSR1 same-PID unix.Exec, systemctl service control, and --rollback.
  • operations/update.md & en/operations/update.md: Add the Linux Native 1.x → v2 guided migration section alongside Docker upgrades and narrow the raw CLI engine section to the advanced manual path.
  • deployment/agent-playbook.md, en/deployment/agent-playbook.md, public/agent-deploy-v2.md, public/agent-deploy-v2.en.md: Align Option D migration commands, dry-run gates, and rollback instructions with cpampctl migrate-from-v1 and systemctl.

Verification

npm test   # 10/10 PASS (betaContracts.test.mjs 5/5 + docsContentIntegrity.test.mjs 5/5)
npm run build # VitePress v1.6.4 build complete in 6.19s

… migrate-from-v1

- Add guided 1.x Native -> v2 Native migration sections (dry-run, --confirm, ProtectHome=true path guards, Upgrade UI SIGUSR1 same-PID activation re-exec, systemctl management, and --rollback) to deployment/native.md and en/deployment/native.md.
- Cross-link Linux Native guided migration alongside Docker 1.x -> v2 upgrade in operations/update.md and en/operations/update.md.
- Align agent playbooks and public agent-deploy-v2 guides with cpampctl migrate-from-v1 flags and systemd controls.
@seakee
seakee merged commit 277283c into next Dec 2, 2026
1 check passed
@seakee
seakee deleted the docs/v2-native-v1-migration branch December 2, 2026 23:22
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.

1 participant