feat(brain): encode Guanghu OS cognitive control

This commit is contained in:
冰朔 2026-08-07 13:45:05 +08:00
commit 098a29e417
16 changed files with 768 additions and 7 deletions

View file

@ -111,7 +111,15 @@ test("repository map exposes only the three current code-channel repositories",
assert.match(item.primary.url, /^https:\/\/guanghulab\.com\/code\//);
}
assert.equal(map.historical_repositories.length, 11);
assert.ok(map.historical_repositories.every(item => item.state.includes("HISTORICAL")));
assert.ok(map.historical_repositories.slice(0, 8).every(item => item.state.includes("HISTORICAL")));
assert.deepEqual(
map.historical_repositories.slice(8).map(item => [item.code, item.state]),
[
["REPO-009", "CURRENT_PRIVATE_PERSONA_HISTORY_AND_DAILY_ROLE_MEMORY_PENDING_DEPLOYMENT"],
["REPO-010", "CURRENT_PRIVATE_PERSONA_HISTORY_AND_DAILY_ROLE_MEMORY_PENDING_DEPLOYMENT"],
["REPO-011", "CURRENT_PRIVATE_PERSONA_HISTORY_AND_DAILY_ROLE_MEMORY_PENDING_DEPLOYMENT"],
],
);
});
test("Chinese language-world query resolves the Fifth Domain primary", () => {