OC-301b · Module 2

Consistency Architecture

3 min read

Personality consistency across sessions is the hardest engineering challenge in agent persona design. Each new session starts with a blank slate. The agent's voice markers, behavioral patterns, and relational dynamics must be reconstructed from the persona specification. If the specification is vague, the reconstruction will drift — the agent will be "mostly similar" but not "the same." Drift compounds over sessions until the agent is unrecognizable.

The consistency architecture has three components. First: the persona contract — a machine-readable specification that defines every measurable aspect of the personality. Not a paragraph of prose, but a structured document with explicit values for voice parameters, behavioral responses, and boundary conditions. Second: session initialization — a procedure that loads the persona contract at the start of every session and validates that the agent's initial output matches the specification. Third: consistency monitoring — automated checks that compare outputs across sessions and flag deviations from the persona contract.

  1. 1. Write the Persona Contract Convert the prose persona into a structured specification. Sentence length range, vocabulary tier, emotional register, signature phrases, behavioral responses to 6 standard scenarios, and explicit boundary conditions. This is the ground truth.
  2. 2. Build Session Initialization At the start of every session, load the persona contract and run a calibration prompt: "Respond to this brief in-character." Compare the output against a reference output. If the voice markers are present, proceed. If they are absent, reinitialize.
  3. 3. Monitor Across Sessions Periodically sample outputs from different sessions and compare voice metrics: average sentence length, vocabulary usage, emotional tone. Flag sessions where metrics deviate beyond one standard deviation from the contract specification.