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

@ -13,10 +13,13 @@ test("current architecture restores the digital BingShuo system body first", ()
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.digital_bingshuo_system_body.upstream_repository_commit,
"69d1910775533b02b17b82e647b5caca8b835614");
assert.equal(
architecture.read_order[1],
const systemBodyIndex = architecture.read_order.indexOf(
architecture.digital_bingshuo_system_body.architecture_page,
);
const engineeringRulesIndex = architecture.read_order.indexOf(
architecture.engineering_rules.architecture_page,
);
assert.ok(systemBodyIndex >= 0 && systemBodyIndex < engineeringRulesIndex);
assert.ok(
fs.existsSync(path.join(root, architecture.digital_bingshuo_system_body.architecture_page)),
);