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

@ -8,6 +8,7 @@ const foundation = JSON.parse(read('foundation.json'))
const stageOne = JSON.parse(read('contracts/stage-one-platform.json'))
const rust = read('src-tauri/src/personal_channel.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('personal channel kernel has one private SQLite owner and no server authority', () => {
@ -36,8 +37,9 @@ test('the human projection establishes identity once and keeps task mutation bel
'create_personal_channel_task',
'transition_personal_channel_task',
]) {
assert.match(lib, new RegExp(`personal_channel::${command}`))
assert.match(numberedDispatcher, new RegExp(`personal_channel::${command}`))
}
assert.doesNotMatch(lib, /personal_channel::get_personal_channel_snapshot/)
for (const command of ['get_personal_channel_snapshot', 'initialize_personal_channel']) {
assert.match(ui, new RegExp(`['"]${command}['"]`))
}