System Design Atlas

Agricultural field operations

10 / 10Worked example

Design and evidence

Which tests verify the local start deadline and exactly-once acceptance of completed area?

The final design reuses the complete runtime topology from step 6. Test markers connect key decisions to expected results and earlier steps to revisit. The following items form a test plan; measured evidence is still outstanding.

Starting point Track receipt and deadline expiry as separate completion paths.

Assumptions for the example case

Our own fictitious example design: Mechanical tillage of a field; a machine order; offline stored work record; local inspection of operational windows and approval. Figures and quality goals are illustrative test assumptions. Outside are plant protection product application, autonomous driving control, agronomic advice and payroll.

Overall architecture with evidence

Runtime architecture · central planning, local journal

  1. 1 · Confirm the operation
  2. 2 · Take over local order
  3. 3 · Journaling work
  4. 4 · Reconcile the remaining area
Scheduling interfaceOperation + remaining area
Machine appWork order + event journal

Agricultural Platform

Operational APIPlan adoption
Operations and geometry storeE-141 · G-4 · Evidence
Synchronization gatewayOffline events
Evidence verificationMachine + boundary + area
Weather importAdopt forecasts
Forecast storeVersion + spatial reference
Weather serviceForecast
Planning interface → Field-operations APIPlan + G-4
Field-operations API → Operations and geometry storeE-141
Machine app → synchronization gatewaylocal event journal
Synchronization gateway → Evidence validationWork record
Evidence validation → Operations and geometry store8 ha + G-4 + M-141
Weather Service → Weather ImportForecast
Weather import → Forecast storeVersioned state
Forecast store → Planning interfacePlanning guidance
Synchronization gateway → machine appconfirmation / order
Machine conflict · Step 3/5Replay · Step 4Offline document · Step 7/9

Machine operators decide on safe operation on site; the app holds the work order and journal; the gateway accepts evidence; planning and work records share the operations store.

Field does not have a stable connection. Keep full order and journal local. Start and proof work in the released framework.

Test plan with review loops

ValidationExpected resultReturn to an earlier step
Concurrency in both ordersTwo plans request M-141 for overlapping time windows. Exactly one wins in either commit order. For central revocation versus an offline start, possible start authority remains visible until 10:00 unless receipt is confirmed; the central interface must not claim that revocation took immediate effect.Steps 3 and 5
Identical and changed retriesThe same work record over 5 ha with the same device event is synchronized twice: 5 ha, not 10 ha. The same key with 6 ha creates conflict. Changed field boundary does not replace G-4 in the old proof.Step 4
Exact value or time limitStart of work 09:59:59.999 UTC is allowed under valid A-141;10:00:00.000 and thereafter are too late. Order with missing or uncheckable time is clarified on site instead of started automatically.Steps 2 and 5
Lost response and restartMachine operators complete 8 ha offline. The server accepts the record, but its response is lost. A retry confirms 8 ha. The remaining 4 ha stays visible for planning; the operation is not presented as a fully completed 12 ha.Steps 7 and 9

Concurrency in both orders

Expected result
Two plans request M-141 for overlapping time windows. Exactly one wins in either commit order. For central revocation versus an offline start, possible start authority remains visible until 10:00 unless receipt is confirmed; the central interface must not claim that revocation took immediate effect.
Return to an earlier step
Steps 3 and 5

Identical and changed retries

Expected result
The same work record over 5 ha with the same device event is synchronized twice: 5 ha, not 10 ha. The same key with 6 ha creates conflict. Changed field boundary does not replace G-4 in the old proof.
Return to an earlier step
Step 4

Exact value or time limit

Expected result
Start of work 09:59:59.999 UTC is allowed under valid A-141;10:00:00.000 and thereafter are too late. Order with missing or uncheckable time is clarified on site instead of started automatically.
Return to an earlier step
Steps 2 and 5

Lost response and restart

Expected result
Machine operators complete 8 ha offline. The server accepts the record, but its response is lost. A retry confirms 8 ha. The remaining 4 ha stays visible for planning; the operation is not presented as a fully completed 12 ha.
Return to an earlier step
Steps 7 and 9

First end-to-end validation

End-to-end path
Start A-141 offline, report 8 ha and lose the response. 8 ha are counted once, 4 ha remain open and later starts are blocked.
Open decision
After that, several sub-areas and machines are supplemented. Application of plant protection products, autonomous driving control, agronomic advice and payroll require their own follow-up design.

Test the offline boundary

Test the offline boundary

Start A-141 offline, report 8 ha and lose the response.

The critical process connects deadline and sub-area.

8 ha remain one-time,4 ha open, later starts blocked.

Alternative considered
A map test does not verify authority.
Trade-off
Test requires local clock and separate device storage.
Reassess
After that, several sub-areas and machines are supplemented.

Terms in this step

Test the offline boundary
8 ha remain one-time,4 ha open, later starts blocked.

Try it yourself

Assign the start deadline and duplicate sub-area report to a test and a design step to revisit.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Starting at 09:59:59.999 is allowed; exactly 10 o’clock is rejected. Failures lead back to step 2/5.
Second part of the solution
Eight-ha receipt twice: eight confirmed, four open; error to step 4/7. Both commitments must remain traceable offline.

Apply to your project

Which corresponding assumption in your project would you check first? Use as an occasion: After that, several sub-areas and machines are supplemented.

Transfer the system boundary, evidence and open decisions to the editable Markdown design template.

Start your own design

Choose a small case from your project. The template collects the ten design tasks and leaves space for your sketches, decisions, and open assumptions. You can edit it in your text editor or note-taking app.

Download design template (.md)
Compare the ten tasks with the example case
  1. Purpose and boundary

    Which corresponding assumption in your project would you check first? Use as an occasion: Other types of use are tested separately.

    In the example: Design mechanical field work around human decisions on site. A work order does not replace a professional safety assessment.

  2. Requirements

    Which corresponding assumption in your project would you check first? Use as an occasion: Shorter operating windows are necessary for operation.

    In the example: Track the start deadline and receipt acknowledgement explicitly. The central system knows what effects remain possible.

  3. Scale estimates

    Which corresponding assumption in your project would you check first? Use as an occasion: Longer periods without connectivity increase the amount.

    In the example: Test 768 measurements/s as a catch-up profile. The offline buffer dominates recovery.

  4. Interfaces

    Which corresponding assumption in your project would you check first? Use as an occasion: Device change changes sequence contract.

    In the example: Compare the device sequence and content together. The area is counted once.

  5. Data and states

    Which corresponding assumption in your project would you check first? Use as an occasion: Retention requires a limited archive strategy.

    In the example: Bind the work record to G-4. The area worked at the time remains explainable.

  6. Overall architecture

    Which corresponding assumption in your project would you check first? Use as an occasion: connection becomes reliable and boundaries change.

    In the example: Keep the complete work order and journal locally. Starting and recording work function within the authorised scope.

  7. Critical flow

    Which corresponding assumption in your project would you check first? Use as an occasion: partial areas are removed geometrically instead of quantity-related.

    In the example: Confirm 8 ha and leave 4 ha open. The plan is not presented as work actually performed.

  8. Bottlenecks and trade-offs

    Which corresponding assumption in your project would you check first? Use as an occasion: Better local measurement becomes available.

    In the example: Keep creation time and spatial references visible. Operators recognise the limited reliability of the forecast.

  9. Operations and security

    Which corresponding assumption in your project would you check first? Use as an occasion: A verified local stop channel is added.

    In the example: Track receipt and deadline expiry as separate completion paths. Farm management knows whether starting is still possible.

  10. Final design

    Which corresponding assumption in your project would you check first? Use as an occasion: After that, several sub-areas and machines are supplemented.

    In the example: Start A-141 offline, report 8 ha and lose the response. 8 ha are counted once, 4 ha remain open and later starts are blocked.