Review the prerequisites
Suitable for: Backend developers learning Agent applications.
- A controlled task chain from evidence to publication
- Enterprise tasks should be recorded separately for reading evidence, generating drafts and publishing results, and then connecting them with versions and authorizations. Durable orchestration restores control flow but does not automatically guarantee consistent evidence or that external writes occur only once.
How does the mechanism work?
Step-by-step explanation
- Reports involve multiple documents that are constantly updated. How to define a consistent snapshot of evidence?
Reports draw on multiple changing sources, so explain the scope of evidence consistency.
- The worker crashes after a successful release. How to avoid repeated releases during recovery?
Durable-task recovery must handle the window where an external action succeeds but is not recorded locally.
- When the user cancels the task, how to handle the external requests that have been sent?
The task chain must define how cancellation relates to an irreversible commit.
Design · Explain the trade-offs
Explain design trade-offs · A controlled task chain from evidence to publication
Objectives of this level: Specify transaction, integration and responsibility boundaries for cross-day delivery.
Visual guide · Publish from current facts
This planner only recommends a next step. Check current authority first; stale approval cannot turn committed or unknown receipts into a fresh send. Select the figure to open it at full size.
Same after-sales project
The after-sales Agent publishes a reviewed refund-policy notice. A stored checkpoint is control-flow data; current publishing authority, current document version, approval binding and the external receipt are separate facts. This local planner recommends a next step; it does not commit a database transaction, publish remotely or prove enterprise readiness.
The existing capstone main-return creates a return application; it does not execute a refund. These manifests are independent fictional extensions or policy/evidence/counting exercises. They do not add real refunds, publication, model calls or Java execution to the capstone runtime.
Changed contract and architecture decision
Turn the draft-only feature into cross-day publication for two tenants. Submit an ADR separating identity gateway, evidence store, approval object, business ledger and outbox/remote target. Define atomic local boundaries, remote idempotency/reconciliation, post-approval source changes, fencing, rollback and who owns unresolved receipts. Show one executed independent integration trace or label it pending. Junior owns guards; intermediate owns adapter/receipt regression; senior owns isolation/migration/incident trade-offs. This pure planner and a passing unit case cannot establish distributed exactly-once or real production experience.
Independent deliverables
Submit a condition delta, at least two alternatives with rejected reasons, ADR/owner/rollback triggers, one personally authored negative test and code or checker diff with the same input red→green rerun. Label architecture proposals, executed local evidence, actual integrations and production responsibility separately. A reviewer must introduce an independently chosen condition at assessment; the public fixed manifests alone do not prove transfer. Do not invent measurements or enterprise incidents.
Responsibility boundary
Four tracks are learning methods, not job levels. Junior candidates own bounded code and a counterexample; intermediate candidates own integration/recovery and changed-business evidence; senior candidates add architecture, isolation/migration/incident ownership and one specialty. Real API and JD-required production experience stay separate evidence gates. A fixed local pass is not a learner mastery or hiring certificate.
code example
Change the boundary and defend responsibility
Turn the draft-only feature into cross-day publication for two tenants. Submit an ADR separating identity gateway, evidence store, approval object, business ledger and outbox/remote target. Define atomic local boundaries, remote idempotency/reconciliation, post-approval source changes, fencing, rollback and who owns unresolved receipts. Show one executed independent integration trace or label it pending. Junior owns guards; intermediate owns adapter/receipt regression; senior owns isolation/migration/incident trade-offs. This pure planner and a passing unit case cannot establish distributed exactly-once or real production experience.
Acceptance task for this level
Deliver the course-specific changed-contract ADR, alternatives, owner/rollback policy and one independent executed counterexample; keep unexecuted claims pending. Contract: plan_publication(payload).
Reading this browser’s record…
Hide the answer and check your understanding
Can local outbox insertion prove remote publication?
Expand reference derivation
No; independently inspect target receipts and duplicate handling, with pending cases retained.
Further explanations and practice
When encountering unfamiliar principles, first read the implementation, continuous questioning and migration cases, and then independently explain the premise and boundaries. Answers and notes are saved to the original account record.
All linked explanations and exercises (1 )
Sources and verification scope
The principles are based on public information; the numbers, cases and tasks are the teaching design of this website. Offline experiments verify the range noted on this page, and the learning effect still needs to be judged through independent tasks and feedback.
- LangGraph: Persistence and Thread Checkpointing
- Temporal: Activity retry, receipt and cancellation
- MCP:Authorization
- PostgreSQL: Transaction Isolation and Consistent Snapshots
- AWS: Transactional outbox and duplicate delivery
- Public fixed contract inputs
- Local pure-function checker
- Extended Agent local practice package