editorbrain 0.59.0 → 0.61.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 (46) hide show
  1. package/README.md +2 -2
  2. package/bin/editorbrain.mjs +16216 -6216
  3. package/package.json +1 -1
  4. package/skill/editorbrain/SKILL.md +30 -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 +56 -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 +63 -0
  16. package/skill/editorbrain/references/first-session-video.md +169 -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 +58 -0
  25. package/skill/editorbrain/references/real-media.md +32 -0
  26. package/skill/editorbrain/references/search-brief.md +1 -1
  27. package/skill/editorbrain/references/sfx-library.md +61 -1
  28. package/skill/editorbrain/references/starting-an-edit.md +4 -4
  29. package/skill/editorbrain/references/starting-points.md +52 -0
  30. package/skill/editorbrain/references/studio-review.md +16 -2
  31. package/skill/editorbrain/references/studio.md +4 -2
  32. package/skill/editorbrain/references/style-creator.md +2 -0
  33. package/skill/editorbrain/references/style-glance.md +80 -0
  34. package/skill/editorbrain/references/style-source.md +5 -2
  35. package/skill/editorbrain/references/task-map.md +6 -4
  36. package/skill/editorbrain/references/visual-pages.md +31 -0
  37. package/skill/editorbrain/references/voice-cleanup.md +83 -31
  38. package/skill/editorbrain/references/workflow-evidence.md +9 -3
  39. package/skill/editorbrain/references/workflows/correction.md +6 -0
  40. package/skill/editorbrain/references/workflows/delivery.md +15 -3
  41. package/skill/editorbrain/references/workflows/first-creation.md +172 -0
  42. package/skill/editorbrain/references/workflows/not-there-yet.md +97 -0
  43. package/skill/editorbrain/references/workflows/setup.md +6 -0
  44. package/skill/editorbrain/references/workflows/start.md +78 -7
  45. package/skill/editorbrain-motion/SKILL.md +1 -1
  46. package/skill/editorbrain-motion/references/authored-scenes.md +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editorbrain",
3
- "version": "0.59.0",
3
+ "version": "0.61.0",
4
4
  "description": "EditorBrain editorial knowledge, portable workspaces and skills for AI video agents",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -20,6 +20,7 @@ Read **one** relevant workflow, or continue its already-loaded instructions:
20
20
  |---|---|
21
21
  | New video or materially new direction | [Start](references/workflows/start.md) |
22
22
  | Change or review an existing version | [Correct](references/workflows/correction.md) |
23
+ | They correct the look a second time, or say it is not there yet | [Not there yet](references/workflows/not-there-yet.md) |
23
24
  | Continue a project from another session | [Resume](references/workflows/resume.md) |
24
25
  | Present a proposal, sample or finished version | [Deliver](references/workflows/delivery.md) |
25
26
  | Set up, update or change preferences/connections | [Configure](references/workflows/setup.md) |
@@ -27,6 +28,8 @@ Read **one** relevant workflow, or continue its already-loaded instructions:
27
28
  **More than one video → use `batches`:** one batch Studio, one upload with
28
29
  `batches submit`, approve per video or all ([batch](references/production-continuity.md#multiple-videos-one-batch-isolated-projects)).
29
30
 
31
+ For someone new (an offered, accepted or resumed first creation in the route returned by setup or `prepare_edit`), run the [first session](references/workflows/first-creation.md#open-the-first-creative-conversation): a conversation that creates their editor and their first video, showing each choice on a [choice page](references/choice-page.md). While that first session is open its guide leads the conversation and replaces the brief, directions and variants steps; every other guide here still governs how the work is done, what needs consent and how a final is approved. Read that guide in full, and each of its step pages in full when you reach it: [choosing](references/first-session-choosing.md), [the video](references/first-session-video.md), [money, tools and plans](references/first-session-money.md), [records](references/first-session-records.md) and [guide pages](references/first-session-pages.md). A completed web setup uses the saved brand and normal edit.
32
+
30
33
  These are entry points, not five mandatory stages. Skip resolved decisions and
31
34
  preserve scoped approvals. When the user hands over a video or images as a model
32
35
  to imitate («edita como este video», «analiza este video», «copia este estilo»),
@@ -53,7 +56,11 @@ technical pass do not establish audiovisual review or creative quality.
53
56
 
54
57
  ## Choose the available execution route
55
58
 
56
- Use the available CLI, MCP and host tools. MCP-only reads this same guide through
59
+ Use the available CLI, MCP and host tools. The default MCP catalog groups related
60
+ operations: a name in these guides (`list_projects`, `quote_vox`…) may be a
61
+ `request.operation` inside a task tool such as `proyecto` or `voz`. When a named
62
+ tool is not listed, call `get_tool_guide(name)` once and use its `invocation`.
63
+ MCP-only reads this same guide through
57
64
  `get_editing_guide`, then only needed references; finish relevant pages and cache
58
65
  by returned version/hash. A remote connection grants no local filesystem access.
59
66
  Follow [remote editing](references/cloud-production.md) only for unfamiliar host,
@@ -67,11 +74,23 @@ an unavailable route is a blocker, never permission for a silent fallback.
67
74
  Load only the specialty needed: [audio](references/audio-production.md),
68
75
  [subtitles](references/caption-styles.md) (library styles, likes, «crea un estilo
69
76
  de subtítulos con la tipografía X»; legacy presets in [captions](references/captions.md)),
70
- [media](references/real-media.md),
77
+ [media](references/real-media.md) (including when an element should be a photo, a generated image or code),
71
78
  [motion](../editorbrain-motion/SKILL.md),
72
79
  [formats](../editorbrain-formats/SKILL.md) or, to learn a style from a video or
73
80
  images the user supplies, [reference](../editorbrain-reference/SKILL.md).
81
+ A named «Clases y cursos» format («edita mi clase con el formato «…» de
82
+ EditorBrain») is a library recipe: find it with `list_course_formats`, read
83
+ `get_course_format_skill` and ask its questions before editing; it adds no stages.
74
84
  Ordinary cuts need no specialty.
85
+
86
+ Before anyone sees a render, run the [quality checks](references/quality-checks.md): they look at every frame of the risky moments and measure the sound, and a `must-fix` blocks delivery. When nothing else decides a pace, a pause or an ending, start from the [measured starting points](references/starting-points.md).
87
+
88
+ To pick a style, subtitle look, animation, sound or ad, never search by name:
89
+ read its sheet, shortlist three to five and open only those
90
+ ([choosing from the libraries](references/library-sheets.md)). To let them see
91
+ or compare styles («enséñame el estilo…», «compáralo con…»), open a muestrario:
92
+ `styles glance a [b c]` ([style glance](references/style-glance.md)). Which page
93
+ fits each moment, and how many options to show: [visual pages](references/visual-pages.md).
75
94
  When the user names a style or for a style implementation, read
76
95
  [style source](references/style-source.md) first (saved copy, exact code, brand);
77
96
  for optional tools use [production routing](references/production-routing.md).
@@ -90,11 +109,19 @@ submission and the user's choice of scope.
90
109
  ## Review and deliver the actual version
91
110
 
92
111
  Follow saved review mode: `direct` implements/reviews; `directions` presents
93
- alternatives; `sample` needs a representative preview and approval. **Style
112
+ alternatives; `sample` needs a representative preview and approval. Saved
113
+ `variants` (ON by default) add a moment-choice step before the full render:
114
+ follow the [editing flow](references/workflows/start.md#produce-the-editing-flow). **Style
94
115
  proposals never go as chat text:** present them in Studio, directions phase, as
95
116
  1–3 options with previews of real inspected references and one recommended. Reuse valid
96
117
  approval; never approve for the user. Direct mode still delivers the canonical
97
118
  Studio artifact. A path, uploaded file or generated HTML alone is not presentation.
119
+ **Local Studio URLs (127.0.0.1) open only on this computer.** At the computer, make
120
+ the Studio visible (show a hidden Browser pane, or `--browser`) and ask. Away or
121
+ unknown (Remote Control alone is not "away"): offer the private cloud Studio
122
+ (`--share`). Record any presentation only after the user confirms they see it
123
+ (`--user-confirmed-viewed`).
124
+ See [make sure the user sees it](references/production-continuity.md#make-sure-the-user-actually-sees-the-studio).
98
125
  Use [delivery](references/workflows/delivery.md) for the current phase, exact
99
126
  version, observed presentation and pending memory. Disclose unverified modalities.
100
127
 
@@ -58,19 +58,28 @@ anything completed or send a delivery based only on this dashboard.
58
58
 
59
59
  ## Configure only what the owner requested
60
60
 
61
- Web: `/app/agency` for identity, client portals, reports and brand caps;
61
+ Web: `/app/agency` for identity, the agency's logo, client portals, reports and brand caps;
62
62
  `/app/team` for collaborators. The client's logo/accent comes from the existing
63
63
  brand. The visible agency name and reply-to address do not verify a new sending
64
64
  domain or authorize uploading a logo from an unrelated client.
65
65
 
66
- CLI examples (replace placeholders with values read from the current account):
66
+ CLI examples (replace placeholders with values read from the current account; `agency settings` always needs `--reply-to`, with `none` when the owner gave no address):
67
67
 
68
68
  ```sh
69
69
  editorbrain agency settings --name "Estudio Norte" --reply-to "hola@example.com" --expected-revision 0 --confirm
70
- editorbrain team allowance --user USER_ID --credits 100 --expected-revision 0 --confirm
71
70
  editorbrain agency limit --brand CLIENT_ID --credits 200 --expected-revision 0 --confirm
72
71
  ```
73
72
 
73
+ The usual connection (device login or OAuth) cannot manage the team: inviting,
74
+ permissions, removing someone and `team allowance` return `owner_required`. Say
75
+ so and send the owner to `https://editorbrain.com/app/team`. Only an owner API
76
+ key can run `editorbrain team allowance --user USER_ID --credits 100
77
+ --expected-revision 0 --confirm`.
78
+
79
+ Nobody is notified when a client comments or approves. Read `agency overview` /
80
+ `agency_status` when the owner asks what is waiting, and never say «te aviso
81
+ cuando apruebe».
82
+
74
83
  MCP uses `agency_update({change:{action:"settings",displayName,replyTo,
75
84
  expectedRevision,userConfirmed:true}})` or action `brand_limit` with `brandId`,
76
85
  `monthlyCredits` and `expectedRevision`. `team_manage` has actions `invite`,
@@ -12,7 +12,7 @@ Fields (optional except `schemaVersion:1`):
12
12
  |---|---|
13
13
  | `voice` | `{mode:"original"}` or `{mode:"none"}`; generated voice requires `{mode:"catalog"\|"cloned",provider,voiceId}`. Never infer a cloned voice. |
14
14
  | `music.intensity` | `none\|subtle\|present` or `null`; none disables music only. Qualitative prominence, not a universal volume/LUFS target. `music:null` clears the block. |
15
- | `sfx.library` | `{bankId:"my-sounds"}`. Use `search_sfx` / `sfx search`, or explicit local mode; keep actual directory/map paths in private local files. An ID does not prove access. |
15
+ | `sfx.library` | `{bankId:"my-sounds"}`. Use `list_sfx` / `sfx sheet` to see the bank, `search_sfx` / `sfx search` to query it, or explicit local mode; keep actual directory/map paths in private local files. An ID does not prove access. |
16
16
  | `sfx.generation` | `allowed\|forbidden`; preference does not authorize spending or verify tool access. |
17
17
  | `sfx.density` | `none\|sparse\|moderate\|dense`; qualitative, not a sound quota. |
18
18
  | `sfx.character` | `organic\|digital\|cinematic\|mixed` or `null` for adaptation. A preference, not a mandatory sound on each cut. |
@@ -86,12 +86,14 @@ SFX, language, media-source or access restrictions. Never write one merely to
86
86
  silence an error. If the installed client/service does not support the field,
87
87
  update to a release that supports it instead of changing the shared brand.
88
88
 
89
- For sound selection, read [SFX library](sfx-library.md) on demand: search fitting candidates, retrieve the pinned asset, audition and place by purpose. Do not borrow another member's files, silently switch a configured bank, or interpret empty results as permission to generate/buy. A library's presence alone does not forbid generation, but generation preferences never authorize spending. Recheck workflow before rendering and listen to the actual final mix.
89
+ For sound selection, read [SFX library](sfx-library.md) on demand: search fitting candidates, retrieve the pinned asset, audition and place by purpose. Do not borrow another member's files, silently switch a configured bank, or interpret empty results as permission to generate/buy. A library's presence alone does not forbid generation, but generation preferences never authorize spending. When the library lacks a sound or a variant, the optional local [earshot fallback](sfx-library.md#generated-fallback-with-earshot-optional-local) renders a catalogue design by id; it never replaces the library. Recheck workflow before rendering and listen to the actual final mix.
90
90
 
91
91
  ## Clean dialogue only when useful
92
92
 
93
- For requested noise reduction or inspected interference with speech, use
94
- [optional DeepFilterNet3 cleanup](voice-cleanup.md). Preserve the original and
93
+ For requested noise reduction, inspected interference with speech, or a constant
94
+ background hiss/hum under the voice (air conditioning, fans), propose
95
+ [optional DeepFilterNet3 cleanup](voice-cleanup.md) (`editorbrain audio cleanup`;
96
+ the one-time install needs the user's yes). Preserve the original and
95
97
  meaningful ambience; an unprocessed-audio instruction wins. Run on the intended
96
98
  dialogue track before final mixing, verify latency/sample count and compare
97
99
  naturalness at matched listening levels. It is an external host tool with a
@@ -232,6 +234,8 @@ When normalizing elsewhere, inspect actual processing mode: FFmpeg [loudnorm](ht
232
234
 
233
235
  ### Retakes and speech cuts
234
236
 
237
+ Where the person, the style or the reference does not decide how tight to cut, begin from the [measured starting points](starting-points.md) for that kind of video: pauses inside a sentence, pauses at the end of one and how soon the first word arrives. After mixing, `production audio-check` with the script tells you whether any word was lost or clipped ([quality checks](quality-checks.md)).
238
+
235
239
  ASR can collapse repeated takes into one phrase with an abnormally long word.
236
240
  Inspect suspicious durations and repeated starts in short source windows; retain
237
241
  one complete take rather than both attempts or half a word from each. Compare the
@@ -31,8 +31,11 @@ Por MCP: `list_caption_styles`, `get_caption_style`,
31
31
  4. Sus favoritos de subtítulos que encajen con el material, el tono y la
32
32
  legibilidad. Un like es una señal de gusto, no una obligación: un estilo que
33
33
  encaja mejor gana a un favorito que no encaja.
34
- 5. Búsqueda en el catálogo con el brief (nicho, ritmo, plataforma, si hay datos
35
- o números, si la persona ocupa el centro del cuadro).
34
+ 5. La hoja del catálogo: `editorbrain captions sheet --brief "…"` (nicho, ritmo,
35
+ plataforma, si hay datos o números, si la persona ocupa el centro del cuadro).
36
+ Lee todas las filas y juzga por `useFor` y `avoidFor`, no por el nombre; pide
37
+ el detalle solo de tres a cinco (`--ids a,b,c --detail`). El brief ordena, no
38
+ esconde. Ver [elegir en las bibliotecas](library-sheets.md).
36
39
 
37
40
  Cuando haya que decidir, presenta 2–3 opciones en Studio (fase de direcciones)
38
41
  con su vista previa, nunca como texto en el chat. Un estilo `behind` solo se
@@ -94,8 +97,32 @@ una palabra mal transcrita conserva su tiempo medido.
94
97
  editorbrain captions prepare --project mi-video --file words.json --out .editorbrain-local/mi-video/subtitulos.html
95
98
  ```
96
99
 
97
- El HTML es transparente y determinista (`editorbrainSeek(segundos)`). Para un
98
- estilo `behind`:
100
+ El HTML es transparente y determinista (`editorbrainSeek(segundos)`). Los
101
+ tiempos de `words.json` son segundos del video final (ya remapeados por los
102
+ cortes). Si el ASR trae palabras encimadas unos milisegundos, `prepare` recorta
103
+ el final de la anterior y lo avisa en `warnings`; un hueco de más de 1 s abre un
104
+ cue nuevo. `--out` debe ser un archivo nuevo.
105
+
106
+ **En HyperFrames** (receta usada en la prueba del 25-11-2026): deja el HTML sin
107
+ tocar junto a la composición, cárgalo en un iframe a tamaño de salida y muévelo
108
+ desde el timeline pausado con un tween que dura todo el video:
109
+
110
+ ```html
111
+ <iframe id="subs" src="subtitulos.html" style="position:absolute;inset:0;width:1080px;height:1920px;border:0;background:transparent;pointer-events:none"></iframe>
112
+ <script>
113
+ const subs = document.getElementById('subs'), clock = {t: 0};
114
+ // DURATION = duración del video en segundos; tl = el timeline de la composición.
115
+ tl.to(clock, {t: DURATION, duration: DURATION, ease: 'none',
116
+ onUpdate: () => subs.contentWindow?.editorbrainSeek?.(clock.t)}, 0);
117
+ </script>
118
+ ```
119
+
120
+ `editorbrainSeek` termina en microtareas cuando las fuentes ya cargaron, antes de
121
+ que se capture el cuadro. Revisa el primer segundo y un par de cortes en la hoja
122
+ de cuadros. No edites el HTML generado para exponer su `render`: cambia su hash
123
+ y la siguiente `prepare` lo pierde.
124
+
125
+ Para un estilo `behind`:
99
126
 
100
127
  1. Genera y revisa la máscara del montaje completo (`production matte`,
101
128
  `production review-sheet --matte`; ver local-production).
@@ -0,0 +1,45 @@
1
+ # Choice page: show options instead of describing them
2
+
3
+ Use it whenever a person has to choose something they need to see or hear: three openings of their own video, a look, subtitles, a sound, an animation. To show or compare whole styles use a [muestrario](style-glance.md) instead; [visual pages](visual-pages.md) says which page fits. It is one local page with the options side by side. They look, then answer in the chat. It uploads nothing, spends nothing and saves nothing by itself.
4
+
5
+ ## Make one
6
+
7
+ 1. Write `options.json` in `.editorbrain-local/PROJECT/` (private, never synced) with the fields below. Never put it, or any other working JSON, inside `videos/PROJECT/`: sync reads that folder as project documents. Write every text in the person's language.
8
+ 2. Run `editorbrain choices show --file .editorbrain-local/PROJECT/options.json --lang es` (`--lang en` for English). It checks the file, writes the page into a visible `Opciones` folder (`Options` in English) of the project, copies local previews beside it and opens it in their default browser.
9
+ 3. Read the result. With `"opened": true`, say "I opened a page in your browser", what they are looking at and which number you recommend. Do not paste the file path or a `file://` link: to most people it looks like a virus, and the chat is not where they look. Only with `"opened": false`, tell them the page is in the `Opciones` folder of their project and give the path once.
10
+ 4. Ask them to answer with the number. Do not assume they saw it; if they do not answer about it, ask whether the page opened.
11
+ 5. Their answer is the choice. Save it at the scope they mean, following the guide that sent you here.
12
+
13
+ Running it again with the same title refreshes the same page. `--dir` chooses the project folder (default: the current one); `--no-browser` only writes the page.
14
+
15
+ ## Fill `options.json`
16
+
17
+ | Field | Use |
18
+ |---|---|
19
+ | `title`, `note` | What they are choosing and, in one line, why these options fit them. The title also names the file. |
20
+ | `fonts` | Google Fonts families used by the options. They load when the computer is online. |
21
+ | `multiple` | `true` when several answers make sense, such as favourite letterings. |
22
+ | `options[].name`, `why` | A short name and one line on what this option does for their video. For a library piece keep its catalog name, so they can find it in the library. |
23
+ | `options[].recommended` | `true` on the one you would pick. Exactly one. |
24
+ | `options[].look` | Colours and lettering drawn on a phone frame: `background`, `text`, `accent`, `heading`, `body`, plus the `headline` and `line` to display. Use a real headline from their topic. Write each lettering with a fallback kind so the options still differ offline: `"Fraunces, serif"`, `"Baloo 2, ui-rounded, sans-serif"`, `"Caveat, cursive"`. The page shows no font names; describe the lettering in `why` in plain words. |
25
+ | `options[].caption` | A subtitle drawn over the frame: `text`, `font`, `color`, optional `highlight` (colour of the emphasised word), `emphasis` (that word), `background`, `uppercase`, `outline`, `position` (`bottom`, `middle`, `top`). Combine with `look` or `media`. |
26
+ | `options[].media` | A real preview instead of a drawing: a video, an image or a sound. Use an absolute path or one relative to `options.json` (for example the two openings you rendered; the command copies it beside the page) or an `https` preview from the library (`demoUrl` from `editorbrain styles sheet --ids … --detail`). Videos play muted in a loop and a tap turns the sound on; a sound gets its own play button. A temporary preview link without a file name (an animation preview) is accepted too: the page downloads it once and keeps its own copy, so pass it right after you get it. |
27
+
28
+ ```json
29
+ {"title": "Elige el look de tu marca", "note": "Los armé pensando en tu cafetería.", "fonts": ["Fraunces", "Inter"],
30
+ "options": [
31
+ {"name": "Tostado", "why": "Cálido y artesanal, como tu barra.", "recommended": true,
32
+ "look": {"background": "#1E1611", "text": "#F6EDE0", "accent": "#E8A33D", "heading": "Fraunces, serif", "body": "Inter, sans-serif",
33
+ "headline": "El café que tomas no es el que crees", "line": "3 señales de un buen espresso"}},
34
+ {"name": "Tu apertura", "why": "Empieza con el resultado.", "media": "renders/apertura-1.mp4"}]}
35
+ ```
36
+
37
+ Give two or three options that are clearly different from each other; up to five only when they ask to see more (two to nine are accepted; keys 1 to 9 select). Options must differ in composition, type size or motion, not only in background tone: «son casi la misma» was the answer every time they did not. Five near-identical palettes teach nothing. Use the person's real words, product and colours; an option that could belong to anyone is a wasted slot. The EditorBrain libraries already hold subtitles, styles, animations and sound effects: show those with `media` and their real preview, never a drawing or a description of what one might be like. Draw with `look` and `caption` only what is new for this person, such as their colours and lettering.
38
+
39
+ ## Without the CLI
40
+
41
+ When the host cannot run `editorbrain` on their computer, show the same options with the host's own artifact or preview pane, or as images or videos in the chat, numbered the same way. Never invent a local link.
42
+
43
+ ## Handing over the finished video
44
+
45
+ When they approve the final video, leave a copy where they look for files: `editorbrain projects deliver --file renders/final.mp4 --name "Reel de la cafetería"` (`--to downloads` or `--to FOLDER` if they prefer or the Desktop is refused; `--lang en` for English). It never moves or replaces anything. Tell them where it is in plain words, as the result's `next` says ("it's on your Desktop as …"), not as a system path.
@@ -23,6 +23,17 @@ Serialized catalog size is not a measurement of billed token savings. No
23
23
  profile requires installing a skill or CLI; existing CLI/API commands remain
24
24
  compatible. Discover profile/tool support before relying on it in an older service.
25
25
 
26
+ ## Default task catalog
27
+
28
+ `https://api.editorbrain.com/mcp` with no query uses the task catalog. Related
29
+ reads share a tool such as `proyecto`, `marca`, `estilo`, `referencias` or
30
+ `revision`. Quotes (`transcribir`, `imagen`, `voz`, `musica`, `render_quote`) do
31
+ not spend. `studio_run` and `render_submit` are the charging calls. `entregar`
32
+ attaches an uploaded final, registers the review and returns the link; it does
33
+ not approve. `get_tool_guide` maps an older name to the current invocation.
34
+ `?profile=standard` keeps the previous full catalog for debugging. Operator
35
+ support tools are only on `/mcp/operator`.
36
+
26
37
  ## Workflow profile and preparation (discover availability)
27
38
 
28
39
  The optional `/mcp?profile=workflow` groups related operations into typed domain
@@ -433,9 +444,11 @@ GET requests use bounded retries and respect Retry-After. Writes are not retried
433
444
 
434
445
  `editorbrain setup --dir ./mis-videos --agent codex --workspace <expected-id>` authorizes the CLI when necessary, pulls documents, installs the complete skill and registers an absent MCP connection. Use `claude`, `gemini`, `both` (Claude Code and Codex) or `all` for other hosts. The expected ID is a check, never authorization. Setup preserves existing MCP entries and customized guidance. Exit 2 means action is still required; inspect each step instead of repeating blindly. `--no-browser` defers MCP registration; `--skip-mcp` prepares only the CLI/skill.
435
446
 
436
- Install code (one line from the web): when the user gives a code like `EB-XXXXX-XXXXX`, run `editorbrain setup --code EB-XXXXX-XXXXX --agent claude|codex|gemini|both|all [--dir folder]`. It redeems the code once without a browser, stores the account credential like `login`, and with `--mcp-auth key` (the default with `--code`) registers MCP with that credential in a header: Claude Code in user scope, Codex in `config.toml` (`$CODEX_HOME`), Gemini CLI in its user `~/.gemini/settings.json` (never the project folder). No `/mcp`, `/mcp auth` or `codex mcp login` step is needed; open a new agent session so the server loads, then call `workspace_info`. An existing EditorBrain connection is preserved, not replaced. Codes expire in 10 minutes and work once: on `SETUP_CODE_INVALID` ask the user for a new code instead of retrying. Never repeat the code or the credential in chat or files; `--mcp-auth oauth` keeps the browser flow below.
447
+ When the user gives an install code from the web, run `editorbrain setup --code EB-XXXXX-XXXXX --agent claude|codex|gemini|both|all [--dir folder]` with the chosen host. Setup redeems the code once without a browser and stores the account credential like `login`. The default `--mcp-auth key` configures the credential in a header in Claude Code user scope, Codex `$CODEX_HOME/config.toml`, or Gemini CLI user `~/.gemini/settings.json`. Setup preserves existing connections. Codes expire after 10 minutes. On `SETUP_CODE_INVALID`, ask for a fresh code. Keep codes and credentials out of chat and files.
448
+
449
+ When `cliReady` is true, continue in this chat using the returned route. For a guided first edit, follow the [first creative conversation](workflows/first-creation.md#open-the-first-creative-conversation). If MCP is loaded, verify `workspace_info` against the CLI workspace before using it. Otherwise continue with the verified CLI. See the [installation handoff](workflows/setup.md#handoff-from-installation) for unfinished setup.
437
450
 
438
- Codex can use `codex mcp login editorbrain`; Claude Code completes OAuth from `/mcp`; Gemini CLI uses `/mcp auth editorbrain`. Gemini CLI reads the skill from `.gemini/skills/editorbrain` and `GEMINI.md`; a different copy in `.agents/skills/editorbrain` takes precedence there. Native host configuration is not proof of an authenticated MCP. Call `workspace_info` inside the host and compare it with CLI `status`. A read-only consent cannot save documents: ask for editing scope only when needed. Revoke OAuth connections from the app’s connection settings. CLI device credentials and MCP OAuth connections are separate.
451
+ With `--mcp-auth oauth`, Codex can use `codex mcp login editorbrain`; Claude Code completes OAuth from `/mcp`; Gemini CLI uses `/mcp auth editorbrain`. Gemini CLI reads the skill from `.gemini/skills/editorbrain` and `GEMINI.md`; a different copy in `.agents/skills/editorbrain` takes precedence there. Native host configuration is not proof of an authenticated MCP. Call `workspace_info` inside the host and compare it with CLI `status`. A read-only consent cannot save documents: ask for editing scope only when needed. Revoke OAuth connections from the app’s connection settings. CLI device credentials and MCP OAuth connections are separate.
439
452
 
440
453
  `editorbrain narrative search [query] --kind hook --channel visual` finds candidates. `narrative get <video-id> --sha256 <document-hash> --event-offset 0 --relation-offset 0 --limit 50` pages through one pinned narrative document; follow returned offsets. Missing narrative coverage stays explicit.
441
454
 
@@ -594,6 +607,7 @@ shared API key must not change them.
594
607
 
595
608
  `production present --project ID` reads current evidence and its CAS `version`.
596
609
  After an actual handoff, `production present --project ID --file receipt.json`
610
+ plus `--user-confirmed-viewed` once the user confirmed seeing the Studio,
597
611
  records the exact phase/artifact and explicit `presented:true`; it does not render,
598
612
  upload media, approve a sample or change the review mode. MCP names are
599
613
  `get_review_evidence`, `record_review_evidence` and `revoke_review_evidence`.
@@ -4,13 +4,24 @@ How to interpret the confirmed editorial profile of a brand: the JSON block betw
4
4
 
5
5
  Brands saved before this guide existed repeat the same rules inside design.md; `resolve` and `export` show them in the compact form. Both describe the same fields.
6
6
 
7
+ **The user's own choices («A mi manera»).** design.md may also hold a block between `<!-- editorbrain:custom-choices -->` and `<!-- /editorbrain:custom-choices -->`: the user's own words for a section, written because no listed option fit. Resolved context shows them as `customChoices` (keys `ask`, `review`, `hook`, `editing`, `text`, `audio`, `format`, `close`, `limits`). Each one wins over the saved option of that same section; `limits` adds to the chosen limits. Apply them as written and never rewrite them. If one cannot be met with the material, tools or permissions of the project, say so and ask; do not swap in a listed option silently.
8
+
9
+ ## Variants per moment (`variants.json`)
10
+
11
+ `.editorbrain/brands/<brand>/variants.json` = `{"schemaVersion":1,"enabled":true,
12
+ "moments":["hook","cta"],"count":3}`; moments are `hook|title|cta|captions`,
13
+ count `2|3`. Absent means the product default (ON, hook + cta, 3) and
14
+ `editorialSnapshot.variants.isDefault` is true. Users change it in
15
+ **Cómo editas → Variantes por momento** (/app/preferences); an explicit request for one video overrides it
16
+ for that video only. How it changes the edit: [editing flow](workflows/start.md#produce-the-editing-flow).
17
+
7
18
  ## Rules (as written for the user, in Spanish)
8
19
 
9
20
  Estas preferencias pertenecen a esta marca. experience regula la explicación y acompañamiento, nunca la calidad: a principiantes explicar decisiones con ejemplos y lenguaje simple; a profesionales ofrecer control y decisiones precisas sin tutoriales innecesarios. role indica el contexto de trabajo; no mezclar marcas ni preferencias de clientes distintos. creatorContext describe el equipo y su revisión editorial; no crea miembros, no autoriza publicar ni comparte preferencias entre clientes. Interpretar solo las respuestas aplicables al rol vigente; las demás se conservan para un cambio posterior. Cada cliente tiene su propia marca. contentPresence describe quién suele aparecer (face, voice, ai, others, screen o product) y formatos secundarios; no demuestra qué material tiene este proyecto ni autoriza generar personas, avatares, clonar voces, habilitar fuentes o cambiar audio, revisión o gasto. Inspeccionar el material actual; ocultar un control no borra sus elecciones. referenceLinks son inspiración aportada por el usuario, no evidencia analizada ni permiso para descargar o redistribuir. Comprueba su contenido antes de atribuir técnicas. Los campos vacíos están por definir; no son autorizaciones. Adapta las preferencias al guion, los recursos y la plataforma del proyecto. Respeta las restricciones de avoid. Los pedidos actuales explícitos gobiernan la tarea; conserva las excepciones en el ámbito del proyecto. Los tokens obligatorios de marca siguen en tokens.json y requieren una excepción deliberada con motivo para cambiarlos.
10
21
 
11
22
  creativeDirection separa quién decide del modo de revisión: automatic encarga al agente elegir la dirección de cada video consultando material y evidencia de la biblioteca de ediciones; guided parte de tus elecciones y resuelve los detalles abiertos. La calidad exigida es la misma. En automatic no exigir un cuestionario de estética ni imponer una plantilla; favoritos orientan y las restricciones explícitas siguen vigentes. No borrar preferencias ni guardar automáticamente las decisiones del proyecto como estilo de marca. Un estilo reutilizable se guarda cuando el usuario lo pide. creativePreferencesReviewed registra únicamente categorías revisadas explícitamente por el usuario, incluyendo su decisión de delegar campos abiertos. No inferir revisiones por valores precargados ni marcarlas al saltar pasos. Con guided explícito, completar las categorías pendientes antes de editar salvo questionMode=autonomous, que delega los detalles abiertos para ese proyecto sin marcar categorías confirmadas; conservar elecciones previas y no repetir las ya confirmadas. automatic conserva ese registro para un cambio posterior. La ausencia de creativeDirection conserva el comportamiento previo. project.json puede cambiar creativeDirection solo para ese video. No modifica revisión, integraciones, gasto ni permisos.
12
23
 
13
- questionMode regula las consultas: essential pregunta solo por información fundamental que no pueda inferirse; collaborative propone y consulta hasta tres decisiones por ronda; autonomous no pregunta, resuelve detalles reversibles con evidencia y deja pendiente la acción o video que necesite material o autorización indispensable. Consultar primero material, pedido y preferencias; no repetir respuestas. En lotes continuar videos independientes. No inventar hechos, destinos de CTA, acceso o presupuesto; no cambiar revisión ni autorizar gastos. Una excepción en project.json se aplica solo a ese video.
24
+ questionMode regula las consultas. En collaborative, el valor predeterminado, el agente propone ideas y consulta decisiones que cambian la edición. Si la persona elige autonomous, el agente decide detalles reversibles con la evidencia disponible y deja pendiente cualquier acción que requiera material o autorización. Reutilizar el pedido y las preferencias. Una excepción en project.json se aplica solo a ese video y conserva las reglas de revisión y gasto.
14
25
 
15
26
  Las referencias indican únicamente los aspectos que gustaron o se quieren evitar. Consulta su evidencia por videoId y exampleId antes de adaptar; un frame no demuestra ritmo ni sonido. No copies toda la edición ni heredes colores o tipografías automáticamente. Una selección sin aspectos solo indica interés, no una técnica confirmada.
16
27
 
@@ -4,6 +4,8 @@ Use this only when the user's environment or project is not ready. Do not re-onb
4
4
  to reuse supplied material, selections and answers; setup is only for a missing
5
5
  dependency, not a required introduction on every video.
6
6
 
7
+ After authentication, use the personal route in setup or `prepare_edit.firstCreation`. For guided creation follow the [first creative conversation](workflows/first-creation.md#open-the-first-creative-conversation); a completed web setup uses the existing brand.
8
+
7
9
  ## Establish a working workspace
8
10
 
9
11
  - For local work, choose or reuse one EditorBrain folder for this workspace/device and open it in Claude Code, Codex or Gemini CLI. Keep each video's files under its own project destinations. Installing npm/npx or connecting MCP does not organize existing files. A host without filesystem access uses service documents/assets and needs neither a local folder nor CLI.
@@ -0,0 +1,56 @@
1
+ # First session: a reference, an example and their material
2
+
3
+ Step 2 of [Speed Brain](workflows/first-creation.md). The person chooses by pointing at real things, never by describing. In the same step you get the material the video needs.
4
+
5
+ ## A reference of theirs
6
+
7
+ Ask first: «¿Tienes un video que te encante, de quien sea y del tema que sea? Me sirve para ver el estilo que te gusta.» A video they love beats any style you pick.
8
+
9
+ What you can really do with it today:
10
+
11
+ - **A file** (downloaded video, screen recording, screenshots): learn it with [reference](../../editorbrain-reference/SKILL.md) before describing it. It measures cuts, pace and text on this computer and spends nothing.
12
+ - **A link**: EditorBrain does not download videos from platforms. Ask for the file saved from the app, a screen recording of it, or four or five screenshots of its best moments. If they cannot, ask them to describe it in one sentence (rhythm, text, background) and work from that.
13
+ - Tell them three things it does in plain words and numbers («cambia algo cada segundo, letras enormes, la persona recortada»). Their reference leads over your suggestions; imitate how it is edited, never its logos, footage or brand.
14
+
15
+ ## Or two or three real styles
16
+
17
+ No reference: show catalog styles. They are the recipes: each is a finished video with tested code and its own checklist, included in every plan.
18
+
19
+ 1. Read the style sheet for what they bring, in one call:
20
+
21
+ ```sh
22
+ editorbrain styles sheet --needs recording|voice|none [--only-clip] [--brief "what the video is about and for whom"] [--lang en]
23
+ ```
24
+
25
+ MCP: `list_style_packs` with `view: "sheet"` and the same fields.
26
+ - Read every row and judge by structure and feel, never by the name. Match the style to what the video is for ([what must be on screen](first-session-video.md#what-the-video-is-for-decides-what-must-be-on-screen)), not to their business type.
27
+ - Check the length the style was made for against their script. A style made for 10–20 s cannot be stretched over a 40 s script: pick one built for that length, or plan to repeat its body pattern with more beats ([pacing](first-session-video.md#pacing-comes-from-the-script)).
28
+ - Nothing recorded: read `none` and `voice`. A voice style needs a voice that can really be made in this session (`editorbrain studio catalog` lists it, or their own tool answers). Never offer what you cannot finish.
29
+ - Shortlist three to five, then `editorbrain styles sheet --ids a,b,c --detail` for demos and versions.
30
+ 2. Show two or three side by side in a muestrario: `editorbrain styles glance a b c` ([style glance](style-glance.md)); without the CLI give `glanceCompareUrl`. Recommend one and say why in a line, say the demo carries another brand and theirs will carry their own, and that anything in it can change.
31
+ 3. Give the library link from `learning.links` («si ves otro que te guste, pégame su nombre»).
32
+ 4. If nothing fits well, say so and show the closest; never present a style as something it is not. Then build from the library's animations ([choosing from the libraries](library-sheets.md)), not from hand-made cards.
33
+
34
+ Their pick is a suggestion for this video. It becomes their style when they confirm it on the profile card.
35
+
36
+ ## Their material is a step
37
+
38
+ When the video is about a business, a product, a place, a portfolio or a course, real material is what makes it theirs. Ask for it in this step, before you build anything, and say why in a line:
39
+
40
+ | Video about | Ask for |
41
+ |---|---|
42
+ | A product or local business | 1–3 photos: the product, the place, the team. A phone photo is fine |
43
+ | A portfolio or service | 2–3 images or mockups of real projects |
44
+ | A course or class | A class clip, slides or a photo of them teaching |
45
+ | A recording of themselves | The file (all of it, you watch and listen before proposing) |
46
+ | An app or software | A screen recording |
47
+
48
+ Also invite their logo; take colours and tone from it yourself.
49
+
50
+ - If they have none, say what the video will show instead, before you build: «sin fotos, el video va con letras grandes y tus colores; si luego me mandas una foto del café, la meto».
51
+ - A generated image only with their yes and its price, and said to be an illustration («es una imagen generada, no tu café real»). Never where a real one could mislead: a building on presale, a result, a person ([media](real-media.md)).
52
+ - Never draw their product with shapes or code, and never leave the demo's pictures or icons.
53
+
54
+ ## Showing options
55
+
56
+ Whole styles go in a muestrario; looks, subtitles, sounds and openings of their own video go on a [choice page](choice-page.md) (`editorbrain choices show`). Which page for which moment: [visual pages](visual-pages.md). One page per decision.
@@ -0,0 +1,59 @@
1
+ # First session: money, their own tools and their plan
2
+
3
+ Open it from [Speed Brain](workflows/first-creation.md) whenever a cost, credits, an AI tool, their plan or a client comes up.
4
+
5
+ ## Money, in plain words
6
+
7
+ Read the prices before you mention a cost, and whenever they ask «¿esto cuesta?»:
8
+
9
+ ```sh
10
+ editorbrain billing prices --plan PLAN [--lang en]
11
+ ```
12
+
13
+ MCP: `billing_status.prices`. It gives you the sentence that explains a credit, what never uses credits, the price of each tool with examples, how far their balance goes and the plan prices.
14
+
15
+ - Answer with those numbers, rounded up to whole credits. Never quote a price from memory. The examples in `billing prices` are for a set length: quote this job (`studio quote`) before asking for the yes, and quote again if the quote expired.
16
+ - Editing with their material, the library's styles, subtitles and sounds, and saving their brand and rules never use credits. Say so early: it removes the fear of spending by accident.
17
+ - Before a paid tool, give the approximate cost and ask for a yes with a ceiling («hasta 10 créditos»).
18
+ - Afterwards say exactly how many were used and how many are left.
19
+
20
+ ## Their own tools come first
21
+
22
+ People may already pay for tools that make voice, images, music or video (Higgsfield, ElevenLabs, Suno or any other) and have them connected to this same chat. Those work with EditorBrain: the result goes into their video the same way.
23
+
24
+ - If this chat has such a tool, say so and offer it: «veo que tienes Higgsfield conectado; puedo hacer la imagen ahí, con tu cuenta, sin gastar créditos de EditorBrain».
25
+ - That tool charges them, not EditorBrain. Say whose balance it touches and still ask before generating.
26
+ - Check that the tool really answers in this session before you promise it ([integrations](integrations.md)). A tool they only mention is not connected; do not send them to set one up in the middle of their first video.
27
+ - Without one, EditorBrain's [AI tools](studio.md) are the default and nobody has to sign up anywhere else.
28
+ - If they say they always want their own tool, save that preference ([integrations](integrations.md)) so the next video does not ask again.
29
+
30
+ ## Fit their plan
31
+
32
+ Read `learning.plan` now (`get_first_creation` / `editorbrain onboarding journey`) before promising anything; the install output can be out of date. The session works on every plan. Offer only what theirs has; if they ask for more, say so and give the link, without selling.
33
+
34
+ | Plan | In this session |
35
+ |---|---|
36
+ | Gratis | One brand and a starting balance. Keep the video short so the credits cover it. |
37
+ | Creator | A second brand, premium animations and [formats](../../editorbrain-formats/SKILL.md): propose one when the idea fits, such as an ad or a reel series. |
38
+ | Pro | Several brands, editors and reviews with the client's brand. If they edit for others, set up the first client. |
39
+ | Comunidad | Pro plus the library of viral ads: point to it when they sell a product. |
40
+ | Agencia | Client portals, emails with the agency's name and a team: make [a client's first video](#a-clients-first-video). |
41
+
42
+ ## A client's first video
43
+
44
+ When they edit for a client, the Speed Brain is about that client.
45
+
46
+ - Create the client's brand with the client's name and colours. Put the answers in a file with a new `brandId` and the client's `identity.name` and `identity.description` ([records](first-session-records.md)), then:
47
+
48
+ ```sh
49
+ editorbrain onboarding choices --new-brand --file intake.json
50
+ editorbrain onboarding choices --new-brand --file intake.json --apply PLAN_HASH
51
+ ```
52
+
53
+ Include `"language":{"defaultLanguage":"en"}` when the client's audience reads English, so their review page is in English. Later saves for that brand use the same command without `--new-brand`. `BRAND_LIMIT_REACHED` means their plan has no room: say it plainly with the number («en Gratis tienes una marca, la tuya; para tu cliente necesitas Creator o más»), make the video in a project of their brand with the client's colours set in that project only, and keep the client's notes and corrections in that project, never in the owner's brand. Never delete or reuse another brand to make space.
54
+ - Keep the two apart: what they tell you about their agency (its city, its name, its contact) never goes into the client's brand.
55
+ - Make the video in a project of that brand, not in the starter project, and create it before you record any progress: the session stays tied to the first project you record. If you already recorded progress in the starter project, send `start-agent` again with the client's `projectId`; it moves the session there and you record `intent` and `style` again. A new brand has no earlier project to copy from, so pass both: `editorbrain projects create ID --brand BRAND --style STYLE --output-profile PROFILE --name "…"` (take the style and output profile from the starter project).
56
+ - The agency's own name and logo belong to the [agency](agency.md) settings, never to the client's brand.
57
+ - Show the review link the client will get and say what the client will see: the client's brand, and on Agencia «Preparado por» with the agency's name or logo. The owner uploads the agency's logo on the web, in `https://editorbrain.com/app/agency`.
58
+ - If the client has to approve before it is final, share that version from the client's project (`editorbrain production review --project CLIENT_PROJECT --file VIDEO --share`), paste the link it returns to the owner so they open it first, and [close while they approve](first-session-video.md#when-someone-else-has-to-approve).
59
+ - The team is invited on the web (`https://editorbrain.com/app/team`); you cannot do that from here with the usual connection.
@@ -0,0 +1,22 @@
1
+ # Guide pages: a picture instead of a paragraph
2
+
3
+ Five ready pages explain EditorBrain to the person. Each opens in their browser as a local file; nothing is uploaded. Use one when a picture would land better than your explanation, at most one per step. They support [Speed Brain](workflows/first-creation.md) and work in any later conversation too.
4
+
5
+ ```sh
6
+ editorbrain guides list [--lang en]
7
+ editorbrain guides show speed-brain|cerebro|regla|bibliotecas|pidelo [--lang en] [--dir FOLDER]
8
+ ```
9
+
10
+ | Page | What it shows | Open it when |
11
+ |---|---|---|
12
+ | `speed-brain` | The four steps, who does what and how they will know it is over | They ask how this works, seem lost, or come back another day. Not with the welcome: it already lists the steps |
13
+ | `cerebro` | What EditorBrain keeps for them: brand, taste, rules, projects | They ask what EditorBrain is or what it saves, or right after their look is saved |
14
+ | `regla` | A correction that stays in this video or becomes a rule of their brand | After the first version, before you ask what they would change |
15
+ | `bibliotecas` | The libraries: styles, animations, subtitles and sounds, with links | They choose an example, or ask what there is to choose from |
16
+ | `pidelo` | How to ask for the next video in one sentence, and what uses credits | At the end, or when they ask how to ask or what costs |
17
+
18
+ - Say «te abrí una página en tu navegador» and one line on what they are looking at. The answer `opened: false` means it did not open: then give the `file` it returned.
19
+ - The buttons at the bottom of each page copy a sentence they can paste back to you. Treat a pasted one as their message.
20
+ - English aliases work (`brain`, `rules`, `libraries`, `ask`); with an English speaker add `--lang en`.
21
+ - A page never replaces doing the thing: show the page, then show their own video.
22
+ - When a page is open, keep your message short and do not repeat what the page says.
@@ -0,0 +1,63 @@
1
+ # First-session records: where each answer goes
2
+
3
+ Load it from the first session, [Speed Brain](workflows/first-creation.md), when you save an answer or record progress. It only covers the mechanics; the conversation leads.
4
+
5
+ ## Brand answers
6
+
7
+ | What | Where |
8
+ |---|---|
9
+ | Brand name, what they do, audience, tone, links | `identity` |
10
+ | `role` («Marca personal / creador», «Negocio / equipo de marketing», «Agencia / editor para clientes»), goal, platforms | `profile` |
11
+ | The language they speak with you | `language.defaultLanguage` (`es` or `en`). Their Studio page and the pages their clients open follow it, so save it for an English speaker, and always for a new client brand |
12
+ | What you learned about them: their problem, their goal, their context | `profile.notes`. A new note replaces the old one: send the whole text |
13
+ | How the brand should feel: three words and one «never» | `customChoices.editing` and `customChoices.limits`, in their words |
14
+ | Colours and lettering they gave or confirmed | `tokens`: `color.background`, `color.text`, `color.accent`, `typography.heading`, `typography.body` |
15
+ | The example style they chose | the project (`styles source ID --style-version V`); their taste in their words in `customChoices.editing` |
16
+ | Taste and limits in their words | `customChoices`: `hook`, `editing`, `text`, `audio`, `close`, `limits` |
17
+ | Subtitle style | `editorbrain captions use STYLE --project ID` for this video; their taste for the next ones in `customChoices.text` («etiqueta rosa, letra grande») |
18
+ | A choice for this video only | the project's direction, never the brand |
19
+
20
+ Put the answers in one file:
21
+
22
+ ```json
23
+ {"schemaVersion":1,"brandId":"studio",
24
+ "identity":{"name":"Dulce Nube","description":"Pastelería en Monterrey"},
25
+ "profile":{"role":"Negocio / equipo de marketing","notes":"Nunca has editado. Sientes que tus reels se ven caseros y casi nadie los ve."},
26
+ "tokens":{"color.accent":{"value":"#F2A9BC","strength":"preferred"}},
27
+ "customChoices":{"editing":"Sin cortes bruscos."}}
28
+ ```
29
+
30
+ - Keep `intake.json` and `event.json` in `.editorbrain-local/` of the working folder: never in `videos/PROJECT/` (sync reads that folder) and never outside the working folder: `onboarding journey --file` and `onboarding choices --file` only accept a file inside it.
31
+ - `profile.goal` and `profile.platforms` take exact option values; a rejected value lists the valid ones.
32
+ - CLI: `editorbrain onboarding choices --file intake.json`, then the same command with `--apply PLAN_HASH`. `phase: verified` means the service has it. Run `editorbrain pull` afterwards so the local folder shows it too.
33
+ - MCP: `plan_onboarding_update`, then `write_document` in the returned order.
34
+ - Read what a brand already has with `editorbrain onboarding status --summary --dir .` (it finds the brand of the folder; `--brand ID` for another one) or `get_onboarding_guide({brandId,detail:"summary"})`. Other fields and their options are in [onboarding](onboarding.md#configure-directly-in-an-mcp-chat).
35
+
36
+ ## What they will see on their web
37
+
38
+ Everything you save for a brand through the CLI or MCP shows filled in on their pages «Mi marca» and «Cómo editas», marked «Sin revisar» until they confirm or change it there. Only the person can mark it reviewed. Send them to those two pages (`learning.links.brand` and `learning.links.editingPreferences`), not to «Memoria» (`learning.links.memory`), which is for later corrections and can show 0 right after a first session. Safe order: present, approve, then save; saving after a presentation that was only local still asks to present again.
39
+
40
+ - Save each answer once. Saving the same value again does not mark it again; a different value does.
41
+ - Their contact and closing line go in `customChoices.close`, sound and voice in `customChoices.audio`, subtitle taste in `customChoices.text`, limits in their words in `customChoices.limits`.
42
+ - Write `profile.notes` in second person and plain words: it appears on «Mi marca» as «Lo que tu IA sabe de ti».
43
+ - After `--apply`, read `unreviewed.count` and `unreviewed.pages` (also in `onboarding status --brand ID --summary` / `get_onboarding_guide`).
44
+ - At the end tell them where to look: «lo que guardé está en tu página, en Mi marca y Cómo editas, marcado como "Sin revisar". Míralo una vez; si algo no es así, cámbialo ahí o dímelo».
45
+
46
+ ## Corrections that should last
47
+
48
+ Save their words as a note, one note per request: `editorbrain feedback add --project ID --text "…" --capture-memory` / `save_editorial_feedback`. When they said «para siempre» or confirmed it on the profile card, promote that note to the brand with [memory](memory-and-review.md), passing the rule in the wording they confirmed as `text` (optional `conditions`), not their raw quote; the quote stays as evidence. A single pick («la B») or a weak «ok» is not a rule. For a client without a brand of its own (the plan's brand limit), keep the client's notes in that project only and never promote them to the owner's brand. After a correction, set the checkpoint back to in progress before you sync (`editorbrain push --project ID`) and present the new version ([correction](workflows/correction.md)).
49
+
50
+ ## Progress
51
+
52
+ Their progress through the first session is personal. Record it with `update_first_creation` / `editorbrain onboarding journey --file event.json`, using the current `expectedRevision` and a new UUID as `operationId` each time:
53
+
54
+ ```json
55
+ {"action":"milestone","milestone":"intent","projectId":"introduction","expectedRevision":1,"operationId":"…"}
56
+ ```
57
+
58
+ - `start-agent` when they join in (already recorded when they chose this session on the web); `pause` or `skip` when they say so.
59
+ - Milestones, in order: `intent` (you know what the video is), `style` (the style or reference chosen or delegated), `sample` (they confirmed they saw the sample in Studio; record it right away, before saving brand changes), `brain` (they answered the profile card: confirmed or corrected it; a bare «ok» to something they did not read is not enough).
60
+ - `resume-web` needs `start-agent` before the first milestone.
61
+ - `{"action":"topic","topic":"captions","disposition":"shown","projectId":"…",…}` for a feature you really demonstrated; `later` or `dismissed` if they passed. Topics: `style`, `brand`, `captions`, `motion`, `audio`, `tools`, `projects`, `sharing`, `variants`.
62
+ - `complete-agent` after they accepted the final. The answer carries their `resultUrl`.
63
+ - `{"action":"complete-agent","awaitingApproval":true,"projectId":"…",…}` when the video is shared for someone else's approval and not final yet. It needs a review you shared for that project; without one it answers `FIRST_CREATION_REVIEW_SHARE_REQUIRED`. Record the final later with `projects finalize` when they confirm the approval.