docs(deploy-to-cloud-engine): proxy-canister usage for cross-subnet calls#242
Merged
Conversation
…et calls Engine (`CloudEngine`-subnet) canisters cannot make cross-subnet cycle-bearing or guaranteed-response calls, so they cannot directly reach the exchange-rate canister, threshold ECDSA/Schnorr, or vetKD. Document the proxy-canister workaround: deploy and fund a proxy from the console, call targets through its `proxy` method (with the candid interface and a Motoko sketch), and the caller-isolated threshold-key behaviour. Adds four pitfalls and widens the description to trigger on these cases. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Skill Validation ReportValidating skill: /home/runner/work/icskills/icskills/skills/deploy-to-cloud-engineStructure
Frontmatter
Markdown
Tokens
Content Analysis
Contamination Analysis
Result: passed Project Checks |
…educe body tokens Address skill-validator: shorten the frontmatter description (was 1398, now ~1010 chars) and tighten the proxy section prose to bring the body back under the 5000-token guidance. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pietrodimarco-dfinity
enabled auto-merge
July 10, 2026 14:15
raymondk
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a Cross-subnet calls via a proxy canister section to the
deploy-to-cloud-engineskill, plus four pitfalls and a wideneddescriptionso the skill triggers on proxy / XRC / threshold-key questions.Why
A cloud engine runs on a
CloudEnginesubnet, which the protocol forbids from sending cross-subnet messages that carry cycles or are guaranteed-response. So an engine canister cannot directly call the exchange-rate canister, threshold ECDSA/Schnorr, or vetKD — all of which are cross-subnet and cycle-bearing. Agents writing engine apps hit this and need the proxy-canister workaround, which was previously undocumented in the skill.Contents
proxymethod — full candid interface + Motoko sketch, withProxyArgs.cyclessemantics andProxyErrorhandling.proxycall, running the proxy dry / funding via CLI, and expecting a direct-call key through the proxy.Validation
node scripts/check-project.jspasses (pre-existing warnings only, unrelated skills).skill-validatornot run (not installed in my environment).🤖 Generated with Claude Code