Skip to content

← all research

Implemented

Living State

An advisory pipeline that runs scan → update → consolidate before each session, producing a living-state block that reflects the agent's current internal state.


Living State

Before each session begins, CSM runs an advisory pipeline: scan, update, consolidate. The output is a “living-state” block that gets injected into the system prompt - a picture of where the agent is right now, derived from where it has been.

What runs

  1. Scan. csm_belief_scan looks at recent experience packets for recurring patterns. If it finds them, it writes belief candidates to the queue.
  2. Update. The Self-Model updates its capability confidence scores based on recent performance. If a capability’s confidence drops, a drift warning is emitted.
  3. Consolidate. Belief knowledge is consolidated - duplicates merged, contradictions flagged, stale entries marked for review.

The whole pass runs in milliseconds. It is advisory - it feeds into context, it does not change behavior directly.

What it produces

A block in the system prompt containing: recent experience summary, belief deltas (what changed since last session), capability state, and active advisories. The agent starts the session already oriented.

22,749 packets processed. 111 beliefs promoted. 8 capabilities tracked. Running since June 2026.