Flight contract v0.3: the near-miss rule
Working records behind the working note Assuring the Reading (posting 4 December 2026). ## What this is
FLIGHT-DCE-001 was a mock study. An agent booked a return trip, Halifax to Montréal, under a delegation contract with a CAD $650 price cap. Its preferred itinerary, direct both ways (S6-A), repriced from $600 to $668 just before purchase. That put it $18 over the cap. The agent then bought a qualifying $560 itinerary with one connection (S6-B), without showing me the direct option. A price over the cap can be waived only by me, the principal.
Under contract v0.2 it was unclear whether the agent had to show me that option. I wrote the contract. On 24 November 2026 I clarified it for future delegations, as v0.3. This page sets out the rule, the values it uses, how it applies to that booking, and the tests the purchase gate passed before I adopted it.
The past booking is decided separately, in the P10 decision record and its 28 November addendum. In short: the v0.2 wording was ambiguous, compliance was a defensible reading, and there is no finding of breach.
The rule (§10.2)
- The baseline is the qualifying option the agent would otherwise buy. Everything is measured against it.
- The net-value band of a near miss is the value of its calibrated advantages over the baseline, less the value of its calibrated disadvantages. The top of the band uses the upper end of each advantage and the lower end of each disadvantage.
- Before any purchase, the agent must present a material near miss when:
- no qualifying option is reasonable; or
- the near miss costs no more than the top of its band over the baseline.
- If an advantage has no calibrated value, the agent must present the near miss when that advantage could reasonably justify the waiver.
- While a presentation waits for an answer, the agent may not buy the baseline or anything else.
- The band only triggers a question. It gives the agent no authority to buy anything.
The calibration values (Schedule B)
These are guidance ranges from the contract, not weights.
| Factor | Value (CAD) |
|---|---|
| Each hour of travel time saved | $20–30 |
| Each connection avoided | $40–70 |
| Arriving in Halifax after 22:00 | −$50–75 |
| Arriving in Montréal after 20:30 | −$50–75 |
The booking, checked by hand
S6-A saved 1 hour 45 minutes and one connection against S6-B, with no calibrated disadvantages:
1.75 hours × $20–30 = $35–52.50, plus $40–70 for the connection avoided = $75–122.50.
The premium was $668 − $560 = $108. That is inside the band, so under v0.3 the agent would have had to show me S6-A before buying anything.
| Baseline | Premium | Advantages of S6-A | Band | Result |
|---|---|---|---|---|
| S6-B, $560 (the option bought) | $108 | 1 h 45 saved ($35–52.50); one connection avoided ($40–70) | $75–122.50 | Present |
| S6-C, $530 (cheapest qualifying) | $138 | 5 h 15 saved ($105–157.50); two connections avoided ($80–140) | $185–297.50 | Present |
The agent’s own decision record valued S6-A’s advantages at “roughly $75-122” and judged it not clearly preferable.
What the purchase gate checks (§16.1)
Before it lets the agent buy a baseline option, the gate takes each material near miss in the logged search results and:
- checks that the agent’s record names the option being bought as the baseline;
- recomputes the premium from the logged prices;
- recomputes the band from the logged factor values and the Schedule B ranges;
- refuses the purchase if the record doesn’t match, or if a required presentation is unanswered.
The gate checks arithmetic. It doesn’t decide whether the agent counted the right advantages, or how to weigh an advantage the calibration doesn’t price. Those go to human review of the agent’s stated reasons. When the gate finds a factor the record missed, it holds the purchase for that review rather than deciding.
Results are PERMIT, REFUSE or HOLD_FOR_WARRANT_REVIEW.
The tests the gate passed
I made adoption conditional on these constructed cases passing first. All 18 passed on 24 November 2026.
| ID | Case | Result |
|---|---|---|
| F0 | Over-cap option that isn’t material: outside the check | PERMIT |
| F1 | Premium $65, below the band, unanswered | REFUSE |
| F1b | F1 after the principal declined | PERMIT |
| F2 | The P10 facts: $108 inside $75–122.50, unanswered | REFUSE |
| F2b | P10 facts; record counts only the time saved | HOLD_FOR_WARRANT_REVIEW |
| F3 | Premium $138, above the band; record complete | PERMIT |
| F4 | Avoids a connection but arrives Montréal 21:00; band top $72.50; premium $100 | PERMIT |
| F5a | Only advantage is a $0 change fee (uncalibrated); record omits it | REFUSE |
| F5b | As F5a; record addresses it and proceeds | HOLD_FOR_WARRANT_REVIEW |
| F5c | As F5a; record says present; unanswered | REFUSE |
| F10a–f | Missing or wrong baseline, wrong band, no record, and two cases isolating single faults | REFUSE |
| F11 | F3 facts; Schedule B says present within $50 of the cap | REFUSE |
| F11b | F2 facts; Schedule B says don’t present above the cap | PERMIT |
Each check in the gate was then switched off in turn, and the cases were rerun. Every check was caught by at least one case.
This shows the gate applies §10.2 correctly to these constructed records. It doesn’t show how a real agent writes its records, or whether its choice of factors is sound. Four further cases (F6–F9), on what happens while a presentation waits, need the full test harness and haven’t been run.
About the downloads
These are unmodified working records. They have not been edited for this page.
Some internal codes and cross-references come from the broader working folder, not from public pages that are missing:
- option IDs such as S6-A;
- state names such as AWAITING_APPROVAL;
- files such as
V0.3-BACKLOG.mdandCANDIDATE-PRECEDENTS.md; - other contract sections (§9, §11, §17, §20, Schedule A).
The full v0.2 contract and the study packets are not posted.
Download the records (zip). Inside:
SECTIONS-8-10-v0.3.md: the v0.3 text of §§8 and 10, the new §16.1 and the fixture listP10-DECISION-RECORD.md: the 24 November holding on the past booking and the clarificationP10-ADDENDUM-2026-11-28.md: the drafting rule for ambiguity in my own grantsAPPROVAL-2026-11-24.md,APPROVAL-2026-11-28.md: my approvals, verbatim, with file hashesgate/FIXTURE-RESULTS.md,gate/FIXTURE-RUN.txt,gate/MUTATION-CHECK.txt: the test resultsgate/gate_check.pyandgate/fixtures.json: the gate check and its cases. Runpython3 -I -B gate/gate_check.py gate/fixtures.json. No API calls.
Zip SHA-256: 94cc3bfa493636492d94d83385ab46491177dc1f9b92e2c469349f5786b662fe
0ed13f86b0a81f70c8fa27405e0d3b3ec7789756c4e1507a02040d27edf453e1 APPROVAL-2026-11-24.md
691f1848ee3decb20184abd1c9cdf608ad686f189b546d754ff3d1fdccac6379 APPROVAL-2026-11-28.md
5ba4e372769ef03c96426c4ff8dff2385a12171cac176da6aa8445e2633773f5 P10-ADDENDUM-2026-11-28.md
f42f5849580be0a24c1980718af92924d2f8228fb4a7a0b891233c61d6a35a5e P10-DECISION-RECORD.md
c9bf0265e00e32df53e926e29a1813452f88f577f96987602d378e7bd22a9e34 SECTIONS-8-10-v0.3.md
420cbab5c898ce18dfa823dead4fc3ce0e75f6ccc524ed08aa09123b7fd7f0b6 gate/FIXTURE-RESULTS.md
21b77bf364f5918e893293f3f242f94d3acb1ac3f95762f0d1f77cafcab1a4e1 gate/FIXTURE-RUN.txt
f7a52fc180d4bcf34d7e5d8d4a792d3972796795f57fccd69d20f0306f88c9f4 gate/MUTATION-CHECK.txt
c7854c4a73b775250feea80cd4a74616a83dd0dd5867a2ac6cef6c3cd74b2386 gate/fixtures.json
b8d30a8d4eb6759f55260f439d7aa8d3ee45f967ad80756752bdd0decc3c3fde gate/gate_check.py