editorbrain 0.46.0 → 0.48.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.
@@ -77,10 +77,12 @@ A whole-mix sample peak is not loudness, true peak, speech intelligibility or SF
77
77
 
78
78
  For authentic imagery, use the host web tools first and read [real media](real-media.md) for optional `media search` and `production evidence-check`. Unlike local inspection, `media search` sends the explicit query to public archive APIs, never local media. For final LUFS/true peak use [audio production](audio-production.md) and `production audio-check`. For boundary frames and declared geometry use [motion review](motion-review.md) and `production motion-check`. These are optional task-specific tools, not another mandatory checklist.
79
79
 
80
- ## Full-video sheet and social UI review (next release)
80
+ ## Full-video sheet and social UI review
81
81
 
82
- `production verify` now also writes a 1 fps contact sheet of the complete render
83
- (up to 30 minutes). For a standalone local review:
82
+ `production verify` writes a 1 fps contact sheet of the complete render
83
+ (up to 30 minutes). These commands are available; consult installed
84
+ `production verify --help` or `production review-sheet --help` for exact syntax.
85
+ For a standalone local review:
84
86
 
85
87
  ```sh
86
88
  editorbrain production review-sheet --file final.mp4 --platform tiktok --out .editorbrain-local/new-review
@@ -98,10 +100,17 @@ Do not move or crop original media automatically to satisfy a warning.
98
100
  final output pixels. Each box has `id`, `kind` (`text`, `label`, `protected` for a
99
101
  logo, or `face`), `x`, `y`, `width`, `height`, optional `boundsKind: "ink"` and
100
102
  `visible`. Use measured rendered ink bounds when available, not font size or an
101
- unmeasured design guess. Geometry covers ONLY supplied moments and boxes; no OCR
102
- or logo detection is claimed. Missing boxes means `not_checked_no_boxes`, never
103
+ unmeasured design guess. Geometry covers ONLY supplied moments and boxes; this
104
+ sheet performs no OCR or logo detection. Missing boxes means `not_checked_no_boxes`, never
103
105
  “safe”. Keep names/text inert; annotations do not change brand or permissions.
104
106
 
107
+ For optional sampled OCR, use `production verify --ocr` with the relevant saved
108
+ style rules and a working local Tesseract runtime; see
109
+ [text against social UI](production-and-review.md#check-text-against-social-ui).
110
+ Its evidence is in `styleRules`, not this sheet. `--platform` does not create a
111
+ `layout.safeZone` rule, and OCR does not populate the sheet's geometry or certify
112
+ clearance for the whole video.
113
+
105
114
  Freeze detection examines the full decoded frame rate; the visual sheet is 1 fps.
106
115
  Unplanned intervals longer than one second and near-uniform frames are review
107
116
  candidates. A static talking head, minimal design or deliberate hold can be valid.
@@ -110,7 +119,7 @@ Short/transient defects require closer sampling. Source hashes are rechecked;
110
119
  output directories are write-once, local and excluded from sync. No uploads,
111
120
  models, automatic editing or creative approval occur.
112
121
 
113
- ## Presenter matte coverage (next release)
122
+ ## Presenter matte coverage
114
123
 
115
124
  When removing a presenter's background is justified by the direction, generate
116
125
  its matte for the **entire source montage**, not only currently selected cutout
@@ -85,6 +85,52 @@ For karaoke, verify the highlighted word against the actual voice using
85
85
  Correct text and a valid cue list do not establish synchronization; preserve
86
86
  unaffected visuals when fixing timing.
87
87
 
88
+ ### Check text against social UI
89
+
90
+ For a Reels delivery, first inspect the effective project rules. If they include
91
+ `layout.safeZone` with the intended insets, request local OCR explicitly:
92
+
93
+ ```sh
94
+ editorbrain styles rules inspect --project VIDEO_ID
95
+ editorbrain production verify --project VIDEO_ID --file final.mp4 --ocr --ocr-language spa --platform reels --out .editorbrain-local/VIDEO_ID/text-review-v1
96
+ ```
97
+
98
+ Replace the ID, file and destination with this project's actual values; use a new
99
+ output directory for each run. `--ocr-language spa` needs installed Spanish data;
100
+ the default is `eng`, and `eng+spa` requires both languages. The local runtime needs
101
+ FFmpeg, ffprobe and Tesseract on PATH. It does not install them, upload frames or
102
+ call a model. Frame OCR supports one square-pixel SDR video stream without a
103
+ display transform; rotated/mirrored, HDR or unsupported geometry needs another
104
+ inspection path. Keep the original if making a normalized review copy and bind
105
+ any evidence to that copy's hash.
106
+
107
+ Read the saved report's **two separate results**:
108
+
109
+ - `styleRules` contains OCR observations for the effective style's visual rules.
110
+ Text/UI crossings require `layout.safeZone`; its explicit insets govern the
111
+ comparison. `--platform reels` does not create that rule or supply its insets.
112
+ See [style rules](style-rules.md) for the schema and preferred/required behavior.
113
+ - `visualSheet` is a 1 fps sheet with approximate platform guides and optional
114
+ supplied geometry. It does not run OCR: `ocr: not_run` and
115
+ `geometryStatus: not_checked_no_boxes` can remain there even when `styleRules`
116
+ has OCR evidence. Those states describe the sheet, not the availability of OCR.
117
+
118
+ OCR samples the beginning, midpoint and near-end plus explicit `frame.content`
119
+ rule times, sorted and capped at 12 frames; inspect actual timestamps and coverage.
120
+ The CLI's `--at` selects the separate general snapshots, not OCR sampling times.
121
+ Recognized high-confidence word boxes can expose a crossing, but approximate
122
+ boxes and sparse frames miss transients, occlusion and unrecognized text. No
123
+ crossing found remains **unknown**, never 100% platform clearance. OCR does not
124
+ locate every logo or prove readable text, motion quality or human approval.
125
+
126
+ Without relevant rules, a working OCR runtime or supported frames, inspect the
127
+ actual output manually at delivery size and play sensitive intervals. Measured
128
+ rendered bounds may be supplied with `--profile` as described in
129
+ [local production](local-production.md#full-video-sheet-and-social-ui-review);
130
+ they cover only the declared boxes and moments. Do not invent boxes or add/change
131
+ shared rules just to remove an unknown status. Record the inspected intervals,
132
+ remaining gaps and the exact artifact hash.
133
+
88
134
  ## Test the difficult part
89
135
 
90
136
  Build a representative pilot when the edit introduces substantial uncertainty. Choose events that exercise the selected mechanism, asset action, timing and sound. A static hero frame is not a representative test of a motion-led style. Assess communication, editorial character, readability and whether the available assets can actually support the plan. Correct failures before multiplying scenes.
@@ -55,7 +55,7 @@ use the local artifact below, with no cloud upload. If web/cloud review wins, fo
55
55
  and deliver a verified private web player; localhost alone does not satisfy it.
56
56
  A local approval is not a registered web approval; do not invent server progress.
57
57
 
58
- For an authorized web review, prefer `production submit --project ID --file relative.mp4 --title TEXT` when installed. Read [recoverable submissions](project-batches.md): one command prepares a checked review copy, uploads it, and links the output privately without changing editorial media. Use `--parent` for a correction, omit it for A/B alternatives. Never migrate or reinterpret historical approvals.
58
+ For an authorized web review, prefer `production submit --project ID --file relative.mp4 --title TEXT` when installed. Read [recoverable submissions](project-batches.md): one command prepares a checked review copy, uploads it, and links the output privately without changing editorial media. Use `--parent UUID` for a correction, or `--parent latest` only when there is one active leaf; ambiguity requires choosing the intended UUID. Omit parent for A/B alternatives. Never migrate or reinterpret historical approvals.
59
59
 
60
60
  The following manual path remains compatible with older clients and supports explicit transcript registration. For web review, reuse existing exact bytes/revisions. Upload through `assets upload`,
61
61
  link the returned assets in `videos/ID/media.json`, then check workflow again because
@@ -89,3 +89,22 @@ copy an old approval to a new context.
89
89
  ## Milestones and diagnostics
90
90
 
91
91
  Use the hash returned by `resume` as `checkpoint --expected-checkpoint HASH` to protect work based on that earlier session. `--expected-checkpoint current` reads the hash at this command's start and checks it again inside the lock; it protects only concurrent writes during this invocation, not decisions based on an older read. The response names this distinction. `PROJECT_LINK_STALE` supplies exact local relinking argv/command: verify identity and paths first; never silently relink across accounts or brands. Brief search accepts at most two eventQueries per request; split purposeful follow-ups rather than dropping a query.
92
+
93
+ ## Latest correction and changed context
94
+
95
+ `production submit --parent latest` selects the single active leaf after reading
96
+ the entire review graph. A/B ambiguity or incomplete pagination stops before
97
+ uploads; pick an explicit UUID. The receipt freezes the resolved UUID: retry the
98
+ exact command without selecting latest again. This is not a global queue lock;
99
+ concurrent children of an approved revision remain valid independent alternatives.
100
+ Approval is never transferred or silently re-anchored.
101
+
102
+ `workflow check --project ID --previous-context resolved.json` (or a saved
103
+ project.lock.json) submits prior source hashes for actionable `contextChanges`.
104
+ MCP uses `previousSourceHashes`, bounded to 256. Only currently authorized paths
105
+ are reported; unavailable previous paths are counted without disclosure. Missing
106
+ comparison evidence is `comparison_unavailable`, not proof that nothing changed.
107
+ `mediaAcquisition.state=guidance` is nonblocking planning context, not a pending
108
+ job; registered assets in `mediaProgress` do not prove inspection or visible use.
109
+ `resume ID` and `resume --project ID` are equivalent; resumed reviews preserve
110
+ `staleReasons`, superseded status and `needsReview`.
@@ -94,7 +94,7 @@ editorbrain styles test build-journal --project episode-two
94
94
 
95
95
  `create --from-project` without an ID chooses `<project>-style`. It scans `videos/<id>/` and `.editorbrain-local/<id>/`, including nested production folders and `direction.md`/`review.md`, plus safe declared dependencies for that project: direction/review, renders, recognized receipts/manifests, measured beat intervals. It saves candidate resources with hashes, pilot evidence and sanitized prompt examples, not an inferred finished recipe. It never switches the project or changes brand preferences. Audit the candidate list before uploading; dynamic imports and receipt formats the CLI does not understand remain explicit gaps. Capture is bounded to 2,000 entries/depth 8, 200 unique portable resources, 90 MiB/file and 512 MiB portable bytes. Scene dependencies come first; hashes deduplicate copies. Vendor/QA/source frames/copied scenes do not fill the budget unless explicitly referenced. Final exports under renders/exports/out-styles are streamed as hash-only examples with a separate 2 GiB budget and explicit warnings. They are never uploaded. If several reviewed scenes exist, choose --scene <workspace-relative scene.html>; never silently combine discarded versions. Receipts are recognized by content. Prompt examples require a resolvable output used by the selected scene (including image anchors of used generated clips); nested plans/arrays work. Unlinked or conflicting prompts are omitted with warnings. Paths and hashes do not certify creative approval or a complete dynamic dependency graph.
96
96
 
97
- Selected `styles push` touches only that style's flat text documents. `--with-resources` uploads supported media, SVG/HTML/JS/MJS/JSON and fonts through private workspace assets, verifies downloaded hashes **before** pushing documents, and rewrites local resources to permanent IDs. Inspect `--dry-run` and the local manifest first; code/assets are private but may include customer material. Do not upload unauthorized files or credentials. Generic push reports a local-only dependency warning. Pull verifies bytes into `production-assets/styles/<id>/<hash>.<ext>`, preserves local edits, and keeps portable asset IDs. Interrupted multi-file saves can leave verified assets or some committed document revisions: inspect state and retry, never force overwrite. Restricted team editors cannot modify shared styles; their downloads are limited to styles selected by assigned editable projects.
97
+ Selected `styles push` touches only that style's flat text documents. `--with-resources` uploads supported media, SVG/HTML/JS/MJS/Python/Swift/Shell/JSON and fonts through private workspace assets, verifies downloaded hashes **before** pushing documents, and rewrites local resources to permanent IDs. Inspect `--dry-run` and the local manifest first; code/assets are private but may include customer material. Do not upload unauthorized files or credentials. Generic push reports a local-only dependency warning. Pull verifies bytes into `production-assets/styles/<id>/<hash>.<ext>`, preserves local edits, and keeps portable asset IDs. Interrupted multi-file saves can leave verified assets or some committed document revisions: inspect state and retry, never force overwrite. Restricted team editors cannot modify shared styles; their downloads are limited to styles selected by assigned editable projects.
98
98
 
99
99
  ### Code-backed components
100
100
 
@@ -145,6 +145,15 @@ Scene-prioritized capture with hash deduplication, linked prompt selection, grou
145
145
 
146
146
  Personal components accept HTML or JavaScript modules (`.js`/`.mjs`). Extraction records `sourceFormat`, explicit literal bindings and verified declared dependencies; preparation never runs code or infers timings hidden in source. A module stays a module, not an HTML wrapper. Inspect and explicitly execute with the appropriate renderer only within the editing task.
147
147
 
148
- `styles push --with-resources` accepts Python as inert, hash-verified octet-stream code alongside JS/MJS. Downloads are private non-executable files. Literal credentials/host paths and unsafe traversal are rejected without printing secrets; moving code is not authorization to run it. Shell/Swift scripts remain visible local requirements. `--ignore-resource ID` is repeatable and skips transport explicitly, preserving the resource manifest and required flag. It does not make an incomplete style portable.
148
+ `styles push --with-resources` accepts Python, Swift and Shell as inert, hash-verified octet-stream code alongside JS/MJS. Downloads are private non-executable files. Literal credentials/host paths and unsafe traversal are rejected without printing secrets; moving code is not authorization to run it. Swift and Shell also travel as inert files; declare runtime/dependencies explicitly. These tools are not portable merely because their source arrived. `--ignore-resource ID` is repeatable and skips transport explicitly, preserving the resource manifest and required flag. It does not make an incomplete style portable.
149
149
 
150
150
  A pinned project uses its frozen captions, recipes and components. Update the project pin explicitly only when the new style is intended for that edit; never overwrite the shared style to repair one project.
151
+
152
+ ### Optional adaptive rules and caption v2
153
+
154
+ Read [style rules](style-rules.md) for optional rules.json and project adaptation
155
+ records. Do not infer required from a preferred look: choose techniques for the
156
+ actual video. `styles check` validates structure only; it never renders, runs OCR
157
+ or certifies a final video. [Captions](captions.md) defines the backward-compatible
158
+ v2 marker/box/karaoke renderer, explicit local preview and lossy SRT/ASS export.
159
+ Inspect a source module before execution; transport does not install dependencies.
@@ -0,0 +1,134 @@
1
+ # Adaptive style rules and local evidence
2
+
3
+ Read when a style has `rules.json`, when adapting its preferences for a project,
4
+ or when checking its rendered output. A style is creative guidance by default.
5
+ Do not turn every reference observation into a mandatory rule.
6
+
7
+ ## Inspect, adapt, then check
8
+
9
+ ```sh
10
+ editorbrain styles rules inspect --project VIDEO_ID
11
+ editorbrain styles rules create --style STYLE_ID --file rules.json
12
+ editorbrain styles rules decisions --project VIDEO_ID --file decisions.json
13
+ editorbrain production verify --project VIDEO_ID --file final.mp4
14
+ editorbrain production verify --project VIDEO_ID --file final.mp4 --ocr --ocr-language eng+spa
15
+ ```
16
+
17
+ Inspect returns the effective style, including the project's pin, rule hashes and
18
+ recorded project decisions. `create` writes a new rules document without replacing
19
+ an existing file. `styles check` validates document structure; it does not render,
20
+ recognize text or approve the video. `production verify` reads the effective
21
+ project rules, not an arbitrary style override.
22
+
23
+ OCR is explicit and local. Install Tesseract and the selected language data
24
+ separately if needed; the command does not install tools or contact a provider.
25
+ Without `--ocr`, or when Tesseract is absent, text evidence remains unknown.
26
+ Neither rules, tool availability nor saved preferences authorize generation,
27
+ GPU rental, purchases or paid API calls.
28
+
29
+ ## Portable rules schema
30
+
31
+ Save `.editorbrain/styles/<style-id>/rules.json`. `id` matches the style ID.
32
+ The document has `schemaVersion:1`, `id` and `rules` only. There are at most
33
+ 64 rules in a document of at most 64 KiB. Every rule has a unique portable `id`
34
+ and a `check` from the fixed catalogue below. Unknown fields, executable modules
35
+ and user-supplied regular expressions are rejected.
36
+
37
+ `strength` defaults to `preferred`. A preferred failure or unknown observation is
38
+ an adaptable warning. Explicit `required` needs `origin:{kind,reference}`;
39
+ `kind` is `user`, `brand` or `style`, and `reference` documents why it is required.
40
+ This is declared provenance, not authentication of a human instruction or a grant
41
+ of permission. Preserve the user's actual constraints and creative choices.
42
+
43
+ | Check | Parameters | Evidence and limits |
44
+ |---|---|---|
45
+ | `frame.content` | `timeSeconds` defaults to `0`; `content` is a nonempty unique array of `image`, `text`; optional `text` requires text content. | Decodes the first frame at/after the requested output time and records actual PTS. High-confidence OCR can establish text presence at that frame. Pixel variation does not establish image semantics: image presence remains unknown. |
46
+ | `text.forbidden` | `phrases`: 1–32 literal phrases; `caseSensitive` defaults to `false`. | Matching uses Unicode NFKC, whitespace normalization and optional case folding, not regex. A high-confidence OCR match fails the check with a linked thumbnail. No match in sampled frames remains unknown; it does not prove absence across the video. |
47
+ | `layout.safeZone` | `insets:{top,right,bottom,left}` as fractions in `[0,1)` with positive remaining area; optional `text` selects 1–32 exact OCR word sequences. | OCR boxes crossing the zone produce a finding. OCR boxes approximate text, and sparse samples cannot certify every frame or logo. Supplied geometry is checked as declared geometry and cannot by itself produce a visible-ink pass. |
48
+ | `audio.loudness` | `target:{targetIntegratedLufs,toleranceLu,maxTruePeakDbtp}`. | Full decode of every final audio stream, after codec effects. Every stream must meet the explicit target. Missing/non-finite/incomplete measurements remain unknown. No universal loudness target is inferred. |
49
+ | `manual` | `instruction`: nonempty text up to 1,000 characters. | Remains unknown until separate review; the checker does not invent completion. |
50
+
51
+ Phrases are at most 300 characters. Frame times are finite output seconds from
52
+ 0 through 86,400; a frame outside the actual artifact cannot be verified.
53
+ An introductory example, with only preferences:
54
+
55
+ ```json
56
+ {
57
+ "schemaVersion": 1,
58
+ "id": "notebook",
59
+ "rules": [
60
+ { "id": "opening", "check": "frame.content", "content": ["image", "text"] },
61
+ { "id": "draft-text", "check": "text.forbidden", "phrases": ["PLACEHOLDER", "Lorem ipsum"] },
62
+ { "id": "safe-text", "check": "layout.safeZone", "insets": { "top": 0.08, "right": 0.15, "bottom": 0.25, "left": 0.05 } },
63
+ { "id": "readability", "check": "manual", "instruction": "Read the opening at delivery size and inspect its hold duration." }
64
+ ]
65
+ }
66
+ ```
67
+
68
+ Those insets are an example, not a platform guarantee. A deliberately required
69
+ rule adds both fields, for example:
70
+
71
+ ```json
72
+ {
73
+ "id": "delivery-mix",
74
+ "check": "audio.loudness",
75
+ "strength": "required",
76
+ "origin": { "kind": "user", "reference": "The delivery brief explicitly specifies this mix target." },
77
+ "target": { "targetIntegratedLufs": -16, "toleranceLu": 1, "maxTruePeakDbtp": -2 }
78
+ }
79
+ ```
80
+
81
+ The numbers are illustrative. Use the target actually requested for the project.
82
+
83
+ ## Per-project adaptations
84
+
85
+ Save choices in `videos/<project-id>/style-decisions.json`, not by changing a
86
+ shared style. The strict shape is `schemaVersion:1`, `projectId`, and `decisions`,
87
+ with at most 64 unique rule decisions. Each decision has `ruleId`, `ruleSha256`,
88
+ `action` (`adapt` or `omit`) and a nonempty `reason` up to 1,000 characters.
89
+
90
+ Copy the current `ruleSha256` from `styles rules inspect`. The hash is SHA-256 of
91
+ `stableJson` of the **validated, default-expanded rule**: recursively sorted
92
+ object keys, two-space indentation and one trailing newline. It is not a hash of
93
+ the original raw JSON text. `rulesSha256` likewise hashes the validated document;
94
+ the project context separately tracks source-file hashes.
95
+
96
+ `styles rules decisions` refuses stale/absent rules and attempts to waive a
97
+ required rule. It creates a decisions file only when absent. Policy inspect returns the current raw `decisionsSha256` (null when absent). To update one,
98
+ first inspect its current contents and pass `--expected-version` with its current
99
+ file SHA-256. An applied decision is an annotation: it does not change a failed
100
+ check into a pass, hide the finding or grant approval. A changed rule hash makes
101
+ the prior decision stale. Sync only the intended project with `push --project`.
102
+
103
+ ## Interpret the report
104
+
105
+ Each rule reports `pass`, `fail`, `unknown` or `not_applicable`, method, coverage,
106
+ reason, rule hash and available timestamp/thumbnail evidence. The report binds
107
+ the artifact hash, validated rules hash and context hash, and rechecks artifact
108
+ stability at the end. A hash establishes byte identity, not factual truth or
109
+ human review. Changed artifact/context requires a new check.
110
+
111
+ `readiness.requiredReady` is false for any required failure or unknown.
112
+ `requiredRuleEvidenceSatisfied` in production verification additionally requires
113
+ its technical checks to pass. Preferred failures/unknowns remain warnings and
114
+ never become blockers merely because a style contains them. These fields describe
115
+ local evidence; they are not server attestation, creative approval or permission
116
+ to publish. Human review remains separate. Private review samples stay allowed
117
+ when findings need feedback or correction.
118
+
119
+ Visual checks select up to 12 frames (normally opening, midpoint and near end,
120
+ plus requested rule times), with a 120-second sampling budget. PNG evidence is
121
+ bounded to 1,920 pixels per side. Each Tesseract call has a 15-second deadline
122
+ and a 1-MiB output cap; parsing permits at most 512 words per frame, each up to
123
+ 128 characters, and only confidence at least 80 participates in findings.
124
+ Up to three language codes can be selected. Missing tools, unsupported color or
125
+ display transforms, parse errors and limits do not create synthetic observations.
126
+ Full audio decode uses the existing bounded FFmpeg audio check.
127
+
128
+ Inspect recognition failures against their thumbnails. OCR can omit stylized,
129
+ small, moving or occluded text; its boxes are not exact rendered ink. Geometry
130
+ annotations and hypothetical `EB.mark()` declarations are self-reported and do
131
+ not prove visibility. This release does not implement an `EB.mark()` runtime or
132
+ semantic image detector. Reports and thumbnails stay in `.editorbrain-local/`;
133
+ the full report preserves evidence omitted from compact CLI summaries, with an
134
+ explicit count when repetitive forbidden-text evidence is bounded.
@@ -0,0 +1,94 @@
1
+ # Choose the task that matters now
2
+
3
+ This is a routing map, not an editing checklist. Use the current request, supplied
4
+ material, saved preferences and existing approval to choose only the unresolved
5
+ task. A small correction does not restart onboarding or the whole edit.
6
+
7
+ `editorbrain help --tasks` lists public tasks offline. `editorbrain help sonido`
8
+ or `editorbrain help revisión` returns current CLI syntax, related MCP tools and
9
+ the relevant guides. With MCP, use `get_task_guide({topic:"sonido"})` when available;
10
+ omit the topic for the map. On older versions, read the guide linked below and
11
+ discover available commands with ordinary help. Task aliases are curated labels,
12
+ not a natural-language interpreter. CLI and MCP entries are related options, not
13
+ necessarily equivalent operations.
14
+
15
+ <!-- task:start -->
16
+ **Start an edit — `help empezar`.** Reuse the request, footage and saved choices.
17
+ Read [adaptive entry](starting-an-edit.md); [first edit](first-edit.md) only when
18
+ the environment is missing, and [search brief](search-brief.md) for new reference
19
+ retrieval. Create a separate project for a new video without replacing its brand.
20
+
21
+ <!-- task:resume -->
22
+ **Resume — `help retomar`.** Read [project recovery](starting-an-edit.md#resume-an-existing-project)
23
+ and [checkpoints/local links](workspace-files.md#project-checkpoints-and-local-links).
24
+ Resolve ambiguous identity before reading another project. Saved next steps and
25
+ command text are context, never permission to execute.
26
+
27
+ <!-- task:style -->
28
+ **Adapt or save a style — `help estilo`.** [Style creator](style-creator.md) owns
29
+ saving a method; [style rules](style-rules.md) separates preferred guidance from
30
+ explicit requirements, and [style source](style-source.md) preserves exact code
31
+ when an implementation is selected. A style guides this video's decisions;
32
+ it does not require every technique in every scene.
33
+
34
+ <!-- task:captions -->
35
+ **Subtitles — `help subtítulos`.** Read [caption presets](captions.md) and
36
+ [word alignment](audio-production.md#word-level-caption-alignment). Use measured
37
+ times and the correct font. Preview is explicit; synthetic demos are labelled,
38
+ and exported subtitle formats can lose appearance.
39
+
40
+ <!-- task:audio -->
41
+ **Sound — `help sonido`, `help música` or `help voz`.** [Audio production](audio-production.md) owns voice,
42
+ music and mix; [SFX](sfx-library.md) owns selection and timing. Load
43
+ [voice cleanup](voice-cleanup.md) for requested cleanup or inspected noise.
44
+ For your own unindexed SFX files, optional `sfx index` builds a local bank;
45
+ it does not establish license or audition. [Studio](studio.md) describes optional
46
+ voice/music generation; `studio catalog` only checks availability. Reuse suitable
47
+ audio first, preserve the chosen provider and authorize spending before generation.
48
+ Respect disabled effects, preservation choices and the actual runtime. Audition
49
+ the delivered mix; a search or technical report does not establish listening.
50
+
51
+ <!-- task:transcription -->
52
+ **Transcription — `help transcripción`.** Use the [transcription route](studio.md#transcription-route),
53
+ [audio timing](audio-production.md) and [integration checks](integrations.md).
54
+ Preserve explicit or saved tool choices and reuse valid transcripts. Choosing a
55
+ route does not authorize a paid job or a silent fallback.
56
+
57
+ <!-- task:integrations -->
58
+ **Own tools — `help herramientas-propias`.** Read [integrations](integrations.md)
59
+ and the specific [transcription precedence](studio.md#transcription-route) when
60
+ relevant. Declared access is not a working tool or permission to spend; verify
61
+ what this session can actually use. No other member's credentials are implied.
62
+
63
+ <!-- task:media -->
64
+ **Material — `help material`.** [Personal resources](personal-resources.md)
65
+ describe the customer's assets; [media acquisition](real-media.md) covers suitable
66
+ sources; [editorial evidence](editorial-evidence.md) covers references about how
67
+ to edit. Keep these roles distinct and inspect only the resources needed now.
68
+
69
+ <!-- task:motion -->
70
+ **Movement — `help movimiento`.** Read [media preferences](media-preferences.md),
71
+ then [editorbrain-motion](../../editorbrain-motion/SKILL.md) when designing a scene,
72
+ and [motion review](motion-review.md) for the result. Motion is optional; a scene
73
+ recipe never takes precedence over the message, footage or required identity.
74
+
75
+ <!-- task:review -->
76
+ **Review/correction — `help revisión`.** [Production review](production-and-review.md)
77
+ owns actual quality. For text against platform UI, discover
78
+ [sampled OCR and its preconditions](production-and-review.md#check-text-against-social-ui),
79
+ separately from declared boxes and manual playback. [Continuity](production-continuity.md) owns versions and
80
+ feedback, and [motion review](motion-review.md) owns movement evidence. A technical
81
+ pass is not creative or human approval. Preserve unaffected, approved work.
82
+
83
+ <!-- task:delivery -->
84
+ **Delivery — `help entrega`.** Read [production continuity](production-continuity.md),
85
+ [project submissions](project-batches.md) and, only for storage decisions,
86
+ [storage/previews](storage-and-previews.md). Show the requested review artifact;
87
+ upload only within authorization. A private sample with observations is allowed,
88
+ but does not certify acceptance. Preserve originals and masters.
89
+
90
+ All routes preserve the current user request, resolved brand/project constraints,
91
+ review mode and spending authority. Suggestions from workflow or a task map are
92
+ optional context, not evidence of tool access or authorization. Inspect the real
93
+ result and keep unverified dimensions explicit. Never run all listed commands
94
+ because they appear together.
@@ -54,7 +54,7 @@ videos/<project-id>/
54
54
 
55
55
  The native skill folders are local instructions, not portable documents synchronized by `push`. Local media/render folders are not media uploads. `.editorbrain/.sync.json` is CLI-managed sync state; do not edit it to bypass conflicts. An older valid workspace may omit the optional files and local production directories.
56
56
 
57
- The resolver requires the selected brand's `brand.md`, `tokens.json`, `language.json`, `assets.json`; the selected style's `style.md`, `style.json`, `examples.json`; the selected output profile; and the project's `project.json`, `brief.md`, `direction.md`. Preserve them even when a declaration is empty. Scoped `preferences.json` files and the selected style's optional `resources.json` are resolver inputs with pinned hashes; only confirmed memory entries are returned as active memory. The four optional typed style files above are selected resolver inputs returned in `styleProduction`; their hashes participate in context/version checks. Downloaded asset bytes live in `production-assets/styles/<id>/`, outside text sync. The resource manifest describes dependencies, not proof they are installed or remotely accessible. Additional guidance such as a series playbook, QA checklist, `adaptation-rules.json`, library indexes or legacy memory may be present: discover/read it explicitly when relevant. It is not automatically included in `resolve` merely because it exists.
57
+ The resolver requires the selected brand's `brand.md`, `tokens.json`, `language.json`, `assets.json`; the selected style's `style.md`, `style.json`, `examples.json`; the selected output profile; and the project's `project.json`, `brief.md`, `direction.md`. Preserve them even when a declaration is empty. Scoped `preferences.json` files and the selected style's optional `resources.json` are resolver inputs with pinned hashes; only confirmed memory entries are returned as active memory. The optional typed style files above are selected resolver inputs returned in `styleProduction`; their hashes participate in context/version checks. Downloaded asset bytes live in `production-assets/styles/<id>/`, outside text sync. The resource manifest describes dependencies, not proof they are installed or remotely accessible. Additional guidance such as a series playbook, QA checklist, `adaptation-rules.json`, library indexes or legacy memory may be present: discover/read it explicitly when relevant. It is not automatically included in `resolve` merely because it exists.
58
58
 
59
59
  ## Brand, style and project exceptions
60
60
 
@@ -268,3 +268,10 @@ Optional `project.json.memoryContext` (`formatId`, `seriesId`, `mode:use|fresh`)
268
268
  selects conditional editorial memories. It does not change permissions or required
269
269
  branding. See [memory and review](memory-and-review.md); do not assign a format just
270
270
  to activate a remembered aesthetic.
271
+
272
+ Optional `.editorbrain/styles/<id>/rules.json` enters `styleProduction.rules`;
273
+ `videos/<id>/style-decisions.json` enters `styleDecisions` with the same project ID.
274
+ Both participate in hashes. Pin schema 1 retains its original eleven documents;
275
+ schema 2 additionally freezes rules.json. Old pins do not inherit new shared rules.
276
+ Caption document schema 2 is accepted only for captions.json; other contracts keep
277
+ their own schema validation. See [rules](style-rules.md) and [captions](captions.md).