editorbrain 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/editorbrain.mjs +187 -24
- package/package.json +1 -1
- package/skill/editorbrain/AGENTS.md +44 -3
- package/skill/editorbrain/SKILL.md +11 -9
- package/skill/editorbrain/references/audio-production.md +3 -1
- package/skill/editorbrain/references/editorial-evidence.md +156 -0
- package/skill/editorbrain/references/first-edit.md +1 -1
- package/skill/editorbrain/references/media-preferences.md +16 -0
- package/skill/editorbrain/references/memory-and-review.md +8 -0
- package/skill/editorbrain/references/onboarding.md +41 -3
- package/skill/editorbrain/references/production-and-review.md +31 -2
- package/skill/editorbrain/references/production-continuity.md +11 -0
- package/skill/editorbrain/references/real-media.md +9 -0
- package/skill/editorbrain/references/search-brief.md +16 -2
- package/skill/editorbrain/references/storage-and-previews.md +12 -0
- package/skill/editorbrain/references/workspace-files.md +24 -0
- package/skill/editorbrain-motion/SKILL.md +23 -4
- package/skill/editorbrain-motion/references/code-motion.md +12 -0
|
@@ -6,6 +6,10 @@ command availability first; older CLI versions do not include these commands.
|
|
|
6
6
|
Keep source footage and masters local unless the user asks to upload them.
|
|
7
7
|
`storage status` / MCP `storage_status` reports actual workspace capacity and
|
|
8
8
|
reservations. The current upload limit is 90 MiB **per file**, separate from quota.
|
|
9
|
+
Compare the actual file bytes with capacity minus used and reserved bytes before
|
|
10
|
+
uploading. If it does not fit, inspect eligible cleanup candidates or prepare a
|
|
11
|
+
smaller copy without sacrificing necessary legibility. Do not change a plan/quota
|
|
12
|
+
or bypass protected files. Cleanup still follows the authorization below.
|
|
9
13
|
|
|
10
14
|
For review, prepare a separate small copy:
|
|
11
15
|
```sh
|
|
@@ -21,10 +25,18 @@ conversion. Never overwrite or delete the original to save space.
|
|
|
21
25
|
When sharing is authorized, upload the inspected copy with `assets upload <file>
|
|
22
26
|
--purpose preview --source-sha256 <original-hash>`. Use its **own** hash when
|
|
23
27
|
registering a review/sample. Do not present preview verification as master QA.
|
|
28
|
+
`--source-sha256` is optional and must identify different source bytes; omit it
|
|
29
|
+
when uploading the already prepared file without a distinct source asset.
|
|
24
30
|
New final uploads use `--purpose final`; absent purpose protects as original.
|
|
25
31
|
Re-uploading identical bytes reuses the previous category; it cannot relabel a
|
|
26
32
|
protected master as removable. There is no automatic server compression.
|
|
27
33
|
|
|
34
|
+
Prefer H.264/AAC MP4 for ordinary web/mobile review; preserve special formats only
|
|
35
|
+
when the deliverable needs them. After registering the sample, open its actual
|
|
36
|
+
project page in the correct workspace and verify visible playback and time
|
|
37
|
+
progression. A successful upload, loaded metadata or local decode does not prove
|
|
38
|
+
the hosted player works. Report devices or audio review not actually tested.
|
|
39
|
+
|
|
28
40
|
Cleanup is optional and separate from editing. Show exact names, sizes and IDs,
|
|
29
41
|
obtain explicit approval, then owners may use `storage cleanup --ids <sha>,<sha>
|
|
30
42
|
--confirm` (max 20), or the web storage panel. Only unused previews/temporaries can
|
|
@@ -111,3 +111,27 @@ See [memory and review](memory-and-review.md) for memory schemas, version restor
|
|
|
111
111
|
## Optional audio production context
|
|
112
112
|
|
|
113
113
|
Brand `audio.json` and project `audio.json` are selected optional sources, validated and hashed by resolve/pull, exposed as `audioProduction` in resolved/workflow context, and included in handoffs. See [audio production](audio-production.md) only when configuring voice, SFX banks/exclusions or loudness. They contain portable IDs and preferences, not provider credentials or machine-specific paths. Existing projects need no migration. Detailed provenance and QA reports stay private in `.editorbrain-local/` and are read on demand; merely creating a JSON under `videos/` does not add it to resolved context.
|
|
114
|
+
|
|
115
|
+
## Creative decision ownership
|
|
116
|
+
|
|
117
|
+
The optional editorial profile field `creativeDirection` in brand `design.md`
|
|
118
|
+
is `automatic` or `guided`; `project.json.creativeDirection` overrides it for
|
|
119
|
+
that video. `resolve`, workflow context and `editorialSnapshot.creativeDirection`
|
|
120
|
+
return the effective mode and its source (`project`, `brand`, or `implicit`).
|
|
121
|
+
Omission preserves legacy guidance, never silently opts a brand into automatic.
|
|
122
|
+
The current explicit task still governs; project changes do not overwrite the
|
|
123
|
+
brand. Both modes inspect library evidence and adapt to the actual material.
|
|
124
|
+
Automatic fills unspecified aesthetics; guided starts from saved choices.
|
|
125
|
+
Neither overrides required tokens, media/audio restrictions, language, review
|
|
126
|
+
or spending. This field does not replace `freedom` (visual consistency),
|
|
127
|
+
`motionSelection` (motion taste), or `reviewMode` (when to ask for review).
|
|
128
|
+
|
|
129
|
+
`creativePreferencesReviewed` in the same profile records explicit category
|
|
130
|
+
confirmations (including deliberate delegation). The shared guide lists valid
|
|
131
|
+
categories. Partial onboarding intake updates accumulate them; `null` clears
|
|
132
|
+
them. Populated preference fields do not imply confirmation. Effective direction
|
|
133
|
+
includes `configuration: {status, pending}`; explicit guided brands must finish
|
|
134
|
+
pending categories through [onboarding](onboarding.md) before editing. Automatic
|
|
135
|
+
and legacy unspecified brands do not require that checklist. A project override
|
|
136
|
+
does not enroll or complete brand onboarding; an automatic exception skips that
|
|
137
|
+
checklist for the selected video without deleting the saved brand state.
|
|
@@ -17,13 +17,21 @@ Read the sibling [EditorBrain contract](../editorbrain/AGENTS.md) once in the ac
|
|
|
17
17
|
|
|
18
18
|
Use `resolve_project` / `editorbrain resolve <id>` and `check_workflow` / `editorbrain workflow check` for current context. Reuse valid results already obtained. Read `tokens`, `tokenSources`, warnings, conditional `context.memory.confirmed`, effective `mediaPreferences` and the current member's integration checkpoint. Compare workflow `version` and `contextVersion` at existing checkpoints before proposals, paid generation and full rendering; fetch only changed relevant context. Do not add another approval cycle or reload every guide.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Use the resolved identity without applying a second precedence order. The shared
|
|
21
|
+
[decision ownership](../editorbrain/AGENTS.md#decision-ownership) governs this
|
|
22
|
+
specialty; [workspace files](../editorbrain/references/workspace-files.md) owns
|
|
23
|
+
token precedence and explicit project exceptions. Consult it for conflicts or
|
|
24
|
+
changes. Adapt techniques to the effective constraints. Proposed changes to the
|
|
25
|
+
story, identity or approved timing return to the project direction with their
|
|
26
|
+
reason before dependent work; examples and provider defaults cannot authorize them.
|
|
21
27
|
|
|
22
28
|
Read [media preferences](../editorbrain/references/media-preferences.md) when interpreting saved choices. Honor exclusions, disabled categories and authorized exceptions; do not force disabled motion. `motionSelection` governs scene selection; `motionProduction` governs production preference, independently. A `code` preference does not authorize a paid AI fallback. Fetch only the selected recipe/version. Before generation, verify the session tool/model and existing spending authorization using [integrations](../editorbrain/references/integrations.md). Declared access or a preference is not a working connection.
|
|
23
29
|
|
|
24
30
|
## Design and execute the scene
|
|
25
31
|
|
|
26
|
-
|
|
32
|
+
In a full-video edit, reuse the direction and inspected **edited-video references** that explain why this scene needs animation. If they are missing for a new or changed direction, follow [editorial evidence](../editorbrain/references/editorial-evidence.md) before choosing motion. Motion search supplies implementation mechanisms, not evidence that the whole edit fits. For a standalone animation, explicit template request or scoped correction, work from the relevant brief and existing evidence without imposing a new full-video search.
|
|
33
|
+
|
|
34
|
+
For a real subject or demonstration, establish authentic media from permitted sources first, using user footage and available web tools as allowed. Follow [real media and evidence](../editorbrain/references/real-media.md) when sourcing. Code-based production can composite real photos, captured interfaces and footage; it does not require drawing every element. Animate around inspected evidence; a code animation or generated likeness cannot substantiate a real person, event or product behavior. Abstract explanations and labelled illustrations can still start with authored/generated motion.
|
|
27
35
|
|
|
28
36
|
Describe each meaningful shot through its intention, visible entry state, action/change, readable or perceptible hold, and exit state. Connect timing to the actual voice, action or music when used. Use the project's existing plan; keep detailed shot records local. There is no required shot count, effect, provider, pilot or sound layer.
|
|
29
37
|
|
|
@@ -31,6 +39,8 @@ Design the visual action for this video's specific message before selecting a co
|
|
|
31
39
|
|
|
32
40
|
Separate resolved graphic identity from authentic material: text/graphics use brand roles; footage, skin, product colors, screenshots and logos retain their authentic identity unless the approved direction changes them. Distinguish real interface states from labelled illustrative UI. Preserve the selected style's mechanism while adapting subject, layout and timing.
|
|
33
41
|
|
|
42
|
+
Before authoring substantial code motion, make a bounded `motion scenes` lookup for the required action and inspect a promising mechanism, if accessible. This is source research for code production, not a competing engine or a requirement to use a template. Reuse valid research during corrections. A bad preset claim may need new copy while its visual mechanism remains useful; reject mechanisms that do not fit.
|
|
43
|
+
|
|
34
44
|
Choose a feasible method per shot, respecting production preferences:
|
|
35
45
|
|
|
36
46
|
- **Code/compositing:** read [motion with code](references/code-motion.md) for precise states, typography, diagrams, interfaces or repeatable transitions.
|
|
@@ -39,13 +49,22 @@ Choose a feasible method per shot, respecting production preferences:
|
|
|
39
49
|
- **Generated clips:** read [generated motion](references/generated-motion.md) for material/character consistency, organic movement and continuity.
|
|
40
50
|
- **Hybrid:** use both where needed; keep exact text, values, logos, interface states and continuity-critical objects under explicit control.
|
|
41
51
|
|
|
42
|
-
|
|
52
|
+
For a fully animated/faceless piece with a feasible code route, a JavaScript
|
|
53
|
+
composition can coordinate the whole sequence on one deterministic master clock,
|
|
54
|
+
including photos, generated imagery, footage, masks, camera and audio cues.
|
|
55
|
+
Plan the changing scenes and their handoffs, not a fixed slide layout with every
|
|
56
|
+
element fading in. An encoder such as FFmpeg exports/mixes the result; it does not
|
|
57
|
+
choose its motion. Respect an explicitly chosen engine and use other tools where
|
|
58
|
+
they solve a real production need. Code availability alone does not establish
|
|
59
|
+
that this route is best for every user or that its output is good animation.
|
|
60
|
+
|
|
61
|
+
Use the engine/provider's real capabilities and relevant skill. The component preparer supplies editable HTML scenes, not an encoded video or generation API. Rendering still uses the available local tools. When the edit prioritizes elaborate motion or faithful transfer, render its most demanding short passage before extending that approach to the whole piece. Compare the actual action, staging, readable holds and transitions with the inspected reference; fix lost mechanisms before adding decoration. This internal check reuses existing approval, including direct mode, and does not require a new customer decision.
|
|
43
62
|
|
|
44
63
|
## Review and preserve
|
|
45
64
|
|
|
46
65
|
Review important states and transition strips, then actual motion and relevant audio. Recompose and verify each requested ratio. SFX remain optional and must respect exclusions; timeline cues or meters do not prove audibility. For substantial motion/audio work use [production and review](../editorbrain/references/production-and-review.md) and the review order in [motion craft](references/motion-craft.md), reusing checks already performed.
|
|
47
66
|
|
|
48
|
-
Check whether the viewer can tell what changed and why from the animation itself. If removing the moving graphic leaves the explanation unchanged, reconsider whether the motion is only decoration. Do not treat passed font, bounds, seek or encoding checks as artistic approval.
|
|
67
|
+
Check whether the viewer can tell what changed and why from the animation itself. If removing the moving graphic leaves the explanation unchanged, reconsider whether the motion is only decoration. Compare the sequence with the inspected mechanisms and any applicable user-approved quality sample using [production review](../editorbrain/references/production-and-review.md). Do not treat passed font, bounds, seek or encoding checks as artistic approval.
|
|
49
68
|
|
|
50
69
|
Tie findings to output hash/version and time; distinguish observed, inferred and designed decisions. Frames cannot establish motion, and silent inspection cannot establish sound quality. Report uninspected modalities explicitly. After a local correction, recheck affected events and the delivered whole.
|
|
51
70
|
|
|
@@ -10,6 +10,13 @@ A scene needs a meaningful state change: reveal a relationship, assemble a proce
|
|
|
10
10
|
|
|
11
11
|
Use short text as part of the action where appropriate: a request can become a constraint, a duration can become a calendar interval, or a word can become a visible boundary. Preserve object identity and show the consequence of each action. Design anticipation, action and a perceptible hold around the beat, rather than dividing every scene into equal steps. Camera moves, masks, deformation and light/dark changes are options, not a required effects checklist. [Motion craft](motion-craft.md) gives the shot intent, starting values and common failures.
|
|
12
12
|
|
|
13
|
+
Let media participate in the action: an image may fill the frame, become an
|
|
14
|
+
object inside a larger system, then reveal a detail. For example, separate
|
|
15
|
+
information fragments can gather into a summary that carries into the next
|
|
16
|
+
beat. This illustrates a mechanism, not required imagery. When two scenes share
|
|
17
|
+
an object, match its crop, bounds, anchor and state at the handoff; otherwise a
|
|
18
|
+
continuous camera move can hide an accidental jump. Inspect adjacent frames.
|
|
19
|
+
|
|
13
20
|
Use a compact shot record when the existing plan lacks this detail:
|
|
14
21
|
|
|
15
22
|
| Field | What to record |
|
|
@@ -49,6 +56,11 @@ Use sparse beat frames to inspect composition and dense transition strips around
|
|
|
49
56
|
|
|
50
57
|
Recompose each requested ratio: adjust hierarchy, line breaks, staging, asset crop and trajectory as necessary. Generate evidence from each output, since a horizontal pass does not validate a vertical crop. Watch the final export for continuity, pace and closure; listen if audio is present and the modality is available. Follow the shared [production review](../../editorbrain/references/production-and-review.md) for delivery checks.
|
|
51
58
|
|
|
59
|
+
Compare editorial quality there as well: successful seeks, easing functions and
|
|
60
|
+
font bounds do not show that the scene explains its message or meets a relevant
|
|
61
|
+
approved sample. Review the composite, including imagery and occlusion, not just
|
|
62
|
+
isolated text boxes or the source code.
|
|
63
|
+
|
|
52
64
|
Keep localized findings concise: `output hash/version → time/interval → observed defect → evidence → correction`. A contact sheet plus transition strips and playable output can be a local review artifact; no particular HTML format or helper is required. Preserve editable sources, asset hashes, engine details and final timing locally. Recheck the modified interval and final delivery without reopening approved unrelated scenes.
|
|
53
65
|
|
|
54
66
|
For frame boundaries and supplied geometry, read [targeted motion review](../../editorbrain/references/motion-review.md). It provides an optional CLI sampling plan and collision candidates; it does not replace watching motion.
|