bind JD projection to rebased architecture source

This commit is contained in:
冰朔 2026-08-10 22:36:28 +08:00
commit 6942cda9ef
7 changed files with 33 additions and 10 deletions

View file

@ -14,7 +14,13 @@ test("current architecture loads identity authority before product surfaces", ()
assert.equal(architecture.identity_and_authority.team_body, "TCS-0002");
assert.equal(architecture.identity_and_authority.team_body_authority_effective, true);
assert.equal(architecture.identity_and_authority.individual_operator_acceptance, "SEPARATE_UNCONFIRMED");
assert.ok(architecture.read_order.indexOf(architecture.identity_and_authority.architecture_page) < 5);
const identityIndex = architecture.read_order.indexOf(
architecture.identity_and_authority.architecture_page,
);
const productSurfaceIndex = architecture.read_order.indexOf(
"product-source/hololake-platform/architecture/HOLOLAKE-LANGUAGE-PERSONA-DRIVEN-OPERATING-MODEL-20260810.md",
);
assert.ok(identityIndex >= 0 && identityIndex < productSurfaceIndex);
assert.ok(fs.existsSync(path.join(root, architecture.identity_and_authority.architecture_page)));
});