editorbrain 0.56.0 → 0.57.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editorbrain",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "EditorBrain editorial knowledge, portable workspaces and skills for AI video agents",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: editorbrain
3
- description: "Edit, correct or resume a video with EditorBrain using the user's material, brand, preferences and review history. Also use for configuring EditorBrain, managing saved editing styles, or analysing a reference video the user wants to imitate."
3
+ description: "Edit, correct or resume videos with EditorBrain using the user's material, brand, preferences and review history. Load it FIRST, before inspecting or transcribing material or using another video skill, whenever the user mentions EditorBrain («edita con EditorBrain», «analiza estos videos para editarlos», «varios videos», «propuestas de estilo», «qué estilo le pongo», «antes de editar»; edit with EditorBrain, style proposals, several videos, plan before editing). Also use for configuring EditorBrain, managing saved editing styles, or analysing a reference video the user wants to imitate."
4
4
  ---
5
5
 
6
6
  # EditorBrain
@@ -12,6 +12,8 @@ creative freedom. No universal scene count, effect, music or source quota applie
12
12
 
13
13
  ## Enter at the current state
14
14
 
15
+ Load this skill before inspecting material. Each new video gets its own project;
16
+ read its review mode with `workflow prepare` / `prepare_edit` before proposing.
15
17
  Read **one** relevant workflow, or continue its already-loaded instructions:
16
18
 
17
19
  | Current request | Guide |
@@ -22,6 +24,9 @@ Read **one** relevant workflow, or continue its already-loaded instructions:
22
24
  | Present a proposal, sample or finished version | [Deliver](references/workflows/delivery.md) |
23
25
  | Set up, update or change preferences/connections | [Configure](references/workflows/setup.md) |
24
26
 
27
+ **More than one video → use `batches`:** one batch Studio, one upload with
28
+ `batches submit`, approve per video or all ([batch](references/production-continuity.md#multiple-videos-one-batch-isolated-projects)).
29
+
25
30
  These are entry points, not five mandatory stages. Skip resolved decisions and
26
31
  preserve scoped approvals. When the user hands over a video or images as a model
27
32
  to imitate («edita como este video», «analiza este video», «copia este estilo»),
@@ -83,7 +88,9 @@ submission and the user's choice of scope.
83
88
  ## Review and deliver the actual version
84
89
 
85
90
  Follow saved review mode: `direct` implements/reviews; `directions` presents
86
- alternatives; `sample` needs a representative preview and approval. Reuse valid
91
+ alternatives; `sample` needs a representative preview and approval. **Style
92
+ proposals never go as chat text:** present them in Studio, directions phase, as
93
+ 1–3 options with previews of real inspected references and one recommended. Reuse valid
87
94
  approval; never approve for the user. Direct mode still delivers the canonical
88
95
  Studio artifact. A path, uploaded file or generated HTML alone is not presentation.
89
96
  Use [delivery](references/workflows/delivery.md) for the current phase, exact
@@ -339,7 +339,7 @@ editorbrain library get <video-id>
339
339
  editorbrain library get <video-id> --document <returned-path>
340
340
  ```
341
341
 
342
- `list_style_packs.sourceStyles` lists exact style implementations separately from technique packs. MCP `get_style_source(id, version, sha256)` requires Creator/Studio and returns a short-lived verified-download link plus the selected guides. See [style source](style-source.md); source downloads are inert, and explicit local preparation applies project binding guards before rendering.
342
+ `list_style_packs.sourceStyles` lists exact style implementations separately from technique packs. MCP `get_style_source(id, version, sha256)` is free on every plan (catalog styles) and returns a short-lived verified-download link plus the selected guides. See [style source](style-source.md); source downloads are inert, and explicit local preparation applies project binding guards before rendering.
343
343
 
344
344
  `styles create/check` work locally without authentication. Create adds an isolated draft without changing any project's selected style. Check validates documents and declared local files/hashes; its warnings and manual checks still require editorial judgment. See [style creator](style-creator.md) for resource manifests, saving revisions and the equivalent workflow using existing MCP document tools. Neither command uploads files, executes a renderer or certifies quality.
345
345
 
@@ -48,8 +48,10 @@ On actual user correction/praise, call
48
48
  `editorbrain feedback add --project ID --text TEXT --capture-memory` immediately.
49
49
  The existing feedback note and suggested project memory commit together. Keep each
50
50
  observation faithful and within 800 characters. Optional `category` identifies
51
- captions/cuts/layout/motion/media/sound/color/story/other; `conditions` narrows its
52
- application. Neither changes scope or confirms anything. Retries reuse the exact
51
+ captions/cuts/layout/motion/media/sound/color/story/other and is stored on the note,
52
+ with or without capture. `conditions` and `preferenceIntent` (CLI
53
+ `--conditions`, `--preference-field/--preference-value`) describe the memory
54
+ suggestion, so they require capture. None changes scope or confirms anything. Retries reuse the exact
53
55
  text, even across days and transports; they never reactivate discarded suggestions.
54
56
  Plain `feedback add` and capture share one observation, including older day-based
55
57
  notes. Adding capture to a note-only observation creates its suggestion once;
@@ -74,12 +76,17 @@ confirmation, before continuing. This pulls dependent brand/style documents too;
74
76
  preserve and reconcile local conflicts, never force-overwrite or push a stale
75
77
  memory document. MCP-only agents refresh project context instead. A changed
76
78
  confirmed memory legitimately changes the effective context: verification returns
77
- `PRODUCTION_CONTEXT_CONFLICT`, `changedSources` and a concrete pull command.
79
+ `PRODUCTION_CONTEXT_CONFLICT` with the `changedSources` in the message and both
80
+ fixes. If the web is newer (web edit, confirmed memory) run
81
+ `editorbrain pull --project ID`. If your local edits are newer run
82
+ `editorbrain push --project ID --dry-run`, review the listed files, then the
83
+ scoped `editorbrain push --project ID`. Never overwrite either side blindly.
78
84
  Pending suggestions alone do not invalidate a render.
79
85
 
80
86
  `editorialSnapshot.memory.pending` includes text, conditions, origin and scope, at most 12
81
87
  entries (project first). `pendingCount`, `pendingTruncated` and `pendingScopes`
82
- identify the rest: read `get_editorial_memory` / `memory list` for those exact scopes.
88
+ identify the rest: read `get_editorial_memory` / `memory list --project ID` or
89
+ `--brand ID` for those exact scopes.
83
90
  At delivery show the proposals and offer project / brand / discard. The existing
84
91
  promotion API requires current source, target and project revisions plus the user's
85
92
  explicit choice. Discard uses `action:disable`; it is reversible. In autonomous mode
@@ -116,8 +123,10 @@ asset choices into everybody's preferences. See [production review](production-a
116
123
  for the comparison and [production continuity](production-continuity.md) when
117
124
  registering an exact-version approval.
118
125
 
119
- Read `get_editorial_memory({scope,scopeId})` / `editorbrain memory list --scope brand --id ID`
120
- for the current document revision. `save_editorial_memory` supports:
126
+ Read `get_editorial_memory({scope,scopeId})` / `editorbrain memory list --brand ID`
127
+ (`--project ID`, or `--scope style --id ID`) for the current document revision.
128
+ Both return `revision` and the parsed `memory: {schemaVersion, scope, scopeId, entries}`,
129
+ where `entries` includes scoped suggestions; the API also keeps the raw `content` string. `save_editorial_memory` supports:
121
130
  - `action:add`, `text`, optional `conditions`, explicit `status:suggested|confirmed`.
122
131
  - `action:confirm|disable|edit|remove`, `entryId`. Edits accept text/conditions; learning changes require explicit confirmation.
123
132
  All changes require `scope`, `scopeId`, `expectedRevision` (0 creates).
@@ -126,16 +126,28 @@ Keep direction selection distinct from final acceptance; never auto-approve opti
126
126
  or mark the project complete. A later correction may use the selected option as its
127
127
  parent. Inspect existing review and feedback state before changing versions.
128
128
 
129
- If the user approves in chat, record that existing exact-version decision with
130
- `approve_production_review` (`userConfirmed:true`), or:
129
+ ## Aprobación y entrega
130
+
131
+ Choosing a direction in Studio is a creative step, not an approval of delivery.
132
+ A sample approval (`production approve ... --user-confirmed`, MCP
133
+ `approve_production_review` with `userConfirmed:true`) lets you keep editing from
134
+ that exact version. When the user accepts the latest complete video as final, ONE
135
+ step approves it and completes the project:
131
136
 
132
137
  ```sh
133
- editorbrain production approve --project ID --revision UUID --context-version HASH --user-confirmed
138
+ editorbrain production approve --project ID --revision UUID --context-version HASH --user-confirmed --final --user-quote "sí, ese es el final"
134
139
  ```
135
140
 
136
- This is labelled **agent-recorded**; browser approval is labelled **human**.
137
- Do not approve autonomously, infer approval from playback or ask again for an
138
- unchanged effective approval. It approves this sample, not every future output.
141
+ MCP: `approve_production_review` with `final:true` and `userQuote`. Quote the
142
+ user's literal chat confirmation: it is recorded as **agent_chat** and shown on the
143
+ web (no quote: **agent-recorded**; the web's «Aprobar y entregar» is **human**).
144
+ Never approve autonomously, infer approval from playback or ask again for an
145
+ unchanged approval. `production submit` binds the review copy to its master hash:
146
+ approving the copy approves that master; deliver the master, never the copy. A
147
+ later `projects finalize` or local final of that same master is the same delivery.
148
+ Latest revision, pending changes, context and render delivery are still checked.
149
+ `projects complete` only records a final that is already approved; on
150
+ `FINAL_NOT_APPROVED` use `production approve --final`.
139
151
 
140
152
  ## Make the requested correction, preserve the rest
141
153
 
@@ -154,7 +166,20 @@ unaffected scenes, brand, sources and accepted direction. If the correction need
154
166
  a wider change, explain that dependency. Register a new sample with the old
155
167
  `revisionId` as `parentRevisionId`. Then `resolve_production_feedback`, or
156
168
  `production resolve-feedback --project ID --id FEEDBACK_UUID --file correction.json`:
157
- `{resultRevisionId,contextVersion,resultNote,preservedElements}`.
169
+
170
+ ```json
171
+ {
172
+ "resultRevisionId": "UUID of the new descendant sample",
173
+ "contextVersion": "editorialSnapshot.contextVersion from workflow check / check_workflow",
174
+ "resultNote": "Held the title 1.5 s longer at 0:12",
175
+ "preservedElements": ["Narration and cuts", "Brand colors", "All other scenes"]
176
+ }
177
+ ```
178
+
179
+ Limits: `resultNote` 1–1500 characters; `preservedElements` is one text or a
180
+ list of 1–50 non-empty strings, at most 2000 characters in total (a list is
181
+ stored as `- a\n- b`); the file stays under 8 KiB. Read `contextVersion` after
182
+ registering the new sample; the legacy `context.contextVersion` returns `stale_context`.
158
183
  Describe what changed and what stayed. A recorded correction is not proof that
159
184
  the viewer accepted it. A failed render must not replace the previous version.
160
185
 
@@ -223,19 +248,16 @@ tracking without claiming that the board was updated.
223
248
  It does not run a render, wake an agent or authorize paid tools.
224
249
  - New registered samples automatically appear **Para revisar**. Requested changes
225
250
  return to **En edición**. Sample approval alone never finishes a project.
226
- - When the user accepts the exact complete video as the final delivery, use existing
227
- production approval for that revision, read progress again, then `projects complete
228
- --project ID --revision UUID --expected-version HASH --user-confirmed` or MCP
229
- `update_project_progress` with `action:complete`, `revisionId`, `expectedVersion`,
230
- `userConfirmed:true`. Do not request the same approval twice; record an existing
231
- explicit final acceptance. A frame, preview, successful render or technical pass
232
- is insufficient. Only the latest current, available, approved video with zero
233
- pending project feedback can finish. Direct editing mode still skips proposal
234
- gates; final acceptance is not inferred from that preference.
251
+ - Final delivery: one `production approve --final` (see Aprobación y entrega). A
252
+ frame, successful render or technical pass is insufficient; only the latest
253
+ current video with zero pending feedback can finish. Direct editing mode skips
254
+ proposal gates, never final acceptance.
235
255
  - For a final rendered on the computer and never submitted, `projects finalize
236
- --project ID --file final.mp4 --user-confirmed` does the whole chain after the
237
- user accepts that exact video: it submits the final as a review revision,
238
- records the approval, completes the project and writes a completed checkpoint.
256
+ --project ID --file final.mp4 --user-confirmed [--user-quote TEXT]` does the
257
+ whole chain after the user accepts that exact video: it submits a review copy
258
+ bound to this master, approves and delivers it in one step and writes a
259
+ completed checkpoint. If that master's copy is already the latest version, it
260
+ approves it without uploading again.
239
261
  If the user declines the upload (`--no-upload`) or the upload is refused
240
262
  before a revision exists (no storage, uploads disabled, file too large), it
241
263
  completes the project as a local final: EditorBrain shows it delivered with
@@ -319,6 +341,43 @@ batch; in-flight jobs may still finish and be charged. To work separately afterw
319
341
  `batches detach ID --project PROJECT --expected-revision N` removes active membership
320
342
  only after the cancelled project's jobs and turn have ended. History/costs remain.
321
343
 
344
+ ### Review the whole batch at once
345
+
346
+ Several videos are reviewed together, never one server and one tab per video, and
347
+ never with every direction hung off one project.
348
+
349
+ 1. **Directions for the lot.** One artifact with `batchId`, `stage:"directions"`,
350
+ `projectIds`, `contextVersions` (each project's `editorialSnapshot.contextVersion`)
351
+ and 1–3 shared `directions`. After the user chooses, write
352
+ `{evidenceId, phase:"directions", presented:true, source:{kind:"local", artifactId,
353
+ sha256, relativePath}, decision:{userConfirmed:true, directionId}}` and run
354
+ `production present --batch ID --file presentation.json`: every project gets its
355
+ own receipt (same directionId, its own context) and the proposal is kept once per
356
+ project in `videos/ID/batch-direction.json`. MCP-only agents call
357
+ `record_review_evidence` per project with the same directionId.
358
+ 2. **One batch Studio.** `production review-artifact --file batch.json --out
359
+ .editorbrain-local/batches/NAME-v1.html` with
360
+ `{"schemaVersion":1,"batchId":"UUID","stage":"review","items":[{"projectId":"first","version":"v1","contextVersion":"HASH","video":{"file":"first/final.mp4"}}]}`
361
+ (1–25 items, one per project; `--context-file` is for one project). Open it with
362
+ ONE `production review-open`. The user approves or comments each video, or
363
+ applies to all; «Copiar decisiones» brings one block per project and a JSON
364
+ `editorbrain.batch-review-feedback` with each item's `editorbrain.review-feedback`.
365
+ Apply each block only to its project. Record the presentation with
366
+ `production present --batch ID` (`decisions:{projectId:{userConfirmed:true,
367
+ approved:true}}` only for videos the user approved).
368
+ 3. **Phone review: one upload for all.** When the user asks to see the batch on
369
+ EditorBrain, run `batches submit --batch ID` first: it prints the plan (file per
370
+ video from its latest review, sizes, saved preview quality, uploads allowed,
371
+ storage left) and uploads nothing. Show it; after the user agrees, repeat with
372
+ `--user-confirmed`. Override a file with `--file PROJECT=path.mp4`. Each item
373
+ runs `production submit` with its own receipt; repeat the same command to resume
374
+ failures. Give the user `reviewUrl` (`/app/batches/ID`).
375
+ 4. **Approve per video or all.** On `/app/batches/ID` the user plays every latest
376
+ review, sees pending comments, comments in each project's review tab and uses
377
+ «Aprobar y entregar» per video or «Aprobar y entregar todos los listos» (only
378
+ videos whose latest review has no pending changes). Each approval is the same
379
+ one-step final approval as a single project.
380
+
322
381
  Full-render visual coverage: `production verify` also creates the complete 1 fps
323
382
  sheet locally. Supply `--platform` for social UI guides and `--profile` for
324
383
  hash-bound holds/rendered ink bounds; see [local production](local-production.md).
@@ -367,15 +426,22 @@ help/capabilities instead of inventing unsupported actions.
367
426
  Discover `production review-artifact` in the installed CLI before calling it:
368
427
 
369
428
  ```sh
370
- editorbrain production review-artifact --file .editorbrain-local/review-v1.json --out .editorbrain-local/review-v1.html
429
+ editorbrain workflow check --project my-video > .editorbrain-local/workflow.json
430
+ editorbrain production review-artifact --file .editorbrain-local/review-v1.json --out .editorbrain-local/review-v1.html --context-file .editorbrain-local/workflow.json
371
431
  ```
372
432
 
433
+ `production present` only records an artifact that carries the shared
434
+ `editorialSnapshot.contextVersion` (the value `production present --project ID`
435
+ returns), never the legacy `context.contextVersion`. With `--context-file` the CLI
436
+ fills it when omitted and rejects the legacy hash; without it, copy that exact value.
437
+
373
438
  Input (local, not uploaded):
374
439
 
375
440
  ```json
376
441
  {
377
442
  "schemaVersion": 1,
378
443
  "projectId": "my-video",
444
+ "contextVersion": "EDITORIAL_SNAPSHOT_CONTEXT_VERSION",
379
445
  "title": "Your video",
380
446
  "version": "v1",
381
447
  "stage": "review",
@@ -401,12 +467,16 @@ of transcript: group words into coherent phrases, never silently truncate.
401
467
 
402
468
  - `directions`: before editing when the effective mode requests it, use 1–3
403
469
  `directions:[{id,title,description,preview:{file},references:[{label,url}]}]`.
470
+ Limits: title 100 and description 500 characters, up to five references
471
+ (label 140). Errors name the exact field, such as `directions[1].description`.
404
472
  Attach relevant authorized visual samples and inspected HTTPS reference links.
405
473
  No `video` or `transcript` in this stage. No raw library footage copied into a
406
474
  portable artifact without distribution rights. Label concept vs actual footage.
407
- - `review`: use video.purpose="preview" and quality=480 (or 720) to label the draft.
408
- A preview cannot be marked as final delivery. After approval, render from originals
409
- at the resolved final profile, never upscale the preview. Show the actual lightweight preview and its optional phrase cut map.
475
+ - `review`: pass the master without purpose and the CLI makes a 720 review copy
476
+ bound to its hash (`masterSha256` in the feedback JSON): approving the copy
477
+ approves that master. A labelled draft (`purpose:"preview"`, quality 480/720)
478
+ without a master is not final: after approval render from originals at the
479
+ resolved final profile, never upscale the preview. Show the actual lightweight preview and its optional phrase cut map.
410
480
  The user marks moments, requests phrase removal/recovery and copies the prepared
411
481
  request, or downloads feedback JSON to attach in the same chat.
412
482
  - `delivery`: same layout, exact delivered version, final approval explicitly
@@ -554,9 +624,10 @@ respecting autonomous mode. See [memory](memory-and-review.md).
554
624
 
555
625
  ## Continue from web feedback
556
626
 
557
- “Copiar cambios para mi agente” identifies the selected revision, asset hash and
558
- context. Read the pending comments, including timestamps, image points, kind and
559
- reply links. Reconcile replaced/stale versions before changing the edit. Reuse
627
+ “Copiar cambios para mi agente” is the short shared handoff: revision, the loaded
628
+ pending comments inline, MCP and CLI routes (use either) and one-line
629
+ `editorbrain.review-feedback` JSON with asset hash and context. Read the pending
630
+ comments, including timestamps, image points, kind and reply links. Reconcile replaced/stale versions before changing the edit. Reuse
560
631
  comments already present in continuity; fetch extra pages only when incomplete.
561
632
  Create the correction as a descendant review, verify it, then use
562
633
  `resolve_production_feedback` / `production resolve-feedback` with the result
@@ -93,10 +93,16 @@ the artifact; MCP hosts verify the same actual video before attesting. Delivery
93
93
  presentation and final acceptance recheck execution/storage. Earlier presentation
94
94
  and approval history remain intact; changed operational policy may require action.
95
95
 
96
- A sample/direction approval remains editorial approval, not final delivery.
97
- `checkpoint --status in_review` requires an existing presentation of the current
98
- video; `completed` requires the existing final-acceptance flow. Keep `in_progress`
99
- while presentation is pending. A checkpoint does not manufacture approval or upload.
96
+ ### Aprobación y entrega
97
+
98
+ Choosing a Studio direction is creative, not delivery approval. When the user
99
+ accepts the latest complete video, one `production approve --project ID --revision
100
+ UUID --context-version HASH --user-confirmed --final --user-quote "their words"`
101
+ (MCP `approve_production_review` `final:true`, `userQuote`) approves and completes
102
+ it, with this delivery check. A review copy bound to its master approves that
103
+ master. `checkpoint --status in_review` requires a presentation of the current
104
+ video; `completed` requires that final approval. A checkpoint does not manufacture
105
+ approval or upload.
100
106
 
101
107
  ## Adaptable captions and brand
102
108
 
@@ -24,7 +24,7 @@ and explain the affected sound decision. Never infer sounds from silent frames.
24
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
25
  3. `get_sfx({projectId,bankId,soundId,catalogSha256,sceneRole})`, or:
26
26
  `editorbrain sfx get SOUND_ID --project my-video --bank BANK --catalog-sha256 HASH`
27
- 4. Download the temporary link, verify SHA-256 and 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.
27
+ 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.
28
28
 
29
29
  Search is compact lexical matching with bilingual terms, not audio embeddings or recognition. Query actual purpose (click, paper, impact, whoosh), inspect candidates and listen. Filename hints do not prove a particular event is present, tasteful or audible. Discover available banks from the authenticated service. The curated `editorbrain-essentials-v1` bank is available only after its media is published and enabled. Private banks remain workspace-scoped. Never assume that a bank is present or bypass an unavailable bank with an unapproved alternative.
30
30
 
@@ -8,7 +8,7 @@ Read [workflow evidence](workflow-evidence.md) for presentation and
8
8
 
9
9
  ## Open the right view
10
10
 
11
- - CLI review: `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 and contextVersion must match the artifact. Then keep the returned `production review-open` process running and present its verified loopback URL. The optional context file supplies preferences without another network request. Existing offline artifacts without it remain valid; their preferences panel honestly says the snapshot is absent.
11
+ - CLI review: `production review-artifact --file review.json --out .editorbrain-local/PROJECT/studio-v2.html --context-file workflow.json`. `workflow.json` is the current `workflow check --project PROJECT` response with `editorialSnapshot`; its project must match, and the artifact uses `editorialSnapshot.contextVersion` (filled from this file when omitted), never the legacy `context.contextVersion`. Then keep the returned `production review-open` process running and present its verified loopback URL. The optional context file supplies preferences without another network request. Existing offline artifacts without it remain valid; their preferences panel honestly says the snapshot is absent.
12
12
  - 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
13
  - 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
14
 
@@ -34,8 +34,9 @@ Shortcuts do not fire inside fields or dialogs.
34
34
  Image points are normalized `x/y` in `[0,1]`, relative to the actual visible image,
35
35
  not letterboxing. Comments carry `startMs`, optional `endMs`, `kind`, `point`,
36
36
  `segmentId`, and `parentCommentId` as applicable. No time means the whole video.
37
- Export contains both readable `[0:12–0:17]` / `[Todo el video]` notes and exact JSON.
38
- Use exact JSON milliseconds for edits; the readable labels intentionally round.
37
+ The copy is the short handoff shared with the web review: ids, readable
38
+ `[0:12–0:17]` / `[Todo el video]` notes, MCP and CLI routes (use either) and
39
+ one-line exact JSON. Use its milliseconds for edits; the labels round.
39
40
 
40
41
  For remote persistence use the existing `request_production_changes.target` fields.
41
42
  CLI: `production change --project PROJECT --revision UUID --context-version SHA
@@ -253,7 +253,7 @@ Read `billing status` / `billing_status` for this workspace's current `plans`,
253
253
  `planPerks`, `planFeatures`, `includedAiTools`, actual balance, and availability. Do not copy numeric
254
254
  plan terms into prompts or infer tool access from plan names. All four tools accept
255
255
  Free credits when enabled; eligibility is distinct from provider availability.
256
- `planFeatures` lists plan membership for premium motion, premium styles and Agency.
256
+ `planFeatures` lists plan membership for premium motion, premium styles and Agency. The catalog styles (`list_style_packs.sourceStyles`) are free on every plan; `premium_styles` does not gate them.
257
257
  It is not permission to act: use the current resource/capability response and respect
258
258
  workspace roles, grants, account holds and private availability. If a feature is not
259
259
  offered to this account, continue with the normal editing flow; never infer access
@@ -14,8 +14,19 @@ workflow and the user's review mode.
14
14
  saved styles by ID or name. If the ID is unknown, match the name in
15
15
  `list_style_packs`. Save a style only when the user asks (`Guardar como mi
16
16
  estilo`); the style's «Guarda estos documentos» refers to that.
17
+ Older web demos: an ID `showcase-<x>` is an alias (`aliases` in
18
+ `sourceStyles`; `list_style_packs` with `sourceId: showcase-<x>` returns the
19
+ full style). Also check `.editorbrain/styles/<alias>/`: a copy saved there is a
20
+ 4-file stub (style.json with empty tokens, style.md, effects.md, music.md),
21
+ not the full guide. Use the full style's guides and pinned code, keep the
22
+ user's own edits from the stub as preferences, tell the user the full guide
23
+ exists (the web can save it as `.editorbrain/styles/<id>/`) and never
24
+ overwrite or delete the stub.
17
25
  2. Code: `list_style_packs` with `sourceId: <id>`, then `get_style_source` with
18
- that exact `sourceVersion` and `sourceSha256`; verify bytes and SHA-256.
26
+ that exact `sourceVersion` and `sourceSha256` and `detail: summary`; verify
27
+ bytes and SHA-256. Read the guides one at a time with `get_style_source`
28
+ and `path` (each path in `documentPaths`, style.md first): no link is issued.
29
+ `legacy: true` only marks a former web demo turned full style; it is current.
19
30
  Version check: if the saved copy's resources.json pins an older version than
20
31
  `sourceVersion` (it appears in `previousVersions`), tell the user a newer
21
32
  version exists and keep using the saved pin until they ask to update. Never
@@ -34,11 +45,12 @@ workflow and the user's review mode.
34
45
  a voice or images instead of a clip (e.g. a sourced data series, a voice or
35
46
  a script to voice). Tell the user what to bring; ask only for what is missing.
36
47
  `ratio` says the composed format: `tall` 9:16, `wide` 16:9.
37
- 5. Fonts, SFX and demo media ship inside the implementation; never download
48
+ 5. Fonts, SFX and demo media ship inside the implementation (HyperFrames: except
49
+ GSAP, which its README fetches and verifies); never download
38
50
  them separately or save them as documents. A brand font that is not in the
39
51
  package comes from the brand's own font files (saved brand resources or the
40
52
  user): ask for it; never substitute another font silently.
41
- 6. MCP only, no CLI: there is no PROJECT-BINDING.md (only `styles prepare`
53
+ 6. MCP only, no CLI (motion scenes): there is no PROJECT-BINDING.md (only `styles prepare`
42
54
  writes it). Read the code with `inspect_source_package`: `lib/project-binding.js`
43
55
  is the brand/font guard and `lib/runtime.js` the adapted runtime; the style's
44
56
  «Código y recursos» section says what to bind. A host with files and a shell
@@ -46,6 +58,16 @@ workflow and the user's review mode.
46
58
  brand in the params, or install the CLI from the setup guide for `styles
47
59
  prepare`. Never claim a guarded copy you did not make.
48
60
 
61
+ HyperFrames styles (`engine: hyperframes` in `sourceStyles`): the code is a
62
+ HyperFrames project (`index.html` + `compositions/`), not a motion scene. There
63
+ is no `tools/render.mjs`, `lib/runtime.js` or `lib/project-binding.js`, and
64
+ `styles prepare` does not apply. Verify and extract the archive into a new
65
+ folder; follow its README «Render» section on a host with files (it fetches GSAP
66
+ with `npm pack` and checks its sha256, then `npm install`, `npm run check` and the
67
+ pinned HyperFrames render). Bind the brand in the compositions (colors,
68
+ `@font-face`, copy, timing). With MCP only, `inspect_source_package` reads it
69
+ unadapted. Step 6 above and the numbered steps below are for motion scenes.
70
+
49
71
  Remote chat without local extraction: read [editing through MCP](cloud-production.md#read-the-exact-style-or-motion-implementation).
50
72
  Use `inspect_source_package` for the same pinned implementation and guarded
51
73
  runtime. Inspection neither stores files nor executes code; use only an available,
@@ -69,9 +91,9 @@ steps below describe the local alternative; both obey the same adaptation rules.
69
91
  selected public guides. Verify byte count and SHA-256; save pins, never the URL.
70
92
  The CLI streams and verifies bytes and refuses overwrite; it does not extract,
71
93
  execute or install anything. Read returned documents if not already saved;
72
- preserve customized guides. Creator/Studio access is checked on both issue
73
- and download. Credits do not unlock premium styles. If denied, show the billing
74
- link and an available free/custom style; do not try old versions to bypass it.
94
+ preserve customized guides. Catalog styles are free on every plan, including
95
+ Free; issue and download only check the member's team permission. If denied,
96
+ explain that permission; do not try old versions to bypass it.
75
97
  4. Prepare a fresh working copy explicitly:
76
98
  ```sh
77
99
  editorbrain styles prepare <id> --style-version <version> --file source.tar.gz --out .editorbrain-local/<project>/styles-src/<id> --dir <workspace>