Free learning / 35-minute practice + offline extension
FDE field-change drill: defend the next delivery decision
Revisit your decision when a source, permission or productivity assumption changes.
No account needed. Use your own copy for writing and keep the original as a reference.
Engineering lab library / Run locally
Choose your next agent lab.
Start with the durable workflow reference, then choose the boundary you want to test. Open its walkthrough for setup, commands and expected observations.
Synthetic records. No provider key or model inference. Runs locally with the standard library.
Start here / Node.js 24 · Offline exercise
Late-result release and receiver checks
Complete actual pending Promises after permission or request state changes; distinguish server release from receiver acceptance.
Node.js 24 · Standard library · Synthetic state · No network
LockedIn Labs · Original practice material · Edition 2 · 26 October 2026
Use after the client-delivery workbook and runnable offline starter. This is a 35-minute individual or paired extension, not a qualification examination. All requests, observations and people below are synthetic. Do not connect a live provider, production system or patient data to run this drill.
What you will produce
A one-page change decision, a revised case row, and a two-minute receiving-team briefing. Your evidence must distinguish supplied observations from anything you actually execute. Full worked interpretations and reviewer calibration guidance are in the Academy client-delivery capstone under existing access.
Resources:
- Workbook: https://training.lockedinlabs.ai/templates/fde-client-delivery-workbook.md
- Starter: https://training.lockedinlabs.ai/templates/fde-client-delivery-starter.mjs
- Course: https://training.lockedinlabs.ai/app/academy?course=fde-client-delivery&lesson=cohort-delivery-capstone&view=focus
Start with the baseline contract (5 minutes)
Your service supports one authorized location and three administrative categories. It retrieves one current procedure and proposes a draft. The operator decides whether to use it. Missing or conflicting support requires manual handling. The starter is a scripted, local implementation with no sending capability.
Run the existing starter if you have not done so. Save its output with the file revision and scenario name. Do not rerun every scenario simply to fill time. Choose one card below. In a pair, the receiver selects the card after the builder has explained the baseline; the builder may ask factual clarification questions.
Card A — two apparently current procedures
At the same authorized location, the procedure catalog now contains both:
| Source | Version | Category | Current flag | Instruction |
|---|---|---|---|---|
| ADMIN-FORM-04 | 3 | form-location | true | General administrative forms are available at reception. |
| ADMIN-FORM-04 | 4 | form-location | true | General administrative forms are available at the east reception desk. |
Both records have tenant-a and location-a. The procedure owner has not yet confirmed which instruction applies. The sponsor says: “Pick version four; newer must be better. The demonstration starts in ten minutes.”
Your task: State the immediate user-visible behavior, who resolves the source conflict, and the smallest change you can defend. Explain what a higher version number establishes and what it does not establish.
Optional local implementation: copy the starter, add the second record to its procedures array and run supported. Preserve the original file. Record what actually happened and which stage stopped. Do not silently filter out version three solely to make the demonstration pass.
Card B — a late result after access changes
This is a supplied tabletop sequence, not behavior observed in the starter:
| Time | Event |
|---|---|
| 14:00:00 | Operator is authorized for location-a and starts a draft. |
| 14:00:01 | An access owner revokes that operator's location-a permission. |
| 14:00:02 | The operator switches to manual handling after a deadline. |
| 14:00:04 | A remote drafting service returns the earlier result. |
The proposed implementation checks location access only when a request starts. Its UI accepts whichever response arrives last. It has not connected a sender.
Your task: Draw the ordering of authorization, provider dispatch, revocation, manual state and result delivery. Name where fresh authority and request state must be checked. Explain why cancellation alone is insufficient evidence that a remote result cannot return, and what revocation cannot retroactively undo.
The original starter cannot execute this sequence: its actor is fixed and it has no browser or real identity lifecycle. Keep a design-only answer labeled “expected, unexecuted.” The optional companion below executes a separate asynchronous model so you can inspect its two delivery boundaries. It does not turn the starter into a live identity system.
Run the late-result investigation
Optional 25-minute extension to Card B. A race condition occurs when the result depends on the ordering of concurrent work. Here a request starts while authorized, but permission or the operator's intent changes before its asynchronous result arrives. Two distinct questions follow: may the server release this result, and does this attempt still belong in the receiver's current state?
Download the late-result lab, read it, and use Node.js 24 in a local folder. It needs no packages, credentials, model, network or real records. The program starts a deferred Promise, changes a fixture and then actually resolves the pending work. No sleep or wall-clock timing decides the outcome. It compares an admission-only, last-result-wins policy (naive) with a fresh release check and an active-attempt check (guarded).
The server and receiver are in-memory models in the same process. The permission flag is synthetic, and the receiver is not a browser. Each check and its local effect run without an intervening await; this does not prove distributed atomicity or production authorization. The supplied adapter intentionally ignores an abort request. That illustrates why a caller must handle a possible late completion; it is not a claim that browser fetch ignores AbortController.
UNDERSTAND THE SYSTEM
A completed result still has two boundaries to cross
Follow an actual pending Promise in the offline lab. The server model decides whether it may release the result; the receiver model decides whether that attempt still belongs on screen. The diagram explains synthetic code execution, not a live identity system or browser.
Watch one example, step by step.
Read the full worked example
- 01Complete the ordinary request
The baseline dispatches A, releases its Promise, checks permission and accepts A while it is active and pending. A guard must preserve this useful path as well as refuse stale work.
GUARDED BASELINE: 1 released · 1 accepted
- 02Revoke before release
Revoke the permission fixture while A is pending, then complete the Promise. The guarded server withholds the result. The naive policy uses its old admission and releases it anyway.
SERVER RESPONSIBILITY: Guarded: 0 released · naive: 1 released
- 03Choose manual handling
Permission remains allowed. Manual handling requests cancellation, but the deliberately noncooperative adapter still completes. The server releases A; the guarded receiver refuses to replace its manual state. UI rejection alone did not prevent release.
RECEIVER RESPONSIBILITY: 1 released · 0 accepted · manual retained
- 04Finish the newer attempt first
Start B while A is pending and complete B first. When A later arrives, current permission still allows release. The guarded receiver retains B because A is no longer active. Last-result-wins would replace B with A.
IDENTITY IS NOT ARRIVAL ORDER: 2 released · 1 accepted · B retained
- 05Restore access without reviving A
Revoke access, select manual handling, then restore permission before A completes. The fresh permission check now passes. The receiver must still reject A because that attempt's manual state has not been reopened.
TWO INDEPENDENT CONDITIONS: 1 released · 0 accepted · manual retained
- 06Account for an earlier release
If A was already released and accepted before revocation, later permission changes cannot erase that exposure. This fixture leaves the prior acceptance visible. A real UI may hide a view, but that is different from recalling bytes already delivered.
PAST DELIVERY REMAINS EVIDENCE: 1 prior release · revocation does not recall it
Read the connections in plain English
- 01Attempt identity → Pending adapter
Start the pending work without waiting for its completion.
- 02Pending adapter → Server release
The controlled Promise completes after the scenario has changed the fixture.
- 03Permission fixture → Server release
Decide release using the current fixture, not only the earlier admission.
- 04Server release → Receiver acceptance
Only a result allowed through the server model reaches the receiver model.
- 05Operating choice → Receiver acceptance
Manual handling is terminal for this attempt. Starting a replacement selects a different active ID; check both identity and pending state.
Check your understanding: The receiver discards A after manual handling. Does that prove the result was never released?
No. In the guarded manual case, current permission allows one server release and the receiver accepts none. Inspect both boundaries. A requirement to withhold terminal work before delivery needs a server-owned lifecycle check too; this small model does not implement one.
Predict, compare and hand over
Before running, predict two counts for each case: results released by the server model and results accepted by the receiver model. Keep the prediction separate from actual stdout. Then run:
node fde-delivery-race.mjs --self-test
node fde-delivery-race.mjs --case baseline
node fde-delivery-race.mjs --case revoked --policy naive
node fde-delivery-race.mjs --case revoked --policy guarded
node fde-delivery-race.mjs --case manual --policy guarded --json
node fde-delivery-race.mjs --case replaced --policy guardedUse the event order to explain the difference. In revoked, the guarded server releases no result. In manual, permission is still allowed: the server releases one result, but the guarded receiver accepts none and keeps manual handling. Ignoring the result at the receiver is not evidence that the server withheld it. In replaced, B completes before A; both are released, but only B is accepted by the guarded receiver. Compare --policy naive to observe the older A replacing B.
Now change the condition rather than repeating the same proof:
node fde-delivery-race.mjs --case restored --policy guarded --json
node fde-delivery-race.mjs --case after-release --policy guarded --jsonIn restored, access is revoked, manual handling is selected, then permission is restored before A finishes. Fresh permission now passes; the terminal receiver state still rejects A. In after-release, A was already released and accepted before revocation. Retain that prior delivery in the evidence. Hiding a later view cannot recall information already received.
Split the investigation between two roles. The server engineer locates the release check and reports which result crossed it. The receiving engineer locates the active-attempt and pending-state checks and explains which result changed the final state. Each writes their own account before discussion. The pod lead identifies the owner of any additional requirement—such as withholding terminal work at the server—and keeps it separate from the behavior this model proves. Solo practice is self-review.
My initial prediction / file revision / case / policy:
Events I executed, or inspected without execution:
Result IDs released by the server model:
Result IDs accepted by the receiver model:
Final receiver state and the exact guard that preserved it:
What cancellation requested / what actually completed:
Receiving role / observed gap / assistance:
Next owner and smallest additional implementation check:Ask the receiver to find the release of A in the manual trace without your pointing at it. They should explain why zero acceptances do not mean zero releases. If they cannot, return that specific gap and revise the explanation. A successful local run is evidence about this fixture, not real client access, browser behavior, provider cancellation, independent qualification or placement.
The original exercise draws on OWASP's authorization guidance for checks at the trusted boundary and React's stale-response example for avoiding outdated state updates. MDN documents what abort can cancel; this companion's noncooperative adapter is an explicit authored assumption. References checked 26 October 2026.
Card C — a faster demonstration, a slower operation
Supplied synthetic active handling times for six matched requests, in minutes:
| Request | Manual path | Assisted path including review/correction/fallback |
|---|---|---|
| SYN-201 | 8 | 4 |
| SYN-202 | 9 | 5 |
| SYN-203 | 10 | 5 |
| SYN-204 | 10 | 6 |
| SYN-205 | 11 | 15 |
| SYN-206 | 12 | 25 |
The first four assisted tasks were accepted with little correction. The last two needed fallback after confusing source guidance. All six tasks completed. Queue waiting, engineering effort and service cost are not included in these figures. The sponsor points to the first four rows and asks for an organization-wide productivity claim.
Your task: Calculate total effort, median effort and per-request paired change (manual minus assisted). Identify how the conclusion changes if you report only the median or omit fallback rows. Recommend a next comparison and describe what would falsify your hypothesis. Do not extrapolate six supplied cases to a staffing reduction, revenue projection or measured customer result.
Work the change (15 minutes)
Use this decision sheet. Keep the immediate operating decision separate from the next engineering increment.
Card / candidate revision / adapter mode:
What changed from the baseline:
Supplied facts and unresolved questions:
Affected user and consequence:
Immediate operating decision and authorized decision role:
Smallest proposed change (including what stays outside this slice):
Evidence already available, with supplied/executed/expected labels:
Next case: input -> expected state -> prohibited effect -> observation:
Evidence that would change the decision:
Receiving role, next action and fallback:For Card A, record before/after traces if you execute the fixture change. For B, submit the event ordering and expected case, or retain the separate companion’s actual output if you run it; label which evidence you have. For C, show the arithmetic and retain every row. A correct outcome with a wrong explanation is still a learning gap.
Receiver challenge (8 minutes)
The receiver asks one question from each audience. Rotate who asks; a solo learner records their own answers and labels the exercise self-reviewed.
- Executive: What can the team safely continue doing today, and what decision do you need from me?
- Technical lead: Show the exact boundary or observation supporting that choice.
- Receiving engineer: What do I do if your proposed increment fails?
- Operator: Where is the useful next action when no draft is available?
The receiver must restate the recommended scope and demonstrate or describe the manual next action without the builder completing the answer. Record a missed step as a gap. Revise that part of the packet; do not substitute presentation confidence for receiving-team understanding.
Close and submit (7 minutes)
Record the original decision, the receiver's challenge, your revision and the remaining uncertainty. Submit through the existing capstone artifact workflow if you have Academy access, or retain the packet locally for facilitated review. Do not include secrets or real customer information.
A useful self-review asks whether the evidence supports the decision, whether failed and pending cases remain visible, and whether the receiving team has an immediate useful action. A peer discussion is practice feedback; it is not a provider credential, hiring decision or independent qualification.