{
  "schema_version": "mentaview.public-speaker-diarization-decision/v1",
  "updated": "2026-09-03",
  "contract": {
    "version": "mentaview.audio-ingestion/v2",
    "provider_neutral": true,
    "anonymous_speakers": true,
    "independent_timeline": true,
    "overlap_preserved": true,
    "transcript_rewritten": false,
    "inline_opt_in_field": "multiple_speakers_expected",
    "lazy_background_diarization": true,
    "background_scope": "complete decoded audio source after transcript recovery; never independent ASR windows",
    "timeline_returned_inline": true,
    "timeline_durably_persistable": true,
    "timeline_durably_indexed": false,
    "maximum_timeline_spans": 200000,
    "maximum_timeline_bytes": 33554432,
    "maximum_timeline_records_per_directory": 100000,
    "timeline_contract": "mentaview.speaker-timeline/v1",
    "timeline_read_endpoint": "/v1/ingestion/speaker-timelines/{timeline_id}",
    "lifecycle_tested": true,
    "partial_transcript_attribution_preserved": true,
    "real_background_lifecycle_tested": true
  },
  "profile": {
    "runtime": "sherpa-onnx 1.13.7",
    "runtime_license": "Apache-2.0",
    "segmentation": "pyannote segmentation 3.0 ONNX",
    "segmentation_license": "MIT",
    "embedding": "WeSpeaker VoxCeleb ResNet34 ONNX",
    "embedding_license": "CC-BY-4.0",
    "distribution": "operator-managed external only",
    "license_attested": true,
    "quality_promoted": false
  },
  "acceptance": {
    "maximum_diarization_error_rate_basis_points": 5500,
    "maximum_jaccard_error_rate_basis_points": 8000,
    "minimum_overlap_recall_basis_points": 1000,
    "oracle_speaker_count": 4,
    "collar_ms": 0,
    "overlap_scored": true
  },
  "cases": [
    {
      "source": "CHiME-6 S01/U02/channel-1 first five minutes",
      "frozen_before_output": true,
      "reference_words": 1013,
      "reference_overlap_basis_points": 3400,
      "diarization_error_rate_basis_points": 5847,
      "jaccard_error_rate_basis_points": 7868,
      "overlap_recall_basis_points": 2095,
      "real_time_factor_basis_points": 3750,
      "passed": false,
      "failed_gates": ["diarization_error_rate"]
    },
    {
      "source": "CHiME-6 S21/U02/channel-1 first five minutes",
      "frozen_before_output": true,
      "configuration_selected_on_s01_only": true,
      "reference_words": 793,
      "reference_overlap_basis_points": 3349,
      "diarization_error_rate_basis_points": 8490,
      "jaccard_error_rate_basis_points": 8164,
      "overlap_recall_basis_points": 3160,
      "real_time_factor_basis_points": 4124,
      "passed": false,
      "failed_gates": ["diarization_error_rate", "jaccard_error_rate"]
    }
  ],
  "real_integration": {
    "source": "CHiME-6 S21/U02/channel-1 first five minutes",
    "rust_adapter": "strict local/private HTTP",
    "spans": 79,
    "anonymous_clusters": 4,
    "overlap_preserved": true,
    "elapsed_ms": 125460,
    "passed": true,
    "quality_override": false
  },
  "real_background_lifecycle": {
    "source": "CHiME-6 S01/U02/channel-1 first five minutes",
    "injected_initial_failures": 1,
    "worker_attempts": 1,
    "successful_source_wide_requests": 1,
    "validated_records": 85,
    "timeline_spans": 76,
    "anonymous_clusters": 4,
    "overlap_preserved": true,
    "timeline_readback": true,
    "raw_source_deleted": true,
    "elapsed_ms": 155018,
    "passed": true,
    "quality_override": false
  },
  "decision": "Contract, exact real integration and the fault-injected real single-process lazy lifecycle passed. The evaluated model profile failed prospective quality promotion and every current timeline remains experimental and unqualified.",
  "claim_boundary": "The real S01 lifecycle proves preserved ASR after one injected 503, durable admission, one worker attempt, exactly one successful complete-source diarization request, atomic local persistence, tenant/user-scoped later read and terminal raw-source deletion. The database write was replaced by canonical-record validation/counting. Two five-minute English kitchen conversations with an oracle four-speaker count do not qualify model accuracy, unknown-speaker clustering, speaker identification, long meetings, field voice notes, other devices, languages or accents, production service levels, independent assurance or certification."
}
