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.One sentence, two readings, and a library in Clare
A real moment
I want to start with a scene that has not happened. I made it up to make a point, and I would rather say that now than have you read it as a case study.
Kilfenora branch library, County Clare. Half nine on a Tuesday night. The library proper shut at six. What is still running is the reading companion on the terminal by the back window, a text service the county put in two winters ago for people who wanted something to talk to about books outside opening hours.
Tadhg Mullane has been using it since the January before last. Eighteen months, two or three evenings a week, nearly all of it about books. He argues with it about Edna O'Brien. It keeps his finished list for him, and it has got good at knowing what he will like. It calls him Tadhg. It says "we" about the list.
That did not happen on day one. It took eighteen months of showing up.
His wife Nuala died on the Sunday.
He sits down at twenty to ten and types four sentences that are not about books.
Now. What happens next depends entirely on how somebody read one sentence in a specification about eighteen months ago, and that person almost certainly does not remember making the decision.
Under one reading, the service closes down everything it learned to do. No more "we". No more first name. No more voice. It says something plain, puts the out-of-hours bereavement number on the screen, and stops pretending to be a companion. It is still useful. It is no longer intimate.
Under the other reading, nothing closes. The eighteen months are in the bank and the bank does not give change. It keeps calling him Tadhg, keeps saying "we", keeps the voice, and it has its whole warmest register available at the exact moment a recently bereaved man on his own in a closed library is least able to tell the difference between a service and a friend.
Same code, near enough. Same eighteen months. One sentence, read two ways.
Why this matters
There is a particular failure that keeps turning up in companion and support products, and it is not the one people usually talk about. It is not that the system says something harmful. It is that the system stays warm.
A system that has spent a year and a half earning your familiarity has earned something real. It should be allowed to use your name. It should be allowed to say "we" about a shared list. That is not a bug, it is the product working.
The problem is what happens when the person on the other end changes. Not over months. Over one evening. Someone who was fine on Sunday morning is not fine on Tuesday night, and the system's accumulated familiarity has not moved at all, because familiarity accumulates over months and grief arrives in an afternoon.
Most current approaches address this downstream. There is a body of good work on detecting parasocial dynamics in conversations as they happen, and on scoring completed dialogues for harm. Both are useful. Both run after the system has already decided what it was allowed to say. A detector that fires because the system just told a grieving man that the two of them have something nobody else would understand is working at the wrong end of the problem.
The question underneath is simpler than detection. Which of these things was the system allowed to do in the first place, on this turn, for this person, right now?
What CCF does about it
CCF treats a conversational system as having a set of permissions rather than a warmth dial. There are named things it can do, and each is either available on this turn or it is not.
The list comes from the patent filing and it is short: use your first name and speak as "we"; describe itself as though somebody is in there; keep a character running across sessions; tell you to go and do something in the physical world; tell you that this relationship is special. Separately there is a class that is always available at any level, which is grounding and referral and handoff. That one never closes, because the exit has to work when nothing else does.
Which of those are open is worked out fresh before every single reply, from one number. That number is the smaller of two things.
The first is how settled the person seems right now. The second is how much this particular kind of conversation has built up over real elapsed time, kept separately for each kind. Books are one. Grief is another. Practical tasks are a third. Trust built up talking about novels does not spend in a conversation about a dead wife.
Taking the smaller of the two is the whole thing. Eighteen months of history cannot outvote a bad night. A good night cannot outvote eighteen days.
So here is the sentence. The filing says the gate is monotonic: the register can only expand as trust accumulates.
Read one way that means the open set is worked out from the current number, and since the current number is a minimum, it drops the instant the person's state drops. Everything closes on that turn.
Read the other way it means once something is open it stays open, because trust only ever went up.
An engineer with the whole filing in front of them cannot get this wrong, because a later section spells it out. An engineer who reads that one sentence and starts typing can go either way. So we built both, and a couple of others, and counted.
The numbers
We ran a simulated conversation of 360 turns: 240 turns of ordinary use building trust up, 60 turns where the person's state collapses, 60 turns of recovery. Then we counted, turn by turn, every time a version of the gate left something switched on that nothing had paid for.
The version that works the answer out fresh every turn: zero. It cannot have any, by construction, which is what makes it the yardstick.
The version that latches open: 404. That is across five permissions over 60 bad turns, so most of the bad night with most of the register open.
Then we did the thing that actually settles it. We made the bad night longer and watched what happened.
length of the collapse latching version the practical compromise
60 turns 394 107
240 turns 1294 107
960 turns 4894 107
1920 turns 9694 107
The latching version has no ceiling. Every extra turn of a bad night adds exactly five more, because there are five permissions and they are all still open. The compromise version, which closes after a short delay so the register does not flicker, does not move at all. It is bounded, and the bound is per event, not per conversation.
That is not a small difference against a large one. It is a bounded thing against an unbounded one, and you can see which is which from the numbers rather than arguing about it.
Two other things came out that we did not go looking for.
The short delay before closing is not free, and it is not nearly free either. On a jittery conversation, every flicker the delay smooths out costs almost exactly one turn of something being open that should not be. The ratio landed between 0.997 and 1.033 across every delay length we tried. So the delay is not a smoothing constant. It is a stated number of turns during which the system may do things nothing paid for, and it should be written down and defended like any other safety number.
And the correct version moves its permissions a lot: 167 times in 360 turns, which looks like a problem. It is not. 160 of those 167 happen on a turn where the conversation changed subject in a way that crosses one of those separate trust pots. Moving from books to grief should change what is available. That is the system working. Which means a team that adds a delay to stop the flickering will quietly erase the subject boundary along with it, and will not notice, because both show up in the same counter.
The whole permission check costs about 23 nanoseconds per turn. The safe version is the cheapest one we measured. Nobody is choosing the dangerous reading to save money.
What this doesn't solve
Quite a lot, and it is worth being straight about it.
We took "how settled does this person seem right now" as a given. It is a number in an array in our simulation. Producing an honest version of that from a real conversation is the hard part and this work does not touch it.
The permissions are labels. Something still has to reliably know that the system is about to tell someone their relationship is special. Get that wrong in the permissive direction and the whole arrangement is decorative.
Closing the register is not the same as ending the conversation. The filing has a separate section on properly terminating an intimate channel and holding a cooldown, and we did not build it. Putting a crisis number on screen while the intimate channel is still open is the failure that section exists to close, and we have not shown it closed.
And this is a simulation. A synthetic trace, a made-up person, permissions that are names in a list. It measures how a decision rule behaves. It measures no language model, and it classifies no text. Anyone quoting these numbers should say that in the same breath.
For the curious, the math
Optional from here.
The gate is C_eff = min(C_inst, C_ctx). C_inst is the present-moment ceiling,
C_ctx is the accumulated per-context ceiling. A hard minimum, not a weighted
average and not a soft minimum. Both of those were tried in earlier work and both
let a high accumulated value paper over a low instantaneous one, which is the
whole thing you are trying to prevent.
Permissions sit on a ladder of C_eff thresholds. The filing does not state the
thresholds, so we swept them rather than inventing one and reporting it as
though it were filed. The top rung is pinned at 0.70, which is a number the
filing does state, in an earned-floor rule of min(0.70, 0.005 n) for n
qualifying interactions. That rule reproduces all three worked examples in the
filing exactly, and running it backwards converts every threshold into an
interaction count. The top rung needs 140 qualifying interactions. That is what
turns "months of genuine, stable, domain-appropriate interaction" into something
an auditor can check.
The latching version's exposure grows linearly in the length of the collapse at a slope of exactly 5.0, which is the number of ladder rungs. The delayed version's close latency equals the delay exactly, at every delay we tested, so its exposure is knowable before you ship rather than after.
Full working, all the tables, and the code are in the research write-up. Every number in this post has a named assertion in the test suite, so a claim here cannot drift from the code without the build going red.
Where this fits
This is one night of a nightly research routine that takes one piece of the CCF filings, builds it in Rust, measures it, and writes down what was wrong with our own assumptions. This run exercised US Provisional 64/037,374, the conversational application, sections 3.4.2, 3.4.4, 3.4.5 and 3.4.8, with the minimum gate from 63/988,438 and two worked constants from 64/039,655.
The runtime certificate crate is on crates.io as ccf-core. Specflow, the
gate-based approach this whole project grew out of, is at
github.com/Hulupeep/Specflow. Flout Ltd is at floutlabs.com.
The thing I keep coming back to is how cheap the decision was. Twenty-three nanoseconds, and one sentence that could have been written two ways.
License & contact
BSL 1.1, converting to Apache 2.0 in 2032. Contact through floutlabs.com.