docs: canisters concept page#2
Conversation
Review: concepts/canisters.md — Changes RequestedGood page overall — strong structure, correct CLI commands, good progressive disclosure. A few issues to fix: 1. Broken link:
|
Adds three new verification rules to the content authoring workflow: - Internal link verification: agents must confirm target files exist - External URL verification: agents must not guess/generalize crate URLs - Self-consistency check: frontmatter and body must not contradict Also expands linking rules table with ic-stable-structures and candid crate URLs, and adds a "never" rule against linking to non-existent pages. Motivated by review of PRs #2-#5 where agents linked to plausible but non-existent paths (reference/certified-variables.md, guides/backends/ stable-memory.md) and used wrong crate URLs (docs.rs/ic-cdk for ic-stable-structures).
Review: concepts/canisters.md (round 2)Must fix
Suggestions
Verified
|
…elopers Covers what canisters are, how they differ from traditional smart contracts, the Wasm execution model, message types (update/query/composite), memory model (heap + stable), canister IDs, lifecycle, controllers, and internals. Source: portal essentials/canisters.mdx + message-execution.mdx
13fee29 to
e2a9700
Compare
|
Feedback addressed:
|
Review: CanistersMust fix
Verified
|
…uctions Concept pages must not contain CLI commands or step-by-step procedures — link to guides instead. This was implicit but caused a violation in PR #2 (canisters page had 6 icp command blocks in the lifecycle section).
|
Feedback addressed:
|
Add same-subnet, ingress-only, and no-replicated-mode limitations that developers need to know when designing multi-canister architectures.
There was a problem hiding this comment.
Pull request overview
Adds the foundational “Canisters” concept page to the docs, explaining what canisters are and how they work within the Internet Computer’s execution and messaging model.
Changes:
- Replaces the placeholder page with a full conceptual overview (execution model, message types, memory model, IDs/principals, lifecycle, controllers, internals).
- Adds cross-links to related concept and guide pages (cycles/reverse gas, HTTPS outcalls, chain fusion, lifecycle management, certified variables).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
- Distinguish official CDKs (Motoko, Rust) from community-supported languages - Fix misleading query call authenticity wording (not threshold-signed) - Qualify orthogonal persistence as Motoko-specific
|
Feedback addressed:
|
Summary
concepts/canisters.mdpage that most other pages depend onSync recommendation
informed bydfinity/portal — canisters.mdx, message-execution.mdx