docs: Batch 9 — principals and canister computational model#217
docs: Batch 9 — principals and canister computational model#217marc0olo wants to merge 2 commits intoinfra/learn-hub-migration-prepfrom
Conversation
- Add principals.md: 5 principal classes, self-authenticating IDs, anonymous principal, canister control model, upgrade behavior with stable memory - Expand canisters.md: inter-canister messaging callbacks, trap/rollback behavior (reverts to state after last outgoing call, not start of message) - Fix canisters.md: replace Learn Hub principal link with internal principals.md - Update concepts/index.md: add principals.md entry - Update glossary.md: replace verbose principal definition with concise entry linking to principals.md - Remove 4 consumed Learn Hub staging files
|
Review notes Two issues to fix before merge: 1. Broken link (blocking):
2. Third-party product link: The canister control structure table links to No other issues: frontmatter complete, |
Review notesThree items to address before merging: 1. Broken link in
|
…cipals.md - Replace canister-format self-authenticating principal example with correct 29-byte user principal format - Fix broken Next steps link: authentication/index.md → authentication/internet-identity.md
|
Feedback addressed:
|
Summary
docs/concepts/principals.md— the 5 principal classes (management canister, canister IDs, self-authenticating IDs, anonymous principal, derived IDs), how principals work as caller identities, canister control model (centralized/multi-sig/DAO/immutable), upgrade behavior and stable memorydocs/concepts/canisters.md— added "Inter-canister messaging and error handling" section covering: request/reply + callback model, the network's guaranteed-reply guarantee, and the precise trap/rollback behavior (reverts to state after last outgoing call dispatch, not beginning of message)docs/concepts/canisters.mdline 73 — replaced Learn Hub principal link with internalprincipals.mdlinkdocs/concepts/index.md— added principals.md entry under Architecturedocs/references/glossary.md— updated principal entry to link toconcepts/principals.mdcanister-smart-contracts/Staging files deleted
.migration/learn-hub/how-does-icp-work/canister-smart-contracts/{what-is-a-principal,canister-control,canister-smart-contracts,computational-model}.mdSync recommendation
principals.md:informed by Learn Hub articles "What is a Principal?", "Canister Control" (migrated, source retired)canisters.mdadditions:informed by Learn Hub articles "Canister Smart Contracts", "Computational Model" (migrated, source retired)