Skip to content

docs: weekly release 2026-04-10 — onchain KMS docs, CVM replication, and nav updates#155

Merged
Leechael merged 8 commits intomainfrom
docs/weekly-release-2026-04-10
Apr 10, 2026
Merged

docs: weekly release 2026-04-10 — onchain KMS docs, CVM replication, and nav updates#155
Leechael merged 8 commits intomainfrom
docs/weekly-release-2026-04-10

Conversation

@Leechael
Copy link
Copy Markdown
Contributor

@Leechael Leechael commented Apr 10, 2026

Summary

  • SDK & CLI changelogs — updated for weekly release 2026-04-10
  • Onchain KMS documentation section — five new pages covering the full lifecycle: understanding the model, first deployment, updating compose, device allowlist management, and multisig/governance flows; replaces the old on-chain-kms-guide in the JS SDK reference
  • CVM replication — new replicating-cvms.mdx with dashboard, CLI, auto-registration, and multisig prepare/commit flows; multi-replica-scaling.mdx trimmed to a concept/decision page
  • Nav & copy cleanup — renamed "Key Management" nav group to "Onchain KMS"; normalized "Cloud UI" → "dashboard" wording; fixed commit token validity (7 → 14 days); updated stale cross-references

- Enhance generate-cli-docs.js to handle "Subcommands:" and "Help topics:" sections
- Skip help topic sections as they are not real commands
- Fix alias marker stripping from command descriptions
- Improve indentation detection for command entries
- Regenerate all CLI command documentation
- Update cloud-js-sdk reference documentation
Add five new pages under phala-cloud/key-management covering the full
onchain KMS lifecycle: understanding the model, first deployment,
updating compose, device allowlist management, and multisig/governance
flows. Update cloud-vs-onchain-kms.mdx with revised content and remove
the now-superseded on-chain-kms-guide from the JS SDK reference.
Extract hands-on replication steps into a new replicating-cvms.mdx
covering dashboard, CLI, Onchain KMS auto-registration, multisig
prepare/commit, and API reference. Trim multi-replica-scaling.mdx
to a pure concept and decision page that links to the new guide.
Normalize "Cloud UI" / "Dashboard UI" to "dashboard" across cvm and
env-var pages. Refresh cvm/overview.mdx with concise option descriptions
and links to the new replicating-cvms guide. Update commit token validity
from 7 to 14 days in deploy.mdx. Redirect provision-cvm SDK reference
from the deleted on-chain-kms-guide to deploying-with-onchain-kms.
@Leechael Leechael changed the title docs: update SDK and CLI changelogs for weekly release 2026-04-10 docs: weekly release 2026-04-10 — onchain KMS docs, CVM replication, and nav updates Apr 10, 2026
Point SOURCE_FILE to ../../docs/error-codes.md (relative to the docs repo
root inside the teehouse monorepo submodule layout) instead of the old
phala-cloud-monorepo path.

Replace BSD-incompatible multi-command sed range with portable awk.
error-codes.mdx:
- Add missing ERR-03-003 (CvmNotInWorkspaceError, reveal mode, HTTP 404)
  and ERR-03-004 (same class, security mode — masks as not-found, HTTP 404)
- Add HTTP 404/409 annotations for non-standard Module 03 error codes
- Add Module 05 to module list (was missing)
- Add Module 06 note (OAuth redirect errors, not JSON API responses)
- Restore full descriptions for ERR-01-005 through ERR-01-008

cloud-js-sdk/error-handling.mdx:
- Fix formatStructuredError example: ERR-01-001 → ERR-02-001
  (ERR-01-001 is NodeNotFoundError, not InstanceTypeNotFoundError)

cloud-python-sdk/error-handling.mdx:
- Clarify Module 06 table entry: returned as OAuth redirects, not JSON
@Leechael Leechael merged commit 8d11006 into main Apr 10, 2026
4 checks passed
@Leechael Leechael deleted the docs/weekly-release-2026-04-10 branch April 10, 2026 15:12
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