architecture: project formal AGE runtime contract

This commit is contained in:
冰朔 2026-08-14 18:17:28 +08:00
commit 065c10137b
18 changed files with 340 additions and 42 deletions

View file

@ -10,10 +10,15 @@ const architecture = readJson("routing/hololake-current-architecture.json");
const paradigm = readJson("routing/hololake-paradigm-ai-language-persona-os.json");
test("current architecture begins with the paradigm OS contract", () => {
assert.equal(architecture.version, "2026-08-12.20");
assert.equal(architecture.read_order[0], architecture.first_public_product_stage.architecture_page);
assert.equal(architecture.version, "2026-08-14.1");
assert.equal(architecture.paradigm_ai_language_persona_os.record_id, "HLP-PARADIGM-AI-LANGUAGE-PERSONA-OS-001");
assert.equal(architecture.read_order[2], architecture.paradigm_ai_language_persona_os.architecture_page);
const stageOneIndex = architecture.read_order.indexOf(
architecture.first_public_product_stage.architecture_page,
);
const paradigmIndex = architecture.read_order.indexOf(
architecture.paradigm_ai_language_persona_os.architecture_page,
);
assert.ok(stageOneIndex >= 0 && paradigmIndex > stageOneIndex);
assert.equal(paradigm.upstream.repository_commit, "34cb59739b6476981375dd62ef395ea649f56246");
});