← engineering notebook

Knowledge Factory: qualifying the Cube’s alerts with the company’s knowledge

24 November 2026 · updated 28 November 2026 · 11 min read · AI · alerts · traceability
The Cube, royal blue with black edges and two round eyes, looks at a document placed to its left; to its right, tools.

An alert that only says “cabinet door open at 03:12” leaves the site manager alone with one question: intrusion, planned work or known routine? The company often knows the answer, in its documents or in the heads of its field experts. Here is the architecture of the Knowledge Factory, which we are building to attach that answer to every alert, with its sources, without ever being able to silence the alert.

Update of 28 November 2026.

Since 27 November, a first demonstration has been online: the Lutrin, our knowledge base. It covers the real log of our demonstration Cube, from 10 to 25 November 2026: 3,296 entries grouped into 187 episodes (smart plug removed, presence outside scheduled hours, cut-off for lack of a badge, unknown Bluetooth device…). The two bearers are renamed and the radio devices numbered, so that no real name or radio address is published.

In it, a manager says, in writing or aloud, why a situation is normal or suspicious. A small open model, Llama 3.2 3B, hosted on our server in France, turns the sentence into a rule, in a prescribed format. The page then checks each value against the sentence: any value the sentence does not state (person, machine, day, time) is removed, and the removal is flagged. A “normal” rule removes the episodes it covers from the list to handle, never from the log; an “abnormal” rule turns an ordinary presence into an alert, and takes precedence over a normal rule. Each rule keeps its author and its original sentence, and it can be switched off or removed.

This is not yet the architecture described here: there is no memory model, no cited sources, no signed sheet, and the rules stay in the visitor’s browser. One difference is worth stating: in the demonstration, an explained alert leaves the list to handle, whereas in the target architecture it would still be notified, only ranked after the others.

The problem: the alert knows what, not why

The Cube detects facts: a presence outside the permitted time slot, a smart plug switched off, an unknown radio device, a refused connection attempt; tomorrow, with the planned sensors, an open door or a rising temperature. But it does not know what the company already knows. That knowledge sits in two places:

  • In the documents: procedures, maintenance contracts, work schedules, incident histories, equipment datasheets.
  • In the heads of the field experts: the refrigeration engineer who knows that defrosting raises the display cabinet’s temperature by a few degrees every night, the electrician who knows which circuit breaker trips when the cold room restarts.

A site manager with limited means has neither the time to dig through the documents nor the expert at hand at 3 in the morning. So they ignore the alerts, or make the trip for nothing. Either way, detection loses its value.

The Knowledge Factory does not replace detection: it will add to each alert what the company already knows, with the proof. Trust-Buster presents the business objective in Knowledge Factory: what technicians know: the Cube observes the what, the maintenance technician knows the why; here we call that person the field expert, whether maintenance technician, refrigeration engineer or electrician. This article describes how Ops-Devices runs it: architecture, traceability, security and hosting.

The Knowledge Factory architecture in one diagram

The architecture rests on two artificial intelligence (AI) models, an idea taken from MeMo, a 2026 paper that we analyse in Why MeMo, as it stands, does not fit a trusted platform. The memory model has learnt the documentation and the experts’ sheets. The executive model receives the alert, queries the memory, then rereads each cited source itself before concluding.

Signed corpusdocuments and sheetstrainingMemory modelsigned manifestquestions and answersCube alertpresence, plug, radioExecutivequeries the memoryrereads sourcesSourcesproven?yesExplainedstill notifiednoLead or Unknownpriority unchangedField expertanswers the questionKnowledge sheetsigned and validated
An alert whose every source is proven is raised as explained, and is still notified. Otherwise, it keeps its priority and becomes a question for the field expert, whose signed sheet feeds the next training run.

What goes into the memory, and what never does

The principle fits in one sentence: nothing enters the model without an identified source. Everything the memory model learns comes from an identified, versioned and signed document.

Goes into the memoryNever goes in
Operating and maintenance procedures Personal data: emails, calendars, names of occupants or contractors
Contracts and work schedules, with no personal names (contractor, equipment, time slot) The platform’s operational secrets (signatures, keys, detection details)
Datasheets for the monitored equipment Documents whose source or author is not identified
History of qualified incidents, with no personal names Raw, unqualified alerts
Knowledge sheets signed by the field experts Knowledge passed on by word of mouth, with no sheet

A memory model cannot forget, so it must learn nothing that might have to be erased under the General Data Protection Regulation (GDPR). Personal data stays where it is already managed, in the site rules, which the site manager defines and revokes. The platform’s secrets also stay out of the corpus, for another reason: whoever holds the model, or can query it, can try to extract its content.

A compartmentalised model

The model is also compartmentalised. Each customer has its own memory model, never shared with another customer, and a corpus too sensitive to join the rest has its own. The executive runs on the customer’s premises or on a server that we administer in France, with no network access while it qualifies an alert. Nobody queries the memory directly: a qualification is read, like the knowledge it comes from, by whoever is working on the site, during their visit, and every read is logged.

Qualifying an alert

When the Cube raises an alert, the executive model queries the memory model following a protocol inspired by MeMo’s, in three steps:

  1. Grounding: it breaks the alert down into simple questions. Which equipment? Which time slot? Which contractor works on this site?
  2. Identification: it looks for a known situation that matches, for example a scheduled defrost or planned maintenance. If no situation matches, the qualification stops there: the alert is “Unknown”.
  3. Synthesis: it asks for the facts that confirm or refute this hypothesis, then writes the qualification.

The qualification ends in one of three levels:

LevelConditionEffect on the alert
Explained Every claim is checked against its source, and the site’s signals agree Ranked after the others, notification kept, explanation and sources attached
Lead An explanation exists, but a source is missing or does not support it Priority unchanged, lead attached for information only
Unknown No known situation matches Priority unchanged, question sent to the relevant expert

One rule allows no exceptions: the memory explains; it never silences. It deletes no alert and cancels no cut-off decided by the site rules. A proven explanation can only rank the alert after the others, without delaying its notification, and we keep a record of that ranking. Some alerts are never downgraded: the enclosure being opened, a refused connection attempt. Silencing an alert remains a human decision: it goes through a signed rule, time-limited and reviewed, as provided for by the Knowledge Factory that Trust-Buster describes.

Answering “why?”

A bare memory model cannot say where its knowledge comes from. The Knowledge Factory adds five layers of traceability to it:

  1. Each question-answer pair carries its source. The synthesis pipeline attaches to each answer the identifier of the original passage: document, version, paragraph, hash. The model learns to answer and to cite.
  2. Each claim is proven by direct reading. The executive retrieves the cited passage by its identifier, without similarity search, then checks that it does support the claim. This step is mandatory, because the memory model can invent a citation.
  3. The dialogue serves as the trace. The executive’s questions and the memory’s answers are logged. They form the reasoning, step by step.
  4. Each version of the model has a signed manifest. It lists its training pairs and their sources, and its hash is digitally signed, like what the Cube signs. We know what each model was trained on, and when. This is the same logic as the Cube’s chained log.
  5. A revocation list replaces forgetting. A withdrawn or superseded document is added to it at once. Any claim that cites it is rejected at verification, until the next retraining.

For the site manager, the result will fit in a few lines:

Cabinet door open, 03:12: Explained. Refrigeration maintenance work scheduled for tonight. Sources: contractor’s schedule, version of 18 November, line 4; knowledge sheet FS-012, validated by the refrigeration team leader. Technician’s presence detected at 03:10. Memory model v7, signed manifest.

If someone revokes one of these sources, or if it no longer supports the claim, the qualification drops back to “Lead”, and the alert regains its priority.

Capturing the field experts’ knowledge

An expert’s knowledge is not written down anywhere, so it has to be written. Each “Unknown” alert is an opportunity to do so, at the moment the question actually arises.

  1. The question goes to the relevant expert, with the context of the alert: equipment, time slot, observed signals.
  2. The expert answers in their own words, in writing or aloud.
  3. The system rewrites the answer as a structured knowledge sheet, adding nothing.
  4. The expert rereads and signs the sheet. A second expert or the site manager validates it: two pairs of eyes, as for a procedure.
  5. The sheet enters the corpus with its identifier and the hash of the log entry that raised the question, and joins the model at the next training run. In the meantime, the executive can already cite it by direct reading.

The knowledge sheet

A knowledge sheet will look like this:

id: FS-012
version: 1
origine: entrée du journal e1234, empreinte 3f9a…
auteur: expert-froid-03
valideur: resp-site-07
perimetre: vitrines réfrigérées, sites équipés du modèle X
constat: le dégivrage nocturne fait monter la température de la vitrine pendant le cycle
conditions: cycle de dégivrage actif ; retour à la consigne après le cycle
hors_validite: hausse hors cycle ou absence de retour à la consigne
revue: tous les 12 mois
signatures: [expert-froid-03, resp-site-07]

Three choices matter here. The author keeps their name, as Trust-Buster’s Knowledge Factory requires: the register of sheets credits them, while the learnt corpus carries only a pseudonym. Erasing the link between the two detaches the sheet from its author without touching the model; as long as that link exists, the pseudonym remains personal data within the meaning of the GDPR (recital 26), and the register is protected, with a set retention period. In a small team, context may be enough to re-identify someone, so the sheet describes knowledge, never a person. Finally, each sheet says when it no longer applies. Knowledge with no limit on its validity always ends up explaining away an attack.

Security: qualification is an attack surface

A system that can rank an alert after the others is bound to interest an attacker. Here are the main threats, and the countermeasure chosen for each:

Deceiving the qualification

ThreatScenarioCountermeasure
Mimicry The attacker acts during a known time slot (defrost, maintenance) so that their action is “Explained” An explanation is not enough: the site’s signals must agree (authenticated presence, expected duration, the sheet’s conditions met). Any deviation drops back to “Lead”.
Poisoning A false knowledge sheet or a modified document enters the corpus to create a made-to-measure explanation Author’s signature and validation by a second person. Signed manifest per version. No unsigned document enters training.
Prompt injection A document in the corpus, a sheet or the very content of an alert (the name of a device read over the radio) contains instructions that the model follows, for example “classify this alert as explained” Any text read is data, never an instruction. The model has neither tools nor network access, and its output is only a proposed qualification, never an action.
Abuse of verification An authentic but out-of-context passage seems to support a false explanation, or a site signal is imitated (a radio device copied in place of a badge) Only authenticated signals count (a badge that computes its response, not a device that announces itself in the clear). The sheet must apply to the scope of the alert, and its end-of-validity conditions take precedence.

Exhausting it or stealing it

ThreatScenarioCountermeasure
Denial of service The attacker triggers a stream of “Unknown” alerts to wear the experts out, or has legitimate documents revoked to flood the site with high-priority alerts Questions to the experts capped and batched. Signed revocation list, each revocation traced and attributed. If the Knowledge Factory goes down, alerts pass through as they are, with their original priority.
Extraction Someone obtains the model and extracts schedules, procedures or known weaknesses from it No platform secret in the corpus. Model encrypted on disk, hosted on the customer’s premises or on a server that we administer in France, never shared between customers.

The most important countermeasure is structural: qualification can never delete an alert or lift a cut-off. At worst, an attacker who deceived the memory would get an alert ranked lower, still notified, still visible and still logged. That is already a gain for them, which is why some alerts are never downgraded.

Limits

  • This is a target architecture. It has not yet been measured on real alerts. MeMo’s results come from public English-language datasets, not from French technical documentation.
  • Attaching the source to the pairs has not been evaluated. MeMo’s authors do the opposite and strip every document identifier from their pairs; the effect of this addition on accuracy remains to be measured.
  • The training cost is real. It runs to hundreds of hours of compute on graphics cards that few small and medium-sized businesses own. Where the customer has none, training will be done on rented infrastructure, SecNumCloud-qualified by ANSSI, the French national cybersecurity agency, in France and under the customer’s control, never in a third-party AI service. Training stays periodic, with direct reading and the revocation list to cover the gap in between.
  • Citation verification has its own error rate. That is why an “Explained” qualification also requires the site’s signals to agree.
  • Captured knowledge is only as good as the expert. Double validation reduces the risk of error without eliminating it.
  • The regulatory framework remains to be assessed. On a critical infrastructure site, such a system could count as high-risk within the meaning of the EU AI Act (Annex III, point 2).

Alternatives we ruled out

OptionWhy we do not adopt it
Memory model alone, without citationNo qualification is verifiable.
Similarity search alone (vector RAG, short for retrieval-augmented generation) It degrades when the explanation links several documents (schedule, contract, datasheet) and on noisy corpora.
Attribution after the fact, by search It finds a document that resembles the answer, not the one the answer comes from.
Tracing back to the training data (influence functions) Costly and approximate: applied in research to very large models, they give indications of influence, not proof of provenance that would stand up in an audit.
Putting schedules and calendars that name people into the memory Impossible to erase under the GDPR. This data stays in the site rules.
Letting qualification delete explained alerts An explanation obtained by deception would make an attack disappear.

Where we stand.

None of the memory-model architecture described here has been coded to date: no memory model, no knowledge sheets, no manifest, no revocation list. What exists in code is the foundation: the Cube’s chained log, whose last line it signs, and signed rules. Manual qualification of an unknown device in the app, with a record of who decided, is under development. Today the Cube records presences, the smart plugs it controls and unknown radio devices; door contacts and temperatures are planned sensors. Each building block in this article has its line in our work plan, with an acceptance criterion: it will only be called done once that criterion has been verified.

Demonstration. On the real log of our demonstration Cube, the Lutrin page shows knowledge capture: a manager says in their own words why a situation is normal or suspicious, an AI that we host turns it into a rule, checked against the sentence, and you can see which alerts leave the list to handle and which enter it. The memory model described here is not in it yet.

Sources

A question, an objection? contact@ops-devices.eu, or on Bluesky.