chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

View File

@@ -6,6 +6,7 @@ import path from "node:path";
import { pathToFileURL } from "node:url";
import test from "node:test";
import ts from "typescript";
import { assertLegacyManifestArtifacts } from "./legacy-manifest-integrity.mjs";
const root = path.resolve(import.meta.dirname, "../../..");
const temporary = fs.mkdtempSync(path.join(os.tmpdir(), "asset-preview-decode-unit-"));
@@ -50,9 +51,7 @@ test("M12-02C plans the checked-in PNG before decode", async () => {
assert.equal(manifest.nextTask, "M12-02D");
assert.equal(manifest.negativeCaseCount, 8);
assert.deepEqual(decode.ASSET_PREVIEW_DECODE_BUDGET, manifest.budget);
for (const artifact of Object.values(manifest.artifacts)) {
assert.equal(sha256(fs.readFileSync(path.join(root, artifact.path))), artifact.sha256, artifact.path);
}
assertLegacyManifestArtifacts(manifest);
assert.deepEqual(await decode.planAssetPreviewDecode(identity, buffer(content)), {
schemaVersion: 1,
identitySha256: identity.identitySha256,