Xcel demo · Monitor

The Monitor Rules Engine

The search records which documents it used to answer each question. This is what the monitor does with that record: it runs five fixed checks over it, and writes down anything that looks wrong.

There is no AI grading the answer here. Each check is a plain rule comparing the documents' labels. Same record in, same findings out, every single time. That is what makes it something you can audit.

The search hands over one record per answer: the documents it used, each carrying its labels, plus a note of who was asking and from which state. The engine reads that record and nothing else. It never reads the answer the model wrote. Here is what it does with it, in four steps.

Step 1Take the record

One answer, one record: the documents behind it with their labels, and the caller's state and company. No model output, no live database, no network call. Just the facts of what was retrieved.

Step 2Run five fixed checks

Each check is a plain comparison of labels, listed below. They do not learn, drift, or disagree with themselves. The same record always produces the same findings, which is the whole reason they can be trusted in an audit.

Step 3Write a finding per problem

Every problem becomes one short sentence naming the document and what went wrong: “used a Minnesota document for a Texas caller.” A clean record produces no findings at all.

Step 4Grade, group, and raise

Each finding gets a severity, duplicates are merged, and the ones that matter become alerts, routed to the owner of the document at fault. No one has to be watching a dashboard.

The five rules

Each rule asks one question of the retrieved documents. The first four catch a specific kind of wrong answer. The fifth catches the case where the question could not be placed at all.

RuleFires whenSeverity
Out of dateA retrieved document is marked expired, draft, or superseded, or its dates do not cover the day it was used. A document that was never cleared to answer is answering.high
Wrong stateA retrieved document covers a different state or company than the caller. A Texas caller served a Minnesota policy. Documents from a state the caller did not ask about do not belong in the answer.high
Lower authorityAn FAQ or procedure answered a question that a tariff or policy also covers. The official source should have governed; a weaker one answered over it.high
Conflicting documentsTwo retrieved documents on the same subject, for the same state, state different things. Different rules across states is correct; different rules for the same state is a conflict.medium
Couldn't classifyThe question could not be placed to a subject with enough confidence to check it. Not a wrong answer, but a blind spot worth surfacing rather than hiding.medium

There is a sixth outcome the engine refuses to skip: if a document is missing the label a check needs, that gap is itself recorded as a low-severity finding. A monitor that shrugs at a document it cannot read is not a monitor.

Why rules, and not an AI judge

The obvious alternative is to have a second model read each answer and grade it. That means one AI checking another, and the checker has its own ways to be wrong, to change its mind between runs, and to drift over time.

A rule does not do any of that. It compares labels against a fixed standard and returns the same verdict every time. You can read the rule, you can predict what it will say, and you can defend the finding to someone who was not in the room. For a monitor whose job is to be trusted, that is the point.

The rules read facts, not sentences. Whether a document is expired, which state it covers, how official it is: these are recorded labels, not opinions about the wording. So a finding is never "the answer felt off." It is "this document should not have been used, and here is the label that proves it." That is a finding you can act on without re-litigating it.

Where this sits in the monitor

The rules engine is the fast, certain core of every sweep. It runs with no model and no network, so it finishes in a blink and produces the findings the board shows. A separate step then looks across sweeps to see whether any failure is becoming more common over time.

How the engine fits the whole sweep. A sweep reads the records, runs this engine over each one, and raises the findings as alerts. The engine depends entirely on the labels the index attached and the search carried through: leave a label out upstream and the matching rule goes quiet. The search is the supply line, the labels are the facts, and the rules engine is the judge that turns them into something a person can act on.