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
chore: carry forward Motion distribution prerequisites from #202
罗高3d6e21129ec7
diff --git a/.github/scripts/publish-install-guide.mjs b/.github/scripts/publish-install-guide.mjsindex 3d8854df..fa761a42 100644--- a/.github/scripts/publish-install-guide.mjs+++ b/.github/scripts/publish-install-guide.mjs@@ -15,7 +15,7 @@ export function storagePlan(record, { endpoint, bucket, publicOrigin }) {assert(/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-test\.[1-9]\d*(?:\.[1-9]\d*)*)?$/.test(record.version), 'Invalid guide version');assert.equal(record.version.includes('-test.'), record.channel === 'test', 'Channel and version differ');const prefix = record.channel === 'test' ? 'open-motion/dev' : 'open-motion';- return { endpoint: api.origin, bucket, publicOrigin: origin.origin, versionKey: `${prefix}/versions/${record.version}/install.md`, fixedKey: `${prefix}/install.md` };+ return { endpoint: api.origin, bucket, publicOrigin: origin.origin, versionKey: `${prefix}/${record.version}/install.md`, legacyVersionKey: `${prefix}/versions/${record.version}/install.md`, fixedKey: `${prefix}/install.md` };}export async function publishGuide(directory, config, { run = runFile, fetcher = fetch } = {}) {@@ -39,6 +39,8 @@ export async function publishGuide(directory, config, { run = runFile, fetcher =};const put = (key, condition, cache) => aws('put-object', ['--key', key, '--body', file, '--content-type', 'text/markdown; charset=utf-8', '--cache-control', cache, ...condition]);const existing = await get(plan.versionKey, path.join(work, 'version.md'));+ const legacy = await get(plan.legacyVersionKey, path.join(work, 'legacy-version.md'));+ if (legacy) assert(legacy.bytes.equals(expected), 'An immutable legacy version already has different installation instructions');if (existing) assert(existing.bytes.equals(expected), 'An immutable version already has different installation instructions');else await put(plan.versionKey, ['--if-none-match', '*'], 'public, max-age=31536000, immutable');await verifyPublic(plan.versionKey);diff --git a/README.md b/README.mdindex 924cbe79..177520af 100644--- a/README.md+++ b/README.md@@ -62,7 +62,9 @@ After each editing turn, the Agent requests the latest preview in the same chat## Start in Codex-Clone this public repository at `feature/motion` and open the checkout in Codex. You'll need Git, Node.js **22.18+** with npm, and a Codex CLI that supports plugins. MP4 export also requires Chrome/Chromium and FFmpeg/FFprobe. See [Windows test packages](docs/test-packages.md) for that installation path.+For a packaged test installation, give your Agent the [test installation instructions](https://releases.open-design.ai/open-motion/dev/install.md). They pin an exact npm version and describe isolated setup and native preparation. To reproduce a particular version, use `https://releases.open-design.ai/open-motion/dev/<exact-version>/install.md`; see the [current delivery record and limitations](docs/release-guide.md#published-test-candidate-064-test6). Software test versions default to the production template environment.++For source development, clone this public repository at `feature/motion` and open the checkout in Codex. You'll need Git, Node.js **22.18+** with npm, and a Codex CLI that supports plugins. MP4 export also requires Chrome/Chromium and FFmpeg/FFprobe. See [Windows test packages](docs/test-packages.md) for that installation path.Paste this into a Codex conversation:@@ -80,7 +82,7 @@ Media panels open beside the triggering button or timeline selection and adjust## MCP and lightweight installation-The [Motion application npm package](docs/npm-installation.md) includes the application and default manifest alongside its installer. It installs eleven MCP Tools and five Skills for Codex, Claude Code, DeepSeek Harness or WorkBuddy without adjacent files; locked npm dependencies and native tools are prepared separately. Build an test with `npm run package:npm -- dist/npm-test 0.6.4-test.1`. [test/stable acceptance](docs/release-guide.md) and isolated DEV template instructions are documented; no npm version has been published by this change. Complete platform ZIPs remain a backup.+The [Motion application npm package](docs/npm-installation.md), published as [@openmotion/app](https://www.npmjs.com/package/@openmotion/app), includes the application and default manifest alongside its installer. It installs eleven MCP Tools and five Skills for Codex, Claude Code, DeepSeek Harness or WorkBuddy without adjacent files; locked npm dependencies and native tools are prepared separately. Maintainers can build a test with `npm run package:npm -- dist/npm-test 0.6.4-test.1`. [Test/stable acceptance](docs/release-guide.md) and isolated DEV template instructions are documented. Complete platform ZIPs remain a backup.The five entries are [motion-production](skills/motion-production/SKILL.md), [motion-director](skills/motion-director/SKILL.md), [motion-template-to-video](skills/motion-template-to-video/SKILL.md), [motion-recreate](skills/motion-recreate/SKILL.md), and [motion-video-to-template](skills/motion-video-to-template/SKILL.md). Reference recreation is implemented. Product UI follows the [OpenDesign visual system](docs/design-system.md); video artwork keeps its own styles.@@ -94,7 +96,7 @@ OpenMotion collects feature usage, safe error categories, device information andTo contribute a style, include the reference and its creator, the Motion MD, a preview, editable source and asset permissions. [Contribution guide](AGENTS.md) · [Documentation](docs/README.md)-**Credits & release status.** openmotion uses [Hyperframes](https://github.com/heygen-com/hyperframes) for native compositions, the Studio foundation and rendering. Its [editor](studio/LICENSE) and [bundled examples](template-library/LICENSE) retain their upstream Apache-2.0 licenses. This public repository is licensed under [Apache-2.0](LICENSE); bundled components and fonts retain their notices. Development targets [`feature/motion`](https://github.com/nexu-io/html-anything/tree/feature/motion); the former HTML Anything application remains on `main` and is preserved on [`legacy`](https://github.com/nexu-io/html-anything/tree/legacy). Packages are not published. See the [repository workflow](docs/repository-migration.md).+**Credits & release status.** openmotion uses [Hyperframes](https://github.com/heygen-com/hyperframes) for native compositions, the Studio foundation and rendering. Its [editor](studio/LICENSE) and [bundled examples](template-library/LICENSE) retain their upstream Apache-2.0 licenses. This public repository is licensed under [Apache-2.0](LICENSE); bundled components and fonts retain their notices. Development targets [`feature/motion`](https://github.com/nexu-io/html-anything/tree/feature/motion); the former HTML Anything application remains on `main` and is preserved on [`legacy`](https://github.com/nexu-io/html-anything/tree/legacy). A test npm version is available; no stable version has been published. See the [repository workflow](docs/repository-migration.md).Multiple local conversations can keep different projects open through one native Studio service. Each preview stays bound to its project; same-project writes still use revision checks. See [shared editor](docs/shared-editor.md).diff --git a/docs/npm-installation.md b/docs/npm-installation.mdindex 33400831..94b3b889 100644--- a/docs/npm-installation.md+++ b/docs/npm-installation.md@@ -2,7 +2,7 @@The npm tgz contains the installer, a prebuilt Motion application archive and its pinned release manifest. One `setup` installs the application, eleven public MCP Tools and five Skills for the selected host. No adjacent application archive or `--manifest` is needed. The application runs from a managed, writable directory, never from the npx cache; projects remain outside application/cache directories.-This branch does not publish packages. `@openmotion/app` is the agreed public package name. The `openmotion` npm organization has been registered by the project owner; the publishing account's access and availability of a registry version still need separate verification. Registry examples apply only after a separately authorized release.+`@openmotion/[email protected]` is available from npm through the `test` channel. It was published separately after authorization; ordinary CI still does not publish packages. Its anonymous registry download, isolated macOS Codex setup, repeat setup, eleven MCP Tools and five Skills have been verified. Use the exact version for reproduction. See the [delivery record and known limitations](release-guide.md#published-test-candidate-064-test6), including the production template catalog and the registry's unexpected `latest` tag.## Requirements and package contents@@ -10,6 +10,8 @@ Users provide Node.js 22.18+ with npm and their Agent host. Builds use the NodeThe embedded application uses `scripts/distribution.ts`'s positive file list: MCP/backend, prebuilt Studio, five Skills and references, bundled examples, npm/native locks, licenses and approved documentation. Remote Prism templates are fetched separately. The embedded manifest omits the containing tgz's hash; the external delivery manifest records that hash without a circular self-reference.+The npm page uses the repository's product `README.md`. Packaging resolves its relative documentation and image links against the exact source commit, while the embedded application keeps the original local links. The installation manual remains in the application docs; it is not the npm landing page. Published test.6 contains the earlier installation-manual README; the correction takes effect with the next separately authorized npm version, not by editing GitHub alone.+## Build and install a local testFrom a clean checkout based on `feature/motion`:@@ -19,12 +21,12 @@ npm ci --no-audit --no-fundnpm run package:npm -- dist/npm-test 0.6.4-test.1```-The version is an example. Use a new empty output directory for every candidate. Files include `open-design-motion-<version>.tgz`, the application archive, `release-npm.json` and SHA256 sidecars. Only the tgz is required by a consumer; the remaining files are delivery evidence and the explicit-manifest fallback. Copy the tgz alone to another directory to verify this property.+The version is an example. Use a new empty output directory for every candidate. Files include `openmotion-app-<version>.tgz`, the application archive, `release-npm.json` and SHA256 sidecars. Only the tgz is required by a consumer; the remaining files are delivery evidence and the explicit-manifest fallback. Copy the tgz alone to another directory to verify this property.An isolated macOS Codex installation:```sh-motion_tgz="/absolute/path/open-design-motion-0.6.4-test.1.tgz"+motion_tgz="/absolute/path/openmotion-app-0.6.4-test.1.tgz"motion_test="$HOME/Library/Application Support/OpenMotion-test/0.6.4-test.1"mkdir -p "$motion_test/profile" "$motion_test/workspace"export CODEX_HOME="$motion_test/profile"@@ -41,7 +43,7 @@ Run `prepare` only after successful setup. Wait for it to finish before startingEquivalent Windows PowerShell commands:```powershell-$motionTgz = 'C:\path\open-design-motion-0.6.4-test.1.tgz'+$motionTgz = 'C:\path\openmotion-app-0.6.4-test.1.tgz'$motionTest = Join-Path $env:LOCALAPPDATA 'OpenMotion-test\0.6.4-test.1'New-Item -ItemType Directory -Force "$motionTest\profile", "$motionTest\workspace" | Out-Null$env:CODEX_HOME = "$motionTest\profile"diff --git a/docs/release-guide.md b/docs/release-guide.mdindex 5da1fcba..fc71fdc2 100644--- a/docs/release-guide.md+++ b/docs/release-guide.md@@ -8,6 +8,14 @@ Record package name/exact version, full source SHA, CI run/attempt, tgz SHA256 aUse `0.6.4-test.1`, `0.6.4-test.2`, then `0.6.4` as examples, not previously published versions. Any changed release bytes require a new candidate identity. Never overwrite a published version or reuse a Git tag. Software channel and template environment are separate: public test/stable default to prod; local DEV candidates remain private and isolated.+### Published test candidate: 0.6.4-test.6++Published on 2026-11-09: [`@openmotion/[email protected]`](https://www.npmjs.com/package/@openmotion/app/v/0.6.4-test.6), selected by npm `test`. Accepted source: `3d7051ae0e2f47373ff49b0dd1ed5f0f3e343cab`, merged by [#187](https://github.com/nexu-io/html-anything/pull/187) into `feature/motion` as `1a04db765e2e994d21b540557d545c3ce28eb79a` with the same Git tree. The [source CI](https://github.com/nexu-io/html-anything/actions/runs/42628050173) passed. Neither `main` nor `legacy` changed.++The accepted tgz and the anonymous registry download have SHA256 `73abb7c87f3b11b4649462e8df882216e20a76c382ecb2b474e2fd3c9a032936`; registry integrity is `sha512-SLwSXvnslKCyLeVUZ2CrKBNz6S7zHoGGVmlvcxobllGyho5tTZVdrVQ2ErfxUtyVhEy0577G1XfQiCweIWrGdw==`. The same bytes passed isolated macOS fresh installation, test.5 upgrade, repeat setup, native Chromium/FFmpeg/ffprobe preparation, eleven Tools, five Skills and a technical MP4 export with audio. A fresh anonymous registry installation separately verified hashes, Codex registration, MCP discovery/resources and repeat setup. These checks do not establish a real model turn or human audiovisual acceptance; Windows remains unverified.++Known limitations: the production Prism catalog returned HTTP 404. This candidate supports installation/MCP and built-in project creation/edit/export testing; production template delivery has not passed acceptance. Although publication specified `--tag test`, registry readback also exposed `latest` pointing at this test version. An authenticated removal returned HTTP 400. Pin `0.6.4-test.6` explicitly; do not treat `latest` as an accepted stable release. No stable version was published, and no prior stable rollback version exists. Reinstalling test.5 or restoring a backup requires its original local artifact and compatible data; moving an npm tag does not restore a client.+## Test candidate acceptanceBefore any authorized publication to the npm `test` tag:@@ -59,9 +67,9 @@ The existing `Motion standalone checks` workflow has a separate manual guide mod1. Use `@openmotion/app` (the default `install_guide_package`) and an exact `install_guide_version` already published to npm. Leave `upload_install_guide=false` to fetch the registry package with lifecycle scripts disabled, render its guide and retain the result without R2 credentials.2. Before promoting an entry, complete registry/package acceptance and select that version through npm `test` or `latest`. A guide publication does not publish npm or move its tags.3. An explicitly authorized run with `upload_install_guide=true` uses the repository R2 configuration. It checks the package name against `packages/npm/package.json` and the current npm channel, creates immutable version instructions, verifies the public bytes, saves the prior fixed instructions and conditionally updates the fixed entry. The canonical public URLs must return matching bytes; a cache-busting URL does not prove the fixed entry is current.-4. Test software uses `open-motion/dev/install.md`; stable uses `open-motion/install.md`. Each also has `versions/<exact-version>/install.md` under the same prefix. The `dev` path is the existing proposed software test-channel path, not a switch to DEV template data.+4. Test software uses `open-motion/dev/install.md`; stable uses `open-motion/install.md`. Exact-version instructions use `open-motion/dev/<exact-version>/install.md` and `open-motion/<exact-version>/install.md`, respectively. The unversioned entry can advance after acceptance; exact-version bytes are immutable and pin the same npm version. Previously published `/versions/<exact-version>/install.md` URLs remain available as legacy links. The `dev` path denotes the software test channel, not a switch to DEV template data.-The configured destination bucket is `open-design-releases` and the public origin is `https://releases.open-design.ai`. After publication, the website can give the Agent a short prompt: "Read `https://releases.open-design.ai/open-motion/install.md`, install OpenMotion MCP and Skills for my current supported Agent host, preserve existing projects/settings, and report installation and preparation results." Use `https://releases.open-design.ai/open-motion/dev/install.md` for the test software channel. The test guide now pins `@openmotion/[email protected]`, with an immutable copy at `open-motion/dev/versions/0.6.4-test.5/install.md`; both public URLs were verified byte-for-byte. The older `open-motion/dev/versions/0.6.4-test.4/install.md` remains unchanged as the historical `@open-design/[email protected]` record. The stable entry is unchanged by this test-channel delivery. Publishing these instructions does not publish the npm package.+The configured destination bucket is `open-design-releases` and the public origin is `https://releases.open-design.ai`. After stable publication, the website can give the Agent a short prompt: "Read `https://releases.open-design.ai/open-motion/install.md`, install OpenMotion MCP and Skills for my current supported Agent host, preserve existing projects/settings, and report installation and preparation results." Use `https://releases.open-design.ai/open-motion/dev/install.md` for the test software channel. The test guide now pins `@openmotion/[email protected]`, with an immutable copy at `open-motion/dev/0.6.4-test.6/install.md`; both canonical public URLs were verified byte-for-byte against guide SHA256 `4b6f6b25c782c23d5529d225c6c0506d524b245a242f54d84fbf8d4dd61f4f05` after the [upload run](https://github.com/nexu-io/html-anything/actions/runs/42633147999). The short test.6 URL was added by [run 42638072025](https://github.com/nexu-io/html-anything/actions/runs/42638072025), with the same verified bytes as the retained legacy `/versions/0.6.4-test.6/install.md` URL. The older test.5 and test.4 immutable instructions remain unchanged; test.4 records the historical `@open-design/motion` name. Their existence does not imply those old npm versions were published. The stable entry is untouched and currently returns HTTP 404. Guide publication and npm publication remain separate operations.The upload remains a manual, default-off operation using the configured repository Secrets and Variables below. Package identity comes directly from `packages/npm/package.json`; no extra package-name variable or GitHub Environment is required. PR builds and guide validation do not reference publication secrets. No R2 resource or credential is created by this PR.diff --git a/scripts/package-npm.mjs b/scripts/package-npm.mjsindex ca218038..c00497df 100644--- a/scripts/package-npm.mjs+++ b/scripts/package-npm.mjs@@ -64,7 +64,14 @@ export async function packageNpm(output = path.join(root, 'dist/npm-local'), verinstallerPkg.private = !explicitVersion || templateConfig.environment === 'dev';installerPkg.publishConfig = { access: 'public', registry: 'https://registry.npmjs.org/', tag: version.includes('-test.') ? 'test' : 'stage' };await writeJSON(path.join(installer, 'package.json'), installerPkg);- await cp(path.join(root, 'docs/npm-installation.md'), path.join(installer, 'README.md'));+ const commit = (await runFile('git', ['rev-parse', 'HEAD'], { cwd: root })).trim();+ const repository = `https://github.com/nexu-io/html-anything/blob/${commit}/`;+ const images = `https://raw.githubusercontent.com/nexu-io/html-anything/${commit}/`;+ const link = (target, image) => /^(?:#|[a-z][a-z\d+.-]*:|\/\/)/i.test(target) ? target : new URL(target, image ? images : repository).href;+ const readme = (await readFile(path.join(root, 'README.md'), 'utf8'))+ .replace(/(!?\[[^\]\n]*\]\()([^\s)]+)(\))/g, (_, start, target, end) => start + link(target, start.startsWith('!')) + end)+ .replace(/(<img\b[^>]*\bsrc=["'])([^"']+)(["'])/g, (_, start, target, end) => start + link(target, true) + end);+ await writeAtomic(path.join(installer, 'README.md'), readme);await cp(path.join(root, 'LICENSE'), path.join(installer, 'LICENSE'));pkg.version = version; lockfile.version = version; lockfile.packages[''].version = version;await writeJSON(path.join(application, 'package.json'), pkg);@@ -75,7 +82,7 @@ export async function packageNpm(output = path.join(root, 'dist/npm-local'), verconst archive = path.join(output, `openmotion-application-${pkg.version}${templateConfig.environment === 'dev' ? '-dev' : ''}.tar.gz`);await runFile(process.platform === 'win32' ? path.join(process.env.SystemRoot, 'System32/tar.exe') : 'tar', ['-czf', archive, '-C', application, '.'], { env: { ...process.env, COPYFILE_DISABLE: '1' } });const manifest = { schemaVersion: 1, version: pkg.version, format: 'npm', templateEnvironment: templateConfig.environment,- commit: (await runFile('git', ['rev-parse', 'HEAD'], { cwd: root })).trim(), run: process.env.GITHUB_RUN_ID || null, attempt: process.env.GITHUB_RUN_ATTEMPT || '1',+ commit, run: process.env.GITHUB_RUN_ID || null, attempt: process.env.GITHUB_RUN_ATTEMPT || '1',application: { url: './' + path.basename(archive), sha256: await sha256(archive) },locks: { npm: await sha256(path.join(application, 'package-lock.json')), native: await sha256(path.join(root, 'scripts/runtime-lock.json')) },mcp: { profile: registry.profile, tools: registry.tools.map(tool => tool.name) }, skills, runtime };diff --git a/tests/install-guide.test.ts b/tests/install-guide.test.tsindex 13976f39..f662a853 100644--- a/tests/install-guide.test.ts+++ b/tests/install-guide.test.ts@@ -12,6 +12,12 @@ const manifest = { schemaVersion: 1, version: pkg.version, templateEnvironment:application: { sha256: 'b'.repeat(64) }, locks: { npm: 'c'.repeat(64), native: 'd'.repeat(64) },runtime: { targets: { mac: { platform: 'darwin', arch: 'arm64', minimumOS: '26.0' } } } };const config = { endpoint: 'https://example.r2.cloudflarestorage.com', bucket: 'example-guides', publicOrigin: 'https://download.example.invalid' };+test('installation URLs separate the moving channel entry from the exact immutable version', () => {+ assert.equal(storagePlan({ channel: 'test', version: pkg.version }, config).versionKey, `open-motion/dev/${pkg.version}/install.md`);+ assert.equal(storagePlan({ channel: 'test', version: pkg.version }, config).fixedKey, 'open-motion/dev/install.md');+ assert.equal(storagePlan({ channel: 'stable', version: '0.6.4' }, config).versionKey, 'open-motion/0.6.4/install.md');+ assert.equal(storagePlan({ channel: 'stable', version: '0.6.4' }, config).fixedKey, 'open-motion/install.md');+});async function fixture(t: any, candidate = false) {const root = await mkdtemp(path.join(os.tmpdir(), 'motion-guide-test-')); t.after(() => rm(root, { recursive: true, force: true }));await mkdir(path.join(root, 'package/payload'), { recursive: true });@@ -79,9 +85,22 @@ test('an immutable version mismatch or failed public version verification leavesassert.equal(store.objects.get(store.plan.fixedKey)!.toString(), 'previous accepted instructions');});+test('short version URLs preserve the bytes of an existing immutable legacy URL', async t => {+ const { directory, record } = await fixture(t), store = storage(directory, record);+ store.objects.set(store.plan.legacyVersionKey, Buffer.from('different instructions'));+ await assert.rejects(publishGuide(directory, config, store), /immutable legacy/);+ assert.equal(store.writes.length, 0);+ const expected = await readFile(path.join(directory, 'install.md'));+ store.objects.set(store.plan.legacyVersionKey, expected);+ await publishGuide(directory, config, store);+ assert(store.objects.get(store.plan.versionKey)!.equals(expected));+ assert(store.objects.get(store.plan.legacyVersionKey)!.equals(expected));+ assert(!store.writes.some(x => x.key === store.plan.legacyVersionKey));+});+test('a post-promotion public failure records the partial state and preserves recovery bytes', async t => {const { directory, record } = await fixture(t), store = storage(directory, record);- await assert.rejects(publishGuide(directory, config, { ...store, fetcher: async (url: URL) => url.pathname.endsWith('/versions/'+record.version+'/install.md') ? store.fetcher(url) : new Response('stale edge bytes') }), /bytes differ/);+ await assert.rejects(publishGuide(directory, config, { ...store, fetcher: async (url: URL) => url.pathname.slice(1) === store.plan.versionKey ? store.fetcher(url) : new Response('stale edge bytes') }), /bytes differ/);const state = JSON.parse(await readFile(path.join(directory, 'publication.json'), 'utf8'));assert.equal(state.phase, 'fixed-written-public-unverified');assert.equal(await readFile(path.join(directory, 'previous-install.md'), 'utf8'), 'previous accepted instructions');diff --git a/tests/npm-package.test.ts b/tests/npm-package.test.tsindex 03b9916f..f972b04d 100644--- a/tests/npm-package.test.ts+++ b/tests/npm-package.test.ts@@ -41,6 +41,16 @@ test('test npm artifacts contain their application, locked manifest and no bundlassert.match(release.commit, /^[a-f0-9]{40}$/);const application = path.join(directory, 'app'), installer = path.join(directory, 'installer');await extractArchive(built.application, application); await extractArchive(built.installer, installer);+ const readme = await readFile(path.join(installer, 'package/README.md'), 'utf8');+ assert(readme.includes("We're building the best open-source alternative to Claude Motion."));+ assert(readme.includes(`https://raw.githubusercontent.com/nexu-io/html-anything/${release.commit}/docs/readme/hero.svg`));+ assert(readme.includes(`src="https://raw.githubusercontent.com/nexu-io/html-anything/${release.commit}/docs/readme/opendesign-symbol.svg"`));+ assert(readme.includes(`https://github.com/nexu-io/html-anything/blob/${release.commit}/docs/motion-md.md`));+ assert(readme.includes('](#start-in-codex)'));+ assert(readme.includes('](https://open-design.ai/motion/)'));+ assert(!readme.includes('](docs/') && !readme.includes('](template-library/'));+ assert(!readme.startsWith('# Motion application npm package'));+ assert.equal(await readFile(path.join(application, 'README.md'), 'utf8'), await readFile('README.md', 'utf8'), 'The embedded repository README retains its local links');assert.equal((await json(path.join(application, 'package.json'))).version, version);assert.equal((await json(path.join(application, 'shared/template-config.json'))).environment, 'prod');assert.equal((await json(path.join(application, '.codex-plugin/plugin.json'))).version, version);