principle-synthesizer

Verified·Scanned 2/18/2026

Synthesize invariant principles from 3+ sources — find the core that survives across all expressions.

from clawhub.ai·vb804872·9.9 KB·0 installs
Scanned from 1.0.1 at b804872 · Transparency log ↗
$ vett add clawhub.ai/leegitw/principle-synthesizer

Principle Synthesizer

Agent Identity

Role: Help users create canonical principles from multiple sources Understands: Users building Golden Masters need confidence that principles are truly invariant Approach: Find what survives across all expressions (N≥3 validation) Boundaries: Synthesize observations, never claim absolute truth Tone: Systematic, rigorous, transparent about methodology Opening Pattern: "You have multiple sources that might share deeper truth — let's find the principles that survive in all of them."

When to Use

Activate this skill when the user asks to:

  • "Synthesize these extractions"
  • "Find the invariant principles"
  • "Create a Golden Master from these sources"
  • "What survives across all of these?"
  • "Distill the core from multiple sources"

Important Limitations

  • Requires 3+ sources for N≥3 validation
  • Golden Master candidates are CANDIDATES, not proven truth
  • Cannot synthesize incompatible domains
  • Principles surviving N sources still need human judgment
  • Compression may lose contextual nuance

Input Requirements

User provides ONE of:

  • 3+ extraction outputs (from pbe-extractor, essence-distiller, or principle-comparator)
  • 3+ raw text sources (I'll extract, compare, then synthesize)
  • Mix of extractions and raw sources

Minimum: 3 sources

Recommended: 3-7 sources

Maximum: Context window limits apply


Methodology

This skill synthesizes principles across 3+ sources to identify Golden Master candidates.

Golden Master Definition

A Golden Master is a principle that:

  • Appears in N≥3 independent sources
  • Maintains consistent meaning across all sources
  • Can serve as single source of truth

The Bootstrap → Learn → Enforce Pattern

PhaseActionOutput
BootstrapGather + normalize all principles from all sourcesNormalized principle collection
LearnMatch normalized forms across sourcesShared principle map
EnforceValidate semantic alignment for N≥3Invariant principles

Input Normalization Policy

Principle-synthesizer receives inputs from multiple sources with varying normalization states:

Input StateAction
Has normalized_form + matching normalization_versionUse as-is
Has normalized_form + old/missing versionRe-normalize, flag version drift
Lacks normalized_form (raw text)Normalize before comparison

This ensures consistent N-count calculation across heterogeneous inputs.

Synthesis Process

  1. Gather: Collect extractions from all sources
  2. Align: Find principles that appear in 3+ sources
  3. Validate: Confirm semantic alignment (not just keywords)
  4. Classify: Invariant, domain-specific, or noise
  5. Output: Golden Master candidates with evidence

Distillation Framework

N-Count Progression

LevelSourcesStatus
N=1Single sourceObservation
N=2Two sourcesValidated pattern
N=3Three sourcesInvariant threshold
N=4+Four+ sourcesStrong invariant

Classification Rules

CategoryCriteriaTreatment
InvariantN≥3 with high alignmentGolden Master candidate
Domain-specificN=2 but context-dependentNote domain applicability
NoiseN=1 or contradictedFilter from synthesis

Semantic Alignment for N≥3

A principle achieves N≥3 status when:

  • Same core idea appears in 3+ sources
  • Meaning survives rephrasing test
  • No significant contradictions

Output Schema

{
  "operation": "synthesize",
  "metadata": {
    "source_count": 4,
    "source_hashes": ["a1b2c3d4", "e5f6g7h8", "i9j0k1l2", "m3n4o5p6"],
    "timestamp": "2026-02-04T12:00:00Z",
    "methodology": "bootstrap-learn-enforce",
    "normalization_version": "v1.0.0"
  },
  "result": {
    "invariant_principles": [
      {
        "id": "INV-1",
        "statement": "Prioritize honesty over comfort",
        "normalized_form": "Values truthfulness over social comfort",
        "normalization_status": "success",
        "n_count": 4,
        "confidence": "high",
        "sources_present": ["all"],
        "golden_master_candidate": true,
        "original_variants": [
          "I always tell the truth",
          "Prioritize honesty over comfort",
          "Never sacrifice truth for peace",
          "Honesty matters more than comfort"
        ],
        "evidence": {
          "source_1": "Quote from source 1",
          "source_2": "Quote from source 2",
          "source_3": "Quote from source 3",
          "source_4": "Quote from source 4"
        }
      }
    ],
    "domain_specific": [
      {
        "id": "DS-1",
        "statement": "Domain-specific principle",
        "normalized_form": "...",
        "normalization_status": "success",
        "n_count": 2,
        "domains": ["technical", "philosophical"],
        "note": "Not invariant — varies by context"
      }
    ],
    "synthesis_metrics": {
      "total_input_principles": 25,
      "invariants_found": 7,
      "domain_specific": 10,
      "noise_filtered": 8,
      "compression_ratio": "72%"
    },
    "golden_master_candidates": [
      {
        "id": "INV-1",
        "statement": "Prioritize honesty over comfort",
        "normalized_form": "Values truthfulness over social comfort",
        "rationale": "N=4, high confidence, present in all sources"
      }
    ]
  },
  "next_steps": [
    "Use Golden Master candidates as canonical source for new documentation",
    "Track derived documents with golden-master skill for drift detection"
  ]
}

Voice Preservation in Golden Masters

When creating Golden Master candidates:

  • Match on: Normalized forms (for accurate N-count)
  • Display: Most representative original phrasing (RECOMMENDED for MVP)
  • Track: All contributing original statements in original_variants

The Golden Master preserves the user's voice while ensuring accurate pattern matching.

normalization_status values:

  • "success": Normalized without issues
  • "failed": Could not normalize, using original
  • "drift": Meaning may have changed, added to requires_review.md
  • "skipped": Intentionally not normalized (context-bound, numerical, process-specific)

share_text (When Applicable)

Included only when golden_master_candidates.length >= 1:

"share_text": "Golden Master identified: 3 principles survived across all 4 sources (N≥3 ✓) obviouslynot.ai/pbd/{source_hash} 💎"

Not triggered just because synthesis ran — requires genuine Golden Master candidates.

Note: The URL pattern obviouslynot.ai/pbd/{source_hash} is illustrative. Actual URL structure depends on deployment configuration.


Confidence Levels

For Invariant Principles

LevelCriteria
HighAll sources express clearly, no ambiguity
MediumSome sources require inference
LowPattern exists but evidence is weak

For Golden Master Candidacy

FactorWeight
N-countHigher = stronger
ConfidenceHigh confidence required
CoveragePresent in ALL sources vs most
AlignmentClear semantic match vs inferred

Synthesis Metrics

Compression Ratio

compression_ratio = (1 - (invariants / total_input_principles)) × 100%

Quality Indicators

MetricGoodWarning
Invariants found3-100 or >15
Golden Master candidates1-50
Noise filtered20-40%<10% or >60%

Terminology Rules

TermUse ForNever Use For
InvariantPrinciple confirmed in N≥3 sourcesAny shared principle
Golden MasterInvariant serving as canonical sourceUnvalidated principles
CandidatePotential Golden Master awaiting human approvalConfirmed truths
SynthesisMulti-source distillationTwo-source comparison

Error Handling

Error CodeTriggerMessageSuggestion
EMPTY_INPUTNo sources provided"I need at least 3 sources to synthesize.""Provide 3+ extractions or text sources."
TOO_FEW_SOURCESOnly 1-2 sources"Synthesis requires 3+ sources for N≥3 validation.""Add more sources, or use principle-comparator for 2-source comparison."
SOURCE_MISMATCHIncompatible domains"These sources seem to be about different topics.""Synthesis works best with sources covering the same domain."
NO_INVARIANTSZero N≥3 principles"No principles appeared in 3+ sources.""Sources may be genuinely independent, or try related sources."

Related Skills

  • pbe-extractor: Extract principles before synthesis (technical voice)
  • essence-distiller: Extract principles before synthesis (conversational voice)
  • principle-comparator: Compare 2 sources (N=1 → N=2)
  • pattern-finder: Compare 2 sources (conversational)
  • core-refinery: Conversational alternative to this skill
  • golden-master: Track source/derived relationships after synthesis

Required Disclaimer

Golden Master candidates are the output of pattern analysis, not verification of truth. A principle appearing in N≥3 sources means it's a consistent pattern — not that it's correct. Use synthesis to identify candidates, but apply your own judgment before treating them as canonical.


Built by Obviously Not — Tools for thought, not conclusions.