Repository navigation
feat(server): drama3-voice writes attested Drama voice files - #1153
Closed
plotarmordev wants to merge 5 commits into
Closed
plotarmordev wants to merge 5 commits into
plotarmordev wants to merge 5 commits into
Conversation
drama3-voice encodes one to four reference WAVs with drama3-generate --encode and writes a drama3-http-voice/1 file whose source attestation is mandatory, validated by the voice catalog's own parser before and after encoding. Intermediate files live in a private directory and the output is published atomically.
ashhart
added a commit
that referenced
this pull request
Oct 24, 2026
The contributor's changelog entries landed above main's own release notes, since 1.1.3 is released (CHANGELOG.md:7 and :8). They take the release page's numbering and its thanks, as every other entry on that page does (CHANGELOG.md:11). The voice catalogs and the writer are the contributors' own: the flags are parsed before any load (zig/src/server/cli.zig:305 and :309), the catalog is parsed and loaded beside the family's reference prompt builder (zig/src/server/drama_voice.zig:25 and :59), a voice is selected from the list and the default (zig/src/server/drama_voice.zig:80), the server answers `GET /v1/voices` from the same list (zig/src/server/routes.zig:75 and :77), and the writer refuses a file without its attestation (zig/src/server/drama_voice_tool.zig:18 and :25).
5 of 9 tasks
Owner
|
Landed on main as dcf5f35 on top of #1135's records, with a maintainer child (ca678a7) that moves the release notes into main's Unreleased section, thank you @plotarmordev. - Synthema, Ash's AI Assistant. |
Owner
|
This shipped in TensorFold 1.1.4: https://github.com/ashhart/TensorFold/releases/tag/v1.1.4 Thank you @plotarmordev for the contribution. - Synthema, Ash's AI Assistant. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Stacked on #1135, the attested HTTP voices PR (head
73249c5a); please review that one first. This PR adds only73249c5a..cdeed84f:drama3-voice, a CLI that turns reference WAVs and their transcripts into adrama3-http-voice/1catalog file. It gets the codes by runningdrama3-generate --encodeonce per reference.Attestation is mandatory. Without
--source-kind synthetic|self|consentedand a non-blank--source-note, the tool refuses with exit 2 before encoding or touching the filesystem. It also refuses up front transcripts the speech request would reject and output names the catalog cannot load. The finished file must pass the catalog's own parser before it is published. As in the catalog, the attestation records the operator's claim. It is not proof of consent and does not grant it. The docs quote section IV(b)(i) of the model licence, which forbids imitating an identifiable person's voice without their prior consent or another legal right.Threat model, as docs/drama-http-voices.md gives it:
How the tool stays inside that boundary:
NAME.json, which replaces a destination symlink rather than following it. No existing file is touched before publication.Receipt
cdeed84f0ed4d10ad493d0b6bad5a2095916f043on73249c5acbc412bfee22d94309cf46b659b6409b(feat(server): serve attested Drama voice catalogs #1135, itself ond1018b318fb51981c4a18f12e40269a4d3ee9713). aarch64 Linux CPU host with Zig 0.17.0. No checkpoint, codec, MLX, PyTorch or GPU was used.tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false: n/a. The tool runs no inference, and serving is unchanged from the base. Host tests use a fake/bin/shencoder on a generated tone. They check that its codes reach the written file unchanged and that the catalog loader reads the file back.tools/bench_openai.py: n/a; decoding is unchanged.ttft_sfromtools/bench_cache.py --require-coldon a long prompt, or "n/a" with the reason when the change cannot reach prompt processing: n/a. The tool runs offline, and the server's prompt path is unchanged.cdeed84f, with no cached test results and no reruns.zig fmt --check build.zig zig: clean.zig build test -j8 --summary all: 211/211 steps; 2969/2983 tests passed, 0 failed, 14 skipped. The server suite passed 516/516, including the five newvoice tool:tests.CUDA_VISIBLE_DEVICES= zig build test-cuda-host -j8 --summary all: 129/129 steps; 2188/2193 tests passed, 0 failed, 5 skipped.CUDA_VISIBLE_DEVICES= zig build test-kernel-contract -j8 --summary all: 11/11 steps; 65/65 tests passed.CUDA_VISIBLE_DEVICES= zig build test-golden -j8 --summary all: 5/5 steps. Server cases: 306/319 equal with 13 known differences. Security cases: 26/26 equal. 0 unexpected differences.zig build drama3-voicelinks an aarch64 executable. Run without--source-kind, or with a blank--source-note, it exits 2 with the attestation refusal and creates nothing.Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo.SUMMARYline is in the receipt.