LEARN · PRACTICE · REFLECT
Knowledge exercises·Independent answers
Principles and Solutions have been collapsed. Explain the core mechanism, boundaries and verification methods in your own words, and then compare them.
Answers and personal notes
Can be practiced directly. After logging in, answers, favorites, and notes will be saved to your account.
Log in and saveEach modified commit will be kept as an independent history. Your level of mastery is up to you to evaluate yourself against the standards.
Explain in your own words first
The core principles, analysis, Q&A and migration cases have been closed. When you are ready, unfold it and compare it with the content to find any omissions.
Hands-on verificationComplete on demand · Suggestions35 minutes
Run the tool module and ToolContractTests from the deep-dive bundle. Record a five-gate diagnosis for foreign_order, changed_retry and new_operation_old_version; then add one second legitimate refund.
Expand acceptance requirements and checkpoints
- Foreign request passes shape, fails authorization and writes no effect.
- Identical retry replays one receipt; changed amount under refund-1 is denied.
- A second operation with version2 and amount400 leaves remaining300/effect_count2.
- The report separates the local transaction proof from remote-provider guarantees.
Key inspections
- Separates shape, business semantics, authorization, resource state and committed receipt.
- Uses authenticated tenant/actor and object-specific checks, not model identity fields.
- Keeps the same operation identity for uncertain retries and detects changed payload.
- Names the residual race when authorization and effect reside in separate services.