Files
openmotion/shared/workflow-entry.js
Haoran Zhou d76ba40c9e docs(skills): share reference-video reading and keep production independent of entries (#519)
* Keep shared production guidance independent of the recreate entry

Production context and native guidance pointed at the recreate Skill's
delivery page in four places, so the shared layer depended on one entry.
They now say that an entry which owns its delivery and review scope applies
that scope, and other routes keep the shared verification. The media
inspection guide also stops naming the recreate page.

Recreate delivery now presents the verified final video in the chat through
the shared final video delivery step, and its Deliver section states that
this presentation is not a file attachment.

The workflow layering test now also rejects recreate references from the
shared production sections.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* Keep entry judgement and provider lists in their owning guides

Native authoring limited reference pacing to the recreation scope, which put
one entry's decision in the shared layer. It now applies whenever the
selected entry keeps a reference video's pacing or structure.

The media job procedure repeated the six provider links that the shared
material guidance already maintains, so a newly added provider could be
missing from one of them. It now opens the selected guide from that single
list or through action=reference.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* Share reference-video reading and measurement across both rebuild routes

Move the duplicated method for obtaining, reading and measuring a
reference video, choosing an editable representation, text and font
handling, and fidelity checks into a new production reference
(production/reference). Recreate and video-to-template now link to it
and keep only their own rules: recreate keeps its single-pass authoring,
working notes and difficult-reconstruction method; video-to-template
keeps TEMPLATE.md recording, no pre-substitution and packaging.

Font sourcing follows the shared catalog rule instead of a separate
Google Fonts instruction, and substitutions are recorded in the
TEMPLATE.md text table and differences rather than a missing
"approximations" section. The pinned runtime and media tool paths move
to the shared page so both routes and the recreate measurer use one
description. Context reading rows, AGENTS.md, the MCP entry guide and
docs/skills.md describe the shared page, and a layering test keeps the
method in one place.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-17 15:37:55 +08:00

4 lines
1.6 KiB
JavaScript

// Shared discovery wording; detailed scope and dependencies live in production/context.
export const templateDiscoveryGuide = "For user requests to browse, compare or recommend OpenMotion catalog templates, call openmotion_open_preview with target=templates and follow its host page handoff in the same turn, unless the user requested text-only or no opening. Verify the library is visible before claiming it opened; if the host has no browser/panel, provide the real URL and state the limitation. Browsing does not authorize project creation, template-source downloads or export. Full discovery guidance is production/templates.";
export const workflowEntryGuide = 'Use OpenMotion. Choose the entry for the current intent: openmotion-director (director) for original creation, narrative/motion/sound redesign or creative review; openmotion-template-to-video (template) for catalog browsing/recommendations and existing editable-template use/adaptation; openmotion-recreate (recreate) for reference-video reconstruction of this work; openmotion-video-to-template (video-to-template) for a reusable editable template; openmotion-production (production) for scoped engineering under established creative decisions, preview, technical checks, troubleshooting and export. Enter specialists directly; production is not a prerequisite. Reuse production/context for shared dependencies. Existing production/start remains a short navigation fallback. Recreate includes its own rebuild/verification references and measurer; a video-only edit without an editable project also belongs there. Recreate and video-to-template share production/reference for reading and measuring the reference video.';