editorbrain 0.58.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.
- package/README.md +2 -2
- package/bin/editorbrain.mjs +16193 -4811
- package/package.json +1 -1
- package/skill/editorbrain/SKILL.md +27 -3
- package/skill/editorbrain/references/agency.md +14 -5
- package/skill/editorbrain/references/audio-production.md +8 -4
- package/skill/editorbrain/references/caption-styles.md +31 -4
- package/skill/editorbrain/references/choice-page.md +45 -0
- package/skill/editorbrain/references/cli-mcp.md +20 -4
- package/skill/editorbrain/references/editorial-profile.md +12 -1
- package/skill/editorbrain/references/first-edit.md +5 -3
- package/skill/editorbrain/references/first-session-choosing.md +48 -0
- package/skill/editorbrain/references/first-session-money.md +59 -0
- package/skill/editorbrain/references/first-session-pages.md +22 -0
- package/skill/editorbrain/references/first-session-records.md +59 -0
- package/skill/editorbrain/references/first-session-video.md +125 -0
- package/skill/editorbrain/references/library-sheets.md +38 -0
- package/skill/editorbrain/references/local-production.md +38 -0
- package/skill/editorbrain/references/mcp-studio-artifact.md +27 -2
- package/skill/editorbrain/references/onboarding.md +28 -6
- package/skill/editorbrain/references/pro-moves.md +41 -0
- package/skill/editorbrain/references/production-and-review.md +17 -0
- package/skill/editorbrain/references/production-continuity.md +78 -6
- package/skill/editorbrain/references/quality-checks.md +53 -0
- package/skill/editorbrain/references/real-media.md +32 -0
- package/skill/editorbrain/references/sfx-library.md +61 -1
- package/skill/editorbrain/references/starting-an-edit.md +4 -4
- package/skill/editorbrain/references/starting-points.md +52 -0
- package/skill/editorbrain/references/studio-review.md +16 -1
- package/skill/editorbrain/references/studio.md +4 -2
- package/skill/editorbrain/references/style-creator.md +28 -1
- package/skill/editorbrain/references/style-source.md +18 -7
- package/skill/editorbrain/references/support.md +5 -0
- package/skill/editorbrain/references/task-map.md +5 -3
- package/skill/editorbrain/references/voice-cleanup.md +83 -31
- package/skill/editorbrain/references/workflow-evidence.md +12 -1
- package/skill/editorbrain/references/workflows/correction.md +6 -0
- package/skill/editorbrain/references/workflows/delivery.md +15 -3
- package/skill/editorbrain/references/workflows/first-creation.md +155 -0
- package/skill/editorbrain/references/workflows/not-there-yet.md +95 -0
- package/skill/editorbrain/references/workflows/setup.md +6 -0
- package/skill/editorbrain/references/workflows/start.md +65 -7
- package/skill/editorbrain-motion/SKILL.md +1 -1
- package/skill/editorbrain-motion/references/authored-scenes.md +7 -6
- package/skill/editorbrain-reference/SKILL.md +10 -0
|
@@ -29,6 +29,38 @@ Do not finalize the full edit with unresolved requested media hidden behind plac
|
|
|
29
29
|
|
|
30
30
|
For example, a tutorial may need a real screenshot for a setting, a verified mascot for product recognition and an original metaphor for an abstract idea. These are separate needs; one asset does not satisfy all three. A presenter-only correction may need no acquisition. Derive the choices from this video's message, reference mechanisms and effective preferences, not from these examples as a template.
|
|
31
31
|
|
|
32
|
+
## Photo, generated image or code
|
|
33
|
+
|
|
34
|
+
Decide per element what it should be made of. The test: would a viewer judge this thing by how it looks in real life? Then it must be a real picture. Is it an idea, a number, a word or a structure? Then code draws it better and stays exact.
|
|
35
|
+
|
|
36
|
+
| The element | Make it with | Why |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| What they sell or show: food, a product, a dish, a room, a place, a result | Their photo first (a phone photo is enough); else a generated image they approved | Appetite, texture and trust come from realism. Drawn with shapes it looks like a child's drawing. |
|
|
39
|
+
| A person, an animal, hands doing something | Their footage or photo; else generated, never passed off as the real person | Faces and bodies drawn in code look wrong at once. |
|
|
40
|
+
| Atmosphere: a backdrop, a texture, a scene that sets a mood | Generated image, or a plain colour or gradient in code when the style is flat | It supports; it must not compete with the product. |
|
|
41
|
+
| A real brand, app, logo, mascot or screen | The official file or a real capture | A generated or redrawn logo or screenshot is a fake. |
|
|
42
|
+
| Words, titles, prices, phone numbers, dates | Code, always | Generated images garble letters and numbers; text must stay exact and editable. |
|
|
43
|
+
| Numbers and structure: charts, steps, comparisons, timelines, maps, diagrams | Code | The data must be exact and animate in sync. |
|
|
44
|
+
| Interface moments: a chat, a notification, a button, a form | Code, built to look like the real interface | Crisp at any size and easy to animate. |
|
|
45
|
+
| Simple marks: icons, arrows, underlines, frames, stickers | Code, or the style's own drawing language | They are graphic by nature. |
|
|
46
|
+
| An abstract idea with no object («crecer», «orden», «riesgo») | Either: a generated metaphor when the style is photographic, shapes and type in code when it is graphic | Follow the style, and keep one language through the video. |
|
|
47
|
+
|
|
48
|
+
Examples:
|
|
49
|
+
|
|
50
|
+
- Bakery announcing roscas: the rosca is a photo or a generated image; the date, the name and the WhatsApp are code.
|
|
51
|
+
- «Las ventas subieron 40 %»: the chart and the number are code; a photo of the shop behind them is optional.
|
|
52
|
+
- App tutorial: real captures of the app; arrows, highlights and labels in code.
|
|
53
|
+
- Yoga studio with no photos: one generated image of a calm room as the backdrop; the offer and the link in code.
|
|
54
|
+
- A plumber's three services: icons and a list in code are fine; a before-and-after must be real photos, never generated.
|
|
55
|
+
|
|
56
|
+
Rules that come with it:
|
|
57
|
+
|
|
58
|
+
- Their real thing first. A generated image of a product is an illustration, not their product: say so («es una imagen generada, no una foto de tu rosca») and use their photo as soon as they have one. Never generate a result, a testimonial, a before-and-after or a person presented as real.
|
|
59
|
+
- Never draw with shapes what people judge by appearance. If there is no photo and they do not want a generated one, make the video with lettering and graphic elements only.
|
|
60
|
+
- A generated image costs something, in credits or in their own tool: recommend it with the number and make it after their yes ([integrations](integrations.md), [AI tools](studio.md)).
|
|
61
|
+
- Ask for the image the edit needs: the subject alone, the angle, soft light, a plain background so it can be cut out, the video's shape, and no text inside the image. Look at it at full size before using it: wrong details (extra fingers, melted letters, an odd version of the dish) mean another try or another source.
|
|
62
|
+
- Keep one visual language per video: do not mix photographic food with clip-art icons of food.
|
|
63
|
+
|
|
32
64
|
## Check capability without turning it into a prohibition
|
|
33
65
|
|
|
34
66
|
Separate **source permission**, **working tools**, **spending authority** and **scene fit**. Missing preferences are undecided; an explicitly empty allowed list is a conflict. Exclusions remain exclusions even when support is rich. Disabled image/motion categories stay disabled; do not re-enable them through a source preference. Use [media preferences](media-preferences.md) for the exact fields.
|
|
@@ -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
|
-
- **
|
|
254
|
-
|
|
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,7 +8,8 @@ Read [workflow evidence](workflow-evidence.md) for presentation and
|
|
|
8
8
|
|
|
9
9
|
## Open the right view
|
|
10
10
|
|
|
11
|
-
- CLI review: `production review
|
|
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.
|
|
12
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.
|
|
13
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.
|
|
14
15
|
|
|
@@ -18,6 +19,13 @@ own brand; a sidebar selection or another project's defaults cannot replace it.
|
|
|
18
19
|
Older installations may not advertise these operations: explain that and use the
|
|
19
20
|
available workflow; do not invent commands or claim a local file is cloud-backed.
|
|
20
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
|
+
|
|
21
29
|
## What the user can do
|
|
22
30
|
|
|
23
31
|
Studio has video controls, a timeline, **Cambios / Texto / Revisión IA**, and
|
|
@@ -54,6 +62,13 @@ This never edits the media. Do not interpolate words from text or reuse source
|
|
|
54
62
|
clock times after cuts. Without measured words the phrase-level controls remain.
|
|
55
63
|
Removed phrases refer to their original source interval, never a made-up final time.
|
|
56
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
|
+
|
|
57
72
|
## Comparing a corrected version
|
|
58
73
|
|
|
59
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
|
|
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
|
|
|
@@ -69,11 +69,38 @@ Declare installed software/plugins or nonportable fonts as requirements. A sourc
|
|
|
69
69
|
|
|
70
70
|
Generic text push/pull does not copy media, editables or fonts. Use the selected-style resource commands below when supported by the installed CLI. Keep local resources local when that is the user's scope. For authorized supported media uploads, use asset tools separately, retain returned IDs and verify retrieval. Native editing projects and large files may not be supported by that API; record the actual local requirement instead of claiming cloud portability. Never promise that downloading Markdown reproduces missing files.
|
|
71
71
|
|
|
72
|
+
## Thumbnail of the final style
|
|
73
|
+
|
|
74
|
+
Every saved style carries one picture of how it looks applied, so the user can recognise it in the web. It lives in `thumbnail.json` next to the style and does not change the style version that projects pin or templates share.
|
|
75
|
+
|
|
76
|
+
- **Source, in this order.** A frame of an approved pilot or render of this style (`--origin pilot_frame`, with the render's SHA-256). If the style is a draft without a pilot, a representative frame built in code (HTML/CSS or HyperFrames, rendered locally to an image) that shows its defining mechanisms with generic material of your own and the user's brand tokens: colors, fonts, logo (`--origin generated_preview`).
|
|
77
|
+
- **Never from a reference.** No frame of a reference video, and none of its faces, logos, text, captions or music. A generated preview is not a render; say so when you report it.
|
|
78
|
+
- **Proportion.** Use the style's `format.aspect` (16:9 → 1280×720, 9:16 → 720×1280). The web shows wide pictures edge to edge in a card close to 16:9 and tall ones whole, so keep the defining elements away from the edges.
|
|
79
|
+
- **File.** WebP or JPEG of at most 2 MiB, about 1280 px on the long side. Look at it before attaching it.
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
editorbrain styles thumbnail <id> --file .editorbrain-local/style-thumbnails/<id>/thumbnail.webp --origin generated_preview --brand <brand-id> --alt "What the picture shows" --dir <workspace>
|
|
83
|
+
editorbrain styles thumbnail <id> --file frame.webp --origin pilot_frame --pilot-sha256 <render hash> --pilot-project <project-id> --pilot-time 9.8 --dir <workspace>
|
|
84
|
+
editorbrain styles push <id> --dry-run --dir <workspace>
|
|
85
|
+
editorbrain styles push <id> --dir <workspace>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Changing it later.** When the user says "put this image" or "take a frame of the video we edited", change only the thumbnail in one step. `--push` uploads it, verifies it and saves only `thumbnail.json` in the cloud, even when the style is not in this folder; the rest of the style stays untouched. `--video` takes one frame with the local FFmpeg and records the video's SHA-256 and time as the pilot. Use a frame of a video edited with this style; a reference video still never qualifies.
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
editorbrain styles thumbnail <id> --file /path/to/image.webp --origin generated_preview --push --dir <workspace>
|
|
92
|
+
editorbrain styles thumbnail <id> --video videos/<project>/renders/final.mp4 --at 9.8 --pilot-project <project> --push --dir <workspace>
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
`styles thumbnail` reads type and size from the image header and keeps the bytes in `production-assets/styles/<id>/<hash>.<ext>`. Every `styles push`, with or without `--with-resources`, uploads that image as a private asset (`thumbnailToUpload` in the dry run), verifies it by downloading it and rewrites `thumbnail.json` to its permanent ID. `styles pull` downloads and verifies it. A generic `push` leaves it local and warns. Keep the HTML source in `.editorbrain-local/` to regenerate the picture when the brand changes. `styles check` warns while the thumbnail is missing, still local or in another proportion.
|
|
96
|
+
|
|
97
|
+
MCP-only agents: `draft_project_style` accepts `thumbnail: {assetId, origin, alt?, pilot?}` for an image already uploaded to the workspace, or write `thumbnail.json` with `write_document` describing an owned image exactly (`get_asset` reads its metadata). The server rejects a hash the workspace does not own, review previews that can expire, and a type, size or byte count that does not match the stored image.
|
|
98
|
+
|
|
72
99
|
## Check, save and report the actual outcome
|
|
73
100
|
|
|
74
101
|
1. Run `styles check <id> --dir <workspace>` after writing. Its `readiness` reports documented progress, not quality: `draft` (template text remains), `documented`, `approved_pilot` (user-approved pilot plus an implemented component) or `transfer_tested`. It checks only that style's documents and declared local files/hashes. Fix structural errors and missing required local resources; address warnings according to the intended scope. `valid: true` is not creative approval, remote-access verification or successful rendering. Use `validate` and `resolve <project-id>` as well when changing a project's selection or shared context.
|
|
75
102
|
2. Review the saved instructions against the actual output and user feedback. Distinguish a documented draft, implemented pilot, user-approved pilot and transfer tested with different material. Record a user's explicit approval as `reviewStatus: human_verified`; the accepted values are `unreviewed`, `agent_reviewed` and `human_verified`, and there is no `user_approved`. Keep artifact hash, reviewed dimensions and limitations in the review. Do not spend on another render or generate media just to assign a stronger label. Test adaptation during the next requested episode or a specifically requested pilot.
|
|
76
|
-
3. For cloud saving, inspect `push --dry-run`, preserve conflicts, then push the intended documents. Push operates on all changed portable documents present in that local folder, so inspect the list for unrelated work; to save only this style use `push --only` for each of its changed documents, or `styles push <id>`. Read back saved revisions/hashes before claiming synchronization. Document history preserves previous content; a multi-document style update is not an atomic package release. On an interruption, inspect which revisions committed before resuming.
|
|
103
|
+
3. Attach the [thumbnail of the final style](#thumbnail-of-the-final-style) before saving to the cloud. For cloud saving, inspect `push --dry-run`, preserve conflicts, then push the intended documents. Push operates on all changed portable documents present in that local folder, so inspect the list for unrelated work; to save only this style use `push --only` for each of its changed documents, or `styles push <id>`. Read back saved revisions/hashes before claiming synchronization. Document history preserves previous content; a multi-document style update is not an atomic package release. On an interruption, inspect which revisions committed before resuming.
|
|
77
104
|
4. If the project should use the new style, update only that project's style ID when this is part of the request, then validate/resolve and sync it. Creating a style by itself does not switch projects or rewrite brand tokens. When the user asks to make a style their brand identity, run `brands identity <brand-id> --from-style <style-id>`, show the listed changes and removed legacy aliases, and repeat with `--confirm` only after explicit approval. It rewrites only `tokens.json`; review `design.md` and `brand.md` with the user so their prose does not contradict the new identity.
|
|
78
105
|
|
|
79
106
|
MCP-only agents use existing `list_documents` with the style prefix, `read_document`, and `write_document` with the discovered schema and `expectedRevision` (0 for new files). Use the same document set and checks; generate no new tool names. Read current content before updates, reconcile conflicts and verify each committed document. MCP cannot inspect local resource files on its own; the host agent must do that, or explicitly leave availability unverified. Remote document validation does not certify the complete style. No new MCP registration is needed.
|
|
@@ -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`.
|
|
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
|
|
@@ -38,9 +39,11 @@ workflow and the user's review mode.
|
|
|
38
39
|
style's grammar (structure, rhythm, layouts). If the user asks for other
|
|
39
40
|
colors or preferences for this edit, follow them. Never force either way.
|
|
40
41
|
The guard may need roles the brand does not define (extra scene colors, at
|
|
41
|
-
least six series colors, a `hand` font):
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
least six series colors, a `hand` font): `styles prepare … --brand ID` derives
|
|
43
|
+
them all at once from `.editorbrain/brands/ID/tokens.json` (mixes or shades of
|
|
44
|
+
brand colors, never demo values) and writes `BRAND-MAPPING.md`. Show that
|
|
45
|
+
mapping to the user with the first proposal; without the CLI, derive the same
|
|
46
|
+
way by hand and never copy the demo's values.
|
|
44
47
|
4. Material: read `needs` and the guide. Styles without a recording need data,
|
|
45
48
|
a voice or images instead of a clip (e.g. a sourced data series, a voice or
|
|
46
49
|
a script to voice). Tell the user what to bring; ask only for what is missing.
|
|
@@ -96,8 +99,14 @@ steps below describe the local alternative; both obey the same adaptation rules.
|
|
|
96
99
|
explain that permission; do not try old versions to bypass it.
|
|
97
100
|
4. Prepare a fresh working copy explicitly:
|
|
98
101
|
```sh
|
|
99
|
-
editorbrain styles prepare <id> --style-version <version> --file source.tar.gz --out .editorbrain-local/<project>/styles-src/<id> --dir <workspace>
|
|
102
|
+
editorbrain styles prepare <id> --style-version <version> --file source.tar.gz --out .editorbrain-local/<project>/styles-src/<id> --brand <brand> --dir <workspace>
|
|
100
103
|
```
|
|
104
|
+
`--brand` binds every base and scene role the guard checks (colors, `dark`,
|
|
105
|
+
six or more series colors, display/text/heavy/mono/hand and scene fonts) in
|
|
106
|
+
`lib/project-brand.js`, so the first render does not fail role by role.
|
|
107
|
+
`BRAND-MAPPING.md` lists each value and where it came from; `brandMapping.
|
|
108
|
+
fontsToRegister` names brand fonts the package lacks (ask for their files).
|
|
109
|
+
`--params` values still win over the derived ones.
|
|
101
110
|
This offline command checks the known archive and internal manifest, rejects
|
|
102
111
|
links/path traversal and extracts to a NEW directory. It adds the same project
|
|
103
112
|
binding checks as motion and records original/adapted runtime hashes separately
|
|
@@ -111,7 +120,7 @@ steps below describe the local alternative; both obey the same adaptation rules.
|
|
|
111
120
|
The included Apple Vision preparation requires macOS. On other systems use a
|
|
112
121
|
compatible installed presenter-matte engine and the documented output contract;
|
|
113
122
|
never assume Swift works everywhere or silently change paid providers.
|
|
114
|
-
6. Bind a complete current brand via window.__overrides or renderer --params:
|
|
123
|
+
6. Bind a complete current brand (done by `--brand`; adjust via --params) or via window.__overrides or renderer --params:
|
|
115
124
|
base/scene color roles, licensed registered fonts with family/weight/style,
|
|
116
125
|
language, script, word timing, media and explicit sound.enabled. The guard
|
|
117
126
|
prevents falling back to demo branding. `?demo=1` is solely original-demo
|
|
@@ -119,7 +128,9 @@ steps below describe the local alternative; both obey the same adaptation rules.
|
|
|
119
128
|
follow resolved voice/music/SFX preferences independently. sound.enabled=false
|
|
120
129
|
mutes all sound including voice; for voice-only keep sound enabled, remove SFX
|
|
121
130
|
cues/derived event cues and music in the adapted code/mix, and inspect the final
|
|
122
|
-
audio.
|
|
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.
|
|
123
134
|
7. Preserve style.md's intended grammar while adapting timing/layout to the real
|
|
124
135
|
material. Start from the code that produced the demo, not a new approximation.
|
|
125
136
|
Use the included local renderer deliberately after binding. Check diagnostics,
|
|
@@ -33,6 +33,11 @@ de operador. Sólo crea o envía un caso si el usuario lo solicita; en otro caso
|
|
|
33
33
|
entrega el resumen y el enlace para que decida. Comprueba la respuesta y conserva
|
|
34
34
|
el ID devuelto, sin llamar «enviado» a un borrador.
|
|
35
35
|
|
|
36
|
+
Sin MCP de soporte, el CLI usa las mismas rutas: `editorbrain support` (resumen
|
|
37
|
+
de la cuenta), `support threads`, `support show ID`, `support ask --message TEXTO
|
|
38
|
+
[--human]` y `support reply ID --message TEXTO [--human]`. Guarda el `requestId`
|
|
39
|
+
devuelto y repite una escritura fallida con `--id` igual, no con un caso nuevo.
|
|
40
|
+
|
|
36
41
|
El chat de soporte no consume créditos creativos. Su IA explica, consulta y escala;
|
|
37
42
|
no concede planes, créditos, cambios de pago ni reembolsos. Ayuda no equivale a
|
|
38
43
|
autorización de gasto ni a una nueva aprobación editorial. Mantén las preferencias,
|
|
@@ -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.
|
|
51
|
-
|
|
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
|
-
##
|
|
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
|
|
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.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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.
|
|
49
|
-
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
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.
|
|
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,6 +44,15 @@ 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
|
|
|
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,
|
|
53
|
+
keeps one evidence UUID per prepared Studio (retries reuse it) and saves the
|
|
54
|
+
`in_review` checkpoint.
|
|
55
|
+
|
|
45
56
|
For a cloud sample already registered, the receipt has this shape (replace every
|
|
46
57
|
placeholder with the verified returned value):
|
|
47
58
|
|