Opening case

The sentence that helped Mira and should not have crossed the screen

Mira asks her bank for a temporary repayment pause. A case assistant gathers her salary history, missed-payment record, transaction pattern and the transcript of a recent support call. One sentence in that call says she has begun chemotherapy. The sentence is clearly relevant to hardship. It could help the bank respond with compassion. It is also health data collected in a support context, not an all-purpose fact for credit pricing.

The assistant recommends a pause. Nobody complains. Yet the comforting outcome hides the hard question: was the health disclosure entitled to enter this decision at all? The model’s answer cannot settle that question. A better model might use the sentence more delicately, while a worse model might penalise Mira. Both inherit the same unauthorised information flow.

Now change only one variable. The support team records an approved hardship status whose use has been separately authorised for repayment assistance, while the underlying diagnosis remains sealed. The model receives less information but the decision path becomes more defensible. The mechanism is not better prompting. It is a gate that binds evidence to the decision before the model can see it.

Contents

  1. Relevance is the wrong gate
  2. Five bindings make evidence admissible
  3. Put the contract at the context boundary
  4. When a correct contract still fails
  5. Admit evidence by decision, purpose and cutoff
  6. Glossary
  7. References

Relevance is the wrong gate

Most context pipelines ask a technical question: which documents, records or messages are likely to improve the answer? Retrieval systems rank similarity. Agent frameworks assemble tool results. Long-context models make it cheap to place more material in front of a model. The natural optimisation target is relevance.

Regulated decisions require a different first question. A fact may predict the outcome and still be unavailable for that use. It may concern another person. It may have been collected for another purpose. It may have expired, been corrected or been revoked. The requester may be authenticated but lack authority for this decision. The record may be a summary whose derivation cannot be reconstructed. Predictive usefulness and decision admissibility are different properties.

Data protection law already contains the pieces of this distinction. The GDPR couples purpose limitation with data minimisation, accuracy, lawfulness and accountability. It does not say that all relevant data should flow. It says that personal data must be tied to specified purposes and limited to what is necessary for those purposes.1 The European Data Protection Board’s guidance on data protection by design asks controllers to implement those principles in the processing itself and by default, rather than rely on a later explanation.4

The EU AI Act adds requirements for high-risk systems around data governance, logging, transparency and human oversight. Creditworthiness assessment is among the uses identified as high-risk, and deployers supplying input data are expected to consider relevance and representativeness for the intended purpose.2 That does not turn relevance into sufficient permission. It makes intended purpose more explicit while existing data protection and sectoral duties continue to apply.

Thought experiment 1 · The two envelopes

Same sentence, different permission

Place the sentence “Mira has begun chemotherapy” in two sealed envelopes. Envelope A is opened by a support officer deciding whether to offer a repayment pause. Envelope B is opened by a pricing engine choosing an interest rate. The words, subject and truth value are identical. Only the decision purpose changes.

If admissibility were a property of the sentence, both envelopes would have the same status. They do not. The relevant unit is the relation evidence item × decision purpose × authority at a time. This is why a global label such as “approved data” is too coarse.

A context beam passing through five policy lenses A wide beam of candidate evidence narrows through subject, purpose, time, provenance and authority lenses. Rejected rays fall away at each lens, leaving a small admitted beam entering the decision. Candidate evidence Subject Purpose Time Provenance Authority Decision context Rejected rays remain outside the model input
The context beam. Each lens removes evidence that fails one decision-specific binding. The model receives only the surviving beam, not the rejected content plus an instruction to ignore it. Illustrative practitioner synthesis.

The figure makes one architectural claim. The filter belongs upstream of the model. Once the diagnosis is inside a prompt, a cache, an embedding or a hidden state, a later instruction cannot prove that it was not used. Even perfect output behaviour would not reconstruct the unauthorised path.

Context is evidence only inside a decision

Helen Nissenbaum’s account of contextual integrity treats privacy as appropriate information flow under the norms of a social context, rather than simple secrecy.13 A support disclosure can remain appropriate inside support and become inappropriate when it crosses into pricing. Access-control research makes a parallel move from static roles to attributes, purposes, obligations and continuing conditions.814

The proposed context contract turns that insight into a decision-time object. It does not ask whether a database row is trusted. It asks whether a named claim may be made available to a named decision under a named policy snapshot. This is narrower than a privacy policy, more specific than a data catalogue and earlier than an explanation of the result.

One health disclosure routed to three different purposes A health disclosure from a support call branches toward repayment assistance, credit pricing and fraud investigation. The first is admitted under a support-derived status, the second is denied, and the third requires a separate authority and purpose. Support-call health disclosure Collected for assistance Repayment assistance Admit a minimised hardship status ADMIT WITH TRANSFORMATION Credit pricing Purpose and data-category mismatch DENY Fraud investigation No reuse without separate basis and grant ROUTE TO AUTHORISED PROCESS
Purpose is an intervention. Holding the evidence constant while changing the decision changes the permitted flow. A transformed status may be admissible where the raw diagnosis is not. Illustrative. The correct legal treatment depends on jurisdiction, sector and the actual processing arrangement.
Mechanism

Admissibility is conjunctive, not averaged

Let an evidence item be e and a decision request be d. The smallest useful rule is that the item enters only if every hard binding passes. One high relevance score cannot compensate for a purpose failure.

A(e,d) = S(e,d) ∧ P(e,d) ∧ T(e,d) ∧ V(e) ∧ U(e,d) Subject · Purpose · Time · Provenance · Authority

Each term is a Boolean gate for the smallest example. Suppose a salary record matches Mira, was collected for credit servicing, is valid at the decision cutoff, has a signed source record and is requested under a repayment-assistance capability. The vector is [1, 1, 1, 1, 1], so the item is admitted. Change only the purpose to targeted marketing. The vector becomes [1, 0, 1, 1, 1]. The result is not 80 per cent admissible. It is denied for that use.

Real policies may include review routes, transformations and exceptions. The crucial point survives: hard policy failures are not weights in the model’s objective. They are constraints on what the model may know for this decision.

A contract is a release protocol, not a legal opinion

The word contract can mislead. This is not a contract signed by Mira, nor a document that manufactures consent. It is a machine-enforceable agreement among the decision service, policy service, evidence store and recipient for one execution. It names the policy decision already made, the evidence references proposed, the obligations attached to any release and the conditions that end the permission.

A lawful basis, necessity assessment or sector rule must be established outside this object by accountable owners. The context contract consumes those approved decisions as versioned policy facts. It then asks a narrower operational question: given the declared basis and this exact request, which view may cross the boundary now? Encoding a legal conclusion does not validate it, but failing to encode it leaves the runtime unable to enforce it.

This separation prevents two opposite errors. Engineers should not invent legal meaning inside application code, and legal or policy teams should not assume that a prose rule controls a model merely because it appears in governance documentation. A contract turns the approved rule into testable inputs, reason codes and release obligations. Missing purpose, expired authority or incomplete lineage causes a visible failure instead of being silently filled by a model, a developer default or a generous retrieval query.

The practical unit is therefore not a person-wide permission such as “Mira’s data may be used”, and not a system-wide label such as “the credit model is approved”. It is a bounded claim about one information flow: this requester may release this view of this claim to this recipient for this decision before this expiry under this policy snapshot. That sentence is deliberately inconvenient. Its precision is what makes denial, review and later challenge possible.

The argument in one pass
Chart · flow
flowchart TD
  A["The sentence that helped Mira<br/>and should not have crossed<br/>the screen"] --> B["Relevance is the wrong gate"]
  B --> C["Five bindings make evidence<br/>admissible"]
  C --> D["Put the contract at the<br/>context boundary"]
  D -. "re-test" .-> A
  classDef first fill:#0a1424,stroke:#5B5CF6,stroke-width:2px,color:#e6f3ff
  classDef step fill:#0a1424,stroke:#3f7da0,stroke-width:1px,color:#e6f3ff
  class A first
  class B,C,D step
A structural route through Context contracts under regulation: from The sentence that helped Mira and should… to Admit evidence by decision, purpose and…. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

Five bindings make evidence admissible

A context contract has one decision header and a set of evidence clauses. The header names the subject, purpose, operation, requester, authority and decision cutoff. Each clause points to a claim in a governed evidence store and declares why that claim may, may not or might enter. The raw value need not sit inside the contract. A reference is safer because denial can occur before retrieval.

The contract binds use, not possession. An organisation may lawfully hold a record and still be unable to use it for a particular decision. Conversely, a decision may require information that the organisation does not possess or may not access. A context contract exposes both conditions instead of treating data availability as permission.

1. Subject binding: whose fact is this?

A record can be accurate and attached to the wrong person. Household accounts, joint applications, guarantors, dependants and corporate directors create relations that are not equivalent to identity. Subject binding names the person or entity described by the claim, the person affected by the decision and the allowed relationship between them.

The simplest invariant is equality: evidence.subject_id == decision.subject_id. Real systems need typed relations such as joint applicant, legal representative or beneficial owner. A relationship must be permitted by the decision policy, not inferred from shared addresses or similar names.

Worked example 1 · Mental model

Three cards on a desk

A reviewer has three cards: Mira’s current salary, her spouse’s missed payment and a household utility bill. All three predict household stress. Only the first card directly concerns Mira’s individual credit record. The spouse’s record may be prohibited. The utility bill may be useful only for address verification. Relevance does not repair a subject or purpose mismatch.

2. Purpose binding: why is this fact entering?

Purpose must be concrete enough to constrain behaviour. “Customer service”, “risk” and “improve the experience” are not useful contract values. A purpose should name the decision class and intended effect, such as repayment_assistance_eligibility, identity_verification or consumer_credit_pricing.

The evidence clause records the purpose for which the data was collected, the requested purpose and the compatibility or legal basis asserted for any further use. This makes purpose drift visible. The EDPB’s guidance on legitimate interests similarly emphasises that an interest must be lawful, precisely articulated and present, and that necessity requires considering less intrusive means.5

3. Temporal entitlement: when may it count?

Truth and entitlement have separate clocks. A salary statement may have been true when issued but superseded before the decision. A consent may have existed when data was collected but been withdrawn before reuse. A policy may change while an agent is planning. The contract therefore records a decision cutoff, the claim’s valid interval, observation time, revocation time and policy version.

Thought experiment 2 · The borrowed timestamp

A fact that remains true but is no longer available

Mira’s address has not changed. At noon she withdraws permission for a marketing profile that contains it. At 12:05 a marketing model runs from a cache built at 11:55. The fact is still true and the cache is technically fresh. Yet its entitlement changed at noon.

Now replace marketing with a legally required fraud investigation under a separate authority. The same withdrawal may not control that use. Temporal entitlement is therefore not “age of data”. It is the intersection of validity, revocation, purpose and authority at the decision cutoff.

Timeline showing event time, valid time, policy time and decision cutoff Four horizontal timelines show when a claim was observed, when it was valid, when an authority grant was active, and the decision cutoff. A revocation before the cutoff blocks admission despite a recent observation. Clock 09:00 12:00 15:00 18:00 Claim valid Observed Authority Decision recorded revoked cutoff not entitled at cutoff A recent and true claim can still fail because the grant ended before the decision.
Four clocks, one admission. Observation time, world validity, authority lifetime and decision cutoff must not be collapsed into a single “freshness” field. Illustrative. Paper 183 develops temporal entitlement in greater depth.

4. Provenance binding: what claim is this, and how was it made?

Provenance identifies the source record, producing activity, responsible actor, transformations and integrity evidence. W3C PROV distinguishes entities, activities and agents so that a derived object can point back to what generated it.9 The Data Privacy Vocabulary adds machine-readable concepts for purposes, personal-data categories, legal bases, processing and controls.10

A context contract should not accept “customer is vulnerable” as an orphaned sentence. It should record whether that is a self-report, a staff classification, a model inference or a legally defined status. Those claims may require different handling even when they use the same words.

5. Authority binding: who may ask, decide and receive?

Authentication answers who the requester is. Authority answers what that actor, service or agent may do for this subject and purpose now. NIST’s attribute-based access-control model evaluates subject, object, operation and environment attributes against policy.8 XACML standardises a policy decision context, while OAuth Rich Authorization Requests can carry structured, fine-grained authorisation details.1211

The context contract adds decision semantics that generic access control often leaves implicit: the affected subject, declared purpose, evidence claim, decision cutoff and allowed transformation. It also binds the recipient. A human reviewer, an explanation service and a model runtime may each receive different views of the same source.

The recipient is part of the permission

Consider a derived affordability summary that is permitted for a servicing model. The same summary might be available to a trained case worker, available only in aggregate to a monitoring service and unavailable to a marketing system. Saying that the organisation has access conceals these differences. The release decision needs at least the requester, operation, recipient, capability, expiry and policy version, rather than only a service account name.

This matters for agentic systems because delegation forms a chain. A human gives a servicing Agent a narrow task. The Agent calls a retrieval tool, which calls an evidence service, which may return data to a model provider or a separate verification service. Authority must survive the chain without expanding at each hop. The downstream recipient may receive no broader view than the upstream grant permits, and any sub-delegation must expire no later than its parent.

The safest implementation treats the capability as a reference to a signed, revocable grant rather than a broad bearer token. The policy decision point resolves that grant at release time. This closes a common gap between planning and action: a model may plan while authority is valid, yet the grant may be revoked before evidence is fetched. Rechecking immediately before release is what turns authority from historical metadata into a live condition.

Thought experiment 3 · The perfect twin

Two systems, one decision, different legitimacy

System A denies a loan after using income, debt and repayment history. System B reaches the same decision but also reads a prohibited diagnosis that happens not to change the final score. Every input-output test says the systems behave identically on this case.

Are they equivalent? No. System B created an unauthorised information flow and may behave differently under another intervention. Outcome comparison cannot certify the evidence path. A regulated decision needs mechanism evidence about what was admitted, not only behavioural evidence about what was returned.

Synthetic chart comparing relevance-only and contract-gated context as candidate volume grows A line chart shows the illustrative share of unauthorised items reaching a model increasing with candidate context volume in a relevance-only pipeline, while remaining low in a contract-gated pipeline. A second dotted line shows review load rising when contracts are underspecified. Illustrative exposure as candidate context grows 101001k10k100k 0%5%10%15%20% Candidate evidence items considered per decision Items reaching model without entitlement Relevance-only assembly Complete contract gate Underspecified contracts Synthetic values to expose a scaling mechanism, not measured deployment data
More context magnifies an admission problem. The red curve illustrates why a low per-item entitlement error can become material as retrieval expands. The saffron curve shows that incomplete contracts may shift the burden into manual review rather than eliminate it. Illustrative synthetic chart. No empirical rate is claimed.

The contract clause

The five bindings support one practical schema. A clause can return four outcomes: ADMIT, ADMIT_TRANSFORMED, REVIEW or DENY. Transformation is an obligation, not a sixth permission dimension. It may remove unnecessary detail, aggregate values or replace raw data with a purpose-specific status. The transformation must preserve lineage and state which downstream outputs are prohibited.

Worked example 2 · Small configured decision

Mira’s four candidate evidence items

The decision is repayment_assistance_eligibility at 15:00 under capability assist:repayment:v2. Four items are proposed. Current salary is admitted. A hardship status is admitted after a minimising transformation. The raw diagnosis is denied because the requested purpose and capability do not permit it. An old address is denied because its validity ended before the cutoff.

A decision sees claims, not a customer dossier. The configured result is a narrow evidence bundle plus explicit denials. The health detail remains in its governed source and never enters the model context. Illustrative worked scenario using synthetic data.

Put the contract at the context boundary

A schema is useful only if it changes the execution path. The model should propose what evidence it wants, but it should not decide what evidence it is entitled to receive. A policy enforcement point evaluates the contract against a policy decision service, retrieves only admitted claims from the evidence store and records the result. The model sees a released view, not the source dossier.

This preserves the separation developed across the wider series: the model makes a stochastic proposal; a deterministic authority kernel decides permission; a typed action contract governs any later effect. Context admission is a precondition to reasoning, not a courtesy after reasoning has begun.

System boundary for a context-contract implementation A model proposes evidence references to a context broker. The broker sends a contract to a policy decision point, consults policy and provenance registries, retrieves only admitted views from an evidence vault, and gives the model a minimised context. A receipt ledger records the process. REGULATED DECISION BOUNDARY Model proposes claim refs Context broker build contract enforce obligations release minimum view Policy decision point ADMIT · REVIEW · DENY Evidence vault values stay sealed until admit Receipt ledger policy hash · reasons · lineage Denied content does not enter prompt, cache, embedding or trace The receipt may retain identifiers and reason codes without retaining the rejected value.
The model never owns the context boundary. It can request claims and reason over admitted views. The broker and policy decision point decide which values are released and which obligations follow. Practitioner architecture informed by ABAC, XACML, RAR, PROV and data-protection-by-design sources.

A typed contract that can fail visibly

The executable lab below implements the conjunctive gate. It uses synthetic data and a deliberately small policy. It checks subject match, purpose compatibility, temporal validity, provenance completeness and a capability grant. Missing fields route to review. Hard mismatches deny admission. The output is an admission receipt rather than a new decision about Mira.

A positive result permits the broker to fetch the referenced claim or approved transformed view. A negative result means only that this evidence may not enter under the supplied contract. It does not prove that the business decision must stop. The system can seek a different source, request a narrower authority, route to an authorised human process or proceed without that item.

Keep proposal, admission, use and effect separate

A governed runtime has four moments that are easy to collapse. During proposal, a retriever or Agent identifies claim references that might help. During admission, the broker evaluates the contract and releases only permitted views. During use, the model or rule engine computes over that bounded context. During effect, an authorised component writes, sends, prices, declines or otherwise changes the world. Each moment needs its own evidence.

The separation changes failure handling. A denied proposal does not become an empty value that the model can misread as “none exists”. It becomes a typed denial outside the prompt. An admitted claim does not grant authority to act. A model proposal does not prove that the released evidence caused the recommendation. An approved action still needs a pre-effect freshness check because the claim, capability or policy may have changed after reasoning began.

Bind the four moments with identifiers rather than one unstructured trace. The admission receipt names the decision request and released claim views. The model-proposal record names the admission receipt it consumed. The policy-decision record names the proposal and current capability. The effect receipt names the typed action and authoritative system response. This chain makes it possible to ask which stage failed without treating a fluent rationale as a reconstruction of execution.

The smallest useful control point is immediately before value release. Earlier catalogue checks are valuable but may be stale. Later output filters are valuable but cannot undo exposure. A release-time gate can still deny, transform or route to review while the protected value remains sealed. That is why the context broker belongs between retrieval and every model or tool runtime, including caches, embeddings and secondary evaluators.

Executable lab: context-contract evaluator

Edit the synthetic contract, then evaluate each evidence clause before release.

The evaluator never reads a raw health value. It sees claim metadata and a vault reference. This is a teaching artefact, not a legal rules engine.

Evaluation result

Run the sample to produce clause outcomes and an admission receipt.

Worked example 3 · Computational result

Why the sample returns two admits and two denials

The salary statement passes all five bindings. The hardship status also passes, but its clause restricts the released view to a Boolean status and prohibits diagnostic text. The diagnosis fails purpose and capability checks. The previous address fails its valid-to check. Try changing the decision purpose to consumer_credit_pricing: the support-derived hardship status is then denied because its allowed-purpose list no longer matches.

JSON · Minimal schema excerpt
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rajeshrmahapatra.com/schemas/context-contract.schema.json",
  "type": "object",
  "required": ["contract_id", "decision", "policy_snapshot", "evidence"],
  "properties": {
    "decision": {
      "type": "object",
      "required": ["decision_id", "subject_id", "purpose", "operation", "cutoff", "required_capability"]
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["claim_id", "subject", "purpose", "time", "provenance", "authority", "handling", "value_ref"]
      }
    }
  }
}

The complete schema is embedded in the page and available through the lab button. The executable evaluator adds semantic checks that JSON Schema alone cannot express, such as cutoff comparisons and purpose membership.

Admission receipts make the decision replayable

For each clause, the receipt records the outcome, reason codes, obligations, policy version and evidence-reference hash. It does not need to copy rejected content. This creates a consistent cut through decision time: what was requested, what was knowable, what was authorised and what was actually released.

The receipt serves several audiences. A developer can reproduce a failure. A policy owner can see which rule fired. A reviewer can distinguish absence from denial. An explanation service can state which categories of information were used without exposing another person’s data. An auditor can test whether the policy version matched the effective date.

ClauseSubjectPurposeTimeProvenanceAuthorityOutcome
salary.currentMatchCompatibleValidSigned sourceCapability presentADMIT
support.hardship_statusMatchExactValidDerived with lineageCapability presentADMIT_TRANSFORMED
support.diagnosis_textMatchMismatchValidSource knownNo raw-health grantDENY
address.previousMatchCompatibleExpiredVerified sourceCapability presentDENY
spouse.arrearsRelated personUnclearValidSource knownRelationship rule missingREVIEW
The evidence matrix is a decision instrument, not a risk score. Columns expose which binding failed. Rows remain independently challengeable, and a review route is distinguishable from permission. Illustrative contract output.

The smallest useful implementation

The first implementation need not encode an entire legal system. It needs a narrow decision family, a stable purpose vocabulary, a governed evidence registry, a policy snapshot and a broker that can withhold values. Start where harm is concrete: one credit decision, one claims workflow, one employment decision or one clinical queue.

  1. Give the decision a typed purpose, subject, operation, cutoff and required capability.
  2. Represent candidate evidence as claim references with source, validity and derivation metadata.
  3. Evaluate hard bindings before fetching values; route uncertainty explicitly.
  4. Apply minimising transformations at the broker, not inside the prompt.
  5. Write an admission receipt and test replay after policy, data and model changes.
Open research hypothesis

Decision-specific admission will reduce both hidden policy violations and explanation ambiguity

The claim would be strengthened if matched systems showed fewer unauthorised evidence exposures and more reproducible explanations without unacceptable decision-quality loss. It would be weakened if contract metadata routinely became stale, policy authors could not express operational purposes, or teams bypassed the broker to meet latency targets. A rival explanation is that better data cataloguing alone creates the gain. The smallest discriminating study compares a catalogue-only pipeline with a pre-admission contract gate under injected purpose, revocation and subject-mismatch faults.

How the claim changes under pressure
Chart · state
stateDiagram-v2
  [*] --> Claim
  state "Same sentence, different<br/>permission" as Claim
  state "Context is evidence only<br/>inside a decision" as Test
  state "Admissibility is conjunctive,<br/>not averaged" as Revision
  Claim --> Test: expose mechanism
  Test --> Decision: evidence survives
  Test --> Revision: rival survives
  Revision --> Claim: narrow or rebuild
  Decision --> [*]
The revision loop begins with Same sentence, different permission and keeps counterexamples inside the reasoning path. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

When a correct contract still fails

A machine-readable contract can execute the wrong policy perfectly. It can also miss information that leaks through derivatives or is inferred from permitted variables. The design is valuable because it localises these failures. It is dangerous when its pass result is treated as a certificate of legality, fairness or truth.

Purpose laundering through transformations

Suppose the raw support transcript is blocked, but a summary generated earlier says “temporary medical hardship”. The summary’s record is classified as general case notes and enters the model. The organisation has moved the same signal through a different container. Embeddings can create a subtler version: sensitive content is absent from the visible prompt but present in a vector built from the prohibited source.

Thought experiment 4 · The clean summary

Remove the words, preserve the influence

System A receives the diagnosis sentence. System B receives a summary produced from that sentence. System C receives only an embedding nearest to “serious illness”. All three may react similarly even though only one visibly contains health language.

Which item should the contract evaluate? All of them. A derivative inherits constraints until an authorised transformation explicitly changes the permitted view. The transformation must state what relation it preserves, what detail it removes and where the result may flow. Renaming is not minimisation.

Adversarial path showing policy laundering through summaries, embeddings and caches A prohibited source is correctly denied on the direct path, but a red adversarial path moves through a summary, embedding and unlabelled cache before reaching the model. A teal countermeasure carries lineage and obligations through every derivative. Support transcript restricted health detail DIRECT PATH DENIED Summary label lost Embedding lineage lost Shared cache purpose lost Decision model signal reappears Countermeasure: lineage, purpose and handling obligations propagate to every derivative Policy laundering path
Denying the source is insufficient if derivatives escape its obligations. Summaries, embeddings, features and caches need lineage-aware contracts. Otherwise a prohibited signal can return under a new name. Illustrative adversarial path.
Worked example 4 · Failure case

The spouse’s arrears return as a household-risk feature

The broker correctly denies a raw arrears record because it concerns Mira’s spouse and the decision policy permits no spouse relation. An upstream feature service has already combined that record with utility payments and labelled the result household_stress_score. It attaches Mira’s identifier, drops the source subjects and stores the scalar in a shared cache. A naïve contract now sees a claim about Mira with an apparently compatible purpose.

The right response is not to admit the score because its label is neutral. The provenance gate should route it to REVIEW or DENY because the derivation cannot show which subjects, purposes and restrictions contributed. Recovery means quarantining the feature, reconstructing its lineage, defining whether multi-subject evidence is allowed and recomputing a permitted view. Expanding Mira’s capability after the fact would legitimise the shortcut rather than repair it.

This case marks the architecture’s break condition. The contract can contain a restricted signal only while lineage and handling obligations propagate through derivatives. If a feature factory erases them before the context boundary, the broker receives a laundered claim and may pass it. Derivative lineage is therefore part of the security boundary, not optional documentation.

Inference is not retrieval

A contract controls evidence the system retrieves or receives. It cannot prevent every inference from permitted data. Postcode, spending pattern and occupation may jointly reveal sensitive attributes. A model may reconstruct a protected characteristic without any explicit source record. This requires separate tests for proxy use, disparate effects, causal dependence and prohibited inference. The context contract can record a prohibition and support intervention, but it does not make the inference disappear.

Policy text is not policy truth

A purpose vocabulary can be too broad. A legal-basis field can be populated without a valid assessment. A capability can be granted by the wrong authority. Emergency “break glass” paths can become normal. Legal interpretation may change while the machine-readable rule remains old. The solution is not to remove policy automation. It is to version the policy, identify accountable owners, test change triggers and preserve a review path.

The Court of Justice’s decisions in SCHUFA and Dun & Bradstreet Austria illustrate why decision pathways and explanations matter in credit scoring. The Court treated some scoring arrangements as capable of falling within automated decision-making protections and later clarified that meaningful information should explain the procedure and principles actually applied in a concise and intelligible way.67 A context receipt does not satisfy every explanation duty, but it supplies a missing factual layer: which evidence clauses were admitted under which rules.

Boundary condition

What the contract cannot establish

It cannot determine whether a legal basis is valid, whether processing is necessary and proportionate, whether the model is fair, whether an inferred feature is prohibited, whether a human review is meaningful, or whether the outcome is correct. It also cannot reconcile conflicting laws by itself. Those are legal, organisational, causal and normative questions that require accountable judgement and further controls.

Failures should produce distinct recovery routes

A subject mismatch should not be fixed by expanding authority. A stale claim should not be fixed by changing purpose. Missing provenance should not be fixed by asking the model to estimate confidence. Each failure needs a typed response.

FailureImmediate actionPermitted recoveryProhibited shortcut
SUBJECT_MISMATCHWithhold itemResolve identity or establish an allowed relationAssume shared household means shared consent
PURPOSE_MISMATCHDeny useUse a compatible purpose or complete a separately governed assessmentRename the purpose after the decision
OUTSIDE_VALID_INTERVALWithhold itemFetch a current authoritative claimTreat recent retrieval as current truth
PROVENANCE_INCOMPLETERoute to reviewRecover lineage or replace the claimLet model confidence stand in for source integrity
CAPABILITY_MISSINGDeny releaseObtain a narrow, expiring grant from the proper authorityReuse a broad service token
Assurance map showing what a context contract establishes and what remains outside A central teal region lists what a passed context contract establishes: declared policy evaluation, evidence admission, obligations and receipt. Surrounding regions show unresolved questions about legal validity, model fairness, inferential proxies and outcome correctness. A passed contract establishes declared policy evaluated named evidence admitted or denied transformations and obligations applied receipt bound to decision cutoff Legal validity basis · necessity · proportionality Model behaviour fairness · causal use · calibration Derived inference proxies · latent reconstruction Outcome legitimacy correctness · recourse · human judgement The contract narrows the assurance claim instead of pretending to complete it.
The assurance boundary. A context contract can prove a narrow execution fact: the declared admission policy was applied to named evidence at a cutoff. Legal validity, proxy inference, model behaviour and outcome legitimacy remain separate claims. Practitioner synthesis and boundary map.
Evidence status

What is established, and what is proposed

Published foundations: purpose limitation, minimisation, data protection by design, automated-decision safeguards, attribute-based access control, usage control, provenance and structured authorisation. Practitioner synthesis: binding those elements into one per-decision evidence-admission contract with an admission receipt. Open hypothesis: pre-admission contracts will improve policy containment and replayability enough to justify their metadata and latency cost.

Optional depth: tests the contract gate should survive
  1. Swap a spouse’s evidence identifier into Mira’s clause and require SUBJECT_MISMATCH.
  2. Change only the decision purpose and verify that previously admitted evidence is re-evaluated.
  3. Revoke a capability between planning and release and require a fresh policy decision.
  4. Remove the source activity from a derived summary and require PROVENANCE_INCOMPLETE.
  5. Replay the same contract under a new policy hash and record the changed outcome without overwriting the old receipt.
  6. Inject a prohibited signal through an embedding and test whether lineage obligations survive the transformation.
  7. Ask the model to cite a denied claim and verify that the value is absent from prompt, cache and trace.
The evidence conversation
Chart · sequence
sequenceDiagram
  participant Q as Question
  participant M as Mechanism
  participant E as Evidence
  participant D as Decision
  Q->>M: The sentence that helped Mira and should not have crossed the screen
  M->>E: Same sentence, different permission
  E-->>M: compare rival explanations
  E->>D: Admit evidence by decision, purpose and cutoff
  D-->>Q: revise scope or act
Question, mechanism, evidence and decision exchange the burdens developed in Context contracts under regulation. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

Admit evidence by decision, purpose and cutoff

Stop beginning regulated AI design with “What context would help the model?” Begin with “What evidence may enter this decision, for this subject, purpose, cutoff and authority?” The first question optimises prediction. The second defines the lawful and governable space in which prediction may occur.

This changes the architecture. Retrieval is no longer a direct route from search results to a prompt. It becomes a proposal to a context broker. Records are no longer globally approved or sensitive. Claims are admitted per use. Policy is no longer a paragraph in the system prompt. It becomes a versioned decision that can deny release. Explanations no longer start from whatever the model says it used. They start from an admission receipt.

The immediate engineering rule is simple: no evidence value crosses the model boundary without a decision-specific contract and no consequential decision leaves without the matching receipt. Implement that rule first for one narrow decision family. Measure denied exposures, review load, latency, decision-quality change and replay success. Expand only when policy owners can maintain the vocabulary and derivative lineage survives real transformations.

Choose the first decision family for clarity rather than scale. It should have a named owner, a stable purpose, a small evidence vocabulary, a consequential but reversible outcome and an authoritative readback. Build a matched relevance-only path in a test environment. Inject subject swaps, purpose changes, revocations, stale claims and broken lineage. A useful result is not simply fewer records in the prompt. It is a demonstrable reduction in unauthorised exposure without an unacceptable rise in false denials or unresolved review.

A context contract will not make regulation executable by magic. It will do something more modest and more useful. It will make one hidden question unavoidable at the exact point where systems usually skip it: not whether a fact is relevant, but whether this decision is entitled to know it.

Glossary

Admission
The decision-time release of a claim or transformed view into a model’s permitted context.
Context contract
A typed object binding a decision and each proposed evidence item across subject, purpose, time, provenance and authority.
Decision cutoff
The instant against which claim validity, revocation, policy and authority are evaluated.
Evidence clause
The contract entry for one claim reference, its bindings, handling obligations and outcome.
Purpose binding
The link between a concrete decision purpose and the purposes or legal grounds under which an evidence item may be used.
Temporal entitlement
Whether a claim is both valid and authorised for use at the decision cutoff.
Admission receipt
A record of proposed evidence, clause outcomes, reason codes, obligations and the policy snapshot used.
Policy laundering
Moving a restricted signal through a summary, feature, embedding or cache while dropping its original obligations.

References

  1. European Parliament and Council. Regulation (EU) 2016/679, General Data Protection Regulation, especially Articles 5, 6, 9, 15, 22, 25 and 30.
  2. European Parliament and Council. Regulation (EU) 2024/1689, consolidated text, especially Articles 10, 12, 13, 14 and 26, and Annex III. See also the European Commission’s AI Act implementation FAQ.
  3. Article 29 Working Party, endorsed by the EDPB. Guidelines on automated individual decision-making and profiling, WP251rev.01, 2018.
  4. European Data Protection Board. Guidelines 4/2019 on Article 25: Data Protection by Design and by Default, final version, 2020.
  5. European Data Protection Board. Guidelines 1/2024 on processing based on Article 6(1)(f) GDPR, version 1.0.
  6. Court of Justice of the European Union. Case C-634/21, SCHUFA Holding (Scoring), judgment, 2023.
  7. Court of Justice of the European Union. Case C-203/22, Dun & Bradstreet Austria, judgment, 2025.
  8. National Institute of Standards and Technology. Hu, V. et al. SP 800-162: Guide to Attribute Based Access Control Definition and Considerations, updated 2019.
  9. World Wide Web Consortium. PROV-DM: The PROV Data Model and PROV-O: The PROV Ontology, W3C Recommendations, 2013.
  10. W3C Data Privacy Vocabularies and Controls Community Group. Data Privacy Vocabulary, Community Group Final Report, 2024.
  11. Lodderstedt, T., Richer, J. and Campbell, B. RFC 9396: OAuth 2.0 Rich Authorization Requests, IETF, 2023.
  12. OASIS. eXtensible Access Control Markup Language Version 3.0, OASIS Standard, 2013.
  13. Nissenbaum, H. Privacy as Contextual Integrity, Washington Law Review 79, 2004.
  14. Park, J. and Sandhu, R. The UCONABC Usage Control Model, ACM Transactions on Information and System Security 7(1), 2004.
  15. Byun, J.-W., Bertino, E. and Li, N. Purpose Based Access Control of Complex Data for Privacy Protection, ACM SACMAT, 2005.
  16. National Institute of Standards and Technology. AI Risk Management Framework 1.0 and resources, 2023 onward.