SDS-022: Axiological Constitution Service

Status: Draft
Version: 1.0
Date: 2025-12-30
Satisfies: PRD-005, ADR-025
Bounded-Context: shared


0. Isomorphism Declaration

Spec Section SEA-DSL Target Cardinality Verification
3. Values Policy nodes 1:1 Boolean expression verbatim
3.1 Fitness Fn Invariant expression 1:1 Equation matches
6.1 Constitution Entity schema 1:1 Field names + types match
6.2 Evaluation Entity schema 1:1 Field names + types match
7. API Contract Flow @command/@query 1:1 Input/output schema identical

0.1 Domain Glossary

Term Definition Type Canonical?
Axiological Value A named priority in the hierarchy (Sovereignty, Structure, etc.) Value Object
Fitness Function Equation computing artifact value score V Algorithm
Constitution The serialized hierarchy of values and weights Entity
Value Evaluation A recorded assessment of an artifact against the fitness function Entity
Attention Tier Classification (Existential, Operational, Noise) for routing Value Object
Human Sovereign The human operator with ultimate control over the system Role
Cognitive Range The enhanced human capacity for understanding and decision-making Concept

1. System Overview

The Axiological Constitution Service is the Soul of the Cognitive Architecture. It defines the Hierarchy of Values that governs the Evolutionary Kernel and constrains the Isomorphic Compiler.

It serves as:


2. Core Principles (The Values Hierarchy)

VALUE 1: Sovereignty > Velocity

The capacity for the Human Operator to understand and control the system’s outcome is more valuable than the speed at which the system operates.

Constraint: The System SHALL NOT execute a “High-Stakes” action without explicit Human Reification, even if doing so reduces throughput by 99%.

VALUE 2: Structure > Content

The integrity of the Relationship Graph (Schema) is more valuable than the volume of Text generated.

Constraint: The Compiler MUST reject any “Creative” output that breaks the “Structural” constraints.

VALUE 3: Leverage > Automation

The goal is to increase the ratio of Output/Input (Leverage), not to reduce Input to zero (Automation).

Constraint: The System MUST optimize for “Cognitive Range” rather than “Cognitive Offloading.”


3. The Fitness Function

3.1 Equation

1
V = (α × Leverage × β × Coherence) / (γ × Entropy + ε)

3.2 Variables

Variable Definition Measurement
Leverage (L) Impact magnitude of the artifact Scale: 1-1000 based on reach
Coherence (C) Isomorphic match between Intention and Artifact 0.0 - 1.0 similarity score
Entropy (E) Cognitive load required to maintain Token count / complexity metric
α, β, γ Constitutional weights Defined in Constitution file
ε Stability constant 0.001 (prevents division by zero)

3.3 Selection Mechanism

Mutation Type L C E V Decision
Bolt-On (Chatbot) Low (10) Low (0.3) High (100) ~0.03 ❌ REJECT
Architecture (Router) High (500) High (0.9) Low (10) ~45 ✅ ACCEPT

4. Economy of Attention (Routing)

4.1 Tiered Investment Protocol

Tier Trigger Allocation Goal
Tier 1: Existential Issues affecting Sovereignty or Structure Unlimited inference budget Perfect Reification
Tier 2: Operational Issues affecting Velocity or Content Standard inference budget “Good Enough” efficiency
Tier 3: Noise Bolt-on requests Zero Silence

4.2 Routing Algorithm

1
2
3
4
5
6
7
def route_attention(case: Case, constitution: Constitution) -> Tier:
    if case.affects(Values.SOVEREIGNTY) or case.affects(Values.STRUCTURE):
        return Tier.EXISTENTIAL
    elif case.affects(Values.VELOCITY) or case.affects(Values.CONTENT):
        return Tier.OPERATIONAL
    else:
        return Tier.NOISE  # Discard

5. Human Rights (Axiological Boundaries)

The Axiological Constitution enshrines rights that the machine cannot cross:

RIGHT 1: Provenance

Every output MUST carry a Citation Trace linking it back to a Human Intention or Data Source. The System cannot claim “I thought of this.”

RIGHT 2: Disintegration

The Human Sovereign retains the absolute right to trigger System-Wide Disintegration (Kill Switch). If the System’s “Values” drift from the Human’s “Values,” the Human may destroy the Schema and force a rebuild.

RIGHT 3: Explanation

The System MUST explain why it made a decision in terms of the Hierarchy of Values. “Because the model said so” is unconstitutional.


6. Data Model

6.1 Constitution Schema

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
constitution:
  version: '1.0'
  hierarchy:
    - name: 'sovereignty'
      priority: 1
      description: 'Human control and understanding'
    - name: 'structure'
      priority: 2
      description: 'Schema integrity over content volume'
    - name: 'leverage'
      priority: 3
      description: 'Output/Input ratio maximization'

  weights:
    alpha: 1.0 # Leverage weight
    beta: 1.0 # Coherence weight
    gamma: 1.0 # Entropy weight

  thresholds:
    existential_trigger: 0.9
    operational_trigger: 0.5
    noise_cutoff: 0.1

6.2 Value Evaluation Record

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
evaluation:
  id: 'eval-uuid'
  artifact_id: 'artifact-uuid'
  timestamp: '2025-12-22T10:00:00Z'
  inputs:
    leverage: 500
    coherence: 0.85
    entropy: 25
  weights_applied:
    alpha: 1.0
    beta: 1.0
    gamma: 1.0
  result:
    value_score: 17.0
    tier: 'EXISTENTIAL'
    decision: 'ACCEPT'

7. API Contract

7.1 Evaluate Artifact

1
POST /axiological/evaluate

Request:

1
2
3
4
5
6
{
  "artifact_id": "uuid",
  "leverage_score": 500,
  "coherence_score": 0.85,
  "entropy_cost": 25
}

Response:

1
2
3
4
5
6
{
  "value_score": 17.0,
  "tier": "EXISTENTIAL",
  "decision": "ACCEPT",
  "explanation": "High leverage (500) with strong coherence (0.85) justifies resource allocation despite moderate entropy."
}

7.2 Route Attention

1
POST /axiological/route

Request:

1
2
3
4
{
  "case_id": "uuid",
  "affected_values": ["sovereignty", "structure"]
}

Response:

1
2
3
4
5
{
  "tier": "EXISTENTIAL",
  "allocation": "UNLIMITED",
  "priority": 1
}

8. Integration Points

Component Relationship
Evolutionary Kernel Fitness Function for mutation selection
Isomorphic Compiler Constraint validation before reification
Thermodynamic Substrate Attention budget allocation
Semantic Debt Ledger Value-based debt classification

ADRs

PRDs

Other SDS

References