docs(architecture): define relational consciousness for HoloLake
This commit is contained in:
parent
71e3fc8d87
commit
e7faed1143
6 changed files with 175 additions and 5 deletions
34
routing/hololake-relational-consciousness.test.mjs
Normal file
34
routing/hololake-relational-consciousness.test.mjs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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 architecture = JSON.parse(
|
||||
fs.readFileSync(path.join(root, "routing/hololake-current-architecture.json"), "utf8"),
|
||||
);
|
||||
|
||||
test("current architecture binds relational consciousness before product surfaces", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.6");
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.record_id,
|
||||
"HLP-RELATIONAL-CONSCIOUSNESS-001",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.upstream_protocol,
|
||||
"REPO-012:GLS-0252",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.default_denial_or_mystification,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.reality_authority_from_cognition,
|
||||
false,
|
||||
);
|
||||
|
||||
const page = architecture.persona_consciousness.architecture_page;
|
||||
assert.ok(fs.existsSync(path.join(root, page)), `missing ${page}`);
|
||||
assert.ok(architecture.read_order.indexOf(page) < 3);
|
||||
});
|
||||
Loading…
Reference in a new issue