Document agent state variable meanings

This commit is contained in:
Meta Vens 2026-05-01 19:14:32 +01:00
commit 9979b6d170
5 changed files with 216 additions and 4 deletions

View file

@ -63,6 +63,7 @@ operating manual. The README is just the sign on the door.
- `docs/research/personality-signal-classifier.md`
- `docs/aetheria/call-of-the-void-brainstorm.md`
- `docs/architecture/canonical-agent-state-schema.md`
- `docs/architecture/agent-state-variable-glossary.md`
- `docs/architecture/agent-state-distributions-and-prompt-projection.md`
- `docs/architecture/aetheria-persistent-agent-architecture.md`
- `docs/architecture/aetheria-content-generation-targets.md`

View file

@ -0,0 +1,192 @@
# Agent State Variable Glossary
This document explains the current v0 Ghostlight state variables. It is the
human-facing companion to:
- `schemas/agent-state.schema.json`
- `schemas/agent-state.required-fields.json`
- `examples/agent-state.call-of-the-void.json`
The schema is not pretending this vocabulary is final. It is a first stable
core: enough shared axes to compare characters, build prompt projection, and
avoid turning every new scene into a bespoke little fog machine.
## Variable Components
Every scalar-like state variable uses the same four numeric components.
| Field | Meaning |
| --- | --- |
| `mean` | The baseline tendency or long-run level for this variable. A high `mean` means this trait, strategy, pressure, or stance is normally strong for the agent. |
| `certainty` | How confident the system is in the baseline. Low certainty means the value is provisional, thinly evidenced, or inferred from weak material. |
| `plasticity` | How easily this variable can change. High plasticity means the value can move quickly under events, relationships, culture, or scene pressure. Low plasticity means it is entrenched. |
| `current_activation` | How active the variable is right now, in this scene or current state. This can spike above or fall below the baseline without rewriting the agent. |
Example:
```json
{
"mean": 0.35,
"certainty": 0.8,
"plasticity": 0.2,
"current_activation": 0.9
}
```
This means the agent is not generally high in the variable, the system is
fairly sure about that, the baseline is not very easy to change, but the
variable is strongly activated right now. Translation: this is a situation,
not a personality transplant.
## Label Set Policy
The labels in `agent-state.required-fields.json` are the required v0 core.
They are not comprehensive.
The validator requires each canonical agent fixture to include the full core
set so agents can be compared on the same axes. That means Cat's example does
not contain only labels that apply strongly to Cat. It contains all required
labels, with low values for weak or inactive axes and high values for strong or
activated axes.
Variable maps may still grow extra labels where a character, culture, or story
needs them. Do not promote a new label into the required core until it has
proved broadly useful across multiple characters or scenes. Otherwise the
schema becomes a junk drawer with a badge.
## Underlying Organization
| Label | Meaning |
| --- | --- |
| `self_coherence` | How integrated and stable the agent's sense of self is under pressure. |
| `contingent_worth` | How much the agent's felt worth depends on approval, utility, status, purity, or external validation. |
| `shame_sensitivity` | How painful exposure, correction, failure, or diminishment feels. |
| `reciprocity_capacity` | Ability to recognize and sustain mutual obligations rather than purely extractive or avoidant relations. |
| `mentalization_quality` | Ability to model other minds with nuance instead of flattening them into crude threat, need, or utility categories. |
| `authenticity_tolerance` | Capacity to be known without immediately retreating into performance, control, or concealment. |
| `mask_rigidity` | How necessary and inflexible the performed self is. High values mean the mask is load-bearing. |
| `external_regulation_dependence` | How much emotional stability depends on other people, institutions, substances, scripts, or external structures. |
## Stable Dispositions
| Label | Meaning |
| --- | --- |
| `novelty_seeking` | Attraction to new experience, strange opportunities, and unproven paths. |
| `conformity` | Preference for accepted norms, procedures, and group expectations. |
| `status_hunger` | Desire for rank, recognition, prestige, or visible superiority. |
| `risk_tolerance` | Willingness to accept danger, uncertainty, or loss for gain or freedom. |
| `sociability` | Baseline draw toward company, conversation, networks, and social energy. |
| `baseline_threat_sensitivity` | Default readiness to detect danger, exploitation, betrayal, or humiliation. |
| `aesthetic_appetite` | Sensitivity to beauty, style, taste, symbolic form, or expressive environment. |
| `ideological_rigidity` | Resistance to revising beliefs, myths, doctrines, or explanatory frames. |
## Behavioral Dimensions
| Label | Meaning |
| --- | --- |
| `warmth` | Tendency to express care, friendliness, affection, or social welcome. |
| `drive` | Goal pressure, persistence, ambition, and forward force. |
| `grandiosity` | Inflated self-importance, entitlement, exceptionalism, or self-mythologizing. |
| `validation_seeking` | Need for reassurance, approval, recognition, or confirmation of worth. |
| `anxiety` | Anticipatory fear, worry, nervous vigilance, or instability under uncertainty. |
| `control_pressure` | Urge to manage people, situations, information, or outcomes tightly. |
| `hostility` | Readiness toward anger, contempt, attack, punishment, or antagonism. |
| `suspicion` | Expectation that others hide motives, threats, traps, or bad faith. |
| `rigidity` | Difficulty adapting behavior, interpretation, or plans under new evidence. |
| `withdrawal` | Tendency to disengage, retreat, shut down, or reduce availability. |
| `volatility` | Speed and intensity of emotional swings or escalation. |
| `attachment_seeking` | Pull toward closeness, reassurance, fusion, privileged access, or being chosen. |
| `distance_seeking` | Push toward space, opacity, autonomy, and reduced emotional claim from others. |
## Presentation Strategy
Presentation strategy describes the self being performed. This is not identical
to voice style. It is the social face, mask, posture, or survival presentation
the agent is trying to maintain.
| Label | Meaning |
| --- | --- |
| `charm` | Performs warmth, ease, charisma, or pleasantness to influence or smooth contact. |
| `compliance` | Performs agreement, submission, helpfulness, or nonthreatening cooperation. |
| `superiority` | Performs being above others, more competent, more refined, or less vulnerable. |
| `detachment` | Performs cool distance, emotional unavailability, or not-needing. |
| `seductiveness` | Performs desirability, invitation, or intimate leverage. |
| `competence_theater` | Performs capability and control, sometimes beyond what is actually secure. |
| `moral_theater` | Performs righteousness, purity, sacrifice, or ethical authority. |
| `strategic_opacity` | Controls what others can know; hides motives, pain, dependency, or plans. |
| `cultivated_harmlessness` | Performs being safe, small, useful, cute, or beneath concern. |
| `abrasive_boundary` | Performs difficulty, bite, or unpleasantness to keep others from pressing closer. |
| `ironic_distance` | Performs irony, detachment, or joking distance to avoid naked sincerity. |
## Voice Style
Voice style describes how the performed self comes out in language. The current
v0 voice set is not comprehensive. It is a starter set added because Cat's
prickly sarcasm was too important to leave hidden inside presentation strategy
and behavioral dimensions.
| Label | Meaning |
| --- | --- |
| `dryness` | Understated, deadpan, low-sentiment phrasing. |
| `sarcastic_deflection` | Uses sarcasm to redirect, dodge, or blunt sincerity, fear, gratitude, or pain. |
| `pointedness` | Cuts directly, sharply, or with barbed precision. |
| `sincerity_evasion` | Avoids emotionally plain or vulnerable language even when the feeling is present. |
| `emotional_evasion` | Avoids naming, dwelling in, or accepting emotional baggage. |
| `banter_as_boundary` | Uses joking exchange to maintain distance while staying socially engaged. |
| `verbal_aggression` | Uses language to attack, intimidate, punish, or dominate. |
| `plainspoken_directness` | Speaks plainly, concretely, or bluntly rather than ornamenting or obscuring. |
Future voice labels probably need to cover things like lyrical speech,
formality, verbosity, hedging, coded politeness, theatricality, dialect,
register switching, technical compression, and ritualized address. Not yet.
We do not need the whole wardrobe before we know where the floor is.
## Situational State
| Label | Meaning |
| --- | --- |
| `exhaustion` | Current depletion, fatigue, overuse, or low reserve. |
| `scarcity_pressure` | Pressure from money, supplies, access, time, space, safety, or opportunity being scarce. |
| `humiliation` | Current felt diminishment, exposure, embarrassment, or status wound. |
| `panic` | Acute fear, urgency, overwhelm, or threat response. |
| `triumph` | Current victory, vindication, high confidence, or emotional lift. |
| `grief` | Active loss, mourning, sorrow, or ache. |
| `overstimulation` | Current sensory, social, cognitive, or emotional overload. |
| `grievance_activation` | Active resentment, injustice memory, or retaliatory moral charge. |
| `acute_shame` | Immediate shame flare, exposure pain, or self-disgust. |
| `perceived_status_threat` | Current sense that rank, dignity, competence, or face is under threat. |
## Relationship Stance
Relationship stance is directional. `A -> B` can differ sharply from `B -> A`.
| Label | Meaning |
| --- | --- |
| `trust` | Expectation that the target will not exploit vulnerability or act in bad faith. |
| `respect` | Recognition of competence, integrity, status, or seriousness. |
| `resentment` | Accumulated grievance, bitterness, or unpaid emotional debt. |
| `dependence` | Need for the target's resources, care, access, protection, or recognition. |
| `fear` | Expectation that the target can or will cause harm. |
| `fascination` | Captivation, curiosity, attraction, fixation, or unresolved interest. |
| `obligation` | Felt debt, duty, promise, or responsibility toward the target. |
| `envy` | Pain around what the target has, is, receives, or represents. |
| `moral_disgust` | Aversion rooted in perceived violation, corruption, cruelty, or wrongness. |
| `perceived_status_gap` | Felt difference in rank, leverage, dignity, or social position. |
| `expectation_of_care` | Belief that the target may protect, soothe, support, or choose the source. |
| `expectation_of_betrayal` | Belief that the target may abandon, expose, exploit, or turn. |
## Cat Fixture Policy
Cat's example fixture currently includes all required core labels for Cat and
Oz. It is not a sparse profile of only traits that apply to them.
That is deliberate for v0:
- complete vectors make comparison and validation easier
- low `mean` values are meaningful
- low `current_activation` values tell the renderer not to emphasize a variable
- low `certainty` values warn future systems not to over-trust the value
Later, Ghostlight may support sparse authoring overlays for convenience. The
canonical fixture should remain explicit until we have enough tooling to avoid
silent defaults becoming accidental canon.

View file

@ -11,6 +11,10 @@ The first example lives in:
- `examples/agent-state.call-of-the-void.json`
The label and numeric glossary lives in:
- `docs/architecture/agent-state-variable-glossary.md`
## Objective
The schema defines the minimum state Ghostlight needs before it can safely build
@ -64,11 +68,21 @@ A person can be dispositionally suspicious without being maximally suspicious
in every scene. A person can be highly activated right now without rewriting
their whole soul because someone coughed near a status wound.
For full meanings of `mean`, `certainty`, `plasticity`, `current_activation`,
and every required v0 label, see
`docs/architecture/agent-state-variable-glossary.md`.
## Required First-Class Dimensions
`schemas/agent-state.required-fields.json` names the required variable families.
The validator enforces those fields for canonical agent state and relationship
stance.
`schemas/agent-state.required-fields.json` names the required core variable
families. The validator enforces those fields for canonical agent state and
relationship stance.
The required core is not exhaustive. It is the shared comparison surface. A
character fixture currently includes all required labels, even when many are low
or inactive, so downstream tooling can compare agents without guessing whether a
missing value means "not applicable," "forgotten," or "quietly eating the
floorboards."
The behavioral dimensions include the known must-not-drop set:
@ -101,6 +115,10 @@ For Cat, the important voice handles are explicit now:
- `verbal_aggression`
- `plainspoken_directness`
This list is not comprehensive. It is a v0 starter set. Future labels will
likely need to cover formality, verbosity, lyricism, hedging, ritual politeness,
dialect, register switching, technical compression, and other language habits.
So Cat's prickliness is not only a dialogue prompt instruction. It is backed by
canonical state:

View file

@ -1027,7 +1027,7 @@
],
"presentation_constraints": [
"Use dry, pointed sarcasm to evade sincerity or emotional exposure.",
"Let the prickly-abrasive performance function as a boundary, not random cruelty.",
"Let the abrasive-boundary performance function as a boundary, not random cruelty.",
"Probe without making it look like an interrogation."
],
"forbidden_context": [

View file

@ -7,3 +7,4 @@
{"ts": "2026-05-01T17:46:36+00:00", "type": "design", "status": "accepted", "note": "Corrected Call of the Void continuity drift: old colony-fleet no-return twist is obsolete; current pressure should come from the whole Solar system being sequestered into Elysium with its institutions, conflicts, and unresolved machinery intact."}
{"ts": "2026-05-01T17:52:01+00:00", "type": "implementation", "status": "ok", "note": "Added v0 canonical agent-state schema, required first-class dimension list, Call of the Void example fixture, and dependency-free validation script. schema:validate passes on the first fixture."}
{"ts": "2026-05-01T18:10:28+00:00", "type": "design", "status": "accepted", "note": "Split performed self from voice style in the v0 schema: presentation_strategy now includes abrasive_boundary and ironic_distance, while voice_style carries sarcasm, dryness, sincerity evasion, emotional evasion, and banter-as-boundary handles."}
{"ts": "2026-05-01T18:14:18+00:00", "type": "documentation", "status": "ok", "note": "Added agent-state variable glossary defining numeric components, current v0 labels, label-set policy, and why canonical fixtures include full required vectors rather than only strongly applicable labels."}