feat: 建立 HoloLake 编号通信根与人格第零层合同

This commit is contained in:
冰朔 2026-08-18 23:04:18 +08:00
commit 64abf969bf
37 changed files with 3455 additions and 161 deletions

View file

@ -10,6 +10,7 @@ const knowledgeRust = read('src-tauri/src/knowledge_base.rs')
const codeRust = read('src-tauri/src/code_channel.rs')
const authenticatedStorageRust = read('src-tauri/src/authenticated_storage.rs')
const lib = read('src-tauri/src/lib.rs')
const numberedDispatcher = read('src-tauri/src/numbered_ipc_dispatch.rs')
const ui = read('src/main.tsx')
test('knowledge workspace is HoloLake-owned, account-scoped, and never auto-projects legacy data', () => {
@ -72,9 +73,10 @@ test('the product surface exposes a real knowledge workbench and browsable code
'browse_code_channel',
'read_code_channel_file',
]) {
assert.match(lib, new RegExp(command))
assert.match(numberedDispatcher, new RegExp(command))
assert.match(ui, new RegExp(`['"]${command}['"]`))
}
assert.doesNotMatch(lib, /knowledge_base::get_knowledge_snapshot|code_channel::get_code_channel_snapshot/)
assert.match(ui, /知识工作台/)
assert.match(ui, /HoloLake Era/)
assert.match(ui, /知识视图/)