Mechanism
The differential alarm is part of the confidence governor's differential rate analysis. Confidence is a first-class computed state variable: a continuous scalar reporting the agent's assessed sufficiency to continue executing its current task. That value is not static. It evolves through two opposing processes. Confidence decay is the decrease of the confidence value in response to accumulating adverse conditions, and confidence recovery is the increase of the confidence value in response to the amelioration of previously adverse conditions. Each adverse condition contributes a decay component to the confidence evaluation function, and the aggregate of all active decay components produces the instantaneous decay rate. Each recovery condition contributes a recovery component, and the aggregate produces the instantaneous recovery rate.
At each evaluation cycle the confidence governor performs differential rate analysis by computing the difference between the confidence decay rate and the confidence recovery rate. This difference is the differential rate: formally, the net rate of change of the confidence value. A positive differential rate indicates recovery is outpacing decay and the trajectory is upward. A zero differential rate indicates equilibrium. A negative differential rate indicates decay is outpacing recovery and the trajectory is downward. The differential alarm operates on this signed rate, not on the absolute confidence value.
The Three Alarm Conditions
The confidence governor implements differential rate alarm conditions that trigger immediate responses independent of the absolute confidence value. The disclosure recognizes three. A decay rate spike occurs when the instantaneous decay rate exceeds a configurable threshold, indicating a sudden adverse event. A recovery rate collapse occurs when the recovery rate drops to zero or near zero while the decay rate remains active, indicating that ameliorative processes have stalled. A sustained negative differential occurs when the differential rate remains negative for a configurable duration, indicating chronic deterioration rather than a transient fluctuation.
Each alarm condition triggers a defined response calibrated to the severity and urgency of the alarm. The disclosed responses range from increased evaluation frequency, through preemptive inquiry initiation, to immediate execution suspension. The alarm conditions are distinct from one another because they isolate distinct failure shapes: a spike isolates an abrupt onset, a recovery collapse isolates a stalled remediation, and a sustained negative differential isolates a slow chronic slide that no single cycle would flag.
Why Rate, Not Level
The alarm conditions act on the rate of confidence change rather than on the confidence level because rate exposes dynamics that a threshold-only strategy cannot see. A threshold-only gate compares the current absolute confidence value against an authorization threshold and acts only when the level crosses. Such a gate is blind to a confidence value that remains above the threshold but is collapsing rapidly toward it, and blind to a recovery that has quietly stalled while the level is still nominally acceptable. The differential alarm makes these dynamics first-class. It can flag a rapidly collapsing trajectory before the level has crossed anything, which is the condition under which an agent would otherwise continue executing and commit irreversible actions in the interval between the onset of rapid decay and the threshold crossing.
Relation to Trajectory Projection
The differential rate also feeds the confidence governor's trajectory-based gating. The governor maintains a confidence trajectory projection that extrapolates the current confidence value forward using the current differential rate and, optionally, the second derivative of the confidence value, the rate of change of the differential rate. The projection produces an estimated time-to-threshold: the projected duration until the confidence value crosses the authorization threshold given the current trajectory. When the estimated time-to-threshold falls below a configurable safety margin, the governor initiates a graceful suspension sequence regardless of the current absolute confidence value. The safety margin is configured based on the task class and the estimated cost of abrupt versus orderly suspension. The differential alarm and the trajectory projection are complementary: the alarm fires on the shape of the rate signal itself, while the projection converts that rate into a forward estimate of when the level will fail.
Affective Coupling
The affective state modulates the sensitivity of the confidence computation, and through it the rate signals the differential alarm observes. An agent whose affective state is characterized by elevated anxiety or risk aversion has a higher gain on the decay pathway and a lower gain on the recovery pathway: adverse signals are amplified and favorable signals are attenuated, so its confidence decays faster and recovers more slowly. An agent whose affective state is characterized by elevated engagement amplifies recovery signals and attenuates decay signals, producing a trajectory more resilient to transient adverse conditions. Because these modulations change the decay and recovery rates, they change the differential rate directly. An affective state that amplifies decay produces steeper negative trajectories and triggers preemptive suspension earlier; an affective state that attenuates decay produces flatter negative trajectories. The attenuation is bounded: the affective modulation cannot reduce the gain on adverse signals below a configurable floor, so even a highly engaged agent still responds to severe adverse conditions.
Lineage and Audit
Confidence is a structurally defined, continuously computed, governance-integrated state variable that participates in the same lineage tracking, policy enforcement, and audit mechanisms that apply to all other agent fields. Every mutation to the confidence field is recorded in the agent's lineage, producing an auditable temporal record of the confidence trajectory. Governance infrastructure can audit that trajectory to verify that execution authorization decisions were consistent with the recorded confidence values, that confidence computations were performed using the defined evaluation function with the correct inputs, and that no execution occurred during periods when confidence was below the authorization threshold. Because the differential alarm acts on the recorded rate signals, its triggers are reconstructable from the same lineage record. The governance infrastructure may also audit the affective modulation parameters to verify that an agent's suspension timing was consistent with its affective state and that no manipulation of affective state was used to inappropriately delay or accelerate suspension.
Prior-Art Distinction
Conventional autonomous agent systems, including runtime environments that provide pause and resume capabilities, suspend execution reactively in response to external failures or resource interruptions. They evaluate execution against an absolute level, if they evaluate it continuously at all, and cannot detect a confidence collapse that occurs entirely within the admissible range or distinguish a recovering trajectory from a stalled one. The differential alarm departs from this by computing a signed differential between decay and recovery rates and recognizing three distinct rate-shaped conditions, the decay rate spike, the recovery rate collapse, and the sustained negative differential, each bound to a calibrated response. This lets the confidence governor suspend execution proactively based on the agent's own continuously computed assessment of its sufficiency, enabling the agent to stop itself before damage occurs rather than recovering after damage has occurred.
Disclosure Scope
The differential alarm, comprising the confidence governor's differential rate analysis that computes the difference between the confidence decay rate and the confidence recovery rate, the resulting signed differential rate and its interpretation as upward, equilibrium, or downward trajectory, the three differential rate alarm conditions of decay rate spike, recovery rate collapse, and sustained negative differential, each triggering a calibrated response from increased evaluation frequency through preemptive inquiry initiation to immediate execution suspension, the coupling of the rate signals to the confidence trajectory projection and its estimated time-to-threshold, and the affective modulation of decay and recovery sensitivity bounded by a configurable floor, is disclosed in the cognition filing (U.S. Application No. 19/647,395 and its international counterpart). This article describes that disclosed mechanism. The scope extends to embodiments in which the decay and recovery components are aggregated over different input dimensions, provided the alarm acts on the signed differential between the decay rate and the recovery rate rather than on the absolute confidence value.