Files
UmbraAudio/definitions/umbraaudio-defs.json
B.D. Murphy 829a03b89f Action the controller alignment proposal: source_unit_key + phase reports
The controller (oldbox) sent a data-model alignment proposal and asked for six
additive changes on this node, the validation protocol, and an honest report.
Six of the seven changes are done; the seventh is declared missing rather than faked.

Stage 0 - reachability verified exactly as documented: health 200, heartbeat 401
(the correct answer - auth is refusing), missing Host 400. Nothing else was sent.

source_unit_key (controller 5.1, the blocking item)
  umbraaudio/source_units.py. sha256("uk1" | chapter_source_text_sha256 |
  occurrence | text_sha256). Nothing positional in the key: "occurrence"
  disambiguates repeated text in document order.
  - 18,181/18,181 units keyed across all four projects, 0 collisions
  - chapter 1 renumbered +100 -> 0 keys changed (the load-bearing proof)
  - backfill 10,015 rows in 0.11s, second run stamps 0 (idempotent)
  - alignment phase 3: 200/200 probe units resolved with used_index: false
  - tolerates the older projects that have no chapters.chapter_index
  Recorded at generation time in chapter_builder, BEFORE the rows are read and
  BEFORE the marker is written, so every path that renders audio also produces
  identity and the clip can name its source unit.

5.7 recorded: utterance_index is KEPT as a display ordinal and made
  non-load-bearing. spec 21 §10.

Blob hashes and effect chain (5.2)
  Markers now carry the full sha256 of the delivered bytes and the effects that
  produced them. Verified the existing order is already correct - write_marker
  runs AFTER apply_effects - and closed the remaining hole: a changed trait list
  changed the hash with no recorded cause. sha256 verification is opt-in, since
  hashing every file on every validation pass would re-read gigabytes.

Vocabularies published (5.4) - umbraaudio/definitions.py, 19 sets, 126 values,
  each value carrying whether it is 'declared' (spec/controller) or 'extracted'
  (read out of code), so a diff shows a difference of meaning, not of wording.

Alignment report tool (6.6) - scripts/alignment_report.py --phase all. Emits the
  controller's envelope with the per-phase evidence shapes, and obeys the two
  rules they set: no evidence means blocked, never pass; a field we cannot produce
  is null PLUS a finding, never omitted. Phase 2 is deliberately 'fail' - the
  three-way store disagreement is real, and a pass there would be a check that
  passed by doing nothing.

Fingerprint discipline (5.5) - the drift detector reported its OWN fingerprint
  change when source_unit_key was added rather than hiding it. Node profile
  updated with the new fingerprints and an honest note that they moved.

Node report extended - per-project source-unit-key coverage, per-voice-asset
  sha256 + object_key, definition_set_version, controller stage reached.

Six gaps found in the proposal (spec 21 §11), including the one they invited plus
five more. The sharpest: "hash at generation" ignores that audio is
post-processed afterwards, and our key is anchored to chapters.source_text - a
second copy of the manuscript - so any change to chapter storage silently
invalidates every key in that chapter.

5.6 deliberately NOT faked: personality has no versioned artifact here, only
  unversioned LLM prose in speakers.json. Reported as phase 6b finding B-03
  instead, because wrapping unversioned inputs in a version field would produce
  artifacts claiming a lineage they do not have.

Answered the controller's two open questions (infra/controller-handoff-2026-10-03.md):
forward-only link for a revealed recurring character, and yes - a new edition may
contradict a frozen state, since this node's correction path IS a regeneration.

Full suite 484 passed / 8 failed - the same 8 pre-existing and unrelated failures.
ruff clean on every file touched. The parallel session's chapter_builder hunk
(helper_url) was filtered out of the commit and left intact in the working tree.
2026-10-02 20:16:06 -07:00

356 lines
9.2 KiB
JSON

{
"definition_set_version": "defs-2026-10-03",
"product": "umbraaudio",
"provenance": {
"artifact_kind": {
"_authority": "manifest.md \u00a711, specs/20 \u00a7F.19",
"ar_package": "declared",
"chapter_stitch": "declared",
"character_profile": "declared",
"m4b": "declared",
"mp3_track": "declared",
"source_document": "declared",
"utterance_wav": "declared",
"voice_prompt_vmatrix": "declared",
"voice_reference": "declared"
},
"artifact_status": {
"_authority": "controller \u00a72.1 (artifacts.status)",
"final": "declared",
"intermediate": "declared",
"superseded": "declared"
},
"attribute_absence_reason": {
"_authority": "controller D13",
"in_progress": "declared",
"not_applicable": "declared",
"not_attempted": "declared",
"superseded": "declared"
},
"attribution_evidence_kind": {
"_authority": "umbraaudio/analysis/clarity.py",
"address_only": "extracted",
"name": "extracted",
"none": "extracted",
"pronoun": "extracted",
"role": "extracted"
},
"character_kind": {
"_authority": "specs/18 \u00a75.4a",
"ai": "declared",
"group": "declared",
"named_character": "declared",
"narrator": "declared",
"recurring_role": "declared",
"scene_role_instance": "declared"
},
"character_persistence": {
"_authority": "controller D11 (specs/21 \u00a79)",
"book_local": "declared",
"series_persistent": "declared"
},
"emotion": {
"_authority": "umbraaudio/generation/chapter.py EMOTION_OPTIONS",
"angry": "extracted",
"calm": "extracted",
"commanding": "extracted",
"confident": "extracted",
"confused": "extracted",
"desperate": "extracted",
"determined": "extracted",
"disgusted": "extracted",
"dramatic": "extracted",
"excited": "extracted",
"fearful": "extracted",
"firm": "extracted",
"gentle": "extracted",
"happy": "extracted",
"hesitant": "extracted",
"hopeful": "extracted",
"melancholy": "extracted",
"neutral": "extracted",
"romantic": "extracted",
"sad": "extracted",
"sarcastic": "extracted",
"serious": "extracted",
"surprised": "extracted",
"tender": "extracted",
"tired": "extracted",
"urgent": "extracted",
"whisper": "extracted"
},
"job_capability": {
"_authority": "specs/21 \u00a74.7 + controller \u00a72.3",
"analysis.character_discovery": "declared",
"analysis.name_token_scan": "declared",
"analysis.speaker_attribution": "declared",
"analysis.speaker_clarity": "declared",
"audio.normalize_loudness": "declared",
"audio.parse_manuscript": "declared",
"audio.render_utterances": "declared",
"audio.segment_utterances": "declared",
"audio.stitch_chapters": "declared",
"character.consistency_check": "declared",
"character.personality_analysis": "declared",
"export.m4b": "declared",
"export.mp3_package": "declared",
"review.speaker_QA": "declared",
"voice.attribute_measurement": "declared",
"voice.capture_character": "declared",
"voice.reference_generation": "declared"
},
"migration_state": {
"_authority": "manifest.md \u00a714.1",
"authoritative": "declared",
"dual_write": "declared",
"legacy": "declared",
"mirroring": "declared",
"retired": "declared"
},
"name_token_kind": {
"_authority": "specs/17 \u00a73.4",
"name_tag": "extracted",
"speaker_name": "extracted"
},
"name_token_status": {
"_authority": "specs/17 \u00a73.4",
"assigned": "extracted",
"created": "extracted",
"dismissed": "extracted",
"unresolved": "extracted"
},
"pace": {
"_authority": "umbraaudio/generation/chapter.py PACE_OPTIONS",
"fast": "extracted",
"moderate": "extracted",
"slow": "extracted"
},
"phonetic_provenance": {
"_authority": "manifest.md \u00a714.2",
"explicit": "declared",
"ipa_derived": "declared"
},
"post_tts_effect_trait": {
"_authority": "umbraaudio/generation/audio_effects.py TRAIT_EFFECTS",
"boom": "extracted",
"breathy": "extracted",
"chorusing": "extracted",
"deep": "extracted",
"distortion": "extracted",
"echo": "extracted",
"gravelly": "extracted",
"hoarse": "extracted",
"nasal": "extracted",
"noise_inject": "extracted",
"pitch_shift": "extracted",
"radio_filter": "extracted",
"raspy": "extracted",
"reverb": "extracted",
"tremolo": "extracted",
"whispery": "extracted"
},
"project_lifecycle": {
"_authority": "manifest.md \u00a71.4, controller \u00a72.1 (projects.status)",
"active": "declared",
"analyzed": "declared",
"archived": "declared",
"experimental": "declared",
"on_hold": "declared",
"parsed": "declared",
"released": "declared"
},
"qa_issue_type": {
"_authority": "umbraaudio/analysis/attribution_qa.py",
"address_mismatch": "extracted",
"long_monologue": "extracted",
"narration_speaker_mismatch": "extracted",
"narrator_dialogue": "extracted",
"role_tag_guessed": "extracted",
"speech_tag_mismatch": "extracted"
},
"utterance_type": {
"_authority": "specs/16 \u00a75a, umbraaudio/database.py SCHEMA default 'narration'",
"dialogue": "declared",
"narration": "declared",
"scene_break": "declared"
},
"voice_capture_mode": {
"_authority": "umbraaudio/generation/chapter_builder.py, controller \u00a72.2",
"embedding": "extracted",
"icl": "extracted"
},
"voice_variant_reason": {
"_authority": "controller D6",
"disguise_roleplay": "declared",
"sarcasm_mimic": "declared",
"technical_degradation": "declared"
}
},
"vocabularies": {
"artifact_kind": [
"ar_package",
"chapter_stitch",
"character_profile",
"m4b",
"mp3_track",
"source_document",
"utterance_wav",
"voice_prompt_vmatrix",
"voice_reference"
],
"artifact_status": [
"final",
"intermediate",
"superseded"
],
"attribute_absence_reason": [
"in_progress",
"not_applicable",
"not_attempted",
"superseded"
],
"attribution_evidence_kind": [
"address_only",
"name",
"none",
"pronoun",
"role"
],
"character_kind": [
"ai",
"group",
"named_character",
"narrator",
"recurring_role",
"scene_role_instance"
],
"character_persistence": [
"book_local",
"series_persistent"
],
"emotion": [
"angry",
"calm",
"commanding",
"confident",
"confused",
"desperate",
"determined",
"disgusted",
"dramatic",
"excited",
"fearful",
"firm",
"gentle",
"happy",
"hesitant",
"hopeful",
"melancholy",
"neutral",
"romantic",
"sad",
"sarcastic",
"serious",
"surprised",
"tender",
"tired",
"urgent",
"whisper"
],
"job_capability": [
"analysis.character_discovery",
"analysis.name_token_scan",
"analysis.speaker_attribution",
"analysis.speaker_clarity",
"audio.normalize_loudness",
"audio.parse_manuscript",
"audio.render_utterances",
"audio.segment_utterances",
"audio.stitch_chapters",
"character.consistency_check",
"character.personality_analysis",
"export.m4b",
"export.mp3_package",
"review.speaker_QA",
"voice.attribute_measurement",
"voice.capture_character",
"voice.reference_generation"
],
"migration_state": [
"authoritative",
"dual_write",
"legacy",
"mirroring",
"retired"
],
"name_token_kind": [
"name_tag",
"speaker_name"
],
"name_token_status": [
"assigned",
"created",
"dismissed",
"unresolved"
],
"pace": [
"fast",
"moderate",
"slow"
],
"phonetic_provenance": [
"explicit",
"ipa_derived"
],
"post_tts_effect_trait": [
"boom",
"breathy",
"chorusing",
"deep",
"distortion",
"echo",
"gravelly",
"hoarse",
"nasal",
"noise_inject",
"pitch_shift",
"radio_filter",
"raspy",
"reverb",
"tremolo",
"whispery"
],
"project_lifecycle": [
"active",
"analyzed",
"archived",
"experimental",
"on_hold",
"parsed",
"released"
],
"qa_issue_type": [
"address_mismatch",
"long_monologue",
"narration_speaker_mismatch",
"narrator_dialogue",
"role_tag_guessed",
"speech_tag_mismatch"
],
"utterance_type": [
"dialogue",
"narration",
"scene_break"
],
"voice_capture_mode": [
"embedding",
"icl"
],
"voice_variant_reason": [
"disguise_roleplay",
"sarcasm_mimic",
"technical_degradation"
]
}
}