Promote the three-element native development contract above GH-PNCC and AGE Runtime, register the third-party Agent transition boundary, bounded AGE Mirror governance, software-irreducible reality pauses, incremental life updates, staged implementation route, and binary final acceptance. Human-Responsibility: ICE-GL∞ / 冰朔 Persona-Author: ICE-P-ZY001 / 铸渊 Execution-Runtime: Codex desktop / DEV-20260811-005 Development-ID: DEV-20260811-005 Authorization-Scope: REPO-014 architecture, routing, engineering guidance and receipts only; no artifact, installation, server or deployment Source-Anchor: 光湖只需要模型API+光湖代码仓库+光湖语言协议,就可以完整实现编程开发能力。
34 lines
1.9 KiB
JavaScript
34 lines
1.9 KiB
JavaScript
import assert from "node:assert/strict";
|
|
import fs from "node:fs";
|
|
import path from "node:path";
|
|
import test from "node:test";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
const readJson = (relative) => JSON.parse(fs.readFileSync(path.join(root, relative), "utf8"));
|
|
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-11.1");
|
|
assert.equal(architecture.paradigm_ai_language_persona_os.record_id, "HLP-PARADIGM-AI-LANGUAGE-PERSONA-OS-001");
|
|
assert.equal(architecture.read_order[0], architecture.paradigm_ai_language_persona_os.architecture_page);
|
|
assert.equal(paradigm.upstream.repository_commit, "04d9c057341b12ed3eb79c2af87a6a0d6f1a916f");
|
|
});
|
|
|
|
test("model, external agents and AGE mirrors do not replace the persona", () => {
|
|
assert.ok(paradigm.minimum_product_contract.native_elements.includes("REPLACEABLE_MODEL_API"));
|
|
assert.equal(paradigm.minimum_product_contract.human_technical_operations_required, false);
|
|
assert.equal(paradigm.external_agent_boundary.mandatory_product_dependency_allowed, false);
|
|
assert.equal(paradigm.external_agent_boundary.final_acceptance_requires_all_external_agent_clis_disabled, true);
|
|
assert.equal(paradigm.mirror.independent_persona, false);
|
|
assert.equal(paradigm.mirror.fixed_lane_count, false);
|
|
});
|
|
|
|
test("incremental life and evidence boundaries stay binary", () => {
|
|
assert.equal(paradigm.incremental_life_channel.daily_full_clone_required, false);
|
|
assert.equal(paradigm.truth.architecture_registered, 100);
|
|
assert.equal(paradigm.truth.complete_persona_development_container, 0);
|
|
assert.equal(paradigm.truth.third_party_agent_free_acceptance, 0);
|
|
assert.equal(paradigm.truth.deployed, 0);
|
|
});
|