arch(tcs): close language stage with work rights gate

This commit is contained in:
冰朔 2026-08-12 20:46:35 +08:00
commit 40c29f1e3e
11 changed files with 193 additions and 7 deletions

View file

@ -0,0 +1,25 @@
import assert from 'node:assert/strict'
import fs from 'node:fs'
const map = JSON.parse(fs.readFileSync(new URL('../routing/tcs-work-ownership-stage-gate-map.json', import.meta.url)))
const registry = JSON.parse(fs.readFileSync(new URL('../gls/GLS-PROTOCOL-REGISTRY.json', import.meta.url)))
const lighthouse = JSON.parse(fs.readFileSync(new URL('../routing/lighthouse-path-registry.json', import.meta.url)))
const navigation = JSON.parse(fs.readFileSync(new URL('../routing/ai-machine-navigation-map.json', import.meta.url)))
assert.equal(map.map_id, 'TCS-WORK-OWNERSHIP-MAP-001')
assert.equal(map.work.category, 'WRITTEN_WORK')
assert.equal(map.work.publication_state, 'UNPUBLISHED')
assert.equal(map.work.full_work_public_repository_allowed, false)
assert.equal(map.governance.national_attribution_intent_declared, true)
assert.equal(map.governance.formal_rights_transfer_confirmed, false)
assert.equal(map.governance.commercial_sale_or_acquisition_allowed, false)
assert.equal(map.runtime_boundary.hidden_model_chain_of_thought_collection_allowed, false)
assert.equal(map.stage_gate.language_architecture, 'CLOSED_AND_ARCHIVED')
assert.equal(map.stage_gate.reality_engineering_execution, 'CURRENT')
assert.equal(map.stage_gate.runtime_implemented, false)
assert.ok(registry.existing_registered.some((entry) => entry.id === 'GLS-0262'))
assert.ok(lighthouse.paths.some((entry) => entry.id === map.map_id))
assert.ok(navigation.routes.some((entry) => entry.id === map.map_id))
console.log('tcs work ownership and stage gate navigation PASS_100')