editorbrain 0.59.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +2 -2
  2. package/bin/editorbrain.mjs +12998 -4265
  3. package/package.json +1 -1
  4. package/skill/editorbrain/SKILL.md +27 -3
  5. package/skill/editorbrain/references/agency.md +12 -3
  6. package/skill/editorbrain/references/audio-production.md +8 -4
  7. package/skill/editorbrain/references/caption-styles.md +31 -4
  8. package/skill/editorbrain/references/choice-page.md +45 -0
  9. package/skill/editorbrain/references/cli-mcp.md +16 -2
  10. package/skill/editorbrain/references/editorial-profile.md +12 -1
  11. package/skill/editorbrain/references/first-edit.md +2 -0
  12. package/skill/editorbrain/references/first-session-choosing.md +48 -0
  13. package/skill/editorbrain/references/first-session-money.md +59 -0
  14. package/skill/editorbrain/references/first-session-pages.md +22 -0
  15. package/skill/editorbrain/references/first-session-records.md +59 -0
  16. package/skill/editorbrain/references/first-session-video.md +125 -0
  17. package/skill/editorbrain/references/library-sheets.md +38 -0
  18. package/skill/editorbrain/references/local-production.md +21 -1
  19. package/skill/editorbrain/references/mcp-studio-artifact.md +27 -2
  20. package/skill/editorbrain/references/onboarding.md +28 -6
  21. package/skill/editorbrain/references/pro-moves.md +41 -0
  22. package/skill/editorbrain/references/production-and-review.md +16 -1
  23. package/skill/editorbrain/references/production-continuity.md +66 -9
  24. package/skill/editorbrain/references/quality-checks.md +53 -0
  25. package/skill/editorbrain/references/real-media.md +32 -0
  26. package/skill/editorbrain/references/sfx-library.md +61 -1
  27. package/skill/editorbrain/references/starting-an-edit.md +4 -4
  28. package/skill/editorbrain/references/starting-points.md +52 -0
  29. package/skill/editorbrain/references/studio-review.md +16 -2
  30. package/skill/editorbrain/references/studio.md +4 -2
  31. package/skill/editorbrain/references/style-source.md +5 -2
  32. package/skill/editorbrain/references/task-map.md +5 -3
  33. package/skill/editorbrain/references/voice-cleanup.md +83 -31
  34. package/skill/editorbrain/references/workflow-evidence.md +9 -3
  35. package/skill/editorbrain/references/workflows/correction.md +6 -0
  36. package/skill/editorbrain/references/workflows/delivery.md +15 -3
  37. package/skill/editorbrain/references/workflows/first-creation.md +155 -0
  38. package/skill/editorbrain/references/workflows/not-there-yet.md +95 -0
  39. package/skill/editorbrain/references/workflows/setup.md +6 -0
  40. package/skill/editorbrain/references/workflows/start.md +65 -7
  41. package/skill/editorbrain-motion/SKILL.md +1 -1
  42. package/skill/editorbrain-motion/references/authored-scenes.md +5 -4
@@ -19,9 +19,10 @@ and explain the affected sound decision. Never infer sounds from silent frames.
19
19
 
20
20
  ## Shared and workspace libraries (MCP or CLI)
21
21
 
22
+ 0. To see the whole bank before searching, read its sheet: `list_sfx({brief})` / `editorbrain sfx sheet --brief "…"` (no project needed). Judge by `use` and `caution`, shortlist, then fetch each sound with its project as below ([choosing from the libraries](library-sheets.md)).
22
23
  1. `search_sfx({projectId,query,sceneRole:"hook"|"body"|"cta",limit:6})`, or:
23
24
  `editorbrain sfx search --project my-video --query "clic de botón" --scene-role body`
24
- 2. If no bank is configured, search reports available bank IDs. Choose a fitting authorized bank with `bankId` / `--bank`. Empty results mean unavailable, not synthesized success. A configured bank cannot silently be replaced.
25
+ 2. If no bank is configured, search reports available bank IDs. Choose a fitting authorized bank with `bankId` / `--bank`. Results marked `approximate` are the closest sounds, not exact matches: say so when you offer one. Empty results mean unavailable, not synthesized success. A configured bank cannot silently be replaced.
25
26
  3. `get_sfx({projectId,bankId,soundId,catalogSha256,sceneRole})`, or:
26
27
  `editorbrain sfx get SOUND_ID --project my-video --bank BANK --catalog-sha256 HASH`
27
28
  4. Download with `editorbrain sfx download --project my-video --id SOUND_ID --bank BANK --catalog-sha256 HASH --out sounds/click.wav`: it gets a fresh signed link, downloads it, verifies SHA-256 and prints `{path, sha256, bytes}`. `get_sfx` returns the same command in `download.preferred`. Without the CLI use `curl -fL -o FILE "URL"` and compare the hash. Python must send a `User-Agent` header: the default `Python-urllib` agent receives HTTP 403 before reaching EditorBrain. Audition the actual sound. Persist asset ID/hash, not signed URLs. The catalog hash pins the result; changed catalogs require a new search. Rights are declarations, not independent license verification. Never redistribute licensed originals as public samples.
@@ -65,6 +66,65 @@ Indexes a single directory of up to 100 audio files using ffprobe and hashes; no
65
66
 
66
67
  Use `sfx get` with the returned ID/hash and same local flags to resolve an original file. Local mode does not consult the server; refresh a connected project's documents before making decisions. A file change invalidates its pinned hash. Never upload this local manifest.
67
68
 
69
+ ## Generated fallback with earshot (optional, local)
70
+
71
+ The EditorBrain library above stays the **primary source**: its sounds are
72
+ curated, auditioned and catalogued. [earshot](https://github.com/Leonxlnx/earshot)
73
+ (MIT, external, CPU-only) renders sound designs from code on the user's computer.
74
+ Use it only when the library has no fitting sound for a role, or when you need a
75
+ variant the library lacks (another length, pitch or brightness of a whoosh, a
76
+ typing run of N keys). Never use it to skip searching the library, and never
77
+ when audio preferences disable SFX: `sfx generate` follows the same policy.
78
+
79
+ 1. `editorbrain sfx earshot doctor` reports whether earshot is installed (it checks
80
+ `EDITORBRAIN_EARSHOT`, `~/.local/share/earshot/venv`, `~/.venvs/earshot` and
81
+ PATH). Missing is normal; continue with the library.
82
+ 2. Installing downloads about 300 MB (earshot from GitHub at a pinned commit, plus
83
+ numpy/scipy/numba from PyPI) into its own Python 3.10–3.13 environment. Ask the
84
+ user first; only after a clear yes run
85
+ `editorbrain sfx earshot install --user-confirmed`. Without the flag an agent
86
+ gets the plan and exit code 2, nothing else. The PyPI package named `earshot`
87
+ is an unrelated project: never `pip install earshot`.
88
+ 3. **Pick by catalogue id, never by free text.** Free-text requests often select
89
+ the wrong sound (a «whip pan» request returned a camera shutter). Start from
90
+ the recommended set below (`editorbrain sfx earshot designs --recommended --role whip`);
91
+ browse the full catalogue with `editorbrain sfx earshot designs --query whoosh --domain motion`. Then render:
92
+ `editorbrain sfx generate --design whoosh/fast --project my-video [--seed 7] [--dur 0.3] [--bright 0.2]`.
93
+ Axes `--bright --hard --ring --size --space --width --energy --motion` take
94
+ -1..1; `--pitch` a note or Hz; `--events N` repeats an action (typing).
95
+ 4. The file lands in the project work folder (`sfx-generated/`), never overwrites,
96
+ and gets a `.provenance.json` sidecar (earshot version and commit, design id,
97
+ seed, parameters, hashes, loudness) plus an entry in
98
+ `.editorbrain-local/<project>/sfx-generated.json`. Use its `soundId`
99
+ (`earshot:whoosh/fast@7`) in the cue plan. Same design + seed + parameters
100
+ reproduces the sound.
101
+ 5. Listen to every generated sound alone and in the mix, like any library sound.
102
+ A rendered file is not an approved one.
103
+
104
+ **Recommended earshot designs.** All 39 below were approved by listening on
105
+ 2026-11-24 (earshot 1.0.0, seed 1). `editorbrain sfx earshot designs --recommended
106
+ [--role whip]` lists them without earshot installed. Generating one without
107
+ `--seed` (and without `--events`/`--dur` where listed) reproduces the approved
108
+ take; any other value is a new, unreviewed variant. Approval is of these takes,
109
+ not of their placement: still listen in the mix. Prefer the library equivalent
110
+ when one fits.
111
+
112
+ | Role | Designs (`*` used in the 2026-11-24 reel) |
113
+ |---|---|
114
+ | whip | `whoosh/fast`*, `whoosh/stick`, `swipe/hand`, `send/swoosh`, `whoosh/blade`, `whoosh/airy`* |
115
+ | arrive-leave | `swoosh/in`*, `swoosh/out`* |
116
+ | slam | `slam/title`*, `hit/drop`*, `boom/short`, `cut_hit/punch`, `impact/slam`, `pro_impact/short` |
117
+ | pop | `pop/soft`*, `pop/pluck`*, `pro_pop_in/round`, `like/pop` |
118
+ | tick | `tick/soft`*, `tick/key`, `pro_hover_tick/soft`, `click/trackpad`* |
119
+ | stamp | `stamp/press`*, `stapler/press`, `paper/card`* |
120
+ | typing | `keyboard/laptop`* (`--events 12`), `keyboard/mechanical` (`--events 12`), `pro_typing_key/blip` (`--events 10`) |
121
+ | sheen-ding | `shine/sweep`*, `shine/glint`*, `sparkle/burst`, `notify/pair`*, `bell/desk` |
122
+ | riser | `riser/snatch`*, `rise/air`, `pro_riser/air_gate`, `rise/reverse` |
123
+ | marker | `marker/whiteboard`* (`--dur 1.2`), `pencil/write`* (`--dur 1.0`) |
124
+
125
+ Other catalogue designs remain usable by id but are unreviewed: audition them
126
+ before use.
127
+
68
128
  ## Placement and verification
69
129
 
70
130
  Keep a local cue plan `{durationSeconds,hookEndSeconds,cues:[{at,durationSeconds,soundId,purpose}]}` in `.editorbrain-local/`. Times use the final timeline after cuts/speed changes: `at` is the placed sample start after trimming/alignment, not the event peak. Use the actual hook end; zero cannot stand in for an unknown protected hook. An optional `omissionReason` explains an empty plan. Record the actual selected catalog/asset hashes alongside production evidence.
@@ -250,10 +250,8 @@ Consultation, creative delegation and review are separate. Do not silently
250
250
  rewrite brand/account preferences to reconcile them. Current task instructions
251
251
  can supply scoped direction; persist only explicitly requested changes.
252
252
 
253
- - **Essential:** ask only unresolved information that materially changes the
254
- result. Reuse answers and inspect before asking. Use questionPlan for real gaps.
255
- - **Collaborative:** give a recommendation and a small set of consequential
256
- choices, at most three questions per round. Do not quiz about every shot.
253
+ - **Collaborative (default):** give a recommendation and room for the person's
254
+ taste to guide the decision. Ask about the actual gaps in context.
257
255
  - **Autonomous:** make reversible creative decisions from evidence, with no
258
256
  questions. Missing source/permission or a required review pauses only affected
259
257
  work. State the specific dependency and a recovery action; silence is not consent.
@@ -269,6 +267,8 @@ continuing, not a second wizard or a demand to recreate every artifact:
269
267
  Picking a style or liking a mechanism does not approve that sample.
270
268
  - **Direct:** implement and review without inserting a creative approval pause.
271
269
  Still deliver the visual review artifact and permit corrections afterward.
270
+ - **Variants per moment:** independent of the mode above; order and ON/OFF
271
+ behaviour are in the [editing flow](workflows/start.md#produce-the-editing-flow).
272
272
 
273
273
  If autonomous and directions/sample are both saved, explain the review pause
274
274
  once in a short notice (workflow may supply `interaction.reviewNotice`). Prepare
@@ -0,0 +1,52 @@
1
+ # Starting points, measured
2
+
3
+ Numbers to start an edit from when nothing else decides: the person's taste, their brand, the chosen style's own guide and the reference you studied all come first. They are measured on EditorBrain's reference library (real edited videos with word timings and annotated moments) and on the catalog demos, not copied from anyone's taste. Each is a range to begin inside, never a target to hit and never a reason to cut something the person wants.
4
+
5
+ Popularity of the references proves nothing about cause: these describe how well-made videos of each kind usually behave.
6
+
7
+ ## Which kind of video is it
8
+
9
+ | Kind | What it is |
10
+ |---|---|
11
+ | Talking to camera | One person speaking, few or no inserts |
12
+ | Talking with inserts | A person speaking, cut with b-roll, screens or graphics |
13
+ | Montage | Footage cut together, with or without a voice |
14
+ | Animation / lettering | Code-drawn motion, kinetic text, no footage |
15
+ | Screen / tutorial | A recorded screen with a voice |
16
+
17
+ Compare a video only with others of its kind and of similar length (half to double). Rhythm is not one number for all videos.
18
+
19
+ ## The table
20
+
21
+ Ranges are the middle half of the references (25th to 75th percentile); `n` is how many videos stand behind each. With n under 15 treat the range as a hint.
22
+
23
+ | | Talking to camera | Talking with inserts | Montage | Animation / lettering | Screen / tutorial |
24
+ |---|---|---|---|---|---|
25
+ | Speech pace while speaking (words per second) | 3.0–4.0 (n 7) | 3.0–3.8 (n 48) | 2.9–3.5 (n 34) | 2.7–3.3 (n 35) | 2.9–4.0 (n 11) |
26
+ | Pause at the end of a sentence | 0.2–0.4 s (n 7) | 0–0.3 s (n 48) | 0.1–0.4 s (n 33) | 0.4–0.7 s (n 34) | 0–0.7 s (n 11) |
27
+ | Gaps longer than half a second, share of all gaps | 0–4 % | 0–1 % | 0–5 % | 3–12 % | 1–9 % |
28
+ | Time between visible changes in the body | 3.0–5.1 s (n 6) | 1.7–2.7 s (n 48) | 1.2–1.9 s (n 53) | 1.5–2.9 s (n 41) | 1.6–2.2 s (n 12) |
29
+ | After the last word, until the file ends | 0.4–1.8 s | 0.1–2.3 s | 0.2–4.3 s | 0.4–3.9 s | 0.2–1.5 s |
30
+ | Length | 19–48 s | 38–82 s | 23–60 s | 20–67 s | 29–83 s |
31
+
32
+ Across all kinds:
33
+
34
+ - The first spoken word arrives at 0.1 s (median); only one video in ten starts speaking after 0.5 s. The opening is spoken faster than the rest (about 3.5 words per second in the first six seconds).
35
+ - Two thirds of the measured hooks have no cut at all in the first three seconds: in spoken videos the voice opens, not an edit.
36
+ - Inside a sentence there are almost no pauses (nine in ten are under 0.1 s).
37
+ - Ads are shorter (median 31 s) than organic videos (59 s) and hold longer after the last word (1.3 s against 0.3 s) because of their closing card.
38
+ - Text on screen at once, measured mostly on ads: a median of 4 words, rarely more than 9.
39
+ - No reference and no catalog demo ends with more than 3 seconds of still picture and silence together.
40
+
41
+ ## How to use them
42
+
43
+ - Cutting speech: take out pauses inside a sentence that run over about 0.3 s; leave the pause at the end of a sentence inside the range for its kind (animation with a voice breathes more); never cut into a word. Then check the joins ([audio](audio-production.md)).
44
+ - Starting: if the first word comes after half a second, trim the start, unless the silence is the idea.
45
+ - Pacing: if nothing visible changes for much longer than the range for its kind, the stretch needs a reason (they are reading something, a demonstration is running) or a change. A subtitle changing counts as motion to the eye, not as an edit.
46
+ - Ending: stop within the range after the last word; hold longer only when there is something to read or something still moving.
47
+ - Text: a few words at a time. More than nine on screen at once is rare in the references.
48
+ - Sound effects: the library's analyses mark fewer than one effect every ten seconds in most references. Coverage of this number is thin and unverified by ear: use it only to avoid carpeting a video with sounds.
49
+
50
+ When the edit follows a catalog style, its demo is the first comparison, before these numbers: `editorbrain production compare --file FINAL --reference DEMO` ([quality checks](quality-checks.md)). When you studied a reference for this video ([search brief](search-brief.md)), its own timing leads.
51
+
52
+ Small samples: talking to camera (7 videos) and screen tutorials (11–12). Text-on-screen timing comes almost only from ads. None of this was reviewed by a person; the analyses are agent-measured.
@@ -8,8 +8,8 @@ Read [workflow evidence](workflow-evidence.md) for presentation and
8
8
 
9
9
  ## Open the right view
10
10
 
11
- - CLI review, short path (one version = two calls): `production review --project PROJECT --file renders/vN.mp4 [--previous renders/vM.mp4 --changes changes.json] --open`. It checks the workflow context (pulling web/feedback changes, stopping on unsaved local edits), measures both hashes, builds the comparison, writes `.editorbrain-local/PROJECT/studio-review-vN.html` and serves it. `changes.json` is `[{"at":"0:12-0:15","kind":"cut","summary":"…"}]`; kinds are `cut`, `text`, `image`, `audio`, `pace`, `other` (b-roll/overlay → `image`, captions → `text`, sfx/music → `audio`). Keep that process running, show the URL, and only after the user has actually seen it run `production review --project PROJECT --presented`: it records the presentation (expectedVersion and evidence UUID handled for you, safe to retry) and the `in_review` checkpoint. It never approves. A `warnings` entry `OUTPUT_FPS_MISMATCH` means conform before delivery.
12
- - CLI review, manual path: `production review-artifact --file review.json --out .editorbrain-local/PROJECT/studio-v2.html --context-file workflow.json`. `workflow.json` is the current `workflow check --project PROJECT` response with `editorialSnapshot`; its project must match, and the artifact uses `editorialSnapshot.contextVersion` (filled from this file when omitted), never the legacy `context.contextVersion`. Then keep the returned `production review-open` process running and present its verified loopback URL. The optional context file supplies preferences without another network request. Existing offline artifacts without it remain valid; their preferences panel honestly says the snapshot is absent.
11
+ - CLI review, short path (one version = two calls): `production review --project PROJECT --file renders/vN.mp4 [--previous renders/vM.mp4 --changes changes.json] --open`. It checks the workflow context (pulling web/feedback changes, stopping on unsaved local edits), measures both hashes, builds the comparison, writes `.editorbrain-local/PROJECT/studio-review-vN.html` and serves it. `changes.json` is `[{"at":"0:12-0:15","kind":"cut","summary":"…"}]`; kinds are `cut`, `text`, `image`, `audio`, `pace`, `other` (b-roll/overlay → `image`, captions → `text`, sfx/music → `audio`). Keep that process running and show the URL in a visible browser pane; only after the user confirms they see it run `production review --project PROJECT --presented --user-confirmed-viewed`: it records the presentation (expectedVersion and evidence UUID handled for you, safe to retry) and the `in_review` checkpoint. It never approves. If the host reports the Browser pane hidden, show it, or add `--browser` for the default browser. **User not at the computer, or unknown** (Remote Control alone is not "away"): add `--share` (also valid later as `production review --project PROJECT --share`), send the returned `cloudUrl` in their chat, and after they confirm they see it run the same `--presented --user-confirmed-viewed`. Read [make sure the user sees it](production-continuity.md#make-sure-the-user-actually-sees-the-studio). A `warnings` entry `OUTPUT_FPS_MISMATCH` means conform before delivery.
12
+ - CLI review, manual path: `production review-artifact --file review.json --out .editorbrain-local/PROJECT/studio-v2.html --context-file workflow.json`. `workflow.json` is the current `workflow check --project PROJECT` response with `editorialSnapshot`; its project must match, and the artifact uses `editorialSnapshot.contextVersion` (filled from this file when omitted), never the legacy `context.contextVersion`. Then keep the returned `production review-open` process running and present its verified loopback URL on this computer, or add `--share` for a phone-usable private link (review/delivery Studios). Record it with `production present --user-confirmed-viewed` only after the user confirmed seeing it. The optional context file supplies preferences without another network request. Existing offline artifacts without it remain valid; their preferences panel honestly says the snapshot is absent.
13
13
  - MCP review: `prepare_review_artifact` supplies the same renderer and the project's actual preferences automatically. See [the bounded template recipe](mcp-studio-artifact.md). Do not pass `studio.preferences` to MCP: the service owns that snapshot.
14
14
  - When asked **“muéstrame mis preferencias”**, use `editorbrain preferences open --project PROJECT` or `open_preferences_studio({projectId,destination:"local"|"cloud"})`; present the resulting Studio, rather than only describing settings in chat. Local MCP uses the same template recipe and no media. CLI needs the authenticated API, serves a token-protected loopback URL and stays running. Cloud returns an authenticated project URL. Neither renders, spends credits, uploads media, applies preferences nor approves a video.
15
15
 
@@ -19,6 +19,13 @@ own brand; a sidebar selection or another project's defaults cannot replace it.
19
19
  Older installations may not advertise these operations: explain that and use the
20
20
  available workflow; do not invent commands or claim a local file is cloud-backed.
21
21
 
22
+ ## Local review servers
23
+
24
+ - One review server per project at a time. `review-open`, `review --open` and `preferences open` list other servers already running for that project in `alsoRunning`.
25
+ - When you present a new version and the person's notes from the previous page are already in the chat or exported, close the previous server: `production review-close --file <previous HTML>`. Do not close it only because a new one started.
26
+ - When the review ends or the video is approved, everything must be closed. `production approve --final` and `projects finalize` do it and report `cleanup`; without the CLI's approval run `production review-close --project ID`. Without flags it only lists.
27
+ - Servers close themselves 24 hours after they started (`closesAt`). Reopening the same file with `production review-open --file …` keeps the same address when that port is free (`portReused`), so notes kept in the page are not lost.
28
+
22
29
  ## What the user can do
23
30
 
24
31
  Studio has video controls, a timeline, **Cambios / Texto / Revisión IA**, and
@@ -55,6 +62,13 @@ This never edits the media. Do not interpolate words from text or reuse source
55
62
  clock times after cuts. Without measured words the phrase-level controls remain.
56
63
  Removed phrases refer to their original source interval, never a made-up final time.
57
64
 
65
+ **Elige por momento.** A directions artifact with `moments` shows one row per
66
+ moment (hook, title, CTA…) with its versions side by side: **Reproducir juntas**
67
+ plays them in sync, the recommended one carries a badge, ←/→ and Enter choose,
68
+ and an optional note travels with the choice. «Copiar mi elección» includes every
69
+ moment and the direction, if any. When this step happens is set by the
70
+ [editing flow](workflows/start.md#produce-the-editing-flow).
71
+
58
72
  ## Comparing a corrected version
59
73
 
60
74
  Supply optional `previousVideo` with the same media descriptor as `video`: CLI/local
@@ -88,6 +88,8 @@ sin créditos de EditorBrain, o tu cuenta de AssemblyAI. El local usa tu equipo;
88
88
  AssemblyAI usa su propio saldo. La edición puede continuar con cualquiera.”
89
89
  Only offer routes that are accessible or explain the exact setup still needed.
90
90
 
91
+ Vox narration already returns word-level timestamps with the finished job. Tempo accepts that MP3 as well as PCM WAV, so do not install local Whisper only to time a Vox voiceover.
92
+
91
93
  All four routes feed the same editing, caption and review workflow. Keep raw
92
94
  results and provenance, then map measured word/phrase times to the neutral cue
93
95
  contract in [audio production](audio-production.md#word-level-caption-alignment).
@@ -155,13 +157,13 @@ read the quote's `limitations`, and listen to the actual result.
155
157
  1. Inspect the attachment and locate the actual local file. A chat attachment is not automatically an API asset. If the host cannot read/export it, explain that limitation; never fabricate an asset ID or treat a local path as a public URL.
156
158
  2. Run `editorbrain studio prepare --file clip.mp4 --out .editorbrain-local/studio/audio.wav`. This uses existing FFmpeg/FFprobe locally, preserves silence and timing, selects mono 16 kHz PCM, and leaves the original unchanged. It does not upload or spend. If there are several tracks, inspect them and supply `--audio-stream N` (absolute stream index). Keep the returned source hash/timing mapping locally. Missing FFmpeg requires installation under the host's rules, not an automatic installer. Initial limit: 30 minutes; do not silently truncate longer recordings.
157
159
  3. Upload only the prepared WAV: `editorbrain assets upload .editorbrain-local/studio/audio.wav --mime audio/wav`. Reuse its SHA-256 asset ID after an upload interruption. MCP-only hosts still need a local file/upload capability; never send binary/base64 audio inside tool arguments.
158
- 4. Write a request JSON: `{"tool":"tempo","projectId":"YOUR_PROJECT","assetId":"SHA256"}`. `editorbrain studio quote --file request.json` / `quote_tempo` measures the stored audio and returns a price and expiry. Tempo transcribes sound with word timestamps; it does not understand the visual content. Inspect video frames/motion yourself as needed.
160
+ 4. Write a request JSON: `{"tool":"tempo","projectId":"YOUR_PROJECT","assetId":"SHA256"}`. `editorbrain studio quote --file request.json` / `quote_tempo` measures the stored audio and returns a price and expiry. Tempo accepts PCM WAV and MP3, including the MP3 produced by Vox, and returns word timestamps. It does not understand the visual content. Inspect video frames/motion yourself as needed. A Vox job also stores its own word timestamps; do not run local Whisper just to time that narration.
159
161
  The quote freezes the brand glossary as key terms; see [glossary and corrections](audio-production.md#brand-glossary-and-transcript-corrections).
160
162
 
161
163
  ## Prism / Vox
162
164
 
163
165
  - Prism input: `{"tool":"prism","projectId":"YOUR_PROJECT","prompt":"Describe this scene without logos or lettering…"}`. Ratios: `1:1`, `9:16`, `16:9`; one image per request. Resolve/read branding, prose restrictions and media choices first. The server pins structured palette/preferences, not every free-text editorial rule. Keep exact typography/logos in the editable composition. Use authentic material for factual subjects; generated illustration is not evidence.
164
- - Vox input: `{"tool":"vox","projectId":"YOUR_PROJECT","text":"Exact narration in the resolved project language"}`. Omitted `voice` inherits the effective EditorBrain catalog voice saved in `audio.json`; inspect the quote's returned input. An explicit `voice` is a public alias returned by the catalog, such as `narrator`, never a provider voice ID. Discover supported languages and voices below. A conflicting saved language/voice must be reconciled with the user; do not silently replace their preference or rewrite pronunciation-sensitive text. Maximum 3000 characters; no voice cloning.
166
+ - Vox input: `{"tool":"vox","projectId":"YOUR_PROJECT","text":"Exact narration in the resolved project language"}`. Optional `targetDurationSeconds` is an approximate length: the quote estimates duration, clamps speed to the provider range (0.7–1.2) before any charge, and reports the achievable duration. The price stays based on characters. The finished job stores word-level timestamps; Tempo can transcribe that MP3, so local Whisper is not required. Omitted `voice` inherits the effective EditorBrain catalog voice saved in `audio.json`; inspect the quote's returned input. An explicit `voice` is a public alias returned by the catalog, such as `narrator`, never a provider voice ID. Discover supported languages and voices below. A conflicting saved language/voice must be reconciled with the user; do not silently replace their preference or rewrite pronunciation-sensitive text. Maximum 3000 characters; no voice cloning.
165
167
 
166
168
  ### Discover and save a Vox voice
167
169
 
@@ -12,7 +12,8 @@ workflow and the user's review mode.
12
12
  and resources.json; it wins over the catalog because it may hold the user's
13
13
  changes, and resources.json names its source pin. `search_saved` also finds
14
14
  saved styles by ID or name. If the ID is unknown, match the name in
15
- `list_style_packs`. Save a style only when the user asks (`Guardar como mi
15
+ `list_style_packs`. When no style was named, choose one from the
16
+ [style sheet](library-sheets.md), never by keyword. Save a style only when the user asks (`Guardar como mi
16
17
  estilo`); the style's «Guarda estos documentos» refers to that.
17
18
  Older web demos: an ID `showcase-<x>` is an alias (`aliases` in
18
19
  `sourceStyles`; `list_style_packs` with `sourceId: showcase-<x>` returns the
@@ -127,7 +128,9 @@ steps below describe the local alternative; both obey the same adaptation rules.
127
128
  follow resolved voice/music/SFX preferences independently. sound.enabled=false
128
129
  mutes all sound including voice; for voice-only keep sound enabled, remove SFX
129
130
  cues/derived event cues and music in the adapted code/mix, and inspect the final
130
- audio. No code package grants spending or provider authorization.
131
+ audio. When a HyperFrames manifest sets `audio` to `{voice, music}` (optional
132
+ `musicGain` from 0 to 1), prepare mixes both stems in one PCM step and records
133
+ those two dependencies. That mix does not need scipy. No code package grants spending or provider authorization.
131
134
  7. Preserve style.md's intended grammar while adapting timing/layout to the real
132
135
  material. Start from the code that produced the demo, not a new approximation.
133
136
  Use the included local renderer deliberately after binding. Check diagnostics,
@@ -35,7 +35,7 @@ sequence or permission to execute. Continue the existing project and approvals.
35
35
  **Design movement.** [Design movement](../../editorbrain-motion/SKILL.md). Only when animation serves the scene. Check [media preferences](media-preferences.md) when interpreting the saved choice; use current context and a feasible method. No mandatory motion.
36
36
 
37
37
  <!-- task:review -->
38
- **Review or correct.** [Review or correct](workflows/correction.md). Preserve unchanged work and approvals, capture actual user feedback, verify the new version and present canonical Studio.
38
+ **Review or correct.** [Review or correct](workflows/correction.md). Preserve unchanged work and approvals, capture actual user feedback, verify the new version and present canonical Studio. When they correct the look twice or are generally unhappy, use [not there yet](workflows/not-there-yet.md).
39
39
 
40
40
  <!-- task:delivery -->
41
41
  **Present or deliver.** [Present or deliver](workflows/delivery.md). Use canonical Studio for proposals, samples and final versions at the configured handoff; record presentation after actually showing it.
@@ -47,8 +47,10 @@ sequence or permission to execute. Continue the existing project and approvals.
47
47
  **Remember/explain decisions.** [Remember/explain decisions](memory-and-review.md). Suggestions require user scope to confirm. Inclusion, usage receipts and observed compliance are distinct.
48
48
 
49
49
  For a recognizable video structure, load [formats](../../editorbrain-formats/SKILL.md)
50
- only when it fits. To learn and save the style of a reference file the user
51
- supplies, load [reference](../../editorbrain-reference/SKILL.md). For another technical method, use [production routing](production-routing.md).
50
+ only when it fits. For a lesson, explainer or course trailer the user asks to edit
51
+ with a named «Clases y cursos» format, use `list_course_formats` to find it and
52
+ `get_course_format_skill` for its recipe: its intake questions come before editing.
53
+ To learn and save the style of a reference file the user supplies, load [reference](../../editorbrain-reference/SKILL.md). For another technical method, use [production routing](production-routing.md).
52
54
  For questions, offer the task's public tutorial or [user guides](user-guides.md), not
53
55
  a required viewing step. Requested support uses [support](support.md).
54
56
 
@@ -5,21 +5,41 @@ Use when the user requests noise reduction or inspected noise obscures dialogue.
5
5
  model, a voice generator or a new branded service. Keep its name and attribution:
6
6
  [DeepFilterNet](https://github.com/Rikorose/DeepFilterNet).
7
7
 
8
- ## Decide from this recording
8
+ ## When to propose it
9
+
10
+ Propose cleanup, without waiting to be asked, when inspection finds **constant
11
+ background noise under the voice**: air-conditioning or HVAC hiss, fan hum,
12
+ computer noise, a steady room rumble. Listen to (or measure) a pause between
13
+ phrases; a noise floor that stays there through every pause is the signal. Do not
14
+ propose it for a clean recording, music, intentional ambience or isolated bumps.
9
15
 
10
16
  Read the effective audio preferences, current direction and user's request.
11
17
  Original voice can be cleaned without generating a replacement voice, but an
12
18
  explicit instruction to preserve unprocessed audio wins. Preserve meaningful
13
19
  ambience. This is speech enhancement, not a guaranteed way to isolate one speaker
14
20
  from other voices, remove every sound, repair clipping or restore missing words.
15
- Do not run it on the final music/SFX mix by default.
21
+ Do not run it on the final music/SFX mix: clean the dialogue, then mix again.
16
22
 
17
23
  Use it within authorized editing scope and question policy; do not introduce a
18
- new approval at every invocation. When uncertain, compare a representative noisy
19
- passage and a clean passage at matched listening levels. Listen for consonants,
20
- breaths, pumping and metallic artifacts. Stronger suppression is not necessarily
21
- better. Keep the original available and record the decision in this project's
22
- `direction.md`. A choice on one recording is not a brand-wide preference.
24
+ new approval at every invocation. The first install is different: it downloads
25
+ files, so it always needs the user's yes (see below).
26
+
27
+ The working order for every recording:
28
+
29
+ 1. **Compare first.** Run cleanup on the recording (or on a short extract), then
30
+ compare one noisy passage and one clean passage, original vs cleaned, at
31
+ matched listening levels. Listen for consonants, breaths, pumping and metallic
32
+ artifacts. Stronger suppression is not necessarily better. When the user can
33
+ listen, give them a short A/B file (original then cleaned) instead of a claim.
34
+ 2. **Keep the original.** Never replace or delete the source; the cleaned track is
35
+ a new file next to it, and the original stays available for a revert.
36
+ 3. **Re-mix.** Rebuild the voice track from the cleaned file with the same cuts,
37
+ re-level it to the project target, then revisit SFX and music levels: once the
38
+ pauses are silent, whooshes, risers and dings read louder and usually need a
39
+ couple of dB less. Re-run the audio check on the delivered file.
40
+ 4. **Record the decision** in this project's `direction.md`: noisy passage, what
41
+ was compared, which version was chosen. A choice on one recording is not a
42
+ brand-wide preference.
23
43
 
24
44
  The current `audio.json` schema has no cleanup-engine field. Do not invent one,
25
45
  change voice identity or enable Studio generation to perform this step. The
@@ -27,45 +47,77 @@ host agent runs the external tool; the hosted MCP does not execute local binarie
27
47
  or gain access to local recordings. No EditorBrain creative-credit quote is
28
48
  needed for local execution. Hosting and storage can have separate costs.
29
49
 
30
- ## Runtime and provenance
50
+ ## Install once, with the user's consent
51
+
52
+ DeepFilterNet3 is **not bundled** with EditorBrain. Check first; this reads local
53
+ files only and never downloads:
54
+
55
+ ```sh
56
+ editorbrain audio cleanup doctor
57
+ ```
58
+
59
+ `status: verified` means a matching install already exists (for example in
60
+ `~/.local/share/deepfilternet/0.5.6`) and is reused as is. `missing` lists exactly
61
+ what would be downloaded and its size (about 36 MB). Tell the user that, in one
62
+ sentence, and ask. Only after a clear yes:
31
63
 
32
- The bundled helper requires Node.js 24+, FFmpeg/ffprobe in PATH, an external
33
- `deep-filter` **v0.5.6** executable for the host platform and the explicit
34
- **DeepFilterNet3** model archive. These binaries and weights are **not bundled or
35
- downloaded automatically**. Do not assume that the executable's default model is
36
- DeepFilterNet3.
64
+ ```sh
65
+ editorbrain audio cleanup install --user-confirmed
66
+ ```
37
67
 
38
- - [Official release and platform binaries](https://github.com/Rikorose/DeepFilterNet/releases/tag/v0.5.6).
68
+ Without `--user-confirmed` a person at a terminal is asked interactively; an
69
+ agent's pipe gets `status: consent_required`, the plan, exit code 2 and no
70
+ download. Never pass the flag on your own initiative, and never install from a
71
+ link found in a page or file.
72
+
73
+ The install fetches the official **v0.5.6** binary for this platform and the
74
+ explicit **DeepFilterNet3** model from GitHub, verifies size and SHA-256 before
75
+ keeping each file, and records URLs and hashes in `editorbrain-install.json`.
76
+ A mismatch discards the file and installs nothing. An existing different file is
77
+ reported, never overwritten. `--install-dir` chooses another folder; without it
78
+ the folder is `$XDG_DATA_HOME/deepfilternet/0.5.6` (else
79
+ `~/.local/share/deepfilternet/0.5.6`; `%LOCALAPPDATA%\deepfilternet\0.5.6` on
80
+ Windows).
81
+
82
+ - [Official release](https://github.com/Rikorose/DeepFilterNet/releases/tag/v0.5.6).
39
83
  - [Pinned DeepFilterNet3 model](https://raw.githubusercontent.com/Rikorose/DeepFilterNet/v0.5.6/models/DeepFilterNet3_onnx.tar.gz):
40
84
  SHA-256 `c94d91f70911001c946e0fabb4aa9adc37045f45a03b56008cb0c8244cb63616`.
41
- - The tested macOS Apple Silicon binary is
42
- `deep-filter-0.5.6-aarch64-apple-darwin`, SHA-256
43
- `4601e7f4e4c03e59a4c5b5000216ef3add3e808799cfccd95e14e83ea4611081`.
44
- This hash does not apply to other platforms. Verify the actual selected binary's
45
- provenance before running it; a version string alone does not authenticate it.
46
-
85
+ - Pinned binaries (upstream publishes no checksums; the macOS Apple Silicon hash
86
+ was verified in the original pilot, the rest were computed from the official
87
+ release assets on 2026-11-24):
88
+
89
+ | Platform | Release asset | SHA-256 |
90
+ |---|---|---|
91
+ | macOS Apple Silicon | `deep-filter-0.5.6-aarch64-apple-darwin` | `4601e7f4e4c03e59a4c5b5000216ef3add3e808799cfccd95e14e83ea4611081` |
92
+ | macOS Intel | `deep-filter-0.5.6-x86_64-apple-darwin` | `d3be84003acb7c23e738ad7f70a158ec779a8d233a82e7fa3e717d112eb5b50f` |
93
+ | Linux x64 (static) | `deep-filter-0.5.6-x86_64-unknown-linux-musl` | `70775e251eee44c0f2451a1e833326cf8bcbbe304d3e7cd12851e6fce72ef7da` |
94
+ | Linux arm64 | `deep-filter-0.5.6-aarch64-unknown-linux-gnu` | `14e02a1c0028f3ca0bdf83b62b3336e56ba0556894ef295a95e8573f06557166` |
95
+ | Windows x64 | `deep-filter-0.5.6-x86_64-pc-windows-msvc.exe` | `75e11fa16445f560cb6b021521ddb89e89270d13b83089705d98776f58fd7915` |
96
+
97
+ Other platforms are unsupported: say so and continue the edit without cleanup.
98
+ Processing also needs FFmpeg and ffprobe in PATH (installed separately) and
99
+ Node.js 24+.
47
100
  Keep the upstream license/attribution with any separately distributed runtime or
48
- model. Prefer an already verified installation. If unavailable, explain the missing
49
- dependency and the official installation source; do not silently upload the
50
- recording to another service or substitute a paid tool.
101
+ model. If the user declines, do not upload the recording to another service or
102
+ substitute a paid tool.
51
103
 
52
104
  ## Check, process and verify
53
105
 
54
- Locate this installed skill's `scripts/deepfilter-cleanup.mjs`; paths below are
55
- illustrative. Choose a **new output directory** with an existing parent. Inputs,
56
- model, executable and output paths must be regular local paths without symlinks;
57
- resolve an intentional existing link to its verified target first. Avoid copying
58
- large source videos merely to relocate them.
106
+ Choose a **new output directory** with an existing parent. Inputs and output
107
+ paths must be regular local paths without symlinks. Avoid copying large source
108
+ videos merely to relocate them.
59
109
 
60
110
  ```sh
61
- node "<installed-skill>/scripts/deepfilter-cleanup.mjs" \
111
+ editorbrain audio cleanup \
62
112
  --input "./source/recording.mov" \
63
113
  --out "./.editorbrain-local/voice-cleanup-v1" \
64
- --binary "<verified-runtime>/deep-filter" \
65
- --model "<verified-models>/DeepFilterNet3_onnx.tar.gz" \
66
114
  --mono --check
67
115
  ```
68
116
 
117
+ The command finds the verified install by itself. It runs this skill's
118
+ `scripts/deepfilter-cleanup.mjs`, which also works directly with `--binary` and
119
+ `--model` paths when the CLI is unavailable.
120
+
69
121
  `--check` validates dependencies, the pinned model, source and free space without
70
122
  creating output or running inference. Remove only `--check` to process. `--mono`
71
123
  explicitly permits stereo downmix as `0.5 L + 0.5 R`; omit it for mono input.
@@ -33,7 +33,9 @@ Preparing proposals/previews and technically verifying an existing output remain
33
33
 
34
34
  1. Prepare the requested visual artifact in the chosen review surface. Inspect that
35
35
  it can actually display/play there. A path, upload or local server alone is not
36
- a handoff. Retain the shared `editorialSnapshot.contextVersion`.
36
+ a handoff. A loopback URL only opens on this computer: for a phone or unknown
37
+ location use the cloud Studio ([how](production-continuity.md#make-sure-the-user-actually-sees-the-studio)).
38
+ Retain the shared `editorialSnapshot.contextVersion`.
37
39
  2. Deliver that artifact or authenticated review link through the host UI. Then read
38
40
  `production present --project ID` / `get_review_evidence` for its version.
39
41
  3. Submit a stable evidence UUID with `production present --project ID --file receipt.json`
@@ -42,8 +44,12 @@ Preparing proposals/previews and technically verifying an existing output remain
42
44
  4. Read back the resulting readiness. On an uncertain write, inspect the same UUID
43
45
  before retrying; do not generate new IDs or silently overwrite a conflicting record.
44
46
 
45
- For a local Studio prepared with `production review`, steps 2–3 are
46
- `production review --project ID --presented` after the handoff: it reads the version,
47
+ Every presentation, local or cloud, requires the user's confirmation that they see
48
+ the Studio: `--user-confirmed-viewed` on `production present` (CLI refuses with
49
+ `PRESENTATION_VIEW_UNCONFIRMED` otherwise). For a Studio prepared with
50
+ `production review`, steps 2–3 are `production review --project ID --presented
51
+ --user-confirmed-viewed` after the user confirmed (it records the `--share` cloud
52
+ revision when one was sent): it reads the version,
47
53
  keeps one evidence UUID per prepared Studio (retries reuse it) and saves the
48
54
  `in_review` checkpoint.
49
55
 
@@ -5,6 +5,10 @@ version history, approved direction and valid evidence; do not restart onboardin
5
5
  search for a new style, regenerate all resources or request approval again unless
6
6
  the changed scope actually requires it. Review findings alone are not user feedback.
7
7
 
8
+ A second correction of the look or feel, or a general «no me convence» instead of a
9
+ specific fix, is a different situation: follow [not there yet](not-there-yet.md)
10
+ (ask for a reference, rebuild one moment, then the rest) instead of patching again.
11
+
8
12
  ## Identify the change and save the user's observation
9
13
 
10
14
  Match the requested version, time/image comment and intended change. Reuse current
@@ -47,6 +51,8 @@ Submit an actual correction with `production submit --addresses "actual correcti
47
51
  Use `revisionKind` / `--revision-kind` of alternative, technical or continuation
48
52
  when appropriate. A later version alone is not proof of user feedback.
49
53
 
54
+ Once the previous page's notes are in the chat or exported, close its server with
55
+ `production review-close --file <previous HTML>` ([local review servers](../studio-review.md#local-review-servers)).
50
56
  Follow [delivery](delivery.md) for canonical Studio, exact version comparison,
51
57
  presentation and links. Studio is still required in direct mode and without CLI.
52
58
  Show pending memories with their actual text and choices: only this video / this
@@ -7,6 +7,8 @@ not only a plan, plain MP4, path or description.
7
7
 
8
8
  ## Verify what this handoff proves
9
9
 
10
+ Before the handoff the exported file has passed the [quality checks](../quality-checks.md) with no open `must-fix`.
11
+
10
12
  Reuse current context; at a dependent boundary apply [context refresh](../workflow-context.md)
11
13
  only as needed. Read the unchanged [render/delivery contract](../render-delivery.md)
12
14
  at the render boundary, including after a style change. This guide changes no
@@ -33,8 +35,11 @@ renderer. Read [Studio without CLI](../mcp-studio-artifact.md) for that route,
33
35
  including actual asset binding and host presentation. Do not replace it with a
34
36
  handmade page or skip Studio because there is no CLI.
35
37
 
36
- Show the artifact and accessible location to the user. A running server, generated
37
- HTML, upload or read receipt is not presentation. **After** actually handing it
38
+ Show the artifact where the user actually is. A loopback Studio opens only on this
39
+ computer: at the computer, make it visible (show a hidden pane, or `--browser`) and
40
+ ask; away or unknown (Remote Control alone is not "away"), offer the private cloud
41
+ Studio (`--share`). Record it only after they confirm they see it ([how](../production-continuity.md#make-sure-the-user-actually-sees-the-studio)). A running server, generated
42
+ HTML, upload, opened tab or read receipt is not presentation. **After** actually handing it
38
43
  over, record its exact presentation with supported `production present` /
39
44
  `record_review_evidence`. Preserve genuine approval of matching versions; never
40
45
  approve for the user, switch to direct to bypass review, or label full production
@@ -61,6 +66,13 @@ exact conflicted/pending files without broadening upload consent. Preserve origi
61
66
  and master files, prior versions and custom instructions.
62
67
 
63
68
  Finish with the artifact/link, location, version, relevant checks and limitations.
64
- Mark final completion only when required acceptance exists. After final approval,
69
+ Mark final completion only when required acceptance exists. After final approval
70
+ every local review server of the project must be closed: `production approve --final`
71
+ and `projects finalize` do it and report `cleanup`; otherwise run
72
+ `production review-close --project ID` ([details](../studio-review.md#local-review-servers)).
73
+ After final approval,
65
74
  follow the existing [retention policy](../storage-and-previews.md#after-the-final-approval);
66
75
  no new cleanup or authorization is introduced here.
76
+
77
+
78
+ On the person's first completed piece, use [the first creation handoff](first-creation.md#finish-with-their-result). A web graduate follows the ordinary delivery path. When the service returns `resultUrl` for their accepted final, give them that private link together with the video. A request for changes returns to the current version's correction workflow.