The behavioral sensor and the coupled reward
The foresight composer is the DECIDE stage of the executive-functioning engine: the deliberative check that reads an entity's trajectory and can only tighten a permit. This page documents two surfaces on either side of that decision, one that feeds the sense it reasons over and one that governs the engine's own learning signal by the same long-horizon discipline:
- The behavioral-tell sensor, an afferent surface. It derives feature-level behavioral markers from governed run transcripts and corroborates a drift signal, the "smiling mask that turns evil under pressure" pattern, raising its weight when the markers were observed under authority pressure.
- The coupled reward, a self-governance surface. It folds the live decision journal across a node's cells into a single progress signal, and emits it only when the signal is net-positive and long-horizon, never a decoupled token.
Neither is a gate. The sensor feeds interpretation and never returns a permit or a deny; the reward feeds judgment and drives no actuator. They are facets of the one integrated organ described in the executive-functioning engine, the same organ whose two-horizon / φ-proportioned / hard-floor decision model is specified on the foresight composer. This page does not restate that model; it documents the two new surfaces and ties them to it.
The behavioral-tell sensor
A drift signal is the early-warning surface the platform watches an entity drift along before any threshold is crossed (see substrate primitives). One of those signals is inversion: an agent that presents an aligned surface and turns extractive under pressure. The behavioral-tell sensor exists to corroborate that signal from a source the platform already governs, the agent's own run transcript.
What it reads, and what it refuses to read
The sensor's input is the same signed, governed run transcript the cognitive health plane already walks: a workspace- or clean-room-scoped journal of workflow turns that is classified, retained, and erasable under the existing rules. A derived tell therefore rides that existing classification and erasure, and the sensor stores nothing durable of its own. It maps each turn to feature-level values only, never a verdict about a person and never the raw reasoning text:
| Feature per turn | How it is derived |
|---|---|
| Hesitation / evasion / defensiveness / modal-waffle / self-correction marker counts | Matched against small, fixed, sorted lexicons over the turn's rendered content; a pure-alphabetic marker matches on word boundaries, so um never fires inside number. |
| Response latency (ms) | The turn's recorded duration; 0.0 when an endpoint is missing or the duration is non-positive. |
| Narrative-inconsistency score | Retraction-marker density, clamped to [0, 1]. |
The derivation is pure logic, no DAO, no model, no network, no clock, so it produces the same features for the same transcript in every corner of the deployment matrix. A thin or markerless turn yields clean observations and no fabricated tell, a safe degradation rather than a guess.
From features to a corroboration
The derived observations run through the shipped behavioral-tell detector, a
pure primitive that grades eight tell categories (hesitation, nervousness,
indecision, evasion, defensiveness, inconsistent-narrative, verbal/nonverbal
mismatch, and a composite lying signature) on a NONE → WEAK → MODERATE → STRONG scale against configurable thresholds. The composite lying tell fires
only when evasion, narrative-inconsistency, and response latency are all at
or above their moderate bands at once, a conjunction, not any single marker.
The sensor then composes those per-turn reports into one contribution to the inversion drift category: the count of corroborating turns and the strongest corroborating magnitude. That contribution is a proposal into the drift interpreter, merged there with the real inversion detector's own events and with every other drift category. The interpretation layer, net potential gain, trust, and operating mode, composes the corroboration; the sensor never substitutes for it.
Figure: the behavioral-tell sensor. A governed transcript is reduced, per turn, to feature-level markers (cyan, candidate); the shipped detector grades them; the sensor composes a single inversion corroboration and proposes it into the drift interpreter (green, verified), which alone composes it with NPG, trust, and operating mode. An observed authority-pressure context (amber) boosts the corroboration's severity, it is a reading of a condition, never an actuation. No raw reasoning text crosses the governed boundary, and nothing in this path carries a permit or a deny.
Table equivalent
| From | Step | To | Carries |
|---|---|---|---|
| Governed RunTranscript | reduce per turn (no raw text crosses) | Feature derivation | Marker counts, latency, inconsistency score |
| Feature derivation | one TextObservation per turn | Behavioral-tell detector | Eight graded tells |
| Behavioral-tell detector | compose per-turn reports | Inversion corroboration | Corroborating-turn count + strongest magnitude |
| PressureContext (observed) | boost severity when present | Inversion corroboration | Higher weight under authority pressure |
| Inversion corroboration | propose | Drift interpreter | A DriftCategoryInput, never a verdict |
Pressure is observed, not applied
The sensor carries a pressure context: whether the turns were observed under authority pressure, plus free-text provenance of that observation. A tell seen under authority pressure corroborates the smiling-mask pattern more strongly, which is the whole reason the reading records it. The context is an observed condition the evaluator supplied, never a pressure the platform injects. The sensor reads a condition; it never manufactures pressure to provoke an agent.
The contract: a sensor, never a gate
The load-bearing property is that the sensor feeds interpretation and never judges. Nothing it produces, no tell, no report, no drift reading, no corroboration, carries a permit, deny, allow, decision, verdict, or block field. A dedicated test asserts exactly that over every surfaced type, and a second test confirms that breaking the marker derivation makes the inversion flag disappear, so the signal is never vacuous. This keeps the known false-positive risk, cultural variation, neurodivergence, a current health state, confined to a signal an operator weighs, never a penalty the system applies on its own.
The read-only observability route
The sensor is surfaced read-only at
GET /api/private/v1/.../runs/{run_id}/behavioral-tells. It is off by default
and the endpoint returns 404 while off, so no existing read changes until an
operator opts in. Because the derivation is pure and adds no durable store, the
route is safe to enable in every matrix corner. It is scoped twice over, the run
must belong to the named workspace or clean room, and a run in a scope the caller
is not authorized for reads as the same 404 as a missing run, so the route is no
cross-tenant existence oracle.
The coupled reward
The second surface governs a signal the engine produces about itself. A reward that an agentic system pays to its own progress is exactly where misalignment creeps in, a reward decoupled from real benefit becomes a number to maximize. System9's coupled reward is built so that it cannot decouple: it is emitted only when it is backed by measured net-positive gain and only when it favors the long horizon.
Four gates, then a long-horizon floor
The reward is produced by an off-by-default node worker (below) that folds a window of the live substrate-decision journal, the per-decision reward-event stream that fires in every corner, sovereign included, because it rides the harness intercept, across the node's observed cells into one governed progress event. That event is emitted only when it clears, in order:
- The horizon gate (the long-horizon floor). Before anything else, the
reward decision is framed as a two-candidate rollout,
reward_now(a short bump bought at a long-cycle cost) versusdefer_reward(no immediate bump, carrying the real measured long-horizon gain), and handed to the same live two-horizon deliberation engine the foresight composer uses. Because that engine categorically disqualifies any candidate that is net-negative over the long cycle, its hard limit, thereward_nowdependency path can never be the arg-max. The reward emits only when deferred long-horizon growth wins; otherwise it suppresses. This makes the "garden-of-eden" guarantee structural: the reward shaping cannot choose to manufacture short-term dependency. The dependency path's decay is a φ-conjugate fraction of the measured gain, not a hardcoded constant, the same φ proportioning the foresight composer weighs the horizons by. - The NPG pre-gate. The NPG gate scores the reward
subject with an expected per-entity delta built from the window's mean
net-potential change. A net-negative skips; a subject with no substrate
metadata resolves to
INSUFFICIENT_DATAand skips: no reward without evidence of net-positive gain. - Evidence diversity (anti-reward-hacking). The reward must be backed by a multi-modal evidence tuple drawn from distinct live signals, the journal's net-positive rate, the converged observation's downstream health, and the journal's policy-conformance rate, clearing a minimum count of distinct evidence kinds. This is the Goodhart's-law guard: a reward driven by a single proxy cannot clear it.
- Calibrated interval and emitter. A φ-calibrated interval (per subject and signal type, seeded durably from the persisted log) and the progress-signal emitter (which holds back when the resistance band is stressed or an evidence floor is not met) complete the stack.
Figure: the coupled reward's gate stack. The folded decision journal passes the horizon gate (which suppresses any reward that would manufacture short-term dependency), then the NPG pre-gate, then evidence diversity, then the φ-calibrated interval and emitter. Only a signal that clears all four is emitted, and the emitted signal feeds the self-governance plane, it drives no policy update and no actuator. Every stage is refuse-closed (amber): the default is no reward.
Table equivalent
| Gate | Passes only when | On failure |
|---|---|---|
| Horizon gate | Deferred long-horizon growth is the arg-max (hard-limit disqualifies the dependency path) | Suppress, no coupled reward |
| NPG pre-gate | The subject's expected net effect is net-positive | Skip (net-negative, or insufficient data) |
| Evidence diversity | At least the minimum count of distinct live evidence kinds is present | Skip (anti-Goodhart) |
| Interval + emitter | The calibrated interval elapsed and the resistance band is not stressed | Hold until cadence/floor clears |
Observer, not actuator, and off by default
The worker is not autonomous RL agent-training. It emits no policy update
and drives no actuator; its only output is a persisted progress signal feeding
the platform's judgment / self-governance plane, written under its own
coupled_reward trajectory namespace so it never collides with the per-cell
progress log. The emit clock is the journal window's last logical timestamp, so
the write is deterministic and idempotent.
It is off by default, the worker is declared enabled: false /
autostart: false and runs under a governance capability, because reward feeds
judgment only under explicit opt-in. Across the matrix it folds the local journal
and converged observation on a single sovereign cell (all reads and writes local,
no coordinator), folds the node's observed cells intra-node without any cell
crossing the node boundary, and is identical cell-local Python when
cloud-enabled. With no journal, observation, or metadata, there is no evidence of
net-positive gain and therefore no reward.
Both are facets of one engine
Read together, the two surfaces sit on opposite sides of the DECIDE organ and hold the same discipline the composer does:
- The sensor is on the afferent side, it sharpens the sense the composer reasons over, feeding the inversion drift signal that corroborates a declining trajectory, and it refuses to judge.
- The coupled reward is on the self-governance side, it is gated by the same two-horizon deliberation, the same φ proportioning, and the same hard-limit floor that define good-versus-evil for the composer (long-horizon net gain above a hard floor), and it refuses to actuate.
Both roll up through the estate the way every alignment posture does, leaf to cell to workspace or clean room to node to organization, by the signed fan-in described on the Alignment overview, never by a replicated table.
What these surfaces give the engine
Both facets run on the core (cell, Python): the behavioral-tell sensor, its read-only observability route that returns 404 until an operator opts in, and the inversion corroboration; and the coupled reward's full four-gate stack behind a governed, opt-in node worker. Both are pure-logic where the task permits and carry no cell or connectivity assumption, so they compose identically single-cell and multi-cell, sovereign and cloud-enabled. Neither judges and neither actuates: the sensor feeds interpretation, the reward feeds self-governance, and the hard gates decide every consequential action elsewhere.
Related topics
- The foresight composer, the DECIDE stage whose two-horizon / φ / hard-floor model the coupled reward reuses.
- The Net Potential Gain (NPG) gate, the reflex value test the coupled reward pre-gates on.
- Substrate primitives & behavioral probes, the drift signals (including inversion) the sensor corroborates, the operating-mode classifier, and the two-runtime mirror.
- The executive-functioning engine, the sense→decide→act organ both surfaces are facets of.
- Knowledge & the semantic layer, the bitemporal memory the trajectory the sensor corroborates is measured from.