# API response acceptance record

Task / permitted application action:
Declared structure and business invariants:
Ordinary fixture comparator and what it proves:
Candidate version / date / service / safe request references:
Frozen training-input manifest and data review:
Disjoint held-out families chosen before training:
Normalized / templated / equivalent-copy exclusion evidence:
Loaded model / adapter / binding revision and activation evidence:
Frozen generation / retrieval / routing / cache configuration:
Actual caller boundary and application assertion:

For EACH planned case:
- Case ID / request family / training membership:
- Expected invariants and permitted refusal:
- Cold caller status / body / observed origin / action:
- Later caller status / body / observed origin / action:
- Inference-service observations, kept separate from caller output:
- Acceptance: ACCEPTED / REFUSED / UNSUPPORTED / UNRESOLVED:
- Evidence reference and missing evidence:

Counts kept separate: attempted / returned / accepted / refused / unsupported / unresolved:
Origin counts kept separate: stored / retrieved / generated-classified / unknown:
Decision: KEEP FIXTURE / CONTINUE CANDIDATE / STOP / INCONCLUSIVE:
Reason, maintenance owner or anonymous role, and next discriminating check:

## Filled authored quote plan

This is a planning example. Replace planned fields with your own observations;
leave result and count fields blank until you have the evidence.

Task: A synthetic USD-only quote flow. Proceed only for the requested quote, a non-negative safe-integer total in minor units that matches an independently approved price/quantity rule, currency USD and availability true. Add the actual application display/action assertion.

Ordinary comparator: Use the existing authored order-response packet to inspect positive and negative contract checks. Its checker pins order_demo_001. It does not evaluate these quote families unchanged: adapt the identity assertion to each requested quote. A passing fixture checks declared assertions, not model quality.

Safe inputs and split: Use reviewed synthetic quote examples. Freeze Family A training references and reserve disjoint Family B before training. Exclude normalized, templated and equivalent copies; retain the exclusion evidence. No credentials or customer payloads are required in this record.

Candidate freeze: Record the selected version, service, loaded adapter/binding revision, activation evidence and effective retrieval/generation/routing/cache configuration before observation. Do not silently retrain, refresh the library or change a threshold between cases.

Observation boundary: Evaluate the actual caller status/body and application action. If inspecting an inference envelope, retain it separately; do not substitute it for the proxied caller response. Origin and confidence are context, not acceptance permission.

Classification: ACCEPTED meets declared caller checks. REFUSED is a returned candidate that violates them. UNSUPPORTED is outside the frozen contract. UNRESOLVED lacks an attributable result or necessary evidence. Retain attempts and unavailable serving separately from wrong returned behavior.

Decision: Keep the ordinary fixture when it proves the task. Continue a response-model candidate only with useful caller evidence and understood operating effort. Stop or retain INCONCLUSIVE when serving, split integrity, origin attribution or acceptance evidence is missing.

### Authored currency counterexample

```json
{
  "quote_id": "quote_example_A",
  "total_minor": 2750,
  "currency": "EUR",
  "available": true
}
```

### Source, shape and meaning

Source: Where did the answer come from? Record stored, retrieved, generated-classified or unknown origin separately. If the evidence cannot distinguish retrieval from generation, keep origin unknown.

Shape: Does it meet the declared structure? Check parsing, required fields and types.

Meaning: May this caller use the answer? Assert requested identity, amount, currency and availability.

### Four planned cases

#### Known family

Plan: Send a reviewed training-family request. Assert the caller contract and retain origin; stored or retrieved output is not generated generalization.
Check: Check the caller contract; do not credit retrieval as generated generalization.
Input control: Family A: reviewed synthetic USD quote requests and safe expected responses. Keep request identity, product, quantity and currency references in the input manifest.
Expected decision: Accept only when the actual caller's quote identity, safe-integer amount under the approved price/quantity rule, USD currency, availability and resulting action meet the declared requirements. Keep observed origin independent of acceptance.
Actual cold observation:
Actual later observation:
Observed origin:
Caller acceptance / action:
Missing evidence:

#### Held-out family

Plan: Reserve a disjoint request family before training. Exclude normalized or templated equivalents; a different ID alone is not a held-out case.
Check: Exclude normalized, templated and equivalent copies; bind identity checks to the requested quote.
Input control: Family B: a separate product/quantity family within the same declared quote contract. Determine its expected total from an independently approved price/quantity rule. Keep held-out request/response examples out of training and tuning inputs. Check manifests for normalized request keys, near-duplicate templates and equivalent response copies before calling it held-out; apply the same invariant rules to both families.
Expected decision: Inspect the actual caller response and application action against the same invariant rules. Retain the origin and leakage checks. A useful retrieved response may be accepted for the task without establishing model generalization.
Actual cold observation:
Actual later observation:
Observed origin:
Caller acceptance / action:
Missing evidence:

#### Broken invariant

Plan: Use the authored EUR response as a negative control. Refuse the USD-only action even when the JSON parses.
Check: The caller must refuse the USD-only action. This control is not a model-output observation.
Input control: Inject this authored negative response at the caller boundary. Keep the rest of its shape plausible, and pair it with a reviewed USD-positive control. Do not count the authored counterexample as a generated response.
Expected decision: REFUSED by the acceptance check because currency is EUR while this flow requires USD. Confirm that the application does not proceed with the USD-only action. A schema may encode the USD rule too; parsing alone does not.
Actual cold observation:
Actual later observation:
Observed origin:
Caller acceptance / action:
Missing evidence:

#### Unsupported request

Plan: Send an out-of-contract request under a predeclared refusal policy. Keep misses and unavailable evidence visible; do not accept an invented quote.
Check: Keep explicit refusal, miss and unavailable evidence visible; do not accept an invented payable quote.
Input control: Family U: a clearly excluded product/currency requirement, with no supported expected quote. Declare what the caller may do after an explicit refusal, a miss, a timeout or missing evidence.
Expected decision: UNSUPPORTED stays outside the supported-case acceptance denominator. Record the actual response and caller action. If the serving outcome cannot be attributed, mark it UNRESOLVED rather than treating it as a wrong generated answer.
Actual cold observation:
Actual later observation:
Observed origin:
Caller acceptance / action:
Missing evidence:


### Two observations to retain

Cold caller: Keep the first status, body, source and application action. An eligible miss can queue work and still return a miss.

Later caller: Record a later request independently. Completion, cache admission and a usable hit are separate; no later hit is guaranteed.

Ordinary comparator: https://gostly.ai/docs/drift-detection/response-drift-example#consumer-contract
Adapter lifecycle: https://gostly.ai/docs/adapters#lora-adapters
Serving/cache limits: https://gostly.ai/docs/match-cascade#generation-off-path
