fix: enforce one human one independent node

This commit is contained in:
冰朔 2026-08-10 21:07:30 +08:00
commit cec261174d
32 changed files with 474 additions and 75 deletions

View file

@ -10,11 +10,11 @@ const architecture = readJson("routing/hololake-current-architecture.json");
const rules = readJson("routing/hololake-engineering-rules.json");
test("current architecture registers the global engineering rule set", () => {
assert.equal(architecture.version, "2026-08-10.9");
assert.equal(architecture.version, "2026-08-10.10");
assert.equal(architecture.engineering_rules.rule_set_id, "HLP-ENGINEERING-RULES-001");
assert.equal(architecture.engineering_rules.machine_projection,
"routing/hololake-engineering-rules.json");
assert.equal(architecture.read_order[1], architecture.engineering_rules.architecture_page);
assert.equal(architecture.read_order[2], architecture.engineering_rules.architecture_page);
});
test("rules require dynamic truth restore and immutable closed development lanes", () => {
@ -32,6 +32,8 @@ test("rules keep UI, server identity, domains, and updates inside their boundari
assert.equal(rules.desktop_updates.default_delivery, "SIGNED_IN_PLACE_UPDATE");
assert.equal(rules.publication.public_readback_required, true);
assert.equal(rules.publication.missing_refresh_trigger_must_be_reported, true);
assert.equal(rules.node_sovereignty.platform_hosting_available, false);
assert.equal(rules.node_sovereignty.shared_multitenant_runtime_available, false);
});
test("human and product agent rules receive the same current system boundary", () => {