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
fix(motion): align release instructions with DEV candidate policy
luogao71cee54acfc4
diff --git a/CLAUDE.md b/CLAUDE.mdindex e8c4d465..54dd4228 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -4,9 +4,9 @@ Read and follow [AGENTS.md](AGENTS.md) before working in this repository. It is## Candidate and publication controls-Follow [the release workflow manual](docs/release-workflows.md): separate manual candidate-build and test-publication entries, plus snapshot-only recovery. Download and accept the local tgz using candidate-install.md; keep completed acceptance.md private. The publication operator enters the accepted version and explicitly confirms acceptance, without manually copying hashes. No independent approval environment is enabled at this stage. Public candidates must use an exact reviewed source SHA integrated into `feature/motion`, a new test version and prod template defaults. Scan tracked source plus the outer npm tgz and inner application; preserve the positive distribution list and licenses. Keep candidate, native registry installation, real Agent creation and human acceptance evidence separate.+Follow [the release workflow manual](docs/release-workflows.md): separate manual candidate-build and test-publication entries, plus snapshot-only recovery. Download and accept the local tgz using candidate-install.md; keep completed acceptance.md private. The publication operator enters the accepted version and explicitly confirms acceptance, without manually copying hashes. No independent approval environment is enabled at this stage. Public candidates must use an exact reviewed source SHA integrated into `feature/motion`, a new test version and DEV template defaults. Scan tracked source plus the outer npm tgz and inner application; preserve the positive distribution list and licenses. Keep candidate, native registry installation, real Agent creation and human acceptance evidence separate.-Publication uses the accepted candidate bytes, never a rebuild. Only the separately authorized manual test publication workflow may use npm OIDC or R2 credentials; validate candidate provenance and hashes first, archive immutable version records, and update the moving guide last. Archive-only work must not move tags or default entries. Never overwrite published versions, put private DEV data/internal acceptance material into public artifacts, or infer merge/publication authorization from green CI. Main registration, npm trust, main cutover and repository rename remain separate operations.+Publication uses the accepted candidate bytes, never a rebuild. Publish under `candidate` first; only the credential-isolated promotion job may move npm `test` after both matching DEV native reports pass. Stable publication, npm `latest` promotion and platform/marketplace Skills distribution are not implemented by these entries. Only the separately authorized manual test publication workflow may use npm OIDC or R2 credentials; validate candidate provenance and hashes first, archive immutable version records, and update the moving guide last. Archive-only work must not move tags or default entries. Never overwrite published versions, put private template payloads/internal acceptance material into public artifacts, or infer merge/publication authorization from green CI. Main registration, npm trust, main cutover and repository rename remain separate operations.## Product documentationdiff --git a/docs/install.md b/docs/install.mdindex fd494a3e..d47e6175 100644--- a/docs/install.md+++ b/docs/install.md@@ -1,6 +1,6 @@# Install OpenMotion {{VERSION}}-This guide pins the complete npm application `{{PACKAGE_SPEC}}` on the **{{CHANNEL}}** software channel. It includes MCP, the built Studio and five Skills. The default template environment is **{{TEMPLATE_ENVIRONMENT}}**; a software test version does not select DEV templates.+This guide pins the complete npm application `{{PACKAGE_SPEC}}` on the **{{CHANNEL}}** software channel. It includes MCP, the built Studio and five Skills. The default template environment is **{{TEMPLATE_ENVIRONMENT}}**: new test versions embed DEV defaults, stable versions embed prod, and previously published versions keep their original environment.If you are reading this file in the source repository and see `{{...}}`, it is a template, not a published installation instruction. Do not guess a package name or version.diff --git a/tests/install-guide.test.ts b/tests/install-guide.test.tsindex 67cbb19d..dec9326c 100644--- a/tests/install-guide.test.ts+++ b/tests/install-guide.test.ts@@ -54,6 +54,8 @@ test('guide rendering pins the exact npm package, built source and hash while reassert(text.includes(manifest.commit) && text.includes(record.tgzSHA256));assert(!text.includes('{{') && !text.includes('see `{{...}}`'));assert(text.includes('eleven public Tools') && text.includes('five Skills'));+ assert(text.includes('new test versions embed DEV defaults') && !text.includes('does not select DEV templates'),+ 'A generated test guide must not claim test versions skip DEV templates');for (const host of ['codex', 'claude', 'deepseek', 'workbuddy']) assert(text.includes(`openmotion setup --host ${host}`), host);assert(text.includes('--profile PROFILE') && text.includes('Do not infer the current host'));assert.equal(record.channel, 'test'); assert.equal(record.candidate, false);diff --git a/tests/release-workflows.test.mjs b/tests/release-workflows.test.mjsindex 20858b6b..85f7ba79 100644--- a/tests/release-workflows.test.mjs+++ b/tests/release-workflows.test.mjs@@ -211,6 +211,16 @@ test('partial publication retries use the retained producer artifact IDs across}});+test('shared Agent instructions keep the release controls synchronized', async () => {+ const section = async file => {+ const text = await readFile(new URL(`../${file}`, import.meta.url), 'utf8');+ return text.split('## Candidate and publication controls\n')[1].split('\n## ')[0].trim();+ };+ const shared = await section('AGENTS.md');+ assert(shared.includes('DEV template defaults') && shared.includes('Publish under `candidate` first') && shared.includes('after both matching DEV native reports pass'));+ assert.equal(await section('CLAUDE.md'), shared, 'CLAUDE.md must mirror the AGENTS.md release controls');+});+test('daily build and publication are separate manual entries without an independent environment gate', async () => {const build = await readFile(new URL('../.github/workflows/motion-candidate.yml', import.meta.url), 'utf8');const workflow = await readFile(new URL('../.github/workflows/motion-publish-test.yml', import.meta.url), 'utf8');