Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pmoves/docker-compose.media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ services:
- MINIO_SECRET_KEY=${MINIO_PASSWORD:?Run make brand-defaults}
- NVIDIA_VISIBLE_DEVICES=${NVIDIA_VISIBLE_DEVICES:-all}
- EMOTION_MODEL=${EMOTION_MODEL:-superb/hubert-large-superb-er}
# env.shared blanks SSL_CERT_FILE/SSL_CERT_DIR/*_CA_BUNDLE to stop Windows
# host cert paths leaking in — but for Python/OpenSSL an EMPTY value means
# "trust nothing" and HF model downloads fail TLS verify. Re-point at the
# container's own CA store (same anti-leak intent, working trust chain).
- SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
- SSL_CERT_DIR=/etc/ssl/certs
- REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- PMOVES_NETWORKS=pmoves_app,pmoves_bus,pmoves_external
deploy:
resources:
Expand Down
8 changes: 8 additions & 0 deletions pmoves/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,14 @@ services:
- MINIO_SECRET_KEY=${MINIO_PASSWORD:?Run make brand-defaults}
- NVIDIA_VISIBLE_DEVICES=${NVIDIA_VISIBLE_DEVICES:-all}
- EMOTION_MODEL=${EMOTION_MODEL:-superb/hubert-large-superb-er}
# env.shared blanks SSL_CERT_FILE/SSL_CERT_DIR/*_CA_BUNDLE to stop Windows
# host cert paths leaking in — but for Python/OpenSSL an EMPTY value means
# "trust nothing" and HF model downloads fail TLS verify. Re-point at the
# container's own CA store (same anti-leak intent, working trust chain).
- SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
- SSL_CERT_DIR=/etc/ssl/certs
- REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- PMOVES_NETWORKS=pmoves_app,pmoves_bus,pmoves_external
deploy:
resources:
Expand Down
4 changes: 4 additions & 0 deletions pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1625,3 +1625,7 @@ edo for slice 6 (4th-commit pattern). (2) functional: pmoves/tools/creator-colla


<!-- GRAPHITI_MARK: Mavis::VALIDATE-DOCKERFILE-PATHS-RATCHET-2026-08-05 -->

- `2026-08-07T15:45:00Z` CLAIM+RELEASE `5090-CLAUDE` scope: **VOICE-SAMPLER FOUNDATIONS shipped + creator-pipeline H3 lane landed (operator-directed "ok to proceed yes" / "lots landed... update lanes claim new").** RELEASED: (1) PMOVES-Creator#10 MERGED (MiniMax H3 Ultra blueprints + reviewed installers + model matrix; gitlink promoted ae174f7f in #2471); Maestro updated 1.5.5->1.6.0 (H3 Omni reference conditioning). (2) Monorepo PR #2471 (armed): OmniVoice ref-voice catalog bind live (healthz catalog:true), media-audio diarization stack repaired on the DOCUMENTED pyannote stack (pyannote 3.4 + hub 0.36 + torch 2.7.1+cu128 + transformers<5 LOAD-BEARING; pyannote-4/torchcodec path aborts on import - 202-restart crash loop reproduced in isolation), env.shared empty-TLS-var trust fix scoped to media-audio, VOICE_SAMPLER_SPEC.md (media->diarize->audition->pub-gate->publish; Voice Vault room app). (3) PR #2455 (up-juicefs-recreate) + #2458 (PMOVES-pinokio submodule, hardened branch; upstream 1307/209 drift = manual CRITICAL merge queued). (4) SEAP: 2 deep-dive videos transcribed (whisper), 10-motif Art Direction Brief in room inbox; Open Notebook stale-token healed (recreate), SEAP notebook created + 10 sources ingested w/ embeddings (viewable :8503). (5) Reference stock staged rooms/darkxside/creator/references/ (11 objects + 2 transcripts). GATED: diarization final green on operator HF-token rotation (both pyannote gates accepted; whoami 401 on current token). CLAIMED (new lanes, 5090): voice-sampler worker build (per spec), SEAP-answers merge into skeleton (Perplexity DAO blueprint + grant template -> counselor questions), DARKXSIDE persona optimal-config review (GLM 5.2 vs KiloClaw via TensorZero), Veo-blueprints reformat -> H3/Maestro format. Cross-node: Z890 juicefs+maker-suite lane flagged; Crush-on-SPARK browser use-agent available for PR review; a2ui-renderer worktree has a WEDGED interactive rebase (commit editor open since ~09:49, holds worktree lock - Crush/operator attention). Three-body: delivery=5090-CLAUDE, control=operator directives + PR gates + pub-gate on art brief, memory=this trail + project_creator_pipeline_h3_lane + vision_pmoves_sdk_and_node_lanes + vision_quantum_text_and_identity_mix. agent_signature: `ACK::5090-CLAUDE::VOICE-SAMPLER-FOUNDATIONS-2026-08-07`.

<!-- GRAPHITI_MARK: 5090-CLAUDE::VOICE-SAMPLER-FOUNDATIONS::2026-08-07 -->
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
60 changes: 60 additions & 0 deletions pmoves/docs/creator/VOICE_SAMPLER_SPEC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Voice Sampler — media-sourced voice references (spec v1)

> Set, not preset: a voice enters the system only when its owner approves
> segments of their own media. No preset ships. 2026-08-07, 5090 lane.

## Problem

Every piece of the cloning stack exists and none of them connect:

| Piece | Where | State |
|---|---|---|
| Clone API | flute-gateway `providers/cloning.py` (`/v1/voice/clone/register → train → synthesize_cloned`) | idle |
| Ref-audio synth | OmniVoice `:8002` catalog (`OMNIVOICE_REFERENCE_VOICE_DIR=/voices`) | bind enabled 2026-08-07 |
| Diarization | media-audio `:8082` — pyannote/speaker-diarization-3.1 (HF_TOKEN-gated) + whisper-large-v3-turbo | up (workers profile) |
| Media sources | PMOVES.YT (MinIO + transcripts), Jellyfin (`jellyfin-bridge`) | live |
| Agent spine | voice-relay (`voice.agent.response.v1`) | live |

## Flow

```
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
[1] SOURCE operator picks a media item (PMOVES.YT video id / Jellyfin item id)
[2] ANALYZE media-audio /analyze {analysis_type: diarization} → speaker turns
[3] AUDITION segments grouped per speaker; operator listens, tags "this is me"
[4] APPROVE pub-gate decision in the room (owner-only) — nothing proceeds without it
[5] PUBLISH approved clips →
a. JuiceFS rooms/<room>/creator/references/voice/<persona>/<clip>.wav
b. OmniVoice catalog services/creator-operator/voices/<catalog-id>.wav
c. flute /v1/voice/clone/register {persona_id, sample}
[6] ANNOUNCE NATS voice.reference.approved.v1 {persona_id, catalog_id, source, chit_sig}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
```

## Components

1. **voice-sampler worker** (new, `pmoves/services/voice-sampler/`): thin
orchestrator over existing APIs — fetch media (MinIO presign / jellyfin-bridge
stream), call media-audio diarize, cut segments (pydub, already in the
media-audio image; the worker can also delegate cutting), stage candidates
in JuiceFS `.../voice-candidates/`, execute step 5 on approval events.
2. **Voice Vault room app** (manifest `apps[]` entry, route `/voice-vault`):
source picker → speaker lanes → audition player → approve/reject per segment.
Renders in OpenRoom via the room adapter; approval posts the pub-gate event.
3. **NATS subjects** (register in catalog):
- `voice.sample.candidates.v1` — sampler → room (candidates ready)
- `voice.reference.approved.v1` — room → sampler (owner approved)

## Gates

- Diarization requires HF_TOKEN + accepted pyannote 3.1 license on the HF account.
- Owner-only: approval events must carry the room owner's identity; the sampler
refuses to publish references for a persona whose owner didn't sign.
- Voice references are personal data: JuiceFS + local catalog only. Never in git,
never in artifacts, never on public surfaces.

## Why this closes Gate 4

The operator's voice already exists across their own media. Gate 4 stops being
"record a fresh sample" and becomes "approve which segments represent you" —
a pub-gate decision, in the room, exactly where such decisions live. H3 Omni
(Maestro ≥1.6.0) then consumes the same approved clips as voice conditioning
references for video generation — one approval, every engine.
7 changes: 4 additions & 3 deletions pmoves/services/creator-operator/omnivoice.compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ services:
- OMNIVOICE_TOKEN=${OMNIVOICE_TOKEN:-}
- OMNIVOICE_MODEL=${OMNIVOICE_MODEL:-k2-fsa/OmniVoice}
- OMNIVOICE_LOAD_ASR=${OMNIVOICE_LOAD_ASR:-0}
- OMNIVOICE_REFERENCE_VOICE_DIR=${OMNIVOICE_REFERENCE_VOICE_DIR:-}
- OMNIVOICE_REFERENCE_VOICE_DIR=${OMNIVOICE_REFERENCE_VOICE_DIR:-/voices}
- HF_HOME=/cache/huggingface
volumes:
- omnivoice-hf-cache:/cache/huggingface
# Optional ref-voice catalog (clone mode), read-only host bind:
# - ${OMNIVOICE_REFERENCE_VOICE_HOST_DIR:-./voices}:/voices:ro
# Ref-voice catalog (clone mode), read-only host bind. Catalog ids resolve to
# files under this dir; empty dir = clone mode present but no voices approved.
- ${OMNIVOICE_REFERENCE_VOICE_HOST_DIR:-./voices}:/voices:ro
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8002/healthz"]
interval: 30s
Expand Down
11 changes: 11 additions & 0 deletions pmoves/services/creator-operator/voices/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# OmniVoice reference-voice catalog

Drop approved reference clips here (wav/m4a/mp3). The filename (without
extension) is the catalog id passed as `voice_ref` → `ref_audio` to
POST /synthesize — the server resolves ids under this dir only, never raw paths.

Population path (set, not preset): media source (PMOVES.YT / Jellyfin) →
media-audio diarization → operator approves segments in the room pub-gate →
clips land here + in JuiceFS `rooms/<room>/creator/references/voice/`.

This dir ships empty on purpose: no voice exists until its owner approves one.
Loading
Loading