Guest & commercial decisions

Set preorder promises against shared capacity and supported reservation states

By Anurag · Published 4 November 2026 · Updated 17 November 2026Global methods · Country rules separately scoped
Constructed learning material. Prepared with AI assistance. Sample businesses, records and outcomes are fictional. External sources support the named methods or scoped facts; they do not validate the sample values as benchmarks.

A collection time shown on a restaurant page is a promise, not just a convenient label. The restaurant needs enough supported capacity for existing commitments, relevant holds and the proposed order across every resource that matters. An apparently empty slot can be unavailable because another customer is completing a reservation, a packing resource is constrained, or a source update has not yet been reconciled.

This guide develops an original fictional promise ledger for Willow Quay. Three collection windows have two abstract resources: preparation-resource minutes and packing-resource minutes. A new request needs twenty-five preparation minutes and ten packing minutes. The first window fails preparation capacity, the second fails packing capacity and only the third passes both arithmetic checks in the original evidence version.

The example also follows uncertain holds, two customers reading the same old snapshot, exact retries, changed requests and a later amendment. Those mechanisms are central to a useful institutional framework: a valid quote must remain connected to the evidence and reservation state that supported it. A polished calendar that cannot explain its available quantity can create promises the kitchen never accepted.

All durations, windows, requests and thresholds in the original promise ledger and expected answers are invented. The page changes no actual order or account. Its resource-minute buckets are a deliberately simplified capacity screen, not a detailed production schedule, food-safety method, staffing instruction or guarantee that an order can be prepared or collected at a particular real time.

For the general large-order foundation, including setup workload and capacity already consumed by a cancelled commitment, start with service promise capacity gates. This workshop develops the collection-window lifecycle: protected customer holds, exact retries and amendments that preserve the currently accepted promise when a proposed replacement fails.

TRY THE CASE

The first empty-looking window may fail a different resource

Fictional inputs and stated model boundaries. The worked calculations and downloadable records below remain available without JavaScript.

Define customer promise and supported resource-window envelopes → Freeze accepted reservation versions and source completeness → Protect active and unresolved holds under the declared state contract → Calculate each resource slack without pooling incompatible windows → Offer only supported capacity candidates pending actual reservation authority → Preserve exact operation identity and authoritative concurrent update design → Amend against the current version and retain original if replacement fails → Communicate the supported promise state and reconcile uncertainty
  1. Define customer promise and supported resource-window envelopes
  2. Freeze accepted reservation versions and source completeness
  3. Protect active and unresolved holds under the declared state contract
  4. Calculate each resource slack without pooling incompatible windows
  5. Offer only supported capacity candidates pending actual reservation authority
  6. Preserve exact operation identity and authoritative concurrent update design
  7. Amend against the current version and retain original if replacement fails
  8. Communicate the supported promise state and reconcile uncertainty
Follow the evidence through the decision. Each gate belongs to this constructed case. Download the diagram.

1. Define what the promise includes

Willow Quay's teaching promise names a declared collection window and a specific order version. It does not mean the guest will arrive exactly at the start, that every item can be held indefinitely or that preparation can start whenever convenient. Those service conditions would need their own supported operating rules and communication.

The capacity screen asks whether the proposed workload fits the supplied resource envelopes assigned to that window. It assumes that a separate process has already established which work can legitimately belong in each bucket. It does not infer preparation precedence, equipment availability at each minute, travel time or actual product suitability from a positive slack number.

Write the scope of the promise in customer language before building the capacity calculation. A collection estimate, a confirmed collection window and a tentative hold are different service states. The interface should not display confirmed when the system has only calculated a possible window from an earlier snapshot.

The internal record needs the order identity, version, requested window, resource estimate, source version and reservation state. The customer does not need all those fields on screen, but the restaurant needs them to explain a change and avoid booking an old version twice. Simple public communication depends on precise internal state.

2. Separate a resource minute from a clock minute

Each teaching window has ninety preparation-resource minutes and forty-five packing-resource minutes available. Those numbers can represent supported parallel resource capacity in an abstract bucket. They do not imply that a fifteen-minute customer window contains ninety elapsed clock minutes or that one person can perform ninety minutes of work within it.

A resource estimate must match the capacity unit. If an order uses twenty-five preparation-resource minutes, compare it with preparation-resource capacity, not a count of orders or total clock duration. Packing minutes are a different constrained resource and cannot be added to preparation minutes to make one apparently larger pool.

The OpenStax discussion of constrained resources explains the general idea that limited resources restrict output and can create bottlenecks. Its examples do not validate Willow Quay's invented capacity figures or provide a restaurant collection-time scheduling rule. This page supplies its own resource contract and numerical cases.

An actual resource envelope requires evidence about availability, compatible work, already committed activity and relevant dependencies. A nominal equipment rating or scheduled staff count is not automatically usable capacity for every product and window. The calculator takes a supported teaching envelope as an input and preserves that limitation rather than claiming to measure a real kitchen.

3. Read the original three-window ledger

The windows are W1, W2 and W3, ordered for the exercise as 17:00, 17:15 and 17:30 collection labels on one fictional service date. All share preparation capacity ninety and packing capacity forty-five. The declared contingency reserve is fifteen preparation minutes and five packing minutes per window.

W1 has two committed records: R11 uses thirty preparation and fifteen packing minutes; R12 uses twenty-five and ten. Its committed totals are fifty-five preparation and twenty-five packing. W2's R21 uses twenty and twenty, while R22 uses twenty and fifteen, giving forty preparation and thirty-five packing.

W3's R31 and R32 each use fifteen preparation and ten packing, giving thirty preparation and twenty packing. These are six distinct synthetic reservations. They do not represent six equal-sized orders, and their resource use must not be inferred from the number of rows alone.

The reservation-level CSV preserves these six records, while the JSON provides window envelopes, contingency, candidate request and scenario evidence. Start by reconciling those totals without a calculator. An interface should make it possible to trace its available minutes to identified commitments rather than provide only a green or red slot.

4. Calculate slack across both resources

For each resource, slack after a proposed request equals supported capacity minus committed workload minus capacity-consuming holds minus declared contingency minus the proposed workload. A window passes this arithmetic screen only if every required resource has nonnegative slack and the supporting source coverage is confirmed.

The contingency reserve is not another customer reservation. It is an explicit policy input in the constructed case. Its purpose is to retain unpromised capacity under the teaching rule. Fifteen preparation minutes and five packing minutes are invented amounts, not recommended universal buffers or statistical confidence bounds.

The new candidate C1 needs twenty-five preparation and ten packing minutes. At W1, preparation slack is ninety minus fifty-five minus fifteen minus twenty-five, which equals negative five. Packing slack is forty-five minus twenty-five minus five minus ten, which equals positive five. The candidate fails because one resource is short, even though the other has room.

Do not add the negative five and positive five and conclude that the combined slack is zero. Those minutes belong to different resources. A packing resource cannot automatically perform preparation work, and unused packing capacity does not offset a preparation deficit. A multi-resource promise must preserve each constraint separately.

5. Find the second bottleneck and the first passing window

At W2, preparation slack is ninety minus forty minus fifteen minus twenty-five, or positive ten. Packing slack is forty-five minus thirty-five minus five minus ten, or negative five. This time packing is the binding resource. A preparation-only availability view would offer a window the full declared model rejects.

At W3, preparation slack is ninety minus thirty minus fifteen minus twenty-five, or positive twenty. Packing slack is forty-five minus twenty minus five minus ten, or positive ten. W3 passes both supplied arithmetic conditions. It is the earliest passing capacity candidate in the declared window order.

The output calls it a capacity candidate, not an automatically confirmed customer promise. Other service conditions can remain outside the bucket screen, and a real reservation still requires an appropriate authoritative state transition. The tool does not contact an ordering system or reserve actual kitchen time.

The sequence also shows why one generic busy indicator is weak. W1 and W2 fail for different mechanisms, so the appropriate investigation differs. Increasing preparation capacity would not repair W2's packing deficit. Reducing packing work would not repair W1's preparation deficit. Preserve the resource-specific reason beside the result.

6. Treat holds as evidence-bearing capacity states

Add a separate synthetic hold H3 at W3 that consumes thirty preparation and eight packing minutes. If H3 is active, the new candidate leaves preparation slack of negative ten and packing slack of positive two. W3 no longer passes, and no original window can accept C1 under the supplied envelopes and reserves.

The same capacity treatment applies when H3's outcome is unknown under the teaching policy. Unknown does not mean released. An unresolved hold can represent an operation whose authoritative result has not yet been reconciled. Reusing its capacity prematurely can create an overcommitment if the original operation later proves to have succeeded.

If separately supported evidence establishes that H3 is released, it no longer consumes capacity and the original W3 result returns. The release is an evidence input, not a conclusion inferred from a slow page, an expired local timer or the customer's absence from a visible table.

The model distinguishes active, unknown, released and absent scenarios. Each is explicitly labelled. A real system may have additional states and relationships, such as partial acceptance or provider-specific payment authorisations. Those need a supported state model; they should not be forced into whichever label makes a preferred window available.

7. Keep reservation and payment questions connected without merging them

A payment record and a capacity reservation can have different outcomes. A customer may have an unresolved payment operation while the restaurant still needs to protect the associated capacity until the booking state is known. Conversely, a supported capacity release does not itself establish what happened to the money.

The teaching ledger contains no real payment instructions. H3's unknown state is a capacity-policy example, not a claim about a particular payment provider's authorisation or refund rules. A production design must reconcile its actual payment and reservation protocols, their authoritative outcomes and the handling of exceptions.

Avoid customer wording that implies payment success confirms a collection promise if the reservation transaction has not succeeded. Likewise, avoid repeatedly charging because the reservation page timed out. The operational system needs an appropriate relationship between request identity, payment operation, capacity state and customer communication.

The evidence workpaper can record those relationships without executing them. An unresolved operation should lead to a specific reconciliation question and responsible process rather than a guessed release. The next safe operational step depends on the real system and authority, which this educational tool does not invent.

8. Demonstrate the stale-snapshot race

Return to W3 without H3. Before C1, thirty preparation minutes and twenty packing minutes are committed. After contingency, forty-five preparation and twenty packing minutes remain available for new promises. Two customers independently request the same twenty-five preparation and ten packing minutes while both read that old snapshot.

Each request alone appears to fit. Together they require fifty preparation minutes and twenty packing minutes. Packing fits its twenty-minute available amount exactly, but preparation exceeds its forty-five-minute available amount by five. Two individually plausible quotes therefore cannot both become accepted reservations from the unchanged snapshot.

In a sequential teaching simulation, accept the first request and update the ledger. Preparation commitments become fifty-five and packing thirty. The second request then produces preparation slack negative five and packing slack zero, so it is rejected by the same resource rules. The outcome depends on an authoritative ordered update, not merely two successful browser calculations.

The original candidate check is a quote, not a lock. A production service needs an appropriate atomic reservation mechanism and concurrency design that protects every relevant resource and state. The calculator does not implement a live multi-user database, so its sequential simulation demonstrates the invariant without claiming to solve distributed concurrency.

9. Understand the database boundary

PostgreSQL's transaction-isolation documentation distinguishes isolation behaviours and explains that serializable execution has the effect of transactions running in some serial order, with application handling required for relevant failures. That technical reference does not mean a booking becomes safe merely because a database product is installed or a transaction keyword appears in code.

The actual reservation operation must include the appropriate reads, checks and updates under a suitable design. Checking preparation in one independent transaction and packing in another can leave a partially accepted operation if the process is not coordinated correctly. A counter that ignores unresolved holds can still violate the intended invariant even when its update is atomic.

The application also needs to handle conflicts and retries under its actual database and integration semantics. A retry after a serialization failure should not create a second customer reservation. A cached positive quote should not bypass the authoritative capacity check because the user saw a green slot earlier.

This guide therefore separates the business invariant from an implementation choice. The invariant says that accepted and protected workload plus contingency must not exceed supported capacity at the declared resource-window grain. The implementation needs evidence that it preserves that property under concurrent, repeated and failed operations. The local exercise tests the arithmetic and request identity, not a production infrastructure guarantee.

10. Make an exact retry reuse the same reservation

Suppose C1 is accepted into W3 with twenty-five preparation and ten packing minutes. The customer's connection fails before the confirmation is displayed, so the same operation is sent again. An exact retry must not add another twenty-five and ten to the ledger. It must recover or refer to the already accepted operation under the supported request-identity contract.

The pure teaching reservation function therefore recognises an existing candidate identity with exactly the same window and resource payload. It returns a replay outcome with no additional consumption. W3's commitments remain fifty-five preparation and thirty packing, not eighty and forty. The distinction is visible in the returned ledger.

Using the same identity for a changed payload is a conflict, not an exact retry. If C1 now asks for thirty preparation minutes, the function refuses that identity reuse. A changed order needs an explicit amendment operation with its own version and evidence, rather than hoping the old request key will silently change meaning.

The Stripe idempotent-request documentation provides one provider-specific example of request-key and parameter behaviour. Its API rules do not automatically apply to a restaurant's capacity service. The lesson here is to define and test the actual operation contract, including what an exact retry means and how changed parameters are handled, without borrowing an unrelated provider's guarantee.

11. Amend an accepted order without counting the old version twice

After C1's original acceptance at W3, consider a separate proposed amendment to fifty preparation and twenty packing minutes. The new request replaces C1's resource estimate; it is not another independent order. To assess it, retain the other W3 commitments of thirty preparation and twenty packing, then evaluate the proposed replacement version against capacity and contingency.

Preparation slack becomes ninety minus thirty minus fifteen minus fifty, or negative five. Packing slack becomes forty-five minus twenty minus five minus twenty, or zero. The amendment fails preparation capacity. The original accepted C1 version must remain in the returned ledger; a failed amendment must not quietly release the existing promise or half-apply its changed packing estimate.

At forty-five preparation and twenty packing minutes, the replacement fits both resources exactly after contingency. The new W3 committed totals become seventy-five preparation and forty packing, leaving the fifteen-and-five reserve untouched. This is the supported maximum preparation replacement in the constructed W3 case with that packing request.

The amendment function uses an expected current revision. If another supported change has already advanced C1's revision, a stale amendment must be refused and reconciled rather than overwrite the newer promise. This version check is a teaching state invariant, not a complete account of every production concurrency mechanism.

12. Preserve the existing promise when an alternative fails

A guest may ask to move C1 from W3 to W1. The new window fails the original preparation screen, so a naive workflow that first deletes W3's reservation can leave the guest with no accepted promise. Another workflow might create the new reservation but fail to release the old one, consuming capacity twice.

A supported move needs an appropriate all-or-nothing operation across the affected windows and resources, or another carefully designed protocol with explicit intermediate states and recovery. The desired business outcome is clear: either the accepted move is reflected consistently, or the original supported promise remains, with the customer told what happened.

The local amendment model keeps changes within the same window to make its invariant bounded and inspectable. The move example is a manual workflow boundary in the downloadable case. The page does not advertise a cross-window distributed transaction engine that it has not implemented.

This boundary matters to interface design. A customer should be able to explore an alternative without unknowingly cancelling the current reservation. A final confirmation should identify which promise is now supported. If the outcome is unresolved, the system should preserve and communicate that uncertainty through its actual service process rather than show whichever time the user selected most recently.

13. Distinguish capacity evidence from a full production schedule

Passing both bucket constraints is necessary under the teaching rule, but it is not sufficient to prove detailed feasibility. Preparation may need to precede packing, equipment may serve several buckets, or one specialist may be required at overlapping times. Aggregate minutes can fit while the minute-by-minute sequence is impossible.

For a small manual counterexample, suppose two tasks each need the same exclusive resource for eight uninterrupted clock minutes before a common ten-minute deadline. Their total sixteen resource minutes could fit a nominal twenty-minute envelope made from two unrelated staff positions, yet the exclusive resource still cannot process both in the available ten minutes. The capacity unit and resource identity must match the actual constraint.

The fictional W1–W3 envelopes assume an upstream process has established compatible assignment of work to buckets. The calculator does not derive that compatibility. A production extension needs a suitable scheduling model, dependency evidence and validation before it can make a stronger promise-feasibility claim.

Food-specific preparation, holding and collection conditions also require appropriate actual procedures and applicable guidance. No resource-minute buffer on this page establishes those conditions. Keeping that boundary explicit prevents an attractive scheduling tool from being mistaken for a food-safety decision system.

14. Keep contingency visible instead of selling it twice

The original preparation reserve is fifteen minutes per window and packing reserve five. Removing those reserves would change the policy. At W1, the candidate would then fit preparation with ten minutes remaining and packing with ten remaining. That more permissive result does not demonstrate that the original rejection was a calculation error; it represents a different promise policy.

If management intentionally changes contingency, preserve the decision, effective scope and evidence. Do not lower the reserve automatically whenever a desirable order appears. A buffer that is repeatedly consumed without review ceases to protect the uncertainty or operating flexibility it was intended to address.

The model allows exploration of different nonnegative reserve inputs, but labels them fictional policy assumptions. It does not estimate an optimal buffer or attach a statistical service level to fifteen minutes. A proper uncertainty model would require appropriate distributions, dependence, operational effects and validation that this deterministic screen does not provide.

Contingency is also distinct from a hold. A hold belongs to a specific unresolved or active operation; contingency protects an unpromised part of the envelope under policy. Releasing H3 should not release the contingency as well. Counting the same reserve both as available customer capacity and as a protected management buffer would misstate the ledger.

15. Handle workload estimation changes through versions

The candidate's twenty-five preparation and ten packing minutes are supplied estimates. A changed basket, portion configuration, packaging route or accepted resource standard can change those estimates. The order version and estimate version should remain connected so an old quote cannot be accepted for a materially different request.

The toy model uses integer resource minutes to keep boundaries exact. That does not imply real preparation times are known to the nearest minute or deterministic. It is a teaching measurement contract. If an actual estimator produces uncertainty or fractional units, the production design needs a suitable representation and decision policy rather than rounding every request down to make it fit.

A later estimate correction can affect existing promises. The company needs to distinguish a corrected model of what was already committed from a new customer amendment. Both can change the remaining capacity, but they have different authority, communication and audit implications. A silent bulk overwrite can make earlier promise decisions impossible to reconstruct.

Retain original estimates and the supported reason for changes. A review should be able to answer which resource assumptions were available when C1 was accepted. That is more useful than a current ledger that always agrees with the newest estimate but cannot explain why the restaurant promised a particular time yesterday.

16. Treat source completeness as a gate to offering capacity

The six original commitments are declared complete for the three-window teaching population. If a reservation source is missing, the visible ledger may understate workload. A positive slack number calculated from that incomplete file does not establish available capacity, because unknown commitments could consume it.

The interactive source-coverage scenario therefore leaves observed resource arithmetic visible but withholds supported candidate availability and earliest-passing-window selection. It does not turn missing reservations into zero or solve the problem by increasing contingency arbitrarily. A known reserve is not a substitute for an unbounded missing commitment population.

The appropriate evidence can include a supported source manifest, authoritative snapshot or reconciled event boundary under the actual system. The page does not claim one row count authenticates completeness. Its source flag is a supplied synthetic condition used to demonstrate how the decision should respond when that prerequisite is unresolved.

Coverage also needs consistent time. A current preparation commitment export combined with an earlier packing ledger can describe no single valid state. The internal record should preserve snapshot or revision relationships, not choose the newest timestamp independently for every column and assume they represent one coherent capacity view.

17. Design customer communication around supported states

A simple customer flow can distinguish choose a preferred window, check availability, hold while completing the declared step, and receive a supported confirmation. The exact states depend on the actual service. The important principle is that the wording follows the authoritative outcome rather than the optimism of the front-end interaction.

When a proposed window fails, explain that the request cannot currently be confirmed there and offer only supported alternatives under the actual process. The restaurant need not expose internal preparation and packing ledgers publicly. It should avoid a vague error that makes the customer repeatedly resubmit the same operation without knowing whether anything was accepted.

When an operation is unresolved, provide an appropriate way to recover the existing request rather than invite a new independent booking. A visible confirmation identifier can help the customer refer to the right operation, but it must correspond to a supported record. Generating a decorative reference in the browser is not proof of acceptance.

For an amendment, make the retained current promise and proposed change understandable. The teaching case's failed fifty-minute replacement leaves C1's original twenty-five-minute version accepted. The interface should not display the failed proposal as if it were now confirmed, and it should not hide the fact that the original version remains the operative commitment.

18. Use the interactive ledger to reconstruct mechanisms

Begin with candidate twenty-five preparation and ten packing minutes, the original reserves and no additional hold. Expand each window's resource bridge. Confirm W1 preparation negative five, W2 packing negative five and W3 preparation twenty with packing ten. The earliest passing capacity candidate should be W3 under confirmed source coverage.

Select active H3, then unknown H3. Both consume thirty preparation and eight packing minutes at W3 under the teaching policy, producing preparation negative ten and packing two. Select separately supported released H3 and confirm that W3's original capacity result returns. These are evidence-state changes, not actual payment or reservation actions.

Change the candidate to twenty preparation minutes while retaining packing ten. W1 now fits preparation exactly after contingency and retains packing slack five, becoming the earliest passing candidate. This exact boundary is useful because a one-minute increase should fail W1 preparation again. It tests the actual workload arithmetic rather than a prewritten scenario label.

Finally mark source coverage unresolved. No window should be offered as a supported capacity candidate, even if its observed slack is nonnegative. Reset should restore the original complete six-reservation population and no-hold state. The laboratory performs these calculations locally and does not contact the restaurant, a payment provider or a booking account.

19. Test operations that can otherwise create duplicate promises

The pure sequential example accepts C1 at W3 once and returns a new ledger with seven committed reservations. Replaying exactly the same C1 identity, window and resource payload must return the same accepted reservation without creating an eighth record. The new ledger must remain unchanged by that retry.

Try reusing C1's identity with a different preparation value or window. The function must reject the conflict. Try accepting C2 with the original twenty-five-and-ten workload after C1. The second operation must fail preparation while leaving the seven-record ledger intact. These tests reproduce the stale-snapshot race without pretending a single browser tab is a real concurrent system.

For amendments, start with accepted C1 revision one. A proposed fifty-and-twenty replacement fails and preserves revision one and its original workload. A forty-five-and-twenty replacement fits and produces revision two. A later amendment still expecting revision one must fail rather than overwrite revision two. Exact nonnegative boundaries and input immutability are part of the expected answers.

Reject duplicate reservation identities, unknown windows, negative or fractional resource minutes and unsupported hold states. A duplicate commitment must not be silently interpreted as an exact transport retry unless the actual contract establishes that relationship before forming the effective ledger. The teaching reservation list is already the accepted unique current-state population.

20. Challenge a pooled-capacity result that looks reassuring

Add the three windows before checking a promise and the original envelopes appear generous. Total preparation capacity is two hundred and seventy resource minutes and total packing capacity one hundred and thirty-five. Existing commitments total one hundred and twenty-five preparation minutes and eighty packing minutes. Contingency across the three windows totals forty-five preparation and fifteen packing.

After adding one twenty-five-and-ten candidate, this incorrect pooled view still shows positive seventy-five preparation minutes and thirty packing minutes. Those group totals do not tell the restaurant which collection window can support the work. The candidate needs a compatible resource assignment, not merely enough unused minutes scattered across different buckets.

Now add active H3 at W3. The pooled committed and held workload becomes one hundred and fifty-five preparation minutes and eighty-eight packing minutes. After contingency and the candidate, the pooled residuals remain positive forty-five preparation and twenty-two packing. Nevertheless, no window passes the declared model: W1 is short five preparation minutes, W2 short five packing and W3 short ten preparation.

This is a particularly useful failure fixture because every aggregate residual is positive while the promise is unsupported in every listed window. A vendor demonstration that presents only remaining capacity for the evening could pass its own arithmetic and still offer an impossible candidate under the actual bucket contract. The downloadable manual extension preserves the group bridge and all three failed window reasons together.

Do not repair the contradiction by taking preparation slack from W2 and packing slack from W1 unless the actual scheduling model supports that assignment and its timing. Separate buckets can involve different people, equipment or dependencies. Moving resource work between them is an operating change with its own feasibility evidence, not an arithmetic convenience. The local model does not perform such transfers.

The reverse error is also possible. A global flag saying the service is full can hide a supported small request that fits one window. With active H3, change the candidate to twenty preparation and five packing minutes. W1 then has preparation slack zero and packing slack ten, so it passes. W2 also passes, with preparation fifteen and packing zero, while W3 remains short preparation by five. The order of the declared windows makes W1 the earliest passing candidate.

These results come from the exact workload, rather than a fixed number of remaining orders. A small order consuming twenty-and-five is not equivalent to a larger one consuming twenty-five-and-ten. Counting reservations alone would give both candidates the same effect on availability and would miss the boundary. A capacity catalogue needs a supported mapping from the actual request version to its resource demand.

The case also illustrates why a company should retain rejected quote evidence separately from accepted reservations. A rejected request has not consumed capacity under this teaching contract. Adding every quote attempt to the committed ledger would eventually make the service appear full through abandoned browsing alone. A genuine active hold is different because an authoritative operation has explicitly protected its workload.

An actual service may rate-limit requests, expire tentative states or apply another bounded process, but those mechanisms need their own rules and evidence. This page does not infer a live hold merely because someone viewed a window. It does not release a real hold because a browser tab closed. The state transition, rather than the visual interaction, determines the capacity treatment.

Use the pooled failure and smaller-request cases in a handover test. Ask the reviewer to explain how positive total residual capacity can coexist with no passing window, and how a smaller candidate can then become supported without increasing any capacity. A correct answer names the resource-window grain and the changed workload. It does not replace a bucket-level promise with an evening-wide average or assume every order consumes the same resource minutes.

For an exact replay, the response should also identify the retained accepted payload rather than invite the customer to treat a newly displayed alternative as its result. The teaching function returns the existing ledger unchanged and a capacity bridge that counts C1 once. Recomputing a quote by adding C1 on top of its own accepted workload would show an artificial deficit, even though no second reservation was created. The replay tests therefore inspect both record count and resource arithmetic.

21. Hand over a framework the company can maintain

Give a colleague the reservation CSV and the window envelopes without the answers. Ask them to identify the two different bottlenecks and reconstruct W3's original slack. Then introduce H3 and ask why an unknown hold cannot be treated as released. A useful explanation names the capacity invariant and the missing authoritative outcome rather than simply saying the calendar is full.

Next provide the two-customer race and the failed amendment. The reviewer should explain why two individually passing old quotes cannot both be accepted, and why a failed replacement preserves the existing promise. Ask which parts a database transaction, idempotent request contract, estimate version and customer confirmation must each support in an actual implementation.

The final internal note records the resource definitions, capacity evidence, contingency policy, accepted reservation version, hold treatment, source coverage, candidate workload and remaining feasibility conditions. It names the actual decision authority and recovery process without claiming that this educational calculator performs them. A company can keep the public interaction simple because the underlying promise is tied to a traceable state.

Maintain the original known-answer cases when changing resources, order estimation, window rules or integrations. Add cases for the actual new mechanism instead of only confirming that the page still shows a slot. The practical value is a promise process that can explain what was checked, what was reserved, which version remains accepted and what happens when evidence is incomplete.

Research sources and scope

Build on the foundations

These introductory resources are already available in the existing website library.