Skip to content

📝 docs(v2): document signed-slot self-updates, restore-pre-migrate, and CPA baseline adoption - #14

Merged
seakee merged 2 commits into
nextfrom
docs/v2-self-update-slot-engine
Nov 26, 2026
Merged

seakee merged 2 commits into
nextfrom
docs/v2-self-update-slot-engine

Conversation

@seakee

@seakee seakee commented Nov 26, 2026

Copy link
Copy Markdown
Member

Summary

Document the CPAMP v2 Self-Update Architecture (Phase 1 seakee/CPA-Manager-Plus#1229 + Phase 2 seakee/CPA-Manager-Plus#1231) on the v2 Beta (next) channel across Chinese and English documentation:

  • operations/update.md / en/operations/update.md:
    • Add Updating an existing v2 installation covering isolated update-index-v2.json discovery, one-click Ed25519 signed-slot staging/upload and PID 1 unix.Exec self-updates (v2.0.0-beta.2+), pre-stop VACUUM INTO snapshots + trial write fencing, 60s Trial Watchdog automatic rollback, same-schema one-click rollback, manual @sha256 Docker and sudo ./cpa-manager-plusctl upgrade --home /opt/cpa-manager-plus upgrades (BaseVersion >= SlotVersion cold-start precedence), SQLite downgrade fences, and Managed CPA adopt-baseline / baseline_acquire behavior.
  • operations/backup.md / en/operations/backup.md:
    • Expand the /data persistent inventory with /data/backups/ (pre-slot-* / pre-migrate-gen*), /data/runtime/cpamp/ (slots/<ver>/ and slot-state.json), and selection-provenance.json.
    • Document operator post-commit database recovery via cpa-manager-plus restore-pre-migrate --latest --db-path ... --data-key-path ... --confirm for Docker and Linux Native deployments.
  • reference/releases.md / en/reference/releases.md:
    • Align release channel and asset documentation with update-index-v2.json (schema_version: 2), prefixless slim / full single-image tags, the signed cpamp-slot_<tag>_linux_amd64.tar.gz asset (v2.0.0-beta.2+), seed-lineage.json, and base-abi.json.

Verification

  • npm test (8/8 passed, including bilingual Markdown structure/code/link parity and heading anchor resolution)
  • npm run build (vitepress build succeeded with 0 dead links)

Related

…nd CPA baseline adoption

- Document v2 in-app Ed25519 signed-slot self-updates, 60s trial watchdog rollback, manual Docker/Native base upgrades, and bundled CPA baseline adoption across bilingual operations/update.md.
- Document pre-slot and pre-migrate automatic snapshot directories plus operator post-commit recovery via cpa-manager-plus restore-pre-migrate across bilingual operations/backup.md.
- Align bilingual reference/releases.md with isolated update-index-v2.json, single-image slim/full role tags, signed cpamp-slot archives, seed-lineage.json, and base-abi.json.
…ta.1 launch

- Reflect that signed-slot self-updates, trial watchdog rollback, and CPA baseline adoption ship built in starting from v2.0.0-beta.1.
- Clarify that signed cpamp-slot archives are emitted from v2.0.0-beta.1 when the signing key is configured and enforced from v2.0.0-beta.2 onward.
@seakee
seakee merged commit 5669520 into next Nov 26, 2026
1 check passed
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