editorbrain 0.47.1 → 0.49.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.
@@ -87,7 +87,10 @@ approvals; a checkpoint is an agent's declaration, not a review or user approval
87
87
  Apply the current request to the remaining work. If no checkpoint exists, read
88
88
  the existing brief/direction and record the next real milestone without inventing
89
89
  completed or pending tasks. Do not repeat onboarding or a valid review merely
90
- because the conversation is new.
90
+ because the conversation is new. Inspect `projectProgress.readiness` and `localSync`
91
+ when available: recover the exact prior artifact/approval and close only the missing
92
+ operation. See [visual evidence](workflow-evidence.md). A legacy server without those
93
+ fields means unknown, not permission to skip a configured review.
91
94
 
92
95
  After resume, use `checkpointHash` as `--expected-checkpoint` when saving the
93
96
  next milestone (`none` only when no checkpoint exists). `CHECKPOINT_CONFLICT`
@@ -215,7 +218,9 @@ can supply scoped direction; persist only explicitly requested changes.
215
218
  questions. Missing source/permission or a required review pauses only affected
216
219
  work. State the specific dependency and a recovery action; silence is not consent.
217
220
 
218
- For review, apply the preference to the work actually remaining:
221
+ For review, apply the preference to the work actually remaining. The existing
222
+ `to_edit/editing/review/completed` stages do not change. Readiness is evidence for
223
+ continuing, not a second wizard or a demand to recreate every artifact:
219
224
  - **Directions:** when direction is open, show 1–3 useful visual directions with
220
225
  inspected, labelled examples. Recommend one. If the user already selected the
221
226
  direction, record that scoped choice and proceed; don't ask them to choose again.
@@ -0,0 +1,99 @@
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.
95
+
96
+ For a missing visual handoff or resuming an approved choice, use
97
+ [visual evidence](workflow-evidence.md) inside the existing review route. Check
98
+ readiness and synchronization; do not add another set of stages or a creative
99
+ questionnaire. Delivery and an actual user decision are different facts.
@@ -0,0 +1,107 @@
1
+ # Visual evidence and reliable handoffs
2
+
3
+ Requires CLI 0.49.0+ and an API that advertises review-evidence support. Discover
4
+ `production present` and the MCP review-evidence tools before using them. Older
5
+ clients/APIs may not support them; missing support is unknown, never approval.
6
+ Keep the current project stages and artifact phases. This guide closes missing
7
+ operations, not a new wizard, rigid creative process or compulsory set of designs.
8
+
9
+ ## Read what remains
10
+
11
+ Use `workflow check --project ID --dir <workspace>` before full production and
12
+ delivery. Read `projectProgress.readiness.production` and `.delivery`; summaries
13
+ retain those conditions. `resume ID` recovers supported continuity without rendering
14
+ or spending. MCP uses `get_review_evidence` and the current workflow; for continuity, request
15
+ `includeReviewEvidence:"1"` when the tool schema supports it.
16
+
17
+ - `satisfied`: evidence for this exact context/phase is present. It does not grant
18
+ spending, certify quality or mean the final video was accepted.
19
+ - `not_required`: the user's explicit direct mode does not need an intermediate
20
+ visual approval. Final visual delivery still matters.
21
+ - `pending`: present the missing proposal/sample or wait for the actual decision.
22
+ Prepare independent work; do not repeat a question already answered.
23
+ - `stale`: identify the changed context, unavailable media, superseded revision or
24
+ feedback. Reconcile affected work, preserving valid choices elsewhere.
25
+ - `unknown`: inspect the relevant source/support instead of assuming success.
26
+
27
+ Autonomous question mode does not approve a sample. Do not change review preferences
28
+ or mislabel a full render as a preview to bypass a condition. External editors cannot
29
+ be stopped by the API: apply the same review condition before invoking them yourself.
30
+ Preparing proposals/previews and technically verifying an existing output remain allowed.
31
+
32
+ ## Record the actual handoff
33
+
34
+ 1. Prepare the requested visual artifact in the chosen review surface. Inspect that
35
+ it can actually display/play there. A path, upload or local server alone is not
36
+ a handoff. Retain the shared `editorialSnapshot.contextVersion`.
37
+ 2. Deliver that artifact or authenticated review link through the host UI. Then read
38
+ `production present --project ID` / `get_review_evidence` for its version.
39
+ 3. Submit a stable evidence UUID with `production present --project ID --file receipt.json`
40
+ or `record_review_evidence`. `presented:true` is your explicit declaration
41
+ of what happened, not a shortcut to make a gate pass.
42
+ 4. Read back the resulting readiness. On an uncertain write, inspect the same UUID
43
+ before retrying; do not generate new IDs or silently overwrite a conflicting record.
44
+
45
+ For a cloud sample already registered, the receipt has this shape (replace every
46
+ placeholder with the verified returned value):
47
+
48
+ ```json
49
+ {
50
+ "evidenceId": "STABLE_UUID",
51
+ "contextVersion": "SHARED_EDITORIAL_SHA256",
52
+ "expectedVersion": "REVIEW_EVIDENCE_VERSION",
53
+ "phase": "review",
54
+ "source": {"kind": "revision", "revisionId": "EXACT_REVISION_UUID"},
55
+ "presented": true
56
+ }
57
+ ```
58
+
59
+ The CLI takes project identity from `--project`; MCP takes `projectId`. Phases are
60
+ the existing `directions`, `review`, `delivery`. Never infer phase from a title,
61
+ MIME or the most recent review. Bind an already approved, still-current revision to
62
+ its correct phase; its existing effective approval is reused. Do not add a second
63
+ approval field or ask the user to approve the same version again.
64
+
65
+ Local evidence instead references `{ "kind": "local", "artifactId": "HASH",
66
+ "sha256": "HTML_SHA256", "relativePath": ".editorbrain-local/ID/review.html" }`.
67
+ Use the generated artifact's identity and exact bytes. The CLI verifies the HTML,
68
+ identity and media; it does not upload them. Never store absolute paths or temporary
69
+ URLs. The API labels local evidence as attested, not remotely verified availability.
70
+
71
+ For a local decision already explicitly given by the user, add
72
+ `"decision": {"userConfirmed": true, "directionId": "EXACT_CHOICE"}` to a directions
73
+ receipt, or `"decision": {"userConfirmed": true, "approved": true}` to a review receipt.
74
+ Do not infer this from silence, a filename or generated feedback. A direction export
75
+ may contain `decision: "changes"` plus a `directionId`: validate the selection against
76
+ the actual artifact instead of interpreting that field alone as rejection.
77
+ Delivery does not use this field for final acceptance; preserve the existing exact
78
+ final-review/progress acceptance flow.
79
+
80
+ Keep immutable historical artifacts and receipts. After actual changes, create a
81
+ new artifact/version. When only adding a later decision, use a new receipt UUID for
82
+ that same exact artifact and current evidence version, keeping the earlier handoff.
83
+ Do not rewrite direction or project documents simply to record delivery: that would
84
+ change the context being acknowledged. Historical local artifacts lacking sufficient
85
+ identity/context cannot be silently asserted to match a new project context.
86
+
87
+ ## Close the milestone without a user reminder
88
+
89
+ Save actual done/pending work, decisions and artifact hashes with `checkpoint`, using
90
+ the last `checkpointHash` as `--expected-checkpoint`. Carry unresolved review and
91
+ synchronization operations into `pending`/`next` as data, not executable instructions.
92
+ If project synchronization is authorized, explicitly run its scoped push and check
93
+ success. Inspect conflicts, unknown outcomes and partial results before claiming sync.
94
+ Never include unrelated projects/brands or upload media to satisfy a bookkeeping step.
95
+
96
+ `localSync` compares actual local bytes with the known synchronization state. Unknown
97
+ remote state is not proof of loss or a successful backup; another agent may have changed
98
+ the server. A missing/changed file is not a reason to discard existing work. Refresh
99
+ and reconcile only relevant documents. MCP cannot inspect a local disk it cannot access.
100
+ No checkpoint, readiness result or receipt executes the next command automatically.
101
+
102
+ When the user withdraws an earlier local decision or presentation, read current
103
+ evidence and use `production withdraw --project ID --id UUID --expected-version HASH
104
+ --user-confirmed` or `revoke_review_evidence`. This invalidates that receipt without
105
+ erasing its history or pretending the original artifact changed. Never withdraw a
106
+ valid receipt merely because a different agent took over. Remote review corrections
107
+ continue using the existing revision feedback/revocation operations.
@@ -189,7 +189,7 @@ before retrying. Do not run an unattended force-overwrite loop. Without this fla
189
189
  only concurrent writes during the command are protected, not stale sessions.
190
190
 
191
191
  Saving a checkpoint is local. Synchronize it only through the usual explicit,
192
- authorized `editorbrain push --dir <workspace>`; no checkpoint command uploads
192
+ authorized `editorbrain push --project ID --dir <workspace>`; no checkpoint command uploads
193
193
  media or automatically pushes. Checkpoints are operational documents excluded
194
194
  from editorial resolution hashes, so recording progress does not invalidate a
195
195
  render. They supplement `direction.md`, versioned reviews and the progress board;