ClearState

The chain.

Written rules
RuleState reads them
A person confirms
The rulebook is frozen
→
The facts of a real decision ClearState checks
→
The answer — with a record of which rules and facts applied

Written rules → RuleState reads them → a person confirms → the rulebook is frozen → the facts of a real decision → ClearState checks → the answer, with a record of which rules and facts applied.

What each part does, and does not do.

The four answers.

AnswerMeaning
ALLOWED The rules permit the action for these facts. The action proceeds.
NOT_ALLOWED A rule blocks the action. The record shows which rule.
NOT_DECIDABLE The decision cannot be completed with what is available right now. Required information, confirmation or another required condition may be missing. It is not a denial.
UNOWNED_GAP The rulebook does not cover the case with a rule and responsible authority. It must be defined before the action can proceed.

One of two results — proceed or stop. A stop always has one of these three reasons. No other labels. No scores.

What a record looks like.

Examples of the structure — not live output.

Record
Customs deferment release
#CUSTOMS-REL-2026-05-15-0847
NOT_DECIDABLE Treasury confirmation is required before release and is not yet given.
Decision-maker
Customs Broker (delegate)
Operating under delegation §4.2 · Axus Ltd
Decision time
2026-05-15 · 08:47:13 CET
Rulebook version
customs-2026-04
Inputs evaluated
Declaration value
€148,200
Importer EORI
Verified
Importer status
Active · Standard risk
Guarantee utilisation
92% (threshold 85%)
Sanctions screening
Clear
Applied condition
Guarantee utilisation exceeds Treasury-approved threshold. Release requires Treasury authorization before declaration submission.
Operational consequence
  • Declaration held before submission to customs
  • Guarantee breach avoided
  • Escalation routed to Treasury Operations
  • Importer notified of pending authorization
Record
Cross-border shipment release
#ECOM-REL-2026-05-15-1432
ALLOWED Order released for fulfilment under DDP terms.
Decision-maker
Booking Operator
Operating under delegation §2.1 · Tellus Logistics
Decision time
2026-05-15 · 14:32:08 CET
Rulebook version
ecom-2026-05
Inputs evaluated
Order value
€2,840
Merchant credit limit
€15,000 (€11,200 available)
Destination
DE · DDP terms
Restricted goods
None flagged
Sanctions screening
Clear
Operator delegation
Within authority
Applied rule
Order within merchant credit limit. Destination permitted under DDP terms. No restricted classification. Operator authority confirmed at decision time.
Operational consequence
  • Shipment released for fulfilment
  • Duty and VAT calculation locked at decision time
  • Merchant credit position updated
  • Record retrievable for post-clearance audit
Record
Pre-trade order authorization
#AIFM-PRE-2026-05-15-1018
NOT_ALLOWED Concentration limit would be breached on settlement.
Decision-maker
Portfolio Manager
Acting under Conducting Officer oversight · AIFMD II
Decision time
2026-05-15 · 10:18:47 CET
Rulebook version
aifm-mandate-2026-q2
Inputs evaluated
Fund
Nordic Credit Opportunities II
Proposed position
€4.2M · Brevik Industrier AB
Current issuer exposure
€18.6M
Mandate limit (single issuer)
€20M
Look-through concentration
21.4% (limit 20%)
Sanctions screening
Clear
Applied condition
Look-through concentration would exceed 20% mandate limit after settlement. Conducting Officer authorization required, or trade must be reduced to €2.8M.
Operational consequence
  • Order held before execution
  • Exposure breach prevented at trade time
  • Escalation routed to Conducting Officer
  • Mandate state preserved on record

A blocking rule is shown only when a rule stopped the action.

The same record, as a structure.

Examples of the structure — not live output.

{
  "decision_id": "CS-20260512T091432Z-4X7R",
  "outcome": "ALLOWED",
  "rulebook": "release-policy-v3.2",
  "authority": "Operations Manager (T2)",
  "blocking_rule": null,
  "timestamp": "2026-05-12T09:14:32.081Z"
}
outcome

One of four answers — never a score. The same facts against the same rulebook produce the same answer.

rulebook

The version of the rulebook that applied at decision time. A new version is a new rulebook.

authority

Who had the authority for this decision.

blocking_rule

Empty when the action proceeds. When it stops: the rule that stopped it.

Where RuleState starts.

Rules engines and workflows can enforce machine-readable rules. RuleState starts earlier: it turns written decision policy into a rulebook a person has reviewed and confirmed. ClearState can then check real decisions against that exact frozen rulebook.

What it guarantees.

Deterministic

Same facts. Same frozen rulebook. Same Core version. Same answer.

ClearState applies rules, not probabilities. The same facts checked against the same rulebook version always produce the same answer.

Versioned

The rulebook is frozen before the decision. The result refers to the exact version used.

The answer names the version of the rulebook that applied when the decision was made. A new version is a new rulebook; it does not change earlier answers.

Attributed

When the action is allowed, the record names who had the authority.

Not a system log — the person or role in your own structure whose authority the decision rested on.

Retrievable

The frozen rulebook can be retrieved.

The frozen rulebook can be retrieved for as long as you keep it, with every confirmation and its passage.

See RuleState → See ClearState →