make HoloLake stage one a TCS personal channel

This commit is contained in:
冰朔 2026-08-12 19:59:23 +08:00
commit 74b39d9b98
23 changed files with 234 additions and 48 deletions

View file

@ -0,0 +1,20 @@
import assert from 'node:assert/strict'
import fs from 'node:fs'
import test from 'node:test'
const contract = JSON.parse(fs.readFileSync(new URL('../contracts/stage-one-platform.json', import.meta.url), 'utf8'))
const foundation = JSON.parse(fs.readFileSync(new URL('../foundation.json', import.meta.url), 'utf8'))
test('stage one is a personal channel with no internal AI product', () => {
assert.ok(contract.human_surface.includes('PERSONAL_CHANNEL_HOME'))
assert.ok(!contract.human_surface.includes('AI_WORKBENCH'))
assert.ok(contract.stage_one_forbidden.includes('INTERNAL_AI_CHAT'))
assert.equal(foundation.stage_one_internal_ai_interaction, false)
assert.equal(foundation.stage_one_model_api_configuration, false)
})
test('AI is the language interface and host adaptation cannot expand authority', () => {
assert.equal(contract.universal_language.ai_is_language_interface, true)
assert.equal(contract.universal_language.vendor_adapter_matrix_required, false)
assert.equal(contract.universal_language.host_self_adaptation_changes_how_not_authority, true)
})