# Model proposes, rules decide
A design pattern for high-stakes AI pipelines: a model may only propose. Deterministic rules make every decision, and no model can undo a rule's decision.
- Same idea as "the model proposes, the harness disposes" in [[Bridgewater PAT - Compiling Research into Deterministic Agents]] and [[GTM-Harness-Starting-Point]].
- Example below: a commerce-matching platform, seen in a founder presentation. Anonymised.
## Example: free-text request to a ranked list
```mermaid
graph LR
R["Request<br/>buyer free text"] --> M1["1 Mint<br/>constraints, each<br/>citing its source words"]
M1 --> V1["2 Verify<br/>re-derived from the words<br/>no invented numbers"]
O["Offer<br/>merchant description"] --> M2["1 Mint<br/>same schema, same path"]
M2 --> V2["2 Verify<br/>confirmed by merchant"]
V1 --> F["3 Filter<br/>every constraint<br/>compared by rule"]
V2 --> F
F --> K["4 Rank<br/>survivors only,<br/>by soft preference"]
F -.-> L["Removal log<br/>offer, constraint, why"]
K --> OUT["Offers ranked by fit"]
classDef model fill:#fff,stroke:#2e7d32,color:#111
classDef rule fill:#2e7d32,stroke:#1b5e20,color:#fff
class M1,M2,K model
class V1,V2,F rule
```
- Model steps (outline): Mint, Rank.
- Rule steps (filled): Verify, Filter.
- Rule: no model can bring back an offer that a rule removed.
- Payment is a separate deterministic gate. No model sits in that path.
- When nothing survives, the system shows nothing and logs the unmet demand.
## Why it works
- Each extracted constraint cites its source words. A rule can check it, so the model cannot invent numbers.
- Hard constraints are filtered by rule. The model only orders the survivors on soft preference.
- The removal log gives an audit trail for every exclusion.
- Unmet demand becomes data, not a bad recommendation.
## Contrast: model as judge
- In [[Proposer, selector and judge]] a model decides when an obligation is met. Rules there do not have the final say.
- This pattern keeps the final decision deterministic. It works only where the constraints can be written as rules.
## DD questions
- What share of real requests yield at least one constraint the rules can check?
- Error rate of "Mint": a missed constraint lets a wrong offer pass the filter.
- How often does nothing survive, and what happens to that buyer?
----
tags: #boat
links: [[AI Agent Vertical SaaS DD MOC]] [[Conversational Commerce]] [[AI Verification]]