The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
Sync the integrated source scanner and record the matching Motion revision
罗高5b2e5bcb3a22
diff --git a/.github/scripts/motion-scan.mjs b/.github/scripts/motion-scan.mjsindex c578f203..5026f58a 100644--- a/.github/scripts/motion-scan.mjs+++ b/.github/scripts/motion-scan.mjs@@ -111,12 +111,21 @@ export async function scanSource(source, binary) {const names = (await runFile('git', ['ls-files', '-z'], { cwd: source })).split('\0').filter(Boolean);const work = await mkdtemp(path.join(os.tmpdir(), 'motion-source-scan-'));try {+ // Scan the public gallery separately so neither batch exceeds the archive scan budget.+ const batches = new Set();for (const name of names) {assert(!name.split('/').includes('..') && !path.isAbsolute(name), 'Unsafe tracked path');const file = path.join(source, name); assert((await lstat(file)).isFile(), 'Tracked links are forbidden');- await mkdir(path.dirname(path.join(work, name)), { recursive: true }); await cp(file, path.join(work, name));+ const batch = name.startsWith('docs/readme/') ? 'gallery' : 'source';+ batches.add(batch);+ const destination = path.join(work, batch, name);+ await mkdir(path.dirname(destination), { recursive: true }); await cp(file, destination);}- return await scanTree(work, 'source', binary);+ const reports = [];+ for (const batch of batches) reports.push(await scanTree(path.join(work, batch), 'source', binary));+ if (!reports.length) return await scanTree(work, 'source', binary);+ return { ...reports[0], files: reports.reduce((n, report) => n + report.files, 0),+ bytes: reports.reduce((n, report) => n + report.bytes, 0) };} finally { await rm(work, { recursive: true, force: true }); }}diff --git a/docs/motion-release-activation.md b/docs/motion-release-activation.mdindex f38ecb9c..c9302065 100644--- a/docs/motion-release-activation.md+++ b/docs/motion-release-activation.md@@ -4,7 +4,7 @@ This branch retains the legacy HTML Anything application. The Motion application## Scope and provenance-The three manual workflows, their runtime helpers, installation/acceptance templates and deterministic tests were initially copied without modification from reviewed PR [#214](https://github.com/nexu-io/html-anything/pull/214), source commit `de45dadea282214762c7b3123cea7e6b1044f26f`. The test-channel follow-up copies the same 18 shared control files byte-for-byte from Motion commit `561e8e4c7d541560ea7659f7209163c6e3695783` and updates this control set to require DEV candidates and defer npm test promotion until native checks pass. No application business logic or private Git history is imported; shared runtime helpers and tests are included as control dependencies. The extra `Motion release controls` CI job runs only syntax checks and simulated-service tests with read-only permissions; the legacy CI commands and permissions are preserved. Its runner is pinned to Ubuntu 24.04 because the locked Playwright cannot install browsers on the Ubuntu 26.04 image now selected by ubuntu-latest.+The three manual workflows, their runtime helpers, installation/acceptance templates and deterministic tests were initially copied without modification from reviewed PR [#214](https://github.com/nexu-io/html-anything/pull/214), source commit `de45dadea282214762c7b3123cea7e6b1044f26f`. The test-channel follow-up copies the same 18 shared control files byte-for-byte from Motion commit `18758ba87466f4804179b6d34e803b718a3198ca` and updates this control set to require DEV candidates and defer npm test promotion until native checks pass. No application business logic or private Git history is imported; shared runtime helpers and tests are included as control dependencies. The extra `Motion release controls` CI job runs only syntax checks and simulated-service tests with read-only permissions; the legacy CI commands and permissions are preserved. Its runner is pinned to Ubuntu 24.04 because the locked Playwright cannot install browsers on the Ubuntu 26.04 image now selected by ubuntu-latest.GitHub requires a manual workflow to exist on the default branch before its Run workflow entry is available. After registration, our controls additionally require execution from `main`; they fetch the Motion application from a reviewed commit integrated into `feature/motion`. See [GitHub manual workflows](https://docs.github.com/en/actions/how-tos/manage-workflow-runs/manually-run-a-workflow).