editorbrain 0.37.0 → 0.39.1

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.
@@ -1,8 +1,23 @@
1
1
  # Select sound by scene purpose
2
2
 
3
- Load only when adding sound effects. Resolve/workflow first. Read effective `audioProduction` and `sfxPolicy`; project exceptions must be explicit. Refresh when preferences change and before rendering. Density controls frequency, not volume: sparse means selective accents; moderate accompanies meaningful actions; dense allows more varied accents, never a quota. Character is a preference; do not force a cinematic impact into a quiet scene. Keep protected hooks free of added effects.
3
+ Load when SFX are requested or relevant; do not wait for the agent to have already decided to add them. Resolve/workflow first. Read effective `audioProduction` and `sfxPolicy`; project exceptions must be explicit. Refresh when preferences change and before rendering. Use `policy.densityGuidance` as the common policy across workflow, CLI and MCP. Density controls frequency, not volume. Character is a preference; do not force a cinematic impact into a quiet scene. Keep protected hooks free of added effects.
4
4
 
5
- ## Workspace library (MCP or CLI)
5
+ | User choice | Editorial treatment |
6
+ |---|---|
7
+ | None (`none`) | No added SFX, even synthesized clicks or sounds embedded by a motion component. Preserve source ambience unless separately excluded. |
8
+ | Subtle (`sparse`) | Isolated accents for important actions/reveals; most moments remain free of added effects. |
9
+ | Balanced (`moderate`) | Selected accents on meaningful actions, transitions and emphasis, with breathing space. |
10
+ | Expressive / abundant (`dense`) | Richer, varied design across relevant beats, with purposeful layers when they help. Preserve contrast and intelligibility; never equate density with loudness. |
11
+ | Unspecified (`adaptive` in policy) | Choose with the current brief and inspected references, respecting question policy. Do not default to maximum intensity. |
12
+
13
+ Decide the intended treatment in the existing direction before choosing files. A
14
+ quiet hold can be correct even in an expressive edit; no minimum sound count is
15
+ required. If no suitable effect is used despite an explicit treatment, record the
16
+ reason. No result, unavailable media or forbidden generation is not a credit
17
+ shortage and does not authorize a provider switch. Continue the independent edit
18
+ and explain the affected sound decision. Never infer sounds from silent frames.
19
+
20
+ ## Shared and workspace libraries (MCP or CLI)
6
21
 
7
22
  1. `search_sfx({projectId,query,sceneRole:"hook"|"body"|"cta",limit:6})`, or:
8
23
  `editorbrain sfx search --project my-video --query "clic de botón" --scene-role body`
@@ -11,7 +26,34 @@ Load only when adding sound effects. Resolve/workflow first. Read effective `aud
11
26
  `editorbrain sfx get SOUND_ID --project my-video --bank BANK --catalog-sha256 HASH`
12
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.
13
28
 
14
- 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. No sound bank is guaranteed to be included in an installation.
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
+
31
+
32
+ ## Selection from the web and personal favorites
33
+
34
+ The web library separates **Ediciones**, **Animaciones** and **Sonidos**. A copied
35
+ sound prompt pins the workspace, brand, bank ID, sound ID, catalog hash and file
36
+ hash. Match the connected identity and target project first. Retrieve that exact
37
+ selection with `get_sfx` / `sfx get`; do not search for a similar filename instead.
38
+ Pass the actual scene role (`--scene-role hook` for a hook). A web selection does
39
+ not enable disabled SFX, override a configured bank or cancel a protected hook.
40
+ Honor the user's question policy when a project exception is needed.
41
+
42
+ `check_workflow.libraryFavorites` includes up to 30 recent, accessible favorites
43
+ for the authenticated member and project's brand. `get_library_favorites` or
44
+ `editorbrain library favorites --brand BRAND_ID` reads the full bounded list when
45
+ needed. Likes are taste signals, not requirements or proof of listening. Choose
46
+ relevant sounds alongside other candidates, vary repetition and preserve audio
47
+ preferences. Removing a favorite does not ban it. Workspace API keys have no
48
+ member and cannot inherit the owner's likes; use the member's device/OAuth
49
+ connection. Never copy another member's favorites into shared brand rules.
50
+
51
+ Previews are light audition derivatives. Production retrieval returns the
52
+ original recording, not the preview. Some recordings contain multiple actions:
53
+ listen and choose the appropriate segment, preserve its hash and final-time cue.
54
+ Shared sounds use private, short-lived links; they do not consume the customer's
55
+ uploaded-asset storage quota. Downloads recheck connection/project access and
56
+ effective SFX restrictions. Expired links must be renewed through `get_sfx`.
15
57
 
16
58
  ## User's local bank (explicit local mode)
17
59
 
@@ -25,11 +67,18 @@ Use `sfx get` with the returned ID/hash and same local flags to resolve an origi
25
67
 
26
68
  ## Placement and verification
27
69
 
28
- Keep a local cue plan `{durationSeconds,hookEndSeconds,cues:[{at,durationSeconds,soundId,purpose}]}` in `.editorbrain-local/`. Times use the final timeline, after cuts/speed changes. Record the actual selected catalog/asset hashes alongside production evidence.
70
+ Keep a local cue plan `{durationSeconds,hookEndSeconds,cues:[{at,durationSeconds,soundId,purpose}]}` in `.editorbrain-local/`. Times use the final timeline after cuts/speed changes: `at` is the placed sample start after trimming/alignment, not the event peak. Use the actual hook end; zero cannot stand in for an unknown protected hook. An optional `omissionReason` explains an empty plan. Record the actual selected catalog/asset hashes alongside production evidence.
71
+
72
+ For a connected project, use `check_sfx_plan({projectId,plan,expectedContextHash?})`
73
+ or `editorbrain sfx check --remote --project my-video --plan .editorbrain-local/sfx-plan.json --dir ./project`.
74
+ An optional `--context-hash` pins the hash from **remote SFX search/get/check**, not the
75
+ workflow version. A mismatch requires refreshing preferences and revising the
76
+ plan; never retry by simply dropping the pin. This sends only cue metadata, not
77
+ sound files or local paths. It works without a local project copy.
29
78
 
30
- `editorbrain sfx check --project my-video --plan .editorbrain-local/sfx-plan.json --dir ./project`
79
+ For an explicitly local project, `editorbrain sfx check --project my-video --plan .editorbrain-local/sfx-plan.json --dir ./project` reads local documents only (legacy behavior). It must not be presented as a check of current web preferences. Discover tool availability first on older installations; update the CLI/service for remote checking rather than silently falling back to stale local data.
31
80
 
32
- The check rejects effects when disabled and overlap with a protected hook; warns about tightly packed accents/repetition. It checks declarations, not a render. Trim samples deliberately; leave voice intelligible, use fades/ducking when needed, and do not accent every subtitle. Run `production audio-check` on the actual delivered file and listen for synchronization, clipping, masking and excess. Meters alone cannot certify SFX audibility. Never claim listening review if the host could not listen.
81
+ The check rejects effects when disabled, a missing protected-hook boundary and overlap with that hook; it warns about tightly packed accents, repetition and unexplained empty requested treatment. `passed` concerns these declared constraints; `densityReview` still requires editorial judgment. It checks declarations, not a render. Trim samples deliberately; leave voice intelligible, use fades/ducking when needed, and do not accent every subtitle. Run `production audio-check` on the actual delivered file and listen for synchronization, clipping, masking and excess. Meters alone cannot certify SFX audibility. Never claim listening review if the host could not listen.
33
82
 
34
83
  For a chosen accent, align its attack to the current final-time event and audition
35
84
  both the isolated sound and the encoded mix. Prefer a few audible, appropriate
@@ -92,7 +92,11 @@ Download the asset through existing authenticated asset tools. Never persist exp
92
92
  ## Plan, credits and premium images
93
93
 
94
94
  Use `editorbrain billing status` / MCP `billing_status` for this workspace's actual
95
- balance, expiry and search allowance. Account payments happen at
95
+ balance, expiry, search allowance and `topUps` offers. Read each offer's `available`
96
+ flag and the overall billing availability before suggesting a purchase; use the
97
+ returned `purchaseUrl` (or the billing link below on older services). Never infer
98
+ prices from provider credits. Recargas do not require a plan upgrade or unlock
99
+ other plan limits; only an identified workspace owner can buy them. Account payments happen at
96
100
  https://editorbrain.com/app/billing. Never buy or recharge on the user's behalf
97
101
  without explicit authorization. No automatic recharge or automatic paid fallback.
98
102
 
@@ -86,6 +86,15 @@ Validate and resolve the selected project after context changes. For remote reco
86
86
 
87
87
  Save reusable feedback at its stated scope: project-only changes in the project, brand preferences in that brand, stylistic changes in the relevant style. Read confirmed memory explicitly when relevant; it is not an automatic global override. Save the chosen references, adaptations and final review with the project. Review records identify the actual render/version, not just a plan.
88
88
 
89
+ The selected project's `brand` is authoritative, even if the web sidebar currently
90
+ shows another brand. Resolve each project separately in batches and discard previous
91
+ project context when switching. Never copy a different customer's palette, language,
92
+ memory or resources into a missing field. Missing selected sources are errors, not a
93
+ reason to borrow defaults from another brand. Shared styles describe reusable methods;
94
+ style preferences still require matching `applicability.brandId`. Credits and personal
95
+ integration access belong to the account/member, not a substitute for brand-specific
96
+ tool preferences. Keep local artifacts under separate project directories.
97
+
89
98
  ## Updating the installed skill
90
99
 
91
100
  Updating the global CLI does not replace skills already copied into a project. Run `editorbrain skill install --dir <workspace> --agent both` and inspect `conflicts`, `preserved`, `warnings` and `readInstructions`.
@@ -137,3 +146,8 @@ pending categories through [onboarding](onboarding.md) before editing unless que
137
146
  and legacy unspecified brands do not require that checklist. A project override
138
147
  does not enroll or complete brand onboarding; an automatic exception skips that
139
148
  checklist for the selected video without deleting the saved brand state.
149
+
150
+ Optional `project.json.memoryContext` (`formatId`, `seriesId`, `mode:use|fresh`)
151
+ selects conditional editorial memories. It does not change permissions or required
152
+ branding. See [memory and review](memory-and-review.md); do not assign a format just
153
+ to activate a remembered aesthetic.
@@ -10,6 +10,38 @@ Use when a scene needs a visual mechanism (an object transforms, a structure fal
10
10
  4. **Validate the motion.** Watch the selected base video's preview (`kind: "video"`, the default). Compare its transformation and timing with the intended beat before committing to its code. Keyframes and the base preview do not certify the preset or a customer-brand render.
11
11
  5. **Source and adaptation.** Request `get_authored_scene_source` with the exact ID, version and bundle SHA-256, or `editorbrain motion source <id> --scene-version <version> --out .editorbrain-local/new-scene.tar.gz`. Downloads require login, verify size/hash, preserve existing files and never extract or execute automatically. Start from the closest `adapt/<name>.json` overrides when present; replace demo values and bind the current project below. Edit code where the card says parameters cannot express the needed change; author a new scene when none fits.
12
12
 
13
+ ### Filter by the material and purpose
14
+
15
+ Use the curated facets returned by the catalog; never reclassify a scene from its
16
+ name or demo niche. `material` is `motion` (code graphics), `fotos` (real photos)
17
+ or `video` (graphics over a real talking-head clip). `funcion` accepts several
18
+ values with OR, `encuadre` is only valid with `material: "video"`, and `tresD`
19
+ selects Three.js scenes. Discover labels and available values in
20
+ `facetDefinitions`, `availableFacetCounts` and `facetCounts`. A zero result is
21
+ not permission to drop the user's filters silently.
22
+
23
+ CLI: `editorbrain motion scenes --material video --funcion ganchos-titulos,presentar-marca --encuadre plano-medio --scene-version <version>`.
24
+ MCP: pass those fields to `list_authored_scenes`. Keep the query, filters and
25
+ version unchanged when following `nextCursor`; start a new page when changing
26
+ filters. Use only fields advertised by the installed CLI/MCP.
27
+
28
+ **Sobre tu video: Necesita tu video hablando a cámara.** These scenes are one
29
+ short animation over a prepared clip, not a complete edited video. Read
30
+ `requirements`: the customer needs their own clip, person matte, tracking and
31
+ word-aligned transcript. The product does not currently prepare that clip as a
32
+ self-service action. Explain the prerequisite if material or tooling is absent;
33
+ continue with a suitable alternative when allowed. Do not silently generate a
34
+ person, reuse a fictional demo as the customer, or claim the preparation is
35
+ available. Preview clips contain fictional AI people with an in-frame credit.
36
+ Keep required provenance. Some bundles include shared `footage/`; preserve its
37
+ relative paths and await the scene's asynchronous media preparation before
38
+ capture. All downloads stay inert and hash-verified, including larger video
39
+ bundles. They never authorize providers or paid transcription.
40
+
41
+ `search_from_brief` can optionally include material/funcion and a motionQuery
42
+ for a separate `authoredMotion` shortlist; its styles/events remain the primary
43
+ edited-video evidence. Motion facets never replace those reference searches.
44
+
13
45
  ### Check compositing before downloading
14
46
 
15
47
  Read `compositing` in the search result and selected card. `output: "opaque"`
@@ -84,3 +116,39 @@ Catalog 1.3.0 requires CLI 0.37.0+ or an MCP server returning 1.3.0. Catalog 1.2
84
116
  ## Do not confuse discovery with automatic brand transfer
85
117
 
86
118
  The catalog selects mechanisms, not a universally fitted layout. Bind contrasting foreground/background pairs (including scene-specific roles such as `onAccent`); assigning the same approved color to every role can make text unreadable. Font changes and duplicate palette entries can require source/layout changes. Keep warning checks enabled. Recompose small labels, paths and glyph spacing instead of silently changing the user's font or ignoring a rejected render. Original preview approval does not approve a different brand, preset or format.
119
+
120
+ ## Personal library likes
121
+
122
+ When the workflow supplies `libraryFavorites`, consider relevant `motion` items
123
+ as pinned candidate IDs/versions for this member and brand. Retrieve their exact
124
+ version; do not silently substitute `latest`. Likes are soft taste evidence,
125
+ not a mandatory palette, recipe or scene count. They never override exclusions,
126
+ current project style or the user's request. Edited-video references remain the
127
+ primary editorial evidence; inspect scene fit and adapt the mechanism. Use
128
+ `get_library_favorites` / `library favorites --brand BRAND_ID` only when the
129
+ compact workflow list does not answer the current decision.
130
+
131
+ ## Transitions between two shots
132
+
133
+ The web keeps **Estilos de edición / Animaciones / Sonidos** under one Biblioteca.
134
+ Transitions are a curated filter inside Animaciones, not another editorial style
135
+ or a requirement to decorate every cut. Search by the relationship (continuity of
136
+ shape, an object expanding to reveal the next idea, closing and opening a chapter).
137
+ Some cards/summaries include optional `transition` guidance: when it fits, when to
138
+ avoid it and what requires code adaptation. Absence means unclassified, not that
139
+ an animation cannot contain motion between states. Older clients can use the card.
140
+
141
+ When the user copies a selection, retrieve its exact ID and version. The web's
142
+ **En contexto** example illustrates two shots; it is not the original catalog
143
+ preview, an exported overlay or a downloadable preset. Inspect **Original** and
144
+ its pinned source. These sources render their own opaque scenes; arbitrary user
145
+ footage requires adapting the composition, not just replacing a text parameter.
146
+
147
+ Identify the outgoing shot, incoming shot and reason for the change. Bind the
148
+ current project's brand, movement preference, actual timing and audio policy.
149
+ Use a direct cut when it communicates better; follow the question/review policy
150
+ for changes to the user's selection. No transition or whoosh quota. Keep the
151
+ user's narration intact; none/sparse/moderate/dense SFX follow the same audio
152
+ policy as the rest of the edit. Check the actual handoff before, through and
153
+ after the cut for frame coverage, object continuity, reading time, faces and
154
+ important content. Save the decision for this project, not as a global style rule.