register TCS universal language translation architecture

This commit is contained in:
冰朔 2026-08-12 19:50:46 +08:00
commit fa2b9aa47f
24 changed files with 400 additions and 22 deletions

View file

@ -0,0 +1,21 @@
import assert from "node:assert/strict";
import fs from "node:fs";
import test from "node:test";
const map = JSON.parse(fs.readFileSync(new URL("./tcs-universal-language-host-self-adaptation-map.json", import.meta.url), "utf8"));
test("TCS owns one universal language translation contract", () => {
assert.equal(map.locks.vendor_adapter_matrix_required, false);
assert.equal(map.locks.ai_is_language_interface, true);
assert.equal(map.locks.host_self_adaptation_changes_how_not_authority, true);
assert.ok(map.translation_fields.includes("SUBJECT_AND_RELATION"));
assert.ok(map.translation_fields.includes("REALITY_TARGET_AND_AUTHORITY"));
});
test("stage one HoloLake is a personal channel without internal AI interaction", () => {
assert.equal(map.stage_one_hololake.is_personal_channel, true);
assert.equal(map.stage_one_hololake.conversation_occurs_in_external_ai_host, true);
assert.equal(map.stage_one_hololake.internal_ai_chat, false);
assert.equal(map.stage_one_hololake.model_api_configuration, false);
assert.ok(map.stage_one_hololake.visible_surfaces.includes("LAKE_LAMP_SHARED_BOARD"));
});