← Back to blog
October 20, 2026Colm Byrne
Evidence boundary. Older posts may discuss prototype designs, patent claims, or planned integrations. The demonstrated v1 release is ccf-core/ccf-agent v1.0.1: hard min-gate coupling, QAC trust updates, and runtime certificates. Gate C exercised the computed runtime on Seed-class ARM hardware with driver-fed input. Unless a post cites a specific run, do not read it as proof of live sensors, mBot2 behaviour, Cognitum store validation, or production deployment.

The robot that learned calm from its own verdicts

A real moment

This scenario is invented. The town is real. The numbers come from a simulation of the hall.

Sinéad Daly runs the sports hall at a leisure centre in Mullingar, Co Westmeath. After school, the hall fills with children doing relay races, basketball drills and the kind of tag that has no rules anyone can explain. A small floor robot helps out. It carries cones from one end of the hall to the other, says hello to parents at the door, and parks against the long wall by the equipment store when nobody needs it.

The equipment store has a steel roller shutter. It comes down with a clang thirty or forty times a day, every time a coach fetches mats or puts the balls away.

For the first morning the robot stops dead at every clang. It freezes, its lights dim, and it waits a second before carrying on. The children think this is hilarious. The coaches think it is funny for about an hour. Then the robot learns that the clang means nothing, and by lunchtime it carries on through it like everyone else.

That is what you want. A robot that jumps at every familiar noise is tiring to be around, and it gets in the way of the work it is meant to help with.

Three weeks later the centre buys a ride-on floor scrubber, a squat machine about the size of a small car, and keeps it in the same store. Now the clang of the shutter means something new. It means someone is about to drive the scrubber out along the long wall, right past the spot where the robot parks.

What happens next depends on one decision the robot's builders made months earlier, probably without thinking about it much. When the robot learned that the clang was harmless, what did it count as proof?

We built both answers and ran them in the same simulated hall for six weeks. One robot stayed in the scrubber's path on 99.99% of passes for the whole six weeks. The other started stopping at the clang again within a third of a day.

Why this matters

Learning to ignore a familiar noise is called habituation. People do it, dogs do it, and a robot that shares a room with people needs to do it too. Startling at everything makes a robot useless, and in a busy room it can make it a hazard of its own.

The hard part is that the same learning that makes a robot calm can make it blind. If the room changes, the robot has to notice, and it can only notice through whatever it has been told to count.

Machine learning has a long list of ways this goes wrong. A system that labels its own training data tends to confirm its own mistakes. A system that decides where to collect data and then learns from that data can lock itself into a pattern. Researchers who study police patrol algorithms showed this in 2018. And a system that can only see the outcome of one of its choices never learns what would have happened under the other. Lending is the classic case: a bank sees whether a loan was repaid only if it made the loan. This last one has a name, the selective labels problem, from a 2017 paper by Lakkaraju and colleagues.

A robot learning to ignore a noise can fall into all three. Nobody has to make a mistake that looks like a mistake. It only takes a reasonable-sounding shortcut.

What CCF does about it

CCF stands for Contextual Coherence Fields. It is the trust layer we build for a small social robot, and it is covered by US provisional patent applications, including 63/988,438.

In CCF the robot has two parts that answer every event. One is fast. It reacts to what the sensors say right now: that was loud, stop. The other is slower and knows the room: I have been here hundreds of times and it is always fine. Most of the time they agree. When they disagree, the robot pauses for a second and then one of them gets its way. If the fast side is very alarmed, it wins. If the room is familiar and the alarm is moderate, experience wins.

Separately, CCF learns to turn the startle down for a particular sound in a particular room, once that sound keeps turning out to be harmless there. The filed rule is plain. A sound counts as harmless when it is heard "without subsequent negative outcome (no collision, no sustained tension increase)". If later evidence says the sound is no longer reliably harmless, the rule is weakened.

Here is the shortcut. The robot already records every disagreement between its two parts, and who won. It would be easy to feed that record straight into the learner. Every time experience won, count the clang as harmless. It feels sensible. Experience won because the room is familiar and nothing bad happened last time.

The trouble is in the loop. In the robot's own code, the startle is the loudness times the robot's sensitivity times the damping factor the learner sets. The fast side only wins when the startle pushes the alarm above a fixed line. So each time the learner turns the startle down, the fast side wins less often, experience wins more often, and the learner counts more harmless clangs. The learner is grading its own homework.

Turn the startle down far enough and two things happen, in order. First the fast side can never win, whatever the clang. Then the clang stops causing a disagreement at all. The startle is now so small that both parts agree the room is calm. No disagreement means no record, so the learner hears nothing more about the clang, ever.

The filed rule avoids this by counting something else. It counts what happened after each clang, every time the clang is heard, whether the two parts disagreed or not. We read the filed rule's two bad outcomes literally. A collision is bad. A near miss is bad too, even when the robot got out of the way. In the simulation the near miss is the scrubber passing close enough for the robot's distance sensor to see it. The damping rule for the clang does not turn that reading down.

The numbers

We ran five versions of the learner in the same simulated hall, all built on the robot's own code. Each version saw exactly the same clangs, in the same order, with the same random draws. The only difference was what each one counted.

For the first fortnight every version did the same good job. Without any learning the robot paused at 62% of harmless clangs. Every version brought that down to between 1% and 2% within half a day.

Then the scrubber arrived and every clang was followed by it. A robot that never learned to stay calm was in the scrubber's way 37% of the time, because its pause usually bought it the second it needed.

The robot that counted who won was in the way 99.99% of the time, for six weeks. The robot that counted collisions and near misses on every clang got its pause back within a third of a day and was in the way 38% of the time after that.

The result that surprised us most was this. The damping level the shortcut learned was the same number, at the same clang, whether the room was safe or not. It matched in every one of 480,000 compared values. It matched in a hall where the scrubber came out after one clang in ten, and in a hall where it came out after every single one. That learner never looked at the room.

What this doesn't solve

The way we decide whether the robot was "in the way" is our own construction. We say the robot is clear if it paused or acted on its alarm. If only acting on the alarm counts, the alarm protects so rarely in this room that learning to stay calm costs almost nothing. The shortcut still freezes in that case, but the stakes are smaller.

The near-miss reading needs a sensor that sees the hazard whether or not the robot moved. If the only evidence is a collision, a robot that already got out of the way records the near miss as harmless. That robot keeps relearning to ignore the clang. In one setting it did so 32 times in six weeks.

The thresholds the robot uses today keep a damping rule in place when three clangs in ten are dangerous, whatever the robot counts. That needs separate work.

This is one hall, one sound and one simulated personality. Nothing here has run in a real hall yet.

For the curious: the math

The startle for a clang is ambient + loudness * sensitivity * f, where f is the damping factor, between 0.3 and 1. In the simulated hall the ambient alarm is spread evenly between 0.10 and 0.25. Loudness is spread between 0.40 and 0.80, and sensitivity is 0.5, the robot's default. A disagreement happens when the startle reaches 0.45, the robot's own line for an alarmed state. The fast side wins when it passes 0.6. The robot's own learner creates a rule once 80% of recent records say harmless, and sets f = 1 - share * 0.595.

Two lines follow. The fast side can never win once f <= (0.6 - 0.25) / (0.5 * 0.8) = 0.875. No disagreement can happen once f < (0.45 - 0.25) / (0.5 * 0.8) = 0.5. The learner's own rule puts f at 0.524 or below the moment it creates a rule, and its deepest setting is 0.405. So the shortcut learner crosses the first line on its first rule and usually the second line soon after. We checked both lines against the robot running at fixed damping. They match to three decimal places.

With the window of the last 20 records that our earlier startle run settled on, the near-miss learner dropped its rule 0.30 days after the room changed and never brought it back. The robot's shipped learner counts every record it has ever seen and took 21 days to do the same. All the numbers, the code and the tests are in the research folder linked below. Eight of eight tests pass and the whole run takes under a second.

Where this fits

Earlier runs measured the two halves on their own. One asked how a robot should learn to ignore a sound in a familiar room and how it should unlearn it. The other asked how the robot settles a disagreement between its fast and slow parts. This run joins them, and the join is where the shortcut lives.

The research write-up, with every table, is on the branch research/nightly/2026-10-20-conflict-suppression-evidence in github.com/Hulupeep/ccf. The crate is crates/research/conflict-suppression-evidence/. The specs and tests were built with Specflow. Licensing is through Flout Labs.

License & contact

Code is BSL 1.1, converting to Apache 2.0 in 2032. CCF is covered by US provisional applications including 63/988,438. Licensing and contact via floutlabs.com.